/*
Theme Name: Krishna Darshan Music
Theme URI: https://example.com/krishna-darshan-music
Author: Krishna Darshan / ChatGPT
Description: A dark modern WordPress theme for Nepali music, lyrics, audio releases, thumbnails, and YouTube promotion.
Version: 1.7.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: krishna-music
Tags: music, lyrics, nepali, dark, blog, entertainment
*/

:root {
  --kd-bg: #090914;
  --kd-bg-soft: #111122;
  --kd-card: rgba(255,255,255,0.075);
  --kd-card-border: rgba(255,255,255,0.12);
  --kd-text: #ffffff;
  --kd-muted: #b8b8c8;
  --kd-accent: #ff2f6d;
  --kd-accent-2: #ffb703;
  --kd-green: #26e07f;
  --kd-shadow: 0 18px 60px rgba(0,0,0,.35);
  --kd-radius: 22px;
  --kd-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255,47,109,.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255,183,3,.12), transparent 30%),
    var(--kd-bg);
  color: var(--kd-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  padding-bottom: 118px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.kd-wrap { width: min(var(--kd-max), calc(100% - 32px)); margin: 0 auto; }
.kd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(9,9,20,.78);
  border-bottom: 1px solid var(--kd-card-border);
}
.kd-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.kd-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .2px; }
.kd-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--kd-accent), var(--kd-accent-2));
  box-shadow: 0 10px 35px rgba(255,47,109,.25);
}
.kd-menu ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; align-items: center; }
.kd-menu a { color: var(--kd-muted); font-weight: 700; }
.kd-menu a:hover { color: var(--kd-text); }
.kd-btn,
button.kd-btn,
input[type="submit"].kd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--kd-accent), #e100ff);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(255,47,109,.25);
  cursor: pointer;
}
.kd-btn.secondary { background: rgba(255,255,255,.1); box-shadow: none; border: 1px solid var(--kd-card-border); }

