/* AkshayMasti.IN - public + admin styles */
:root {
  --accent: #ff9f00;
  --bg: #ffffff;
  --bg-alt: #f6f3ee;
  --bg-row: #fdfdfd;
  --text: #111;
  --muted: #666;
  --line: #e4e0d8;
  --link: #0b3dd6;
  --red: #d40000;
  --green: #0a8a2a;
  --card: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
}
:root[data-theme="dark"] {
  --bg: #14161a;
  --bg-alt: #1c1f25;
  --bg-row: #181b20;
  --text: #ececec;
  --muted: #9aa0a6;
  --line: #2b2f36;
  --link: #7aa2ff;
  --red: #ff6b6b;
  --green: #4cd964;
  --card: #1c1f25;
  --shadow: 0 1px 3px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 15px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---------- Header ---------- */
.site-head {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 12px 6px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 22%, var(--bg)) 0%, var(--bg) 70%);
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo img { max-height: 70px; width: auto; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent); color: #fff; font-size: 28px; line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.logo-text { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.tagline { color: var(--red); font-weight: 700; font-size: 13px; margin-top: 6px; }
.theme-btn {
  position: absolute; right: 12px; top: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer;
}

.official-line {
  background: #ececec; color: #111; text-align: center; font-weight: 700;
  font-size: 13px; padding: 8px 10px; margin-top: 8px;
}
:root[data-theme="dark"] .official-line { background: var(--bg-alt); color: var(--text); }
.tg-row { text-align: center; padding: 6px; background: var(--bg-alt); }
.tg-btn {
  display: inline-block; padding: 3px 12px; border: 1px solid #2a74d6; border-radius: 6px;
  background: #eef5ff; color: #0b3dd6; font-weight: 700; font-size: 13px;
}
.welcome { text-align: center; font-weight: 600; padding: 8px 10px; font-size: 13px; border-bottom: 1px solid var(--line); }

.search-box { display: flex; max-width: 760px; margin: 14px auto 6px; padding: 0 12px; gap: 6px; }
.search-box input {
  flex: 1; min-width: 0; padding: 10px 12px; border: 2px solid var(--accent);
  border-radius: 8px; font-size: 15px; background: var(--card); color: var(--text);
}
.search-box button, .btn {
  padding: 10px 18px; border: 0; border-radius: 8px; background: var(--accent);
  color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
}
.search-box button:hover, .btn:hover { filter: brightness(.93); }

