/* ویدیوکلیپ پارسی — minimal pastel theme (RTL) */

:root {
  --bg: #faf6f3;
  --surface: #ffffff;
  --surface-2: #f7f0ed;
  --border: #efe3dd;
  --text: #4a4152;
  --muted: #8a7f93;
  --primary: #b79dd6;
  --primary-strong: #9c7fc4;
  --primary-soft: #ece2f7;
  --pink: #f0c0cc;
  --pink-soft: #fbe7ec;
  --mint: #b8ded1;
  --mint-soft: #e4f3ee;
  --peach: #f6cebc;
  --peach-soft: #fbebe3;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 6px 20px rgba(170, 150, 190, 0.16);
  --shadow-sm: 0 3px 10px rgba(170, 150, 190, 0.12);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Vazirmatn, "Segoe UI", Tahoma, Arial, sans-serif;
  background: linear-gradient(180deg, var(--peach-soft) 0%, var(--bg) 260px);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-strong); text-decoration: none; }
mark { background: var(--pink-soft); color: inherit; border-radius: 4px; padding: 0 2px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- nav ---------- */
.nav { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 20px; }
.brand { font-weight: 800; font-size: 1.35rem; color: var(--primary-strong); }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-link { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: 0.95rem; transition: background .15s, color .15s; }
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { background: var(--primary-soft); color: var(--primary-strong); font-weight: 600; }

.page { flex: 1; padding: 26px 20px 60px; }
.page-title { font-size: 1.5rem; margin: 4px 0 4px; color: var(--text); }
.page-sub { color: var(--muted); margin: 0 0 18px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 56px 20px 20px; }
.hero-title { font-size: 2.5rem; margin: 0 0 8px; color: var(--text); }
.hero-sub { color: var(--muted); font-size: 1.05rem; margin: 0 0 26px; }

/* ---------- hero home (landing) ---------- */
.hero-home { position: relative; padding: 70px 20px 50px; overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #f8e8f4 0%, #e8dff5 25%, #d4e7f7 55%, #e0f2e9 80%, #fbebe3 100%); z-index: 0; }
.hero-bg::before { content: ""; position: absolute; top: -40%; right: -15%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(183, 157, 214, .22), transparent 65%); animation: heroPulse 6s ease-in-out infinite; }
.hero-bg::after { content: ""; position: absolute; bottom: -25%; left: -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 192, 204, .18), transparent 65%); animation: heroPulse 8s ease-in-out infinite reverse; }
@keyframes heroPulse { 0%, 100% { transform: scale(1) translate(0, 0); opacity: .8; } 50% { transform: scale(1.08) translate(15px, -20px); opacity: 1; } }
.hero-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.65); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.5); padding: 5px 18px; border-radius: 999px; font-size: .82rem; color: var(--primary-strong); font-weight: 600; margin-bottom: 16px; }
.hero-home .hero-title { font-size: 3rem; font-weight: 900; background: linear-gradient(135deg, #7c5daa, #b79dd6 40%, #d6a6b3 70%, #dba38d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 12px; line-height: 1.3; letter-spacing: -.02em; }
.hero-home .hero-sub { font-size: 1.1rem; color: var(--muted); margin-bottom: 30px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* hero tags */
.hero-tags { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; margin-bottom: 4px; }
.hero-tags-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.hero-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.55); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.4); color: var(--text); font-size: .78rem; transition: background .15s, transform .15s; }
.hero-tag:hover { background: rgba(255,255,255,.85); transform: translateY(-1px); color: var(--primary-strong); }

/* hero stats */
.hero-stats { display: flex; justify-content: center; gap: 36px; margin-top: 30px; }
.hero-stat { text-align: center; }
.hero-stat-icon { display: block; font-size: 1.4rem; margin-bottom: 4px; }
.hero-stat-num { display: block; font-size: 2rem; font-weight: 900; color: var(--text); line-height: 1.2; }
.hero-stat-lbl { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; font-weight: 500; }

/* hero wave */