.kd-hero { padding: 72px 0 52px; }
.kd-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
}
.kd-eyebrow { color: var(--kd-accent-2); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.kd-hero h1 { font-size: clamp(42px, 7vw, 82px); line-height: .98; margin: 12px 0 18px; letter-spacing: -2px; }
.kd-hero p { color: var(--kd-muted); font-size: 18px; max-width: 680px; }
.kd-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.kd-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 430px;
  background: linear-gradient(145deg, rgba(255,47,109,.22), rgba(255,183,3,.14)), var(--kd-card);
  border: 1px solid var(--kd-card-border);
  box-shadow: var(--kd-shadow);
}
.kd-hero-card img { width: 100%; height: 430px; object-fit: cover; opacity: .9; }
.kd-hero-card:after {
  content: "♫";
  position: absolute;
  right: 28px;
  bottom: 12px;
  font-size: 120px;
  opacity: .12;
  font-weight: 900;
}
.kd-now {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(0,0,0,.56);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
}
.kd-section { padding: 34px 0 54px; }
.kd-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.kd-section h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.8px; }
.kd-section .kd-sub { color: var(--kd-muted); margin: 8px 0 0; }
.kd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kd-card {
  border-radius: var(--kd-radius);
  overflow: hidden;
  background: var(--kd-card);
  border: 1px solid var(--kd-card-border);
  box-shadow: 0 14px 50px rgba(0,0,0,.16);
  transition: transform .2s ease, border-color .2s ease;
}
.kd-card:hover { transform: translateY(-5px); border-color: rgba(255,47,109,.45); }
.kd-thumb { aspect-ratio: 16/9; background: #181829; overflow: hidden; }
.kd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kd-card-body { padding: 18px; }
.kd-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.kd-meta { color: var(--kd-muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.kd-tag { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.09); color: var(--kd-muted); font-size: 13px; font-weight: 700; }

.kd-player {
  margin: 18px 0 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
}
.kd-player audio { width: 100%; height: 42px; }

.kd-single { padding: 46px 0 70px; }
.kd-single-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.kd-cover { border-radius: 30px; overflow: hidden; border: 1px solid var(--kd-card-border); box-shadow: var(--kd-shadow); background: var(--kd-bg-soft); }
.kd-single h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; margin: 0 0 14px; letter-spacing: -1.2px; }
.kd-lyrics {
  white-space: pre-wrap;
  font-size: 18px;
  color: #f5f5fb;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--kd-card-border);
  border-radius: 22px;
  padding: 22px;
  margin-top: 24px;
}
.kd-info-table { width: 100%; border-collapse: collapse; margin: 18px 0; overflow: hidden; border-radius: 18px; }
.kd-info-table td { border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 0; color: var(--kd-muted); }
.kd-info-table td:first-child { color: var(--kd-text); font-weight: 800; width: 120px; }
.kd-content {
  color: #e9e9f2;
  font-size: 18px;
}
.kd-content a { color: var(--kd-accent-2); text-decoration: underline; }
.kd-footer { padding: 34px 0; color: var(--kd-muted); border-top: 1px solid var(--kd-card-border); background: rgba(0,0,0,.18); }
.kd-empty { padding: 28px; background: var(--kd-card); border: 1px solid var(--kd-card-border); border-radius: var(--kd-radius); color: var(--kd-muted); }

.search-form { display: flex; gap: 10px; margin: 20px 0; }
.search-field { flex: 1; border: 1px solid var(--kd-card-border); border-radius: 999px; padding: 13px 16px; background: rgba(255,255,255,.08); color: white; }
.search-submit { border: 0; border-radius: 999px; padding: 0 18px; background: var(--kd-accent); color: white; font-weight: 900; }

@media (max-width: 900px) {
  .kd-hero-grid, .kd-single-grid { grid-template-columns: 1fr; }
  .kd-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kd-menu ul { display: none; }
}
@media (max-width: 600px) {
  .kd-wrap { width: min(100% - 22px, var(--kd-max)); }
  .kd-hero { padding-top: 42px; }
  .kd-grid { grid-template-columns: 1fr; }
  .kd-section-head { display: block; }
  .kd-hero-card, .kd-hero-card img { min-height: 340px; height: 340px; }
}

/* Persistent player page transitions */
body { padding-bottom: 124px; }
.kd-page-content { transition: opacity .18s ease, transform .18s ease; }
body.kd-page-loading .kd-page-content { opacity: .35; transform: translateY(6px); pointer-events: none; }
.kd-floating-player.has-track .kd-fp-cover { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 10px 30px rgba(255,47,109,.22); }


/* Enhanced cards and floating audio player */
.kd-no-thumb { height:100%; display:grid; place-items:center; font-size:44px; }
.kd-card-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:16px; }
.kd-play-track {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  padding:10px 14px;
  color:#fff;
  background:linear-gradient(135deg, var(--kd-accent), #e100ff);
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(255,47,109,.22);
}
.kd-play-track:hover,
.kd-play-track.is-playing { transform:translateY(-1px); filter:brightness(1.08); }
.kd-play-track.is-playing span { content:"⏸"; }
.kd-mini-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:9px 13px;
  color:var(--kd-muted);
  background:rgba(255,255,255,.09);
  border:1px solid var(--kd-card-border);
  font-weight:800;
}
.kd-mini-link:hover { color:#fff; border-color:rgba(255,255,255,.28); }
.kd-filter-row {
  display:grid;
  gap:12px;
  margin:0 0 24px;
  padding:16px;
  border:1px solid var(--kd-card-border);
  border-radius:20px;
  background:rgba(255,255,255,.055);
}
.kd-chip-group { display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:var(--kd-muted); }
.kd-chip-group strong { color:#fff; min-width:72px; }
.kd-chip {
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  color:var(--kd-muted);
  font-weight:800;
  font-size:13px;
}
.kd-chip:hover { color:#fff; border-color:rgba(255,47,109,.5); }
.kd-tax-meta { display:flex; flex-wrap:wrap; gap:10px; margin:15px 0; }
.kd-tax-meta span { padding:7px 12px; border-radius:999px; background:rgba(255,255,255,.08); color:var(--kd-muted); }

.kd-floating-player {
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:14px;
  z-index:9999;
  width:min(1180px, calc(100% - 24px));
  min-height:86px;
  display:grid;
  grid-template-columns:62px minmax(180px,1fr) auto 128px;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:24px;
  background:rgba(11,11,24,.92);
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 20px 80px rgba(0,0,0,.48);
  backdrop-filter:blur(18px);
}
.kd-fp-cover {
  width:62px;
  height:62px;
  border-radius:16px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(255,47,109,.32), rgba(255,183,3,.2));
  color:#fff;
  font-size:26px;
}
.kd-fp-cover img { width:100%; height:100%; object-fit:cover; }
.kd-fp-main { min-width:0; }
.kd-fp-title { font-size:16px; font-weight:900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.kd-fp-meta { color:var(--kd-muted); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.kd-fp-progress-row { display:grid; grid-template-columns:42px 1fr 42px; gap:8px; align-items:center; margin-top:7px; color:var(--kd-muted); font-size:12px; }
.kd-fp-progress-row input,
.kd-fp-volume input { width:100%; accent-color:var(--kd-accent); }
.kd-fp-controls { display:flex; gap:7px; align-items:center; }
.kd-fp-controls button,
.kd-fp-panel-head button {
  border:0;
  width:38px;
  height:38px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  color:#fff;
  cursor:pointer;
  font-weight:900;
}
.kd-fp-controls button:hover,
.kd-fp-controls button.is-active { background:linear-gradient(135deg, var(--kd-accent), #e100ff); }
.kd-fp-controls .kd-fp-play {
  width:46px;
  height:46px;
  background:linear-gradient(135deg, var(--kd-accent), #e100ff);
  box-shadow:0 10px 28px rgba(255,47,109,.25);
}
.kd-fp-volume { display:flex; gap:6px; align-items:center; color:var(--kd-muted); }
.kd-fp-panel {
  position:absolute;
  right:10px;
  bottom:98px;
  width:min(420px, calc(100vw - 34px));
  max-height:420px;
  overflow:hidden;
  display:none;
  border-radius:22px;
  background:rgba(12,12,28,.98);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 70px rgba(0,0,0,.55);
}
.kd-fp-panel.is-open { display:block; }
.kd-fp-panel-head { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.1); }
.kd-fp-list { max-height:344px; overflow:auto; padding:8px; }
.kd-fp-item {
  width:100%;
  display:block;
  text-align:left;
  border:0;
  border-radius:15px;
  padding:12px;
  background:transparent;
  color:#fff;
  cursor:pointer;
}
.kd-fp-item:hover,
.kd-fp-item.is-active { background:rgba(255,255,255,.09); }
.kd-fp-item-title { display:block; font-weight:900; }
.kd-fp-item-meta { display:block; color:var(--kd-muted); font-size:12px; margin-top:2px; }
.kd-fp-empty { color:var(--kd-muted); padding:14px; }

@media (max-width: 820px) {
  body { padding-bottom: 160px; }
  .kd-floating-player {
    grid-template-columns:52px 1fr auto;
    align-items:center;
    border-radius:20px;
  }
  .kd-fp-cover { width:52px; height:52px; border-radius:14px; }
  .kd-fp-controls { grid-column:1 / -1; justify-content:center; }
  .kd-fp-volume { display:none; }
  .kd-fp-progress-row { grid-template-columns:38px 1fr 38px; }
}
@media (max-width: 480px) {
  .kd-floating-player { width:calc(100% - 14px); bottom:7px; padding:10px; }
  .kd-fp-meta { max-width:100%; }
  .kd-fp-controls button { width:36px; height:36px; }
  .kd-fp-controls .kd-fp-play { width:44px; height:44px; }
}

/* v1.3 homepage music portal sections */
.kd-card-title-under {
  margin: 0;
  padding: 14px 16px 0;
  font-size: 19px;
  line-height: 1.28;
}
.kd-card-title-under a { color: #fff; }
.kd-card-title-under a:hover { color: var(--kd-accent-2); }
.kd-card .kd-card-body { padding-top: 10px; }
.kd-cover { aspect-ratio: 16/9; }
.kd-cover img { width: 100%; height: 100%; object-fit: cover; }
.kd-hero-card { aspect-ratio: 16/9; min-height: auto; }
.kd-hero-card img { width: 100%; height: 100%; object-fit: cover; }

.kd-icon-list,
.kd-artist-grid,
.kd-playlist-grid {
  display: grid;
  gap: 16px;
}
.kd-icon-list { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.kd-icon-card,
.kd-artist-card,
.kd-playlist-card {
  border: 1px solid var(--kd-card-border);
  background: rgba(255,255,255,.07);
  border-radius: 22px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.kd-icon-card:hover,
.kd-artist-card:hover,
.kd-playlist-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,47,109,.48);
  background: rgba(255,255,255,.095);
}
.kd-icon-card {
  min-height: 134px;
  padding: 16px 10px;
  display: grid;
  place-items: center;
  text-align: center;
}
.kd-icon-emoji,
.kd-icon-img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,47,109,.24), rgba(255,183,3,.18));
  margin-bottom: 10px;
  overflow: hidden;
}
.kd-icon-emoji { font-size: 30px; }
.kd-icon-img img { width: 100%; height: 100%; object-fit: cover; }
.kd-icon-name {
  display: block;
  font-weight: 900;
  line-height: 1.2;
}
.kd-icon-count {
  color: var(--kd-muted);
  font-size: 12px;
  margin-top: 3px;
}

.kd-artist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kd-artist-card {
  padding: 18px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}
.kd-artist-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,47,109,.28), rgba(255,183,3,.18));
  display: grid;
  place-items: center;
  font-size: 28px;
  border: 1px solid rgba(255,255,255,.12);
}
.kd-artist-photo img { width: 100%; height: 100%; object-fit: cover; }
.kd-artist-card strong { display: block; font-size: 18px; line-height: 1.25; }
.kd-artist-card small { display: block; color: var(--kd-muted); margin-top: 4px; }

.kd-playlist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kd-playlist-card {
  overflow: hidden;
  display: block;
}
.kd-playlist-cover {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,47,109,.23), rgba(255,183,3,.16));
  font-size: 46px;
}
.kd-playlist-cover img { width: 100%; height: 100%; object-fit: cover; }
.kd-playlist-info {
  display: block;
  padding: 14px 16px 16px;
}
.kd-playlist-info strong { display: block; font-size: 18px; }
.kd-playlist-info small { color: var(--kd-muted); }