/* ---------- Chips & quick links ---------- */
.chip-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  background: #ffe9c7; padding: 10px 8px; margin-top: 10px;
}
:root[data-theme="dark"] .chip-row { background: #2a2418; }
.chip {
  display: inline-block; padding: 3px 10px; border: 1px solid; border-radius: 4px;
  background: #fff; font-weight: 700; font-size: 13px;
}
.chip:hover { text-decoration: none; filter: brightness(.95); }
.chip-0 { color: #d40000; border-color: #d40000; }
.chip-1 { color: #0b3dd6; border-color: #0b3dd6; }
.chip-2 { color: #c2007a; border-color: #c2007a; }
.chip-3 { color: #0a8a2a; border-color: #0a8a2a; }
.chip-4 { color: #7a3dd6; border-color: #7a3dd6; }
.chip-5 { color: #b35c00; border-color: #b35c00; }

.quick-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  padding: 10px 12px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line);
}
.quick-label { color: #c2007a; }
/* heading in the site colour (More tracks from this album) */
.list-head.accent { background: var(--accent); color: #fff; text-align: center; font-size: 14px; border-bottom: 0; }
/* ♫ Menu: centred */
.quick-row { justify-content: center; text-align: center; }
/* ♫ Menu: pill style (default) */
.quick-row.qs-pills { gap: 8px; padding: 10px 12px; background: var(--bg-alt); }
.quick-row.qs-pills .quick-label { background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.quick-row.qs-pills .qlink { padding: 4px 12px; border: 1.5px solid currentColor; border-radius: 999px; background: var(--bg); line-height: 1.3; }
.quick-row.qs-pills .qlink:hover { background: var(--bg-alt); box-shadow: 0 2px 5px rgba(0,0,0,.18); }
.quick-row.qm-one .qlink { color: #111; }
:root[data-theme="dark"] .quick-row.qm-one .qlink { color: var(--text); }
@media (max-width: 640px) {
  .quick-row.qm-scroll { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .quick-row.qm-scroll::-webkit-scrollbar { display: none; }
  .quick-row.qm-scroll > * { flex: 0 0 auto; white-space: nowrap; }
}
.qlink-0 { color: #0a8a2a; } .qlink-1 { color: #111; } .qlink-2 { color: #d40000; }
.qlink-3 { color: #0b3dd6; } .qlink-4 { color: #c2007a; }
:root[data-theme="dark"] .qlink-1 { color: var(--text); }

/* ---------- Layout ---------- */
.wrap { max-width: none; width: 100%; margin: 0; }
.bar {
  background: var(--accent); color: #fff; text-align: center; font-weight: 800;
  padding: 9px 10px; font-size: 14px; margin-top: 0; border-radius: 0;
  text-transform: none; word-break: break-word;
}
.bar h1, .bar h2 { font-size: inherit; margin: 0; }
.subbar { text-align: center; font-size: 12px; color: var(--red); padding: 6px; border-bottom: 1px solid var(--line); }
.subbar a { color: var(--red); }

.crumbs { padding: 10px 10px; font-size: 13px; font-weight: 700; border-top: 1px solid var(--line); }
.crumbs a { color: var(--red); }
.crumbs .sep { margin: 0 6px; color: var(--muted); }

/* ---------- Cover grid ---------- */
.cover-grid {
  display: grid; grid-template-columns: repeat(auto-fill, 160px);
  justify-content: center; gap: 6px; padding: 4px 4px 8px;
}
.cover-card { display: block; color: var(--text); }
.cover-card:hover { text-decoration: none; }
.cover-card .img { position: relative; aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow); }
.cover-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.cover-card:hover img { transform: scale(1.05); }
.cover-card .badge {
  position: absolute; left: 6px; top: 6px; background: rgba(0,0,0,.7); color: #fff;
  font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px;
}
.cover-card .cap { margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.cover-card .sub { font-size: 12px; color: var(--muted); }

/* ---------- Lists ---------- */
.list { background: var(--bg-row); }
.row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 10px; border-bottom: 1px solid var(--line);
  color: var(--text); font-weight: 700;
}
.row:hover { background: var(--bg-alt); text-decoration: none; }
.row .ico { font-size: 18px; flex: 0 0 22px; text-align: center; color: #1a73e8; }
.row .count { color: var(--muted); font-weight: 600; margin-left: 4px; }
.row .arrow { margin-left: auto; color: var(--muted); }
.row .thumb { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex: 0 0 64px; background: var(--bg-alt); }
.row .meta { min-width: 0; }
.row .meta .t { word-break: break-word; }
.row .meta .s { font-weight: 500; font-size: 12px; color: var(--muted); }
.list-head { padding: 10px; font-weight: 800; background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: 14px; }

.track-row { background: var(--bg-alt); display: flex; gap: 10px; padding: 10px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.track-row .thumb { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; flex: 0 0 56px; }
.track-row .tt { font-weight: 800; word-break: break-word; }
.track-row .meta { font-size: 13px; }
.track-row .meta b { color: var(--red); }
.track-row .dl { color: var(--green); font-weight: 800; }

/* ---------- Detail pages ---------- */
.detail-cover { text-align: center; padding: 14px 10px 6px; }
.detail-cover img { width: 240px; max-width: 70%; border-radius: 8px; border: 2px solid var(--line); box-shadow: var(--shadow); }
.singer-line { text-align: center; padding: 6px 10px 12px; font-weight: 700; }
.singer-line span { color: var(--red); }

.player-box { background: var(--bg-alt); padding: 14px 10px; text-align: center; }
.player-box audio { width: 100%; max-width: 520px; }
.player-box video { width: 100%; max-width: 720px; border-radius: 8px; background: #000; }

.dl-title { text-align: center; padding: 10px; font-weight: 800; background: var(--card); border-bottom: 1px solid var(--line); }
.dl-title a { color: var(--link); }
.dl-buttons { max-width: 330px; margin: 16px auto 8px; display: grid; gap: 7px; padding: 0 10px; }
.dl-btn {
  display: block; text-align: center; padding: 9px 10px; border-radius: 8px;
  color: #fff; font-weight: 800; font-size: 14px; text-shadow: 0 1px 1px rgba(0,0,0,.25);
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.dl-btn small { font-weight: 600; opacity: .9; }
.dl-btn:hover { text-decoration: none; filter: brightness(1.07); }
.dl-128 { background: #ff7a1a; } .dl-192 { background: #1e90ff; }
.dl-256 { background: #f0189b; } .dl-320 { background: #3fb8a8; }
.dl-video { background: #e11d2e; }

.info-lines { text-align: center; font-size: 14px; line-height: 1.9; padding: 4px 10px 10px; }
.info-lines .v { color: var(--red); }
.cat-line { text-align: center; padding: 6px 10px 12px; font-size: 14px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 6px 10px 14px; }
.share-btn {
  border: 0; border-radius: 20px; padding: 6px 14px; font-weight: 700; font-size: 13px;
  cursor: pointer; color: #fff; background: #555;
}
.share-btn.wa { background: #25d366; } .share-btn.tg { background: #229ed9; } .share-btn.fb { background: #1877f2; }
.share-btn:hover { text-decoration: none; filter: brightness(1.08); }

.tags { font-size: 12px; color: var(--muted); padding: 10px; border-top: 1px solid var(--line); word-break: break-word; }
.tags b { color: var(--green); }
.desc-box { padding: 10px; font-size: 14px; }

/* ---------- Pager ---------- */
.pager { text-align: center; padding: 14px 6px; background: var(--bg-alt); }
.pager a, .pager .cur, .pager .gap {
  display: inline-block; min-width: 32px; padding: 4px 9px; margin: 2px;
  border-radius: 4px; font-weight: 700; font-size: 14px;
}
.pager a { border: 1px solid var(--line); background: var(--card); }
.pager .cur { background: #ffe44d; color: #111; border: 1px solid #d9b900; }
.pager-info { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- Misc ---------- */
.notice { background: #fff6d6; color: #5c4600; border: 1px solid #f0d36b; padding: 10px; margin: 0; text-align: center; font-weight: 600; border-radius: 0; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.sort-line { text-align: center; font-size: 12px; padding: 6px; }
.sort-line a { color: var(--red); font-weight: 700; }
.important-box {
  max-width: none; margin: 14px 0 0; padding: 12px; text-align: center;
  font-size: 13px; color: var(--red); border-top: 1px solid var(--line);
}
.site-foot { background: var(--accent); color: #fff; text-align: center; padding: 14px 10px; margin-top: 0; font-weight: 700; }
.site-foot a { color: #fff; }
.foot-links span { margin: 0 6px; opacity: .7; }
.copy { font-size: 13px; margin-top: 4px; }

.page-text { padding: 16px 12px; white-space: pre-line; max-width: 760px; margin: 0 auto; }

.flash { padding: 10px 14px; border-radius: 6px; margin: 10px 0; font-weight: 600; }
.flash-ok { background: #e3f8e8; color: #0a5c1f; border: 1px solid #a8e2b5; }
.flash-err { background: #fde8e8; color: #8a1111; border: 1px solid #f2b0b0; }
.flash-info { background: #e8f0fe; color: #174ea6; border: 1px solid #b6cdfa; }

@media (max-width: 520px) {
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-text { font-size: 24px; }
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
  .row .thumb { width: 56px; height: 56px; flex-basis: 56px; }
}

/* =================================================================
   ADMIN
   ================================================================= */
.admin-body { background: #f1f3f6; color: #1b1f24; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 220px; flex: 0 0 220px; background: #1d2330; color: #cfd6e4; padding: 16px 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-side .brand { padding: 0 18px 14px; font-size: 18px; font-weight: 800; color: #fff; border-bottom: 1px solid #2c3446; margin-bottom: 8px; }
.admin-side a { display: block; padding: 10px 18px; color: #cfd6e4; font-weight: 600; font-size: 14px; }
.admin-side a:hover { background: #2a3245; text-decoration: none; color: #fff; }
.admin-side a.active { background: var(--accent); color: #fff; }
.admin-side .sep { height: 1px; background: #2c3446; margin: 10px 0; }
.admin-main { flex: 1; min-width: 0; padding: 22px; }
.admin-main h1 { margin: 0 0 16px; font-size: 22px; }
.admin-main h2 { font-size: 17px; margin: 0 0 12px; }

.a-card { background: #fff; border-radius: 10px; padding: 18px; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); border-left: 5px solid var(--accent); }
.stat .n { font-size: 26px; font-weight: 800; }
.stat .l { font-size: 12px; color: #667; text-transform: uppercase; letter-spacing: .5px; }

.a-form label { display: block; font-weight: 700; font-size: 13px; margin: 12px 0 4px; }
.a-form .hint { font-weight: 400; color: #778; font-size: 12px; }
.a-form input[type=text], .a-form input[type=password], .a-form input[type=number],
.a-form input[type=date], .a-form input[type=url], .a-form select, .a-form textarea {
  width: 100%; padding: 9px 10px; border: 1px solid #c9ced8; border-radius: 6px; font: inherit; background: #fff;
}
.a-form input[type=file] { width: 100%; padding: 6px 0; }
.a-form textarea { min-height: 90px; resize: vertical; }
.a-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.a-form .check { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 12px 0; }
.a-form .check input { width: auto; }

.a-btn {
  display: inline-block; padding: 9px 16px; border: 0; border-radius: 6px; font-weight: 700;
  font-size: 14px; cursor: pointer; background: var(--accent); color: #fff;
}
.a-btn:hover { text-decoration: none; filter: brightness(.92); }
.a-btn.gray { background: #6b7280; } .a-btn.red { background: #d93025; } .a-btn.green { background: #188038; }
.a-btn.sm { padding: 5px 10px; font-size: 12px; }

.a-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.a-table th, .a-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #e6e9ef; vertical-align: middle; }
.a-table th { font-size: 12px; text-transform: uppercase; color: #667; letter-spacing: .4px; background: #f7f8fa; }
.a-table img.t { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.a-table .acts { white-space: nowrap; }
.a-table .acts form { display: inline; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; background: #e8eaf0; color: #445; }
.pill.on { background: #d7f3de; color: #0a5c1f; } .pill.off { background: #fde1e1; color: #8a1111; }
.pill.audio { background: #fff0d1; color: #8a5a00; } .pill.video { background: #e3e8ff; color: #2b3bb0; }

.track-edit { border: 1px solid #e0e4ec; border-radius: 8px; padding: 12px; margin-bottom: 12px; background: #fafbfd; }
.track-edit .head { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.file-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; background: #eef1f7; border-radius: 14px; padding: 3px 4px 3px 10px; font-size: 12px; font-weight: 700; }
.file-chip button { border: 0; background: #d93025; color: #fff; border-radius: 50%; width: 18px; height: 18px; line-height: 16px; cursor: pointer; font-size: 12px; padding: 0; }
.upload-note { background: #eef5ff; border: 1px solid #c4d9f5; border-radius: 6px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
progress { width: 100%; height: 14px; }

.login-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #1d2330, #3a2a10); padding: 16px; }
.login-card { width: 100%; max-width: 380px; background: #fff; border-radius: 12px; padding: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.login-card h1 { margin: 0 0 4px; font-size: 22px; }
.login-card p.sub { margin: 0 0 12px; color: #667; font-size: 13px; }

@media (max-width: 820px) {
  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; flex: none; height: auto; position: static; display: flex; flex-wrap: wrap; padding: 8px; }
  .admin-side .brand { width: 100%; border: 0; padding: 4px 10px; margin: 0; }
  .admin-side a { padding: 8px 12px; }
  .admin-side .sep { display: none; }
  .admin-main { padding: 14px; }
  .a-form .grid2 { grid-template-columns: 1fr; }
  .a-table { display: block; overflow-x: auto; }
}

/* ---------- Latest Updates box ---------- */
.lu-box { background: var(--bg-row); }
.lu-title { text-align: center; font-weight: 800; color: #e0189b; padding: 12px 10px; border-bottom: 1px solid var(--line); text-shadow: 0 1px 0 rgba(0,0,0,.05); }
.lu-row { padding: 11px 10px 11px 36px; border-bottom: 1px solid var(--line); font-weight: 700; position: relative; word-break: break-word; font-size: 14px; }
.lu-row:hover { background: var(--bg-alt); }
.lu-star { position: absolute; left: 10px; top: 9px; color: #e11d2e; font-size: 20px; line-height: 1; transition: transform .3s; }
.lu-row:hover .lu-star { transform: rotate(72deg) scale(1.2); }
.lu-row a { text-decoration: none; }
.lu-row a:hover { text-decoration: underline; }
.c-red { color: #e11d2e; } .c-blue { color: #0b3dd6; } .c-pink { color: #e0189b; }
.c-orange { color: #f08a00; } .c-green { color: #0a8a2a; } .c-purple { color: #7a3dd6; }
:root[data-theme="dark"] .c-purple { color: #b99cff; }
:root[data-theme="dark"] .c-blue { color: #7aa2ff; }

/* ---------- Hover animations (arrow / folder / icon) ---------- */
.row { transition: background .2s, padding-left .2s; }
.row:hover { padding-left: 18px; }
.row .arrow { transition: transform .25s ease, color .2s; font-size: 16px; }
.row:hover .arrow { transform: translateX(8px); color: var(--accent); animation: nudge .7s ease-in-out infinite alternate; }
.row .ico { display: inline-block; transition: transform .25s; }
.row:hover .ico { animation: wiggle .6s ease-in-out; }
@keyframes nudge { from { transform: translateX(4px); } to { transform: translateX(12px); } }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg) scale(1.15); } 40% { transform: rotate(12deg) scale(1.15); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(6deg); } }
.cover-card { transition: transform .2s; }
.cover-card:hover { transform: translateY(-4px); }
.chip, .qlink { transition: transform .15s; }
.chip:hover, .qlink:hover { transform: translateY(-2px); }
.dl-btn { transition: transform .15s, filter .15s; }
.dl-btn:hover { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .row:hover .arrow, .row:hover .ico, .lu-row:hover .lu-star { animation: none; transform: none; }
}

/* ---------- No underline on links ---------- */
a, a:hover, a:focus, .lu-row a:hover, .pager a:hover, .crumbs a:hover { text-decoration: none; }

/* ---------- Menu rows: text + arrow change colour on hover ---------- */
.row:hover, .row:hover .count { color: var(--red); }
.row:hover .arrow { color: var(--red); }

/* ---------- Album page: whole track row is clickable ---------- */
.track-row { position: relative; cursor: pointer; transition: background .2s; }
.track-row:hover { background: color-mix(in srgb, var(--accent) 14%, var(--bg-alt)); }
.track-row .tr-body { min-width: 0; }
.track-row .tr-link { color: var(--link); }
.track-row:hover .tr-link { color: var(--red); }
.track-row .tr-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.track-row .dl { position: relative; z-index: 2; display: inline-block; margin-top: 3px; color: var(--green); font-weight: 800; }
.track-row .dl:hover { color: var(--red); }

/* ---------- Track page: info cards ---------- */
.info-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px;
  max-width: 680px; margin: 14px auto 6px; padding: 0 10px;
}
.ic-item {
  display: flex; flex-direction: column; gap: 2px; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 9px 12px; box-shadow: var(--shadow);
}
.ic-l { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.ic-v { font-size: 15px; font-weight: 800; color: var(--red); word-break: break-word; }
.ic-date   { border-left-color: var(--accent); }
.ic-size   { border-left-color: #e0189b; }
.ic-singer { border-left-color: #d40000; }
.ic-plays  { border-left-color: #0b3dd6; }
.ic-dl     { border-left-color: #0a8a2a; }
.ic-album  { grid-column: 1 / -1; border-left-color: #7a3dd6; transition: transform .15s, box-shadow .15s; }
.ic-album:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.ic-album .ic-v { color: var(--link); }
.ic-album:hover .ic-v { color: var(--red); }
.ic-go { display: inline-block; margin-left: 6px; transition: transform .2s; }
.ic-album:hover .ic-go { transform: translateX(6px); }

/* keep the animated arrow inside the row */
.row .arrow { margin-right: 18px; }
.row { overflow: hidden; }

/* ---------- Latest Updates: whole row opens the link ---------- */
.lu-row { cursor: pointer; }
.lu-row a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.lu-row:hover a { color: var(--red); }

/* ---------- "[Download File]" heading is a link ---------- */
.dl-title-link { display: inline-block; padding: 2px 10px; border-radius: 4px; color: var(--link); font-weight: 800; transition: color .15s, background .15s; }
.dl-title-link:hover { color: var(--red); background: var(--bg-alt); }

/* ---------- Home page only: text changes font while the pointer is on a row / a finger is on it ---------- */
.is-home .row:hover, .is-home .lu-row:hover, .is-home .lu-more:hover,
.is-home .row.tap, .is-home .lu-row.tap, .is-home .lu-more.tap {
  font-family: "Comic Sans MS", "Comic Sans", "Noto Serif", "Droid Serif", Georgia, "Times New Roman", serif;
}

/* Finger touch (home page): same look as the mouse hover. JS adds .tap while a finger is on the row */
.is-home .row.tap { background: var(--bg-alt); padding-left: 18px; color: var(--red); }
.is-home .row.tap .count { color: var(--red); }
.is-home .row.tap .arrow { color: var(--red); transform: translateX(8px); animation: nudge .7s ease-in-out infinite alternate; }
.is-home .row.tap .ico { animation: wiggle .6s ease-in-out; }
.is-home .lu-row.tap { background: var(--bg-alt); }
.is-home .lu-row.tap a { color: var(--red); }
.is-home .lu-row.tap .lu-star { transform: rotate(72deg) scale(1.2); }
.is-home .lu-more.tap { color: var(--red); background: var(--bg-alt); }

/* ---------- Album lists (category / search / singer): photo + text size ---------- */
.row .thumb { width: 68px; height: 68px; flex: 0 0 68px; border-radius: 6px; }
.row:has(.thumb) { padding-top: 9px; padding-bottom: 9px; } /* left padding stays free so the row can slide on hover */
.row .meta .t { font-size: 14px; line-height: 1.4; }
.row .meta .t .count { color: inherit; font-weight: inherit; margin-left: 0; }
@media (max-width: 520px) {
  .row .thumb { width: 68px; height: 68px; flex-basis: 68px; }
}

/* ---------- Music Updates: cover tiles (no title) ---------- */
.mu-grid {
  display: grid; grid-template-columns: repeat(var(--cols, 10), minmax(0, 190px));
  justify-content: center; gap: 16px; padding: 18px 12px 20px;
}
.mu-tile {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 14px; background: var(--bg-alt);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mu-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.mu-tile::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 60%);
  opacity: 0; transition: opacity .25s;
}
.mu-tile:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,.32); }
.mu-tile:hover img { transform: scale(1.09); }
.mu-tile:hover::after { opacity: 1; }
.mu-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.45); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s;
}
.mu-tile:hover .mu-play { opacity: 1; transform: scale(1); }
.mu-badge {
  position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 2px 10px; border-radius: 12px;
  background: rgba(0,0,0,.62); color: #fff; font-size: 11px; font-weight: 800; backdrop-filter: blur(4px);
}
.mu-new {
  position: absolute; right: 8px; top: 8px; z-index: 2; padding: 2px 8px; border-radius: 10px;
  background: #e11d2e; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .6px;
}
@media (max-width: 520px) {
  .mu-grid { grid-template-columns: repeat(var(--colm, 2), minmax(0, 1fr)); gap: 10px; padding: 12px 8px 14px; }
}
@media (min-width: 521px) and (max-width: 899px) {
  .mu-grid { grid-template-columns: repeat(var(--colt, 5), minmax(0, 190px)); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .mu-tile, .mu-tile img, .mu-play { transition: none; }
  .mu-tile:hover, .mu-tile:hover img { transform: none; }
}

/* ---------- "More Updates" link + All Updates page ---------- */
.lu-more { display: block; padding: 12px 10px; font-weight: 800; color: #0b3dd6; border-bottom: 1px solid var(--line); background: var(--bg-row); }
:root[data-theme="dark"] .lu-more { color: #7aa2ff; }
.lu-more:hover { color: var(--red); background: var(--bg-alt); }
.jump-form { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 4px 10px 14px; background: var(--bg-alt); font-size: 14px; }
.jump-form input { width: 80px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); color: var(--text); }
.jump-form button { padding: 3px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); color: var(--text); font-weight: 700; cursor: pointer; }

/* singer name links */
.singer-link { color: inherit; font-weight: inherit; position: relative; z-index: 2; text-decoration: none; transition: color .15s; }
.singer-link:hover { color: var(--link); }
/* Music Updates: how many tiles per device */
@media (min-width: 521px) { .mu-tile.hide-d { display: none; } }
@media (max-width: 520px) { .mu-tile.hide-m { display: none; } }

/* No browser tap-flash (grey/blue box) when a link or button is touched */
html { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label, summary, .row, .lu-row, .track-row, .mu-tile, .dl-btn, .chip, .qlink { -webkit-tap-highlight-color: transparent; }

/* =================================================================
   ADMIN v2 - cleaner sidebar, cards, tables, forms
   ================================================================= */
.admin-body { background: #eef1f6; font-size: 14px; }
.admin-side {
  width: 244px; flex: 0 0 244px; padding: 0; color: #cfd6e4;
  background: linear-gradient(180deg, #1b2130 0%, #141926 100%);
  box-shadow: 2px 0 12px rgba(0,0,0,.15);
}
.admin-side::-webkit-scrollbar { width: 6px; } .admin-side::-webkit-scrollbar-thumb { background: #34405a; border-radius: 3px; }
.admin-side .brand {
  display: flex; align-items: center; gap: 12px; padding: 18px 16px 16px; margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.07); color: #fff;
}
.admin-side .brand-ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--accent), #ff5e3a); color: #fff; font-size: 20px; box-shadow: 0 3px 8px rgba(0,0,0,.3);
}
.admin-side .brand-t { display: flex; flex-direction: column; line-height: 1.2; font-size: 15px; font-weight: 800; min-width: 0; word-break: break-word; }
.admin-side .brand-t small { font-size: 11px; font-weight: 600; color: #8b97b1; letter-spacing: .5px; margin-top: 2px; }
.admin-side .side-toggle { display: none; margin-left: auto; background: #2a3550; color: #fff; border: 0; border-radius: 8px; font-size: 18px; padding: 6px 12px; cursor: pointer; }
.side-nav { padding: 10px 10px 18px; }
.side-group { padding: 16px 10px 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #6f7b96; }
.admin-side .side-nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; margin: 2px 0; border-radius: 9px;
  color: #cfd6e4; font-weight: 600; font-size: 13.5px; border-left: 3px solid transparent;
  transition: background .15s, color .15s, transform .15s;
}
.admin-side .side-nav a .si { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.06); font-size: 14px; flex: none; }
.admin-side .side-nav a:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(2px); text-decoration: none; }
.admin-side .side-nav a.active { background: linear-gradient(90deg, rgba(139,61,255,.45), rgba(255,61,154,.12)); border-left-color: var(--accent); color: #fff; }
.admin-side .side-nav a.active .si { background: var(--accent); }
.admin-side .side-nav a.logout:hover { background: rgba(217,48,37,.25); }

.admin-main { padding: 26px 30px 40px; max-width: 1500px; }
.admin-main h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; font-size: 24px; font-weight: 800; letter-spacing: -.3px; }
.admin-main h2 { font-size: 16px; font-weight: 800; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #edf0f5; }

.a-card { border-radius: 14px; padding: 20px 22px; margin-bottom: 20px; border: 1px solid #e6eaf1; box-shadow: 0 2px 10px rgba(30,40,70,.05); }
.stat { border-radius: 14px; border-left: 0; border-top: 4px solid var(--accent); padding: 16px 18px; box-shadow: 0 2px 10px rgba(30,40,70,.06); }
.stat .n { font-size: 28px; letter-spacing: -.5px; }

.a-form input[type=text], .a-form input[type=password], .a-form input[type=number],
.a-form input[type=date], .a-form input[type=url], .a-form select, .a-form textarea {
  border: 1.5px solid #d5dbe6; border-radius: 9px; padding: 10px 12px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s;
}
.a-form input:focus, .a-form select:focus, .a-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,159,0,.18); background: #fff; }
.a-form label { color: #2a3142; }

.a-btn { border-radius: 9px; padding: 10px 18px; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .12s, filter .12s, box-shadow .12s; }
.a-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.18); filter: none; }
.a-btn:active { transform: none; }
.a-btn:disabled { cursor: default; transform: none; box-shadow: none; }
.a-btn.sm { padding: 6px 11px; border-radius: 8px; }
.a-btn.gray { background: #64748b; } .a-btn.red { background: #dc3a2e; } .a-btn.green { background: #1a8a42; }

.a-table { border-collapse: separate; border-spacing: 0; }
.a-table th { background: #f4f6fa; color: #5b6578; padding: 10px 12px; border-bottom: 1px solid #e3e8f0; }
.a-table th:first-child { border-radius: 9px 0 0 0; } .a-table th:last-child { border-radius: 0 9px 0 0; }
.a-table td { padding: 11px 12px; border-bottom: 1px solid #edf0f5; }
.a-table tr:hover td { background: #fafbfd; }
.a-table img.t { width: 48px; height: 48px; border-radius: 9px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.a-table .acts { white-space: normal; }
.a-table .acts form { display: inline-block; margin: 2px 0; }
.a-table .acts > * { vertical-align: middle; }
tr.rowlink { cursor: pointer; }
tr.rowlink .tlink { color: #1b1f24; }
tr.rowlink:hover .tlink { color: var(--accent); text-decoration: none; }
tr.rowlink.moved td { background: #fff3d6 !important; transition: background .7s; }
.pill { padding: 2px 10px; border-radius: 999px; }

.flash { border-radius: 10px; padding: 11px 16px; font-weight: 600; }
.upload-note { border-radius: 10px; }
.track-edit { border-radius: 12px; border-color: #e3e8f0; background: #fbfcfe; box-shadow: 0 1px 4px rgba(30,40,70,.04); }
.file-chip { background: #eaf0fb; border: 1px solid #d6e0f3; }
.sw { border-radius: 10px; }

.login-wrap { background: radial-gradient(circle at 20% 15%, #34405a 0%, #1b2130 55%, #141926 100%); }
.login-card { border-radius: 18px; padding: 32px 28px; }

@media (max-width: 820px) {
  .admin-side { width: 100%; flex: none; height: auto; position: sticky; top: 0; z-index: 30; display: block; padding: 0; overflow: visible; }
  .admin-side .brand { padding: 10px 14px; }
  .admin-side .side-toggle { display: block; }
  .side-nav { display: none; max-height: 70vh; overflow-y: auto; padding: 6px 10px 14px; background: #141926; }
  .side-nav.open { display: block; }
  .admin-main { padding: 16px 14px 30px; }
  .a-card { padding: 16px; }
  .a-table { display: block; overflow-x: auto; }
}
.ad-box{margin:8px 0;padding:6px;text-align:center;overflow:hidden}.ad-box img{max-width:100%;height:auto}
.adslot{margin:8px 0;text-align:center;overflow:hidden;max-width:100%}.adslot img{max-width:100%;height:auto}.adslot-mob{display:none}@media(max-width:520px){.adslot-pc{display:none}.adslot-mob{display:block}}

/* =================================================================
   AkshayMasti.IN theme (purple / pink, dark by default, mobile + desktop)
   ================================================================= */
:root {
  --accent: #8b3dff; --accent2: #ff3d9a; --accent3: #ffb020;
  --bg: #faf7ff; --bg-alt: #f1ebff; --bg-row: #ffffff; --card: #ffffff;
  --text: #1c1236; --muted: #6f6592; --line: #e3d9fb; --link: #6d28d9; --red: #d6246e; --green: #0f9d6b;
  --shadow: 0 4px 14px rgba(94,40,180,.14);
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  --radius: 14px;
}
:root[data-theme="dark"] {
  --bg: #0e0a1f; --bg-alt: #171231; --bg-row: #130f29; --card: #1a1438;
  --text: #f3efff; --muted: #a79dd0; --line: #2d2552; --link: #c4b0ff; --red: #ff6aa8; --green: #34d399;
  --shadow: 0 6px 18px rgba(0,0,0,.45);
}
body { background: var(--bg); background-image: radial-gradient(900px 400px at 50% -120px, color-mix(in srgb, var(--accent) 35%, transparent), transparent); background-repeat: no-repeat; }
.wrap { max-width: none; margin: 0; padding: 0 clamp(0px, 2vw, 28px) 6px; }
.site-head, .official-line, .tg-row, .welcome, .search-box, .chip-row, .quick-row, .important-box, .site-foot, .notice { max-width: none; margin-left: auto; margin-right: auto; }
.official-line { max-width: 1100px; } .search-box { max-width: 720px; }
.site-foot { margin-left: clamp(0px, 2vw, 28px); margin-right: clamp(0px, 2vw, 28px); }

/* header */
.site-head { background: transparent; padding: 22px 14px 10px; }
.logo-mark { background: var(--grad); border-radius: 14px; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 55%, transparent); }
.logo-text { font-size: 32px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; letter-spacing: -.5px; }
.logo img { max-height: 64px; }
.tagline { color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.theme-btn { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }

.official-line { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin-top: 8px; width: calc(100% - 24px); }
.tg-row { background: transparent; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 10px 12px; }
.tg-btn { background: var(--grad); color: #fff; border: 0; border-radius: 999px; padding: 7px 16px; font-size: 13px; box-shadow: var(--shadow); }
.tg-btn.pl-btn { background: linear-gradient(135deg, #ff3d9a, #ffb020); }
.tg-btn:hover { text-decoration: none; filter: brightness(1.1); transform: translateY(-1px); }
.welcome { border: 0; color: var(--muted); }
.search-box { padding: 0 12px; margin-top: 10px; }
.search-box input { border: 2px solid var(--line); border-radius: 999px; padding: 12px 18px; box-shadow: var(--shadow); }
.search-box input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.search-box button, .btn { background: var(--grad); border-radius: 999px; padding: 12px 24px; }

/* chips + menu */
.chip-row { background: transparent; padding: 12px 10px 4px; margin-top: 4px; }
.chip { background: var(--card); border-radius: 999px; padding: 5px 14px; border-width: 1.5px; box-shadow: var(--shadow); }
:root[data-theme="dark"] .chip-0 { color: #ff7b9c; border-color: #ff7b9c; } :root[data-theme="dark"] .chip-1 { color: #7cb6ff; border-color: #7cb6ff; }
:root[data-theme="dark"] .chip-2 { color: #ff7ad1; border-color: #ff7ad1; } :root[data-theme="dark"] .chip-3 { color: #4ade9b; border-color: #4ade9b; }
:root[data-theme="dark"] .chip-4 { color: #c4a0ff; border-color: #c4a0ff; } :root[data-theme="dark"] .chip-5 { color: #ffc266; border-color: #ffc266; }
.quick-row { border: 0; }
.quick-row.qs-pills { background: transparent; }
.quick-row.qs-pills .quick-label { background: var(--grad); }
.quick-row.qs-pills .qlink { background: var(--card); border-color: var(--line); color: var(--text); }
.qlink-0,.qlink-1,.qlink-2,.qlink-3,.qlink-4 { color: var(--text); }
.quick-row.qs-pills .qlink:hover { border-color: var(--accent); }

/* section bars */
.bar { background: var(--grad); border-radius: var(--radius) var(--radius) 0 0; margin: 18px 10px 0; padding: 11px 14px; font-size: 15px; letter-spacing: .2px; box-shadow: var(--shadow); }
.bar + .list, .bar + .mu-grid, .bar + .lu-box, .bar + .track-row, .bar + .empty { margin-left: 10px; margin-right: 10px; }
.list, .lu-box { margin: 0 10px; background: var(--bg-row); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.list-head { background: var(--bg-alt); margin: 14px 10px 0; border-radius: var(--radius) var(--radius) 0 0; border: 1px solid var(--line); }
.list-head.accent { background: var(--grad); }
.row { border-bottom: 1px solid var(--line); padding: 12px 14px; }
.row:last-child { border-bottom: 0; }
.row:hover { background: color-mix(in srgb, var(--accent) 12%, var(--bg-row)); }
.row .ico { color: var(--accent2); }
.row .thumb, .track-row .thumb { border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.lu-row { padding-left: 40px; }
.lu-star { color: var(--accent2); }
.lu-title { color: var(--accent2); }
.lu-more { display: block; text-align: center; margin: 8px 10px 0; padding: 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 800; }

/* music-update tiles */
.mu-grid { padding: 10px; gap: 10px; background: var(--bg-row); border: 1px solid var(--line); border-top: 0; margin: 0 10px; border-radius: 0 0 var(--radius) var(--radius); }
.mu-tile { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.mu-badge { background: var(--grad) !important; color: #fff !important; border-radius: 999px; }
.mu-new { background: var(--accent3) !important; color: #1c1236 !important; }

/* song / album rows */
.track-row { background: var(--bg-row); border: 1px solid var(--line); border-radius: 12px; margin: 8px 10px; padding: 10px; }
.track-row:hover { background: color-mix(in srgb, var(--accent) 14%, var(--bg-row)); }
.track-row .tr-link { color: var(--text); }
.track-row .dl { background: var(--grad); color: #fff; padding: 3px 12px; border-radius: 999px; font-size: 12px; }
.track-row .dl:hover { color: #fff; filter: brightness(1.1); }
.detail-cover img { border: 0; border-radius: 18px; box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 40%, transparent); width: 260px; }
.player-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 10px; }
.dl-title { background: transparent; border: 0; }
.dl-btn { border-radius: 999px; padding: 11px 12px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.dl-128 { background: linear-gradient(135deg,#ff7a1a,#ffb020); } .dl-192 { background: linear-gradient(135deg,#1e90ff,#8b3dff); }
.dl-256 { background: linear-gradient(135deg,#ff3d9a,#8b3dff); } .dl-320 { background: linear-gradient(135deg,#10b981,#06b6d4); }
.dl-video { background: linear-gradient(135deg,#ef4444,#ff3d9a); }
.info-card { margin: 12px 10px; }
.ic-item { background: var(--card); border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.share-btn { border-radius: 999px; padding: 8px 16px; }
.desc-box, .tags { color: var(--muted); }
.subbar, .crumbs { border-color: var(--line); }
.crumbs { margin: 10px 10px 0; border-top: 0; }
.crumbs a, .sort-line a { color: var(--red); }

/* pager */
.pager { background: transparent; }
.pager a { background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager .cur { background: var(--grad); color: #fff; border: 0; border-radius: 10px; }

/* notices + footer */
.notice { background: color-mix(in srgb, var(--accent3) 18%, var(--card)); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent3) 55%, var(--line)); border-radius: var(--radius); margin: 12px 10px 0; width: calc(100% - 20px); }
.important-box { color: var(--muted); border-top: 1px solid var(--line); }
.site-foot { background: var(--grad); border-radius: var(--radius) var(--radius) 0 0; margin-top: 18px; padding: 18px 12px; box-shadow: 0 -6px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.online-now { opacity: .95; }
.empty { color: var(--muted); }
.page-text { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 10px; }

/* responsive */
@media (min-width: 900px) {
  .mu-grid { padding: 14px; gap: 14px; }
  .track-row { padding: 12px 14px; }
  .search-box { max-width: 640px; }
}
@media (max-width: 520px) {
  .logo-text { font-size: 26px; }
  .bar { margin: 14px 8px 0; font-size: 14px; }
  .list, .lu-box, .mu-grid { margin-left: 8px; margin-right: 8px; }
  .track-row { margin: 6px 8px; }
  .list-head { margin-left: 8px; margin-right: 8px; }
  .detail-cover img { width: 70%; }
}
img, video, audio, iframe { max-width: 100%; }
body { overflow-x: hidden; }

/* admin: purple accent */
.admin-side { background: linear-gradient(180deg, #1b1038, #120a28); }
.admin-side a.active { background: var(--grad); border-radius: 8px; margin: 2px 8px; padding-left: 12px; }
.admin-side .brand { background: transparent; }
.login-wrap { background: linear-gradient(135deg, #1b1038, #4b1d8f 55%, #ff3d9a); }
.admin-body { background: #f4f0fc; }
.a-btn { background: var(--grad); }
.a-btn.gray { background: #6b7280; } .a-btn.red { background: #d93025; } .a-btn.green { background: #188038; }
@media (max-width: 820px) { .admin-main { padding: 14px; } }
.quick-label{color:var(--red)}


/* =================================================================
   v2: full-width layout, white default, new download / info / latest-updates look
   ================================================================= */
.is-home .list { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .is-home .list { grid-template-columns: 1fr 1fr; }
  .is-home .list .row:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (min-width: 1500px) { .is-home .list { grid-template-columns: repeat(3, 1fr); } .is-home .list .row { border-right: 1px solid var(--line); } }
.mu-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important; }
@media (min-width: 900px) { .mu-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; } }

/* download buttons: big, clean, centred */
.dl-buttons { max-width: 420px; gap: 10px; margin: 18px auto 10px; }
.dl-btn { font-size: 16px; padding: 14px 16px; letter-spacing: .2px; }
.dl-btn small { font-size: 12px; }
.player-box { max-width: 760px; margin: 10px auto; }

/* song info: icon tiles */
.song-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 760px; margin: 16px auto; padding: 0 10px; }
.si-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); color: var(--text); min-width: 0; }
.si-item:hover { text-decoration: none; }
.si-wide { grid-column: 1 / -1; }
.si-ico { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 19px; color: #fff; background: var(--grad); box-shadow: 0 4px 10px color-mix(in srgb, var(--accent) 40%, transparent); }
.si-size .si-ico { background: linear-gradient(135deg,#06b6d4,#8b3dff); } .si-plays .si-ico { background: linear-gradient(135deg,#10b981,#06b6d4); }
.si-dl .si-ico { background: linear-gradient(135deg,#ffb020,#ff3d9a); } .si-singer .si-ico { background: linear-gradient(135deg,#ff3d9a,#ef4444); }
.si-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.si-v { font-weight: 800; font-size: 15px; word-break: break-word; }
.si-v a { color: var(--accent); }
.si-l { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); margin-top: 2px; }
.si-album { background: var(--grad); border: 0; color: #fff; }
.si-album .si-ico { background: rgba(255,255,255,.22); box-shadow: none; } .si-album .si-l { color: rgba(255,255,255,.85); }
.si-go { margin-left: auto; font-size: 20px; transition: transform .2s; } .si-album:hover .si-go { transform: translateX(6px); }
@media (min-width: 700px) { .song-info { grid-template-columns: repeat(4, 1fr); } .si-item { flex-direction: column; text-align: center; padding: 16px 10px; } .si-txt { align-items: center; } .si-wide { flex-direction: row; text-align: left; } .si-wide .si-txt { align-items: flex-start; } }

/* Latest Updates: cards */
.lu-box { border: 0; background: transparent; margin: 0 10px; border-radius: 0; overflow: visible; }
.lu-cards { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px 0; }
.lu-page { padding: 12px 10px; }
@media (min-width: 900px) { .lu-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1500px) { .lu-cards { grid-template-columns: repeat(3, 1fr); } }
.lu-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 16px; box-shadow: var(--shadow); color: var(--text); transition: transform .18s, box-shadow .18s, border-color .18s; }
.lu-card.is-video { border-left-color: var(--accent2); }
.lu-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 28%, transparent); text-decoration: none; }
.lu-img { width: 62px; height: 62px; flex: 0 0 62px; object-fit: cover; border-radius: 12px; background: var(--bg-alt); }
.lu-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lu-pill { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .3px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 1px 9px; border-radius: 999px; }
.is-video .lu-pill { color: var(--accent2); background: color-mix(in srgb, var(--accent2) 12%, transparent); }
.lu-name { font-weight: 800; font-size: 14.5px; line-height: 1.3; word-break: break-word; }
.lu-sub { font-size: 12px; color: var(--muted); }
.lu-new { font-style: normal; font-size: 10px; font-weight: 900; background: var(--accent3); color: #1c1236; padding: 1px 6px; border-radius: 999px; vertical-align: middle; }
.lu-go { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-size: 15px; transition: transform .2s; }
.lu-card:hover .lu-go { transform: scale(1.12) rotate(-8deg); }
/* manual (admin-typed) latest-update rows */
.lu-row { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 8px 0; box-shadow: var(--shadow); }

/* floating back-to-top */
.to-top { position: fixed; right: 16px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 45%, transparent); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* soft entrance */
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bar, .list, .mu-grid, .lu-card, .track-row, .si-item { animation: riseIn .45s ease both; }
@media (prefers-reduced-motion: reduce) { .bar, .list, .mu-grid, .lu-card, .track-row, .si-item { animation: none; } }

/* =================================================================
   v3: edge-to-edge layout, classic single-column menus, compact Latest Updates, wide download
   ================================================================= */
.wrap { padding: 0; }
.site-foot { margin-left: 0; margin-right: 0; border-radius: 0; }
.bar { margin: 14px 0 0; border-radius: 0; }
.list, .lu-box, .mu-grid { margin-left: 0; margin-right: 0; border-radius: 0; border-left: 0; border-right: 0; }
.list-head { margin-left: 0; margin-right: 0; border-radius: 0; border-left: 0; border-right: 0; }
.track-row { margin: 0; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.crumbs, .page-text { margin-left: 10px; margin-right: 10px; }
.notice { margin: 12px 0 0; width: 100%; border-radius: 0; }

/* Mp3 Menu / Video Menu: back to the classic single column */
.is-home .list, .list { display: block; }
.is-home .list .row, .is-home .list .row:nth-child(odd) { border-right: 0; }
@media (min-width: 900px) { .is-home .list { display: block; } }
@media (min-width: 1500px) { .is-home .list { display: block; } .is-home .list .row { border-right: 0; } }

/* Featured Songs (home, under Video Updates) */
.feat-list .row .thumb { width: 64px; height: 64px; flex: 0 0 64px; }
.feat-list .row .meta { display: flex; flex-direction: column; gap: 2px; }
.feat-list .row .t { color: var(--link); font-weight: 800; }
.feat-list .row .s b { color: var(--accent2); font-weight: 700; }
.fdl { color: var(--green); font-weight: 800; font-size: 13px; }

/* Latest Updates: compact rows, no big gaps */
.lu-box { background: var(--bg-row); border: 0; margin: 0; }
.lu-cards, .lu-page { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; background: var(--bg-row); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .lu-cards, .lu-page { grid-template-columns: 1fr 1fr; } .lu-cards .lu-card:nth-child(odd) { border-right: 1px solid var(--line); } }
@media (min-width: 1500px) { .lu-cards, .lu-page { grid-template-columns: repeat(3, 1fr); } .lu-cards .lu-card:nth-child(odd) { border-right: 0; } .lu-cards .lu-card { border-right: 1px solid var(--line); } }
.lu-card { gap: 10px; padding: 7px 12px; border: 0; border-bottom: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0; box-shadow: none; background: var(--bg-row); }
.lu-card.is-video { border-left-color: var(--accent2); }
.lu-card:hover { transform: none; box-shadow: none; background: color-mix(in srgb, var(--accent) 9%, var(--bg-row)); }
.lu-img { width: 44px; height: 44px; flex-basis: 44px; border-radius: 8px; }
.lu-body { gap: 1px; }
.lu-pill { font-size: 10.5px; padding: 0 8px; }
.lu-name { font-size: 14px; line-height: 1.25; }
.lu-sub { font-size: 11.5px; }
.lu-go { flex-basis: 30px; height: 30px; font-size: 13px; }
.lu-card:hover .lu-go { transform: scale(1.1); }
.lu-row { margin: 0; border-radius: 0; border-width: 0 0 1px; box-shadow: none; }
.lu-more { margin: 0; border-radius: 0; border-width: 0 0 1px; }

/* Download page: button + player + tiles share one width, edge to edge */
.player-box { max-width: 760px; margin: 10px auto; }
.dl-buttons { max-width: 760px; width: 100%; padding: 0 10px; margin: 14px auto 6px; }
.dl-btn { width: 100%; }
.song-info { max-width: 760px; }
.si-ico { flex: none; width: 42px; height: 42px; min-width: 42px; font-size: 19px; line-height: 1; }
.si-ico, .si-v, .si-l { text-shadow: none; }
@media (min-width: 700px) { .si-item:not(.si-wide) { justify-content: center; gap: 8px; } }
@media (max-width: 520px) { .crumbs, .page-text { margin-left: 8px; margin-right: 8px; } }
.player-box{max-width:740px}

/* v3b: no side gaps on any block (beats the older ".bar + .list" margins) */
.bar + .list, .bar + .mu-grid, .bar + .lu-box, .bar + .track-row, .bar + .empty,
.list, .lu-box, .mu-grid, .lu-cards, .list-head, .track-row, .pager, .lu-more, .sort-line { margin-left: 0; margin-right: 0; }
.bar { margin-left: 0; margin-right: 0; }
@media (max-width: 520px) {
  .bar, .list, .lu-box, .mu-grid, .list-head, .track-row, .bar + .list, .bar + .mu-grid, .bar + .lu-box { margin-left: 0; margin-right: 0; }
}

/* v3.1: no side gaps anywhere (beats the older ".bar + .list" margins) */
.bar + .list, .bar + .mu-grid, .bar + .lu-box, .bar + .track-row, .bar + .empty,
.list, .lu-box, .mu-grid, .list-head, .lu-cards, .feat-list { margin-left: 0 !important; margin-right: 0 !important; }
.track-row { margin-left: 0 !important; margin-right: 0 !important; }
.bar { margin-left: 0 !important; margin-right: 0 !important; }
.pager, .sort-line, .subbar, .desc-box, .singer-line, .tags { margin-left: 0; margin-right: 0; }
@media (max-width: 520px) {
  .bar, .list, .lu-box, .mu-grid, .list-head, .track-row { margin-left: 0 !important; margin-right: 0 !important; }
}

/* =================================================================
   v4: smaller bars + menu rows, bigger album photos, new search, snug download button
   ================================================================= */
.bar { padding: 7px 12px; font-size: 13.5px; margin-top: 10px !important; }
.bar h1, .bar h2 { font-size: inherit; }
.list-head { padding: 7px 12px; font-size: 13px; }
.row:not(:has(.thumb)) { padding: 8px 14px; font-size: 14px; }
.row:not(:has(.thumb)) .ico { font-size: 16px; flex-basis: 20px; }
.row:not(:has(.thumb)) .arrow { font-size: 14px; }
.row .thumb { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 12px; }
.feat-list .row .thumb { width: 76px; height: 76px; flex-basis: 76px; }
.row:has(.thumb) { padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 520px) { .row .thumb, .feat-list .row .thumb { width: 72px; height: 72px; flex-basis: 72px; } }

/* search: capsule with icon and button inside */
.search-box { max-width: 680px; margin: 12px auto 4px; padding: 0 12px; display: block; }
.sb-wrap { display: flex; align-items: center; gap: 6px; background: var(--card); border: 2px solid transparent; border-radius: 999px; padding: 5px 5px 5px 16px;
  background-image: linear-gradient(var(--card), var(--card)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 22%, transparent); transition: box-shadow .2s; }
.sb-wrap:focus-within { box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 40%, transparent); }
.sb-ico { flex: none; color: var(--accent); }
.search-box .sb-wrap input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent; border-radius: 0; padding: 9px 4px; font-size: 15px; color: var(--text); outline: 0; }
.search-box .sb-wrap button { flex: none; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; padding: 9px 20px; cursor: pointer; }
.search-box .sb-wrap button:hover { filter: brightness(1.08); }
@media (max-width: 420px) { .search-box .sb-wrap button { padding: 9px 14px; } }

/* download button: only as wide as its text */
.dl-buttons { max-width: none; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 10px; }
.dl-btn { width: auto; display: inline-block; padding: 10px 30px; font-size: 15px; }

/* song page: album box with its photo */
.si-cover { flex: none; width: 46px; height: 46px; border-radius: 10px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* admin: keep it tidy */
.admin-body { min-height: 100vh; }
.admin-shell { background: #f4f0fc; }