/* hero categories */
.hero-categories { position: relative; z-index: 2; display: flex; justify-content: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; padding: 0 20px; }
.hero-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 30px; border-radius: var(--radius); background: rgba(255,255,255,.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.5); box-shadow: 0 4px 24px rgba(0,0,0,.05); transition: transform .25s ease, box-shadow .25s ease; text-decoration: none; min-width: 160px; }
.hero-cat:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.hero-cat-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.hero-cat-audio .hero-cat-icon { background: linear-gradient(135deg, #7aae9b, #b8ded1); }
.hero-cat-video .hero-cat-icon { background: linear-gradient(135deg, #c98a98, #f0c0cc); }
.hero-cat-movie .hero-cat-icon { background: linear-gradient(135deg, #d09578, #f6cebc); }
.hero-cat-title { font-weight: 700; color: var(--text); font-size: .95rem; }
.hero-cat-count { font-size: .78rem; color: var(--muted); }

/* ---------- home sections ---------- */
.home-section { margin-top: 36px; }
.section-heading { display: inline-flex; align-items: center; gap: 8px; font-size: 1.25rem; color: var(--text); margin: 0; font-weight: 700; }
.section-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); font-size: .85rem; }
.section-icon.fire { background: linear-gradient(135deg, #fce4ec, #fbe7ec); font-size: 1rem; }

/* ---------- search ---------- */
.search-form { max-width: 640px; margin: 0 auto; }
.search-row { display: flex; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow); }
.search-input { flex: 1; border: 0; outline: 0; font: inherit; padding: 12px 16px; border-radius: var(--radius-sm); background: transparent; color: var(--text); font-size: 1rem; }
.search-input::placeholder { color: var(--muted); }
.search-filters { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: .9rem; }
.suggest-hint { cursor: default; }

.suggest { list-style: none; margin: 8px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.suggest li { padding: 10px 16px; cursor: pointer; font-size: .95rem; }
.suggest li:hover, .suggest li.active { background: var(--primary-soft); }

/* ---------- buttons / inputs ---------- */
.btn { display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 10px 20px; border-radius: 999px; transition: transform .12s, box-shadow .12s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--pink); color: #fff; }
.btn-danger:hover { background: #e59aa8; }
.btn-sm { padding: 6px 14px; font-size: .85rem; }

.select { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); padding: 7px 12px; font: inherit; }
.input, .textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); padding: 10px 14px; font: inherit; outline: 0; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.textarea { min-height: 130px; resize: vertical; }
label.field { display: block; margin-bottom: 14px; font-size: .92rem; color: var(--muted); }
label.field .input, label.field .textarea, label.field .select { margin-top: 5px; }

/* ---------- cards grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 18px; margin-top: 22px; }
.card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 8px; right: 8px; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; }
.badge-audio { background: var(--mint); }
.badge-video { background: var(--pink); }
.badge-movie { background: var(--peach); }
.duration { position: absolute; bottom: 8px; left: 8px; background: rgba(74, 65, 82, .75); color: #fff; font-size: .75rem; padding: 2px 8px; border-radius: 999px; }
.card-body { padding: 12px 14px 14px; }
.card-title { margin: 0 0 3px; font-size: .98rem; font-weight: 700; color: var(--text); line-height: 1.5; }
.card-artist { margin: 0; color: var(--primary-strong); font-size: .86rem; }
.card-meta { margin: 6px 0 0; color: var(--muted); font-size: .78rem; }

/* ---------- track detail ---------- */
.track-detail { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; margin-top: 20px; }
.track-cover { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.track-info h2 { margin: 0 0 4px; font-size: 1.6rem; }
.track-info .artist { color: var(--primary-strong); font-size: 1.05rem; margin: 0 0 12px; }
.track-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.chip { background: var(--surface-2); border: 1px solid var(--border); padding: 4px 12px; border-radius: 999px; font-size: .82rem; color: var(--muted); }
.chip b { color: var(--text); }
.track-desc { color: var(--text); white-space: pre-line; }
.player { margin-top: 18px; }
.player audio { width: 100%; }
.btn-cta { display: inline-block; margin-top: 16px; }

@media (max-width: 720px) {
  .track-detail { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.9rem; }
  .hero-home .hero-title { font-size: 2rem; }
  .hero-home { padding: 50px 16px 40px; min-height: auto; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-icon { font-size: 1.1rem; }
  .hero-categories { gap: 10px; }
  .hero-cat { padding: 18px 20px; min-width: 130px; }
  .hero-tag { font-size: .72rem; padding: 2px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .audio-title { font-size: 1.25rem; }
  .track-title { font-size: 1.3rem; }
  .comment-replies { margin-inline-start: 18px; }
}

/* ---------- alerts / pagination ---------- */
.alert { border-radius: var(--radius-sm); padding: 12px 16px; margin: 14px 0; font-size: .93rem; }
.alert-info { background: var(--primary-soft); color: var(--primary-strong); }
.alert-success { background: var(--mint-soft); color: #3d7a63; }
.alert-error { background: var(--pink-soft); color: #b05a6b; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 30px; }
.page-btn { padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.page-btn:hover { background: var(--primary-soft); }
.page-btn.disabled { opacity: .5; pointer-events: none; }
.page-info { color: var(--muted); font-size: .9rem; }

/* ---------- forms (contact/removal) ---------- */
.form-card { max-width: 560px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.form-card .btn { margin-top: 6px; }

/* ---------- static pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.15rem; margin: 24px 0 8px; color: var(--text); }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-inline-start: 22px; }

/* ---------- footer ---------- */
.footer { position: relative; border-top: none; background: linear-gradient(180deg, var(--bg) 0%, #f0eaf5 50%, #e8e0f0 100%); padding: 0; color: var(--muted); }
.footer-wave { height: 40px; background: linear-gradient(180deg, var(--bg) 0%, transparent 100%); }
.footer-inner { padding: 0 20px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-top: 10px; }
.footer-logo { font-size: 1.3rem; font-weight: 900; color: var(--primary-strong); display: inline-block; margin-bottom: 10px; }
.footer-desc { font-size: .88rem; line-height: 1.8; margin: 0; color: var(--muted); max-width: 320px; }
.footer-heading { font-size: .9rem; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); font-size: .88rem; transition: color .15s; }
.footer-links a:hover { color: var(--primary-strong); }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.5); text-align: center; font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* ---------- admin ---------- */
.admin-wrap { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--surface); border-inline-end: 1px solid var(--border); padding: 22px 16px; }
.admin-sidebar .brand { display: block; margin-bottom: 22px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { padding: 9px 14px; border-radius: var(--radius-sm); color: var(--muted); }
.admin-nav a:hover { background: var(--surface-2); color: var(--text); }
.admin-nav a.active { background: var(--primary-soft); color: var(--primary-strong); font-weight: 600; }
.admin-main { padding: 26px 28px 60px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.stat .num { font-size: 1.6rem; font-weight: 800; color: var(--primary-strong); }
.stat .lbl { color: var(--muted); font-size: .85rem; }

.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { background: var(--surface-2); color: var(--muted); font-size: .82rem; }
.table tr:last-child td { border-bottom: 0; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; }
.pill.ok { background: var(--mint-soft); color: #3d7a63; }
.pill.warn { background: var(--peach-soft); color: #9c6b3d; }
.pill.bad { background: var(--pink-soft); color: #b05a6b; }

@media (max-width: 760px) {
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- captcha ---------- */
.captcha-field { margin: 4px 0 16px; }
.captcha-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.captcha-img { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); height: 52px; }
.captcha-refresh { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--primary-strong); font-size: 1.1rem; cursor: pointer; transition: background .15s; }
.captcha-refresh:hover { background: var(--primary-soft); }
.captcha-row .input { flex: 1; min-width: 130px; }

/* ---------- category banner ---------- */
.cat-banner { border-radius: var(--radius); margin: 18px 0 6px; padding: 26px 30px; color: #fff; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.cat-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.22), transparent 55%); }
.cat-banner-inner { position: relative; z-index: 1; }
.cat-banner h2 { margin: 0 0 6px; font-size: 1.7rem; }
.cat-banner p { margin: 0 0 10px; opacity: .92; }
.cat-count { display: inline-block; background: rgba(255,255,255,.22); padding: 4px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.cat-banner-audio { background: linear-gradient(120deg, #8fbfae, #b8ded1); }
.cat-banner-video { background: linear-gradient(120deg, #d6a6b3, #f0c0cc); }
.cat-banner-movie { background: linear-gradient(120deg, #dba38d, #f6cebc); }

/* ---------- track hero / player (aparat style) ---------- */
.track-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 22px; background: #221d2b; }
.video-stage video, .video-stage img { width: 100%; display: block; max-height: 58vh; background: #000; }
.audio-stage { position: relative; background-size: cover; background-position: center; padding: 34px 30px 18px; }
.audio-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,24,40,.62), rgba(30,24,40,.9)); }
.audio-stage-inner { position: relative; z-index: 1; display: flex; gap: 22px; align-items: center; }
.audio-art { width: 118px; height: 118px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.4); flex-shrink: 0; }
.audio-art img { width: 100%; height: 100%; object-fit: cover; }
.audio-badge { display: inline-block; background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); padding: 2px 12px; border-radius: 999px; font-size: .78rem; margin-bottom: 8px; }
.audio-title { margin: 0 0 4px; color: #fff; font-size: 1.6rem; }
.audio-artist { margin: 0; color: rgba(255,255,255,.8); font-size: 1.05rem; }
.equalizer { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 14px; }
.equalizer span { width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--primary), #d9c7ef); animation: eq 1.1s ease-in-out infinite; }
.equalizer span:nth-child(1) { animation-delay: 0s; height: 40%; }
.equalizer span:nth-child(2) { animation-delay: .18s; height: 85%; }
.equalizer span:nth-child(3) { animation-delay: .36s; height: 55%; }
.equalizer span:nth-child(4) { animation-delay: .5s; height: 100%; }
.equalizer span:nth-child(5) { animation-delay: .28s; height: 65%; }
@keyframes eq { 0%,100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.audio-stage audio { width: 100%; margin-top: 22px; position: relative; z-index: 1; }

/* ---------- track layout ---------- */
.track-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 26px; margin-top: 22px; align-items: start; }
.track-main { min-width: 0; }
.track-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.track-heading { min-width: 0; }
.badge-inline { display: inline-block; padding: 2px 12px; border-radius: 999px; color: #fff; font-size: .76rem; font-weight: 700; margin-bottom: 8px; }
.badge-inline.badge-audio { background: var(--mint); }
.badge-inline.badge-video { background: var(--pink); }
.badge-inline.badge-movie { background: var(--peach); }
.track-title { margin: 0 0 4px; font-size: 1.65rem; line-height: 1.35; }
.track-artist { margin: 0; color: var(--primary-strong); font-size: 1.1rem; }
.track-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.action-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s; }
.action-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); background: var(--surface-2); }
.action-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); font-size: .8rem; }
.track-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 4px; }
.track-desc { margin-top: 18px; }
.section-title { font-size: 1.1rem; margin: 0 0 8px; color: var(--text); }
.track-desc p { color: var(--text); white-space: pre-line; margin: 0; }

.share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--border); }
.share-net { padding: 5px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--primary-strong); font-size: .85rem; font-weight: 600; }
.share-net:hover { background: var(--primary-soft); }

/* ---------- sidebar ---------- */
.track-side { min-width: 0; }
.side-title { font-size: 1.02rem; margin: 0 0 12px; color: var(--text); }
.side-title:not(:first-child) { margin-top: 26px; }
.side-list { display: flex; flex-direction: column; gap: 10px; }
.side-item { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; transition: transform .12s, box-shadow .15s; }
.side-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.side-item img { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.side-item-info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.side-item-title { font-size: .9rem; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-item-artist { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-item-dur { font-size: .75rem; color: var(--muted); flex-shrink: 0; }

/* ---------- comments ---------- */
.comments { margin-top: 34px; }
.comments-title { font-size: 1.25rem; margin: 0 0 16px; color: var(--text); }
.muted { color: var(--muted); }
.comment-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.comment { display: flex; gap: 12px; }
.comment-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.comment-main { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; }
.comment-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.comment-author { font-weight: 700; color: var(--primary-strong); }
.comment-time { color: var(--muted); font-size: .78rem; }
.comment-body { color: var(--text); white-space: pre-line; }
.comment-actions { margin-top: 6px; }
.comment-reply-btn { border: 0; background: none; color: var(--muted); font: inherit; font-size: .82rem; cursor: pointer; padding: 0; }
.comment-reply-btn:hover { color: var(--primary-strong); }
.comment-replies { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; margin-inline-start: 40px; }
.comment-reply { margin-top: 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.comment-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.comment-form-title { font-weight: 700; margin: 0 0 12px; color: var(--text); }

/* ---------- blog ---------- */
.blog-top { margin-top: 26px; }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 4px; }
.cat-chip { padding: 6px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: .88rem; font-weight: 600; }
.cat-chip:hover { background: var(--surface-2); }
.cat-chip.active { background: var(--primary-soft); color: var(--primary-strong); border-color: transparent; }
.cat-chip span { opacity: .7; font-size: .78rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/9; background: var(--surface-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 14px 16px 16px; }
.post-card-title { margin: 0 0 8px; font-size: 1rem; font-weight: 700; line-height: 1.55; color: var(--text); }
.post-card-excerpt { margin: 0 0 10px; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.post-card-meta { margin: 0; color: var(--muted); font-size: .78rem; }
.home-blog { margin-top: 40px; }
.home-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.home-section-head .page-sub { margin: 0; }
.more-link { color: var(--primary-strong); font-weight: 600; font-size: .92rem; }

.post-detail { margin-top: 24px; }
.post-meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.post-title { font-size: 1.7rem; line-height: 1.45; margin: 0 0 18px; }
.post-hero { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 22px; }
.post-body { font-size: 1.02rem; color: var(--text); }
.post-body p { line-height: 2; }
.post-source { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--border); color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .track-layout { grid-template-columns: 1fr; }
  .audio-stage-inner { flex-direction: column; text-align: center; }
  .equalizer { justify-content: center; }
}
@media (max-width: 720px) {
  .audio-title { font-size: 1.25rem; }
  .track-title { font-size: 1.3rem; }
  .comment-replies { margin-inline-start: 18px; }
}