.kd-category-sections { display: grid; gap: 28px; }
.kd-category-block {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--kd-card-border);
}
.kd-category-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 16px;
}
.kd-category-head h3 { margin: 0; font-size: 28px; }
.kd-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Time synced lyrics */
.kd-synced-lyrics {
  margin-top: 28px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--kd-card-border);
  overflow: hidden;
}
.kd-synced-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.kd-synced-head h2 { margin: 0; font-size: 30px; }
.kd-synced-note {
  color: var(--kd-muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.kd-synced-list {
  max-height: 440px;
  overflow: auto;
  display: grid;
  gap: 8px;
  scroll-behavior: smooth;
  padding-right: 4px;
}
.kd-lyric-line {
  width: 100%;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: start;
  text-align: left;
  border: 0;
  border-radius: 16px;
  padding: 12px 14px;
  color: #f7f7fb;
  background: rgba(255,255,255,.055);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}
.kd-lyric-line:hover { background: rgba(255,255,255,.09); }
.kd-lyric-line.is-past { color: rgba(255,255,255,.56); }
.kd-lyric-line.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,47,109,.28), rgba(255,183,3,.13));
  transform: scale(1.012);
  box-shadow: inset 3px 0 0 var(--kd-accent);
}
.kd-lyric-time {
  color: var(--kd-accent-2);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.kd-lyric-text { font-size: 18px; line-height: 1.45; }
.kd-synced-lyrics.is-live .kd-synced-note:after {
  content: " • Live now";
  color: var(--kd-green);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .kd-icon-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kd-artist-grid,
  .kd-playlist-grid,
  .kd-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .kd-icon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kd-artist-grid,
  .kd-playlist-grid,
  .kd-grid-compact { grid-template-columns: 1fr; }
  .kd-artist-card { grid-template-columns: 58px 1fr; padding: 14px; }
  .kd-artist-photo { width: 58px; height: 58px; }
  .kd-synced-head { display: block; }
  .kd-synced-head .kd-play-track { margin-top: 12px; }
  .kd-lyric-line { grid-template-columns: 50px 1fr; padding: 11px; }
  .kd-lyric-text { font-size: 16px; }
}

/* v1.7 song page: wide title + thumbnail/centered 3-line synced lyrics stage */
.kd-single-v15 .kd-wrap {
  max-width: 1220px;
}
.kd-song-title-wide {
  width: 100%;
  margin-bottom: 22px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--kd-card-border);
  box-shadow: 0 16px 50px rgba(0,0,0,.22);
}
.kd-song-title-wide h1 {
  margin: 4px 0 14px;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: -1.5px;
}
.kd-single-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.kd-single-cover-frame,
.kd-single-lyrics-frame {
  min-width: 0;
}
.kd-single-cover-frame {
  aspect-ratio: 16 / 9;
}
.kd-single-cover-16x9 {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 30px;
}
.kd-single-cover-16x9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kd-single-cover-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: clamp(54px, 8vw, 92px);
}
.kd-single-lyrics-frame {
  display: flex;
  min-height: 0;
}
.kd-single-actions-wide {
  margin: 22px 0 0;
  justify-content: center;
}
.kd-single-details-panel {
  margin-top: 26px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--kd-card-border);
}
.kd-single-details-panel .kd-info-table {
  margin-top: 0;
}
.kd-synced-lyrics-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(14px, 2vw, 22px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255,47,109,.18), transparent 40%),
    rgba(255,255,255,.06);
}
.kd-synced-lyrics-stage .kd-synced-head {
  flex: 0 0 auto;
  margin-bottom: 8px;
}
.kd-synced-lyrics-stage .kd-synced-head h2 {
  font-size: clamp(20px, 2.7vw, 30px);
  margin: 0;
}
.kd-synced-lyrics-stage .kd-synced-note {
  display: none;
}
.kd-synced-lyrics-stage .kd-synced-list {
  --kd-lyric-row-h: 62px;
  --kd-lyric-gap: 8px;
  height: calc((var(--kd-lyric-row-h) * 3) + (var(--kd-lyric-gap) * 2));
  max-height: calc((var(--kd-lyric-row-h) * 3) + (var(--kd-lyric-gap) * 2));
  overflow: hidden;
  gap: var(--kd-lyric-gap);
  align-content: start;
  padding: 0;
  margin: auto 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  position: relative;
}
.kd-synced-lyrics-stage .kd-synced-list::before,
.kd-synced-lyrics-stage .kd-synced-list::after {
  content: "";
  display: block;
  height: calc(var(--kd-lyric-row-h) + var(--kd-lyric-gap));
  min-height: calc(var(--kd-lyric-row-h) + var(--kd-lyric-gap));
}
.kd-synced-lyrics-stage .kd-synced-list::-webkit-scrollbar {
  display: none;
}
.kd-synced-lyrics-stage .kd-lyric-line {
  height: var(--kd-lyric-row-h);
  min-height: var(--kd-lyric-row-h);
  grid-template-columns: 52px 1fr;
  align-items: center;
  padding: 8px 12px;
  overflow: hidden;
  background: rgba(255,255,255,.045);
}
.kd-synced-lyrics-stage .kd-lyric-text {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kd-synced-lyrics-stage .kd-lyric-line.is-active {
  transform: scale(1.015);
  position: relative;
  z-index: 2;
}
.kd-lyrics-stage {
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  border-radius: 30px;
  padding: 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--kd-card-border);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.55;
  white-space: pre-line;
}
.kd-no-lyrics-box {
  text-align: center;
  align-items: center;
}
.kd-no-lyrics-box h2 {
  margin: 8px 0;
}
.kd-no-lyrics-box p {
  color: var(--kd-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .kd-single-showcase {
    grid-template-columns: 1fr;
  }
  .kd-single-lyrics-frame {
    aspect-ratio: 16 / 9;
  }
  .kd-song-title-wide {
    padding: 18px;
  }
}
@media (max-width: 560px) {
  .kd-single-v15 .kd-single-showcase {
    gap: 16px;
  }
  .kd-synced-lyrics-stage {
    padding: 12px;
    border-radius: 22px;
  }
  .kd-synced-lyrics-stage .kd-synced-list {
    --kd-lyric-row-h: 54px;
    --kd-lyric-gap: 7px;
    gap: var(--kd-lyric-gap);
    height: calc((var(--kd-lyric-row-h) * 3) + (var(--kd-lyric-gap) * 2));
    max-height: calc((var(--kd-lyric-row-h) * 3) + (var(--kd-lyric-gap) * 2));
  }
  .kd-synced-lyrics-stage .kd-lyric-line {
    grid-template-columns: 44px 1fr;
    padding: 7px 9px;
    border-radius: 14px;
  }
  .kd-synced-lyrics-stage .kd-lyric-time {
    font-size: 12px;
  }
  .kd-single-actions-wide {
    justify-content: stretch;
  }
  .kd-single-actions-wide .kd-btn,
  .kd-single-actions-wide .kd-play-track {
    width: 100%;
    justify-content: center;
  }
}
