/*
Theme Name: Noorahang
Theme URI: https://noorahang.com/
Author: Saeed Lak
Author URI: https://noorahang.com/
Description: قالب اختصاصی و واکنش‌گرای نورآهنگ با طراحی مدرن ایرانی، پلیر شناور، پلی‌لیست، آمار بازدید و آرشیوهای تخصصی موسیقی.
Version: 0.3.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: noorahang
*/


:root {
  --nha-bg: #f4f6fb;
  --nha-surface: #ffffff;
  --nha-surface-2: #eef1f7;
  --nha-text: #171923;
  --nha-muted: #6c7280;
  --nha-border: #e3e7ef;
  --nha-dark: #0c1720;
  --nha-dark-2: #152631;
  --nha-accent: #18a77b;
  --nha-accent-2: #f4b73b;
  --nha-success: #13a879;
  --nha-shadow: 0 18px 50px rgba(31, 37, 56, .08);
  --nha-radius: 22px;
  --nha-radius-sm: 14px;
  --nha-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background: var(--nha-bg);
  color: var(--nha-text);
  font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif;
  font-feature-settings: "ss02" 0;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
body.nha-player-open { padding-bottom: 102px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--nha-accent); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
body, button, input, textarea, select, optgroup, h1, h2, h3, h4, h5, h6, p, a, li, span, small, strong, b, em, label, legend, figcaption, blockquote, table, td, th {
  font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif;
  font-feature-settings: "ss02" 0;
}
button { cursor: pointer; }
.nha-container { width: min(calc(100% - 32px), var(--nha-container)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.nha-site-header { position: sticky; top: 0; z-index: 1000; color: #fff; background: rgba(17,19,26,.95); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.admin-bar .nha-site-header { top: 32px; }
.nha-header-row { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.nha-brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.nha-brand-mark { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); box-shadow: 0 10px 28px rgba(24,167,123,.35); }
.nha-brand-mark svg { width: 25px; height: 25px; fill: #fff; }
.nha-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.nha-brand-title { font-size: 20px; font-weight: 900; }
.nha-brand-tagline { font-size: 10px; color: rgba(255,255,255,.55); }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 48px; width: auto; }
.nha-primary-nav { margin-inline-start: auto; }
.nha-primary-nav ul { display: flex; align-items: center; gap: 5px; list-style: none; margin: 0; padding: 0; }
.nha-primary-nav a { display: block; padding: 10px 13px; border-radius: 12px; color: rgba(255,255,255,.78); font-weight: 700; font-size: 13px; }
.nha-primary-nav a:hover, .nha-primary-nav .current-menu-item > a { color: #fff; background: rgba(255,255,255,.08); }
.nha-header-actions { display: flex; align-items: center; gap: 8px; }
.nha-icon-button { border: 0; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.nha-icon-button:hover { background: rgba(255,255,255,.15); }
.nha-icon-button svg { width: 20px; height: 20px; fill: currentColor; }
.nha-menu-toggle { display: none; }
.nha-search-panel { display: none; padding: 0 0 20px; }
.nha-search-panel.is-open { display: block; }
.nha-search-form { display: flex; gap: 10px; }
.nha-search-form input { width: 100%; height: 50px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; padding: 0 18px; color: #fff; background: rgba(255,255,255,.08); outline: 0; }
.nha-search-form input::placeholder { color: rgba(255,255,255,.5); }
.nha-search-form button { border: 0; border-radius: 15px; padding: 0 24px; color: #fff; font-weight: 800; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); }

/* Hero */
.nha-hero { position: relative; overflow: hidden; padding: 52px 0 42px; color: #fff; background: var(--nha-dark); }
.nha-hero::before, .nha-hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.nha-hero::before { width: 420px; height: 420px; right: -120px; top: -220px; background: rgba(24,167,123,.28); }
.nha-hero::after { width: 320px; height: 320px; left: -120px; bottom: -220px; background: rgba(255,79,139,.22); }
.nha-hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; }
.nha-hero h1 { margin: 0 0 12px; font-size: clamp(30px,5vw,52px); line-height: 1.35; letter-spacing: -.6px; }
.nha-hero p { margin: 0; max-width: 690px; color: rgba(255,255,255,.7); font-size: 16px; }
.nha-hero-stats { display: flex; gap: 12px; }
.nha-stat { min-width: 112px; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.06); text-align: center; }
.nha-stat strong { display: block; font-size: 21px; }
.nha-stat span { color: rgba(255,255,255,.58); font-size: 11px; }
.nha-quick-links { position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.nha-quick-links a { padding: 9px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.055); font-size: 12px; font-weight: 700; }
.nha-quick-links a:hover { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.12); }

/* Layout / sections */
.nha-main { padding: 34px 0 60px; }
.nha-section { margin-bottom: 38px; }
.nha-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.nha-section-head h2 { margin: 0; font-size: 22px; line-height: 1.4; }
.nha-section-head::before { content: ''; width: 5px; height: 26px; border-radius: 999px; background: linear-gradient(var(--nha-accent),var(--nha-accent-2)); }
.nha-section-head a { margin-inline-start: auto; color: var(--nha-muted); font-size: 12px; font-weight: 700; }
.nha-section-head a:hover { color: var(--nha-accent); }
.nha-home-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 28px; align-items: start; }
.nha-sidebar { position: sticky; top: 108px; display: grid; gap: 18px; }
.nha-panel { padding: 20px; border: 1px solid var(--nha-border); border-radius: var(--nha-radius); background: var(--nha-surface); box-shadow: var(--nha-shadow); }
.nha-panel-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 16px; }
.nha-panel-title::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--nha-accent); box-shadow: 0 0 0 6px rgba(24,167,123,.1); }
.nha-mini-list { display: grid; gap: 4px; }
.nha-mini-item { display: grid; grid-template-columns: 48px minmax(0,1fr) 28px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--nha-border); }
.nha-mini-item:last-child { border-bottom: 0; }
.nha-mini-thumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--nha-surface-2); }
.nha-mini-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; }
.nha-mini-meta { color: var(--nha-muted); font-size: 10px; }
.nha-mini-play { width: 28px; height: 28px; border: 0; border-radius: 50%; color: #fff; background: var(--nha-dark); display: grid; place-items: center; }
.nha-mini-play svg { width: 10px; fill: currentColor; }

/* Cards */
.nha-featured-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.nha-featured-card, .nha-music-card { position: relative; overflow: hidden; border: 1px solid var(--nha-border); border-radius: var(--nha-radius); background: var(--nha-surface); box-shadow: var(--nha-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.nha-featured-card:hover, .nha-music-card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(31,37,56,.13); }
.nha-featured-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--nha-surface-2); }
.nha-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nha-featured-card:hover img { transform: scale(1.045); }
.nha-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(10,12,18,.8),transparent 68%); }
.nha-play-fab { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); box-shadow: 0 9px 20px rgba(0,0,0,.24); display: grid; place-items: center; }
.nha-play-fab svg { width: 14px; fill: currentColor; }
.nha-featured-body { padding: 13px 14px 15px; }
.nha-card-title { margin: 0; overflow: hidden; font-size: 13px; font-weight: 900; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nha-card-meta { margin-top: 6px; color: var(--nha-muted); font-size: 11px; }
.nha-badge { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 9px; border-radius: 999px; color: #fff; background: rgba(17,19,26,.72); backdrop-filter: blur(8px); font-size: 9px; font-weight: 800; }
.nha-music-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.nha-music-card { min-width: 0; display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: stretch; }
.nha-music-thumb-wrap { position: relative; min-height: 112px; overflow: hidden; background: var(--nha-surface-2); }
.nha-music-thumb { width: 100%; height: 100%; object-fit: cover; }
.nha-music-body { min-width: 0; padding: 17px 16px; display: flex; flex-direction: column; justify-content: center; }
.nha-music-title { margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 900; }
.nha-music-info { display: flex; gap: 8px; align-items: center; color: var(--nha-muted); font-size: 11px; }
.nha-music-actions { display: flex; align-items: center; gap: 9px; margin-top: 12px; }
.nha-inline-play { border: 0; border-radius: 999px; padding: 7px 12px; color: #fff; background: var(--nha-dark); font-size: 10px; font-weight: 800; }
.nha-inline-play:hover { background: var(--nha-accent); }
.nha-details-link { color: var(--nha-muted); font-size: 10px; font-weight: 700; }
.nha-details-link:hover { color: var(--nha-accent); }
.nha-empty { padding: 30px; border: 1px dashed var(--nha-border); border-radius: var(--nha-radius); color: var(--nha-muted); background: var(--nha-surface); text-align: center; }

/* Archive */
.nha-archive-header { margin-bottom: 24px; padding: 26px; border-radius: var(--nha-radius); background: var(--nha-surface); box-shadow: var(--nha-shadow); }
.nha-archive-header h1 { margin: 0 0 8px; font-size: 27px; }
.nha-archive-description { color: var(--nha-muted); }
.nha-archive-description p:last-child { margin-bottom: 0; }
.nha-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.nha-pagination { margin-top: 32px; }
.nha-pagination .nav-links { display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; }
.nha-pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--nha-border); border-radius: 12px; background: var(--nha-surface); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.nha-pagination .current, .nha-pagination .page-numbers:hover { color: #fff; border-color: transparent; background: var(--nha-accent); }

/* Singer archive */
.nha-singer-hero { display: flex; align-items: center; gap: 20px; }
.nha-singer-avatar { flex: 0 0 90px; width: 90px; height: 90px; border-radius: 26px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); box-shadow: 0 16px 35px rgba(24,167,123,.22); font-size: 35px; font-weight: 900; }
.nha-singer-meta h1 { margin: 0 0 4px; }
.nha-singer-meta p { margin: 0; color: var(--nha-muted); }

/* Single */
.nha-single-shell { max-width: 920px; margin-inline: auto; }
.nha-single-hero { position: relative; overflow: hidden; margin-bottom: 22px; padding: 34px; border-radius: 30px; color: #fff; background: var(--nha-dark); box-shadow: 0 24px 65px rgba(17,19,26,.18); }
.nha-single-backdrop { position: absolute; inset: -35px; background-position: center; background-size: cover; filter: blur(35px); opacity: .22; transform: scale(1.15); }
.nha-single-shade { position: absolute; inset: 0; background: linear-gradient(120deg,rgba(17,19,26,.94),rgba(17,19,26,.68)); }
.nha-single-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 30px; align-items: center; }
.nha-single-cover { width: 230px; aspect-ratio: 1/1; border-radius: 25px; object-fit: cover; box-shadow: 0 22px 50px rgba(0,0,0,.35); }
.nha-single-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; color: rgba(255,255,255,.62); font-size: 11px; }
.nha-single-title { margin: 0 0 10px; font-size: clamp(24px,4vw,38px); line-height: 1.55; }
.nha-single-singer { display: inline-flex; padding: 7px 12px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.09); font-size: 11px; font-weight: 800; }
.nha-single-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; color: rgba(255,255,255,.58); font-size: 10px; }
.nha-hero-play { margin-top: 18px; border: 0; border-radius: 16px; padding: 12px 19px; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); font-weight: 900; box-shadow: 0 12px 28px rgba(24,167,123,.24); }
.nha-single-content { padding: 34px; border: 1px solid var(--nha-border); border-radius: 28px; background: var(--nha-surface); box-shadow: var(--nha-shadow); }
.nha-entry-content { font-size: 15px; }
.nha-entry-content > *:first-child { margin-top: 0; }
.nha-entry-content h2, .nha-entry-content h3 { margin: 32px 0 15px; line-height: 1.65; }
.nha-entry-content h2 { position: relative; padding-right: 16px; font-size: 20px; }
.nha-entry-content h2::before { content: ''; position: absolute; right: 0; top: .35em; width: 5px; height: 1.2em; border-radius: 99px; background: linear-gradient(var(--nha-accent),var(--nha-accent-2)); }

/* Dedicated Gutenberg content styles: boxed H2 headings and internal related links. */
.nha-entry-content h2.nha-content-heading-box,
.nha-entry-content h2.has-background {
  isolation: isolate;
  overflow: hidden;
  margin: 34px 0 18px;
  padding: 15px 20px 15px 22px !important;
  border: 1px solid color-mix(in srgb,var(--nha-accent) 23%,var(--nha-border));
  border-right: 5px solid var(--nha-accent);
  border-radius: 17px;
  color: var(--nha-text) !important;
  background: linear-gradient(135deg,color-mix(in srgb,var(--nha-accent) 9%,var(--nha-surface)),color-mix(in srgb,var(--nha-accent-2) 5%,var(--nha-surface))) !important;
  box-shadow: 0 12px 30px color-mix(in srgb,var(--nha-accent) 8%,transparent);
  font-size: 18px !important;
  font-weight: 900;
  line-height: 1.8;
}
.nha-entry-content h2.nha-content-heading-box::before,
.nha-entry-content h2.has-background::before {
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(180deg,var(--nha-accent),var(--nha-accent-2));
}
.nha-entry-content h2.nha-content-heading-box::after,
.nha-entry-content h2.has-background::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -22px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: color-mix(in srgb,var(--nha-accent-2) 9%,transparent);
}
.nha-entry-content h2.nha-content-heading-box *,
.nha-entry-content h2.has-background * { color: inherit !important; }

.nha-entry-content .nha-content-suggested-link,
.nha-entry-content .nha-content-related-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 22px 0 !important;
  padding: 49px 18px 16px 58px !important;
  border: 1px solid color-mix(in srgb,var(--nha-accent) 25%,var(--nha-border));
  border-radius: 18px;
  color: color-mix(in srgb,var(--nha-text) 76%,var(--nha-muted)) !important;
  background: linear-gradient(135deg,color-mix(in srgb,var(--nha-accent) 7%,var(--nha-surface)),color-mix(in srgb,var(--nha-accent-2) 3%,var(--nha-surface))) !important;
  box-shadow: 0 12px 30px color-mix(in srgb,var(--nha-accent) 7%,transparent);
  text-align: right !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 2;
  transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.nha-entry-content .nha-content-suggested-link::before,
.nha-entry-content .nha-content-related-link::before {
  content: attr(data-nha-related-label);
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2));
  box-shadow: 0 7px 18px color-mix(in srgb,var(--nha-accent) 22%,transparent);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.5;
  pointer-events: none;
}
.nha-entry-content .nha-content-suggested-link::after,
.nha-entry-content .nha-content-related-link::after {
  content: '←';
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 1px solid color-mix(in srgb,var(--nha-accent) 18%,var(--nha-border));
  border-radius: 10px;
  color: var(--nha-accent);
  background: color-mix(in srgb,var(--nha-accent) 9%,var(--nha-surface));
  font-size: 14px;
  font-weight: 900;
  transition: transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
  pointer-events: none;
}
.nha-entry-content .nha-content-suggested-link > strong:only-child,
.nha-entry-content .nha-content-suggested-link > b:only-child,
.nha-entry-content .nha-content-related-link > strong:only-child,
.nha-entry-content .nha-content-related-link > b:only-child { display: contents; }
.nha-entry-content .nha-content-suggested-link :not(a),
.nha-entry-content .nha-content-related-link :not(a) {
  color: inherit !important;
  background: transparent !important;
}
.nha-entry-content .nha-content-suggested-link a,
.nha-entry-content .nha-content-related-link a {
  position: relative;
  z-index: 1;
  display: inline;
  color: color-mix(in srgb,var(--nha-accent) 82%,var(--nha-text)) !important;
  background: transparent !important;
  border-bottom: 1px dashed color-mix(in srgb,var(--nha-accent) 48%,transparent);
  font-size: 13px;
  font-weight: 900;
  line-height: inherit;
  text-decoration: none !important;
  transition: color .2s ease,border-color .2s ease;
}
.nha-entry-content .nha-content-suggested-link:hover,
.nha-entry-content .nha-content-related-link:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb,var(--nha-accent) 48%,var(--nha-border));
  box-shadow: 0 16px 38px color-mix(in srgb,var(--nha-accent) 12%,transparent);
}
.nha-entry-content .nha-content-suggested-link:hover::after,
.nha-entry-content .nha-content-related-link:hover::after {
  transform: translate(-3px,-50%);
  border-color: var(--nha-accent);
  color: #fff;
  background: var(--nha-accent);
}
.nha-entry-content .nha-content-suggested-link:hover a,
.nha-entry-content .nha-content-related-link:hover a {
  color: var(--nha-accent) !important;
  border-bottom-color: var(--nha-accent);
}
body.nha-dark-mode .nha-entry-content .nha-content-suggested-link,
body.nha-dark-mode .nha-entry-content .nha-content-related-link {
  border-color: color-mix(in srgb,var(--nha-accent) 38%,#343b4b);
  color: #cbd2df !important;
  background: linear-gradient(135deg,color-mix(in srgb,var(--nha-accent) 17%,#171c27),color-mix(in srgb,var(--nha-accent-2) 7%,#131720)) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.025);
}
body.nha-dark-mode .nha-entry-content .nha-content-suggested-link a,
body.nha-dark-mode .nha-entry-content .nha-content-related-link a {
  color: #f4f1ff !important;
  border-bottom-color: rgba(190,177,255,.52);
}
body.nha-dark-mode .nha-entry-content .nha-content-suggested-link::after,
body.nha-dark-mode .nha-entry-content .nha-content-related-link::after {
  border-color: rgba(190,177,255,.25);
  color: #d0c7ff;
  background: rgba(255,255,255,.075);
}
body.nha-dark-mode .nha-entry-content .nha-content-suggested-link:hover,
body.nha-dark-mode .nha-entry-content .nha-content-related-link:hover {
  border-color: color-mix(in srgb,var(--nha-accent) 68%,#3b4253);
  background: linear-gradient(135deg,color-mix(in srgb,var(--nha-accent) 23%,#171c27),color-mix(in srgb,var(--nha-accent-2) 10%,#131720)) !important;
}
body.nha-dark-mode .nha-entry-content .nha-content-suggested-link:hover a,
body.nha-dark-mode .nha-entry-content .nha-content-related-link:hover a { color: #fff !important; }
body.nha-dark-mode .nha-entry-content .nha-content-suggested-link:hover::after,
body.nha-dark-mode .nha-entry-content .nha-content-related-link:hover::after {
  color: #fff;
  background: var(--nha-accent);
}
@media(max-width:600px){
  .nha-entry-content h2.nha-content-heading-box,
  .nha-entry-content h2.has-background { padding: 13px 16px !important; border-radius: 14px; font-size: 15px !important; }
  .nha-entry-content .nha-content-suggested-link,
  .nha-entry-content .nha-content-related-link { margin: 18px 0 !important; padding: 45px 13px 14px 49px !important; border-radius: 15px; font-size: 11px; }
  .nha-entry-content .nha-content-suggested-link::before,
  .nha-entry-content .nha-content-related-link::before { top: 10px; right: 11px; min-height: 22px; padding: 2px 8px; font-size: 8px; }
  .nha-entry-content .nha-content-suggested-link::after,
  .nha-entry-content .nha-content-related-link::after { left: 10px; width: 27px; height: 27px; border-radius: 9px; }
  .nha-entry-content .nha-content-suggested-link a,
  .nha-entry-content .nha-content-related-link a { font-size: 11px; }
}
.nha-entry-content p { margin: 0 0 18px; }
.nha-entry-content a { color: var(--nha-accent); font-weight: 800; }
.nha-entry-content p.has-text-align-center > a:is([href$=".mp3"],[href*=".mp3?"],[href$=".m4a"],[href*=".m4a?"],[href$=".aac"],[href*=".aac?"],[href$=".ogg"],[href*=".ogg?"]) { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; min-height: 48px; padding: 10px 20px; border-radius: 15px; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); box-shadow: 0 12px 30px rgba(24,167,123,.2); }
.nha-entry-content p.has-text-align-center > a:is([href$=".zip"],[href*=".zip?"],[href$=".rar"],[href*=".rar?"],[href$=".7z"],[href*=".7z?"]) { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--nha-border); border-radius: 15px; color: var(--nha-text); background: var(--nha-surface-2); box-shadow: none; }
.nha-entry-content figure.wp-block-image { margin: 25px auto; text-align: center; }
.nha-entry-content figure.wp-block-image img { border-radius: 24px; box-shadow: 0 18px 50px rgba(31,37,56,.12); }
.nha-entry-content .wp-block-audio audio { width: 100%; }
.nha-entry-content blockquote { margin: 24px 0; padding: 26px; border: 1px solid var(--nha-border); border-right: 5px solid var(--nha-accent); border-radius: 20px; background: var(--nha-surface-2); }
.nha-entry-content blockquote p:last-child { margin-bottom: 0; }
.nha-entry-content hr { height: 1px; border: 0; background: var(--nha-border); margin: 30px 0; }
.nha-post-tax { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--nha-border); }
.nha-post-tax a { padding: 7px 11px; border-radius: 999px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 10px; font-weight: 800; }
.nha-post-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 22px 0; }
.nha-post-nav a { display: block; padding: 16px; border: 1px solid var(--nha-border); border-radius: 18px; background: var(--nha-surface); font-size: 12px; font-weight: 800; }
.nha-post-nav .nav-next { text-align: left; }
.nha-related { margin-top: 30px; }

/* Native audio */
.nha-entry-content .mejs-container, .nha-entry-content audio { border-radius: 14px; overflow: hidden; }

/* Comments */
.nha-comments { margin-top: 24px; padding: 28px; border: 1px solid var(--nha-border); border-radius: 25px; background: var(--nha-surface); }
.nha-comments-title { margin-top: 0; }
.comment-list { list-style: none; padding: 0; }
.comment-body { margin-bottom: 14px; padding: 18px; border-radius: 17px; background: var(--nha-surface-2); }
.comment-meta { font-size: 11px; color: var(--nha-muted); }
.comment-content p:last-child { margin-bottom: 0; }
.comment-form input:not([type=submit]), .comment-form textarea { width: 100%; border: 1px solid var(--nha-border); border-radius: 14px; padding: 12px 14px; background: #fff; outline: 0; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--nha-accent); }
.comment-form .submit { border: 0; border-radius: 14px; padding: 11px 22px; color: #fff; background: var(--nha-accent); font-weight: 800; }

/* Footer */
.nha-site-footer { margin-top: 30px; padding: 48px 0 22px; color: rgba(255,255,255,.72); background: var(--nha-dark); }
.nha-footer-grid { display: grid; grid-template-columns: 1.2fr repeat(2,1fr); gap: 38px; }
.nha-footer-title { margin: 0 0 12px; color: #fff; font-size: 17px; }
.nha-footer-menu, .nha-footer-list { list-style: none; margin: 0; padding: 0; }
.nha-footer-menu li, .nha-footer-list li { margin: 7px 0; }
.nha-footer-menu a, .nha-footer-list a { color: rgba(255,255,255,.65); font-size: 12px; }
.nha-footer-menu a:hover, .nha-footer-list a:hover { color: #fff; }
.nha-socials { display: flex; gap: 9px; margin-top: 17px; }
.nha-socials a { padding: 8px 12px; border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 700; }
.nha-copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; text-align: center; }

/* Global player */
.nha-global-player { position: fixed; right: 0; left: 0; bottom: 0; z-index: 1200; transform: translateY(115%); transition: transform .28s ease; background: rgba(17,19,26,.97); color: #fff; box-shadow: 0 -15px 45px rgba(0,0,0,.22); backdrop-filter: blur(16px); }
.nha-global-player.is-open { transform: translateY(0); }
.nha-global-player > audio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nha-player-inner { min-height: 92px; display: grid; grid-template-columns: minmax(210px,.9fr) minmax(360px,1.55fr) minmax(185px,.75fr); gap: 22px; align-items: center; }
.nha-player-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nha-player-cover { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 15px; object-fit: cover; background: var(--nha-dark-2); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.nha-player-text { min-width: 0; }
.nha-player-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 900; }
.nha-player-artist { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.52); font-size: 10px; }
.nha-player-main { min-width: 0; display: grid; gap: 7px; }
.nha-player-controls { display: flex; align-items: center; justify-content: center; gap: 9px; }
.nha-player-controls button,.nha-player-close { display: grid; place-items: center; border: 0; color: #fff; cursor: pointer; transition: transform .18s ease,background .18s ease,opacity .18s ease; }
.nha-player-controls button:hover,.nha-player-close:hover { transform: translateY(-1px); background: rgba(255,255,255,.14); }
.nha-player-controls button:disabled { opacity: .28; cursor: default; transform: none; }
.nha-player-controls svg,.nha-player-close svg { width: 19px; height: 19px; fill: currentColor; }
.nha-player-skip { width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.06); }
.nha-player-toggle { width: 42px; height: 42px; border-radius: 50%; background: var(--nha-accent); box-shadow: 0 7px 22px color-mix(in srgb,var(--nha-accent) 38%,transparent); }
.nha-player-toggle .nha-icon-pause { display: none; }
.nha-player-toggle.is-playing .nha-icon-play { display: none; }
.nha-player-toggle.is-playing .nha-icon-pause { display: block; }
.nha-player-timeline { direction: ltr; display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; align-items: center; gap: 8px; color: rgba(255,255,255,.55); font-size: 9px; font-variant-numeric: tabular-nums; }
.nha-player-timeline span { text-align: center; }
.nha-player-timeline input,.nha-player-volume input { width: 100%; height: 4px; margin: 0; padding: 0; border: 0; border-radius: 99px; appearance: none; background: rgba(255,255,255,.16); accent-color: var(--nha-accent); cursor: pointer; }
.nha-player-timeline input::-webkit-slider-thumb,.nha-player-volume input::-webkit-slider-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; appearance: none; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.nha-player-timeline input::-moz-range-thumb,.nha-player-volume input::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.nha-player-extras { direction: ltr; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nha-player-volume { display: grid; grid-template-columns: 19px 68px; align-items: center; gap: 6px; color: rgba(255,255,255,.6); }
.nha-player-volume svg { width: 18px; height: 18px; fill: currentColor; }
.nha-player-speed { min-width: 64px; height: 35px; padding: 0 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #fff; background: rgba(255,255,255,.07); outline: 0; font-size: 9px; }
.nha-player-speed option { color: #111; background: #fff; }
.nha-player-close { width: 36px; height: 36px; border-radius: 11px; color: #fff; background: rgba(255,255,255,.08); font-size: 22px; line-height: 1; }

/* Utilities / 404 */
.nha-page-card { padding: 34px; border: 1px solid var(--nha-border); border-radius: var(--nha-radius); background: var(--nha-surface); box-shadow: var(--nha-shadow); }
.nha-404 { max-width: 700px; margin: 40px auto; text-align: center; }
.nha-404 strong { display: block; font-size: 90px; line-height: 1; color: var(--nha-accent); }

/* Dark mode */
body.nha-dark-mode { --nha-bg:#0d0f15; --nha-surface:#151821; --nha-surface-2:#1c202b; --nha-text:#f2f4f8; --nha-muted:#9ca4b4; --nha-border:#252a36; --nha-shadow:0 18px 50px rgba(0,0,0,.18); }
body.nha-dark-mode .comment-form input:not([type=submit]), body.nha-dark-mode .comment-form textarea { background:#10131a; color:#fff; }

@media (max-width: 1100px) {
  .nha-featured-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .nha-home-layout { grid-template-columns: minmax(0,1fr) 280px; }
  .nha-primary-nav a { padding-inline: 9px; }
}
@media (max-width: 900px) {
  .admin-bar .nha-site-header { top: 46px; }
  .nha-menu-toggle { display: grid; }
  .nha-primary-nav { display: none; position: absolute; top: 76px; right: 16px; left: 16px; padding: 12px; border-radius: 18px; background: #1a1d27; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
  .nha-primary-nav.is-open { display: block; }
  .nha-primary-nav ul { display: block; }
  .nha-primary-nav a { padding: 11px 13px; }
  .nha-header-actions { margin-inline-start: auto; }
  .nha-hero-content { grid-template-columns: 1fr; }
  .nha-hero-stats { justify-content: flex-start; }
  .nha-home-layout { grid-template-columns: 1fr; }
  .nha-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-single-inner { grid-template-columns: 190px minmax(0,1fr); }
  .nha-single-cover { width: 190px; }
}
@media (max-width: 640px) {
  .nha-container { width: min(calc(100% - 22px),var(--nha-container)); }
  .nha-header-row { min-height: 67px; gap: 12px; }
  .nha-brand-mark { width: 39px; height: 39px; border-radius: 13px; }
  .nha-brand-title { font-size: 17px; }
  .nha-brand-tagline { display: none; }
  .nha-primary-nav { top: 67px; }
  .nha-icon-button { width: 38px; height: 38px; }
  .nha-hero { padding: 35px 0 28px; }
  .nha-hero h1 { font-size: 29px; }
  .nha-hero p { font-size: 13px; }
  .nha-hero-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-stat { min-width: 0; padding: 12px; }
  .nha-main { padding-top: 24px; }
  .nha-featured-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .nha-featured-card { min-width: 165px; scroll-snap-align: start; }
  .nha-music-grid, .nha-archive-grid { grid-template-columns: 1fr; }
  .nha-music-card { grid-template-columns: 90px minmax(0,1fr); }
  .nha-music-thumb-wrap { min-height: 96px; }
  .nha-music-body { padding: 12px; }
  .nha-sidebar { grid-template-columns: 1fr; }
  .nha-single-hero { padding: 24px 18px; border-radius: 23px; }
  .nha-single-inner { grid-template-columns: 1fr; text-align: center; }
  .nha-single-cover { width: 190px; margin-inline: auto; }
  .nha-single-meta { justify-content: center; }
  .nha-single-content, .nha-page-card, .nha-comments { padding: 22px 17px; border-radius: 21px; }
  .nha-entry-content { font-size: 14px; }
  .nha-entry-content blockquote { padding: 19px 15px; }
  .nha-post-nav { grid-template-columns: 1fr; }
  .nha-post-nav .nav-next { text-align: right; }
  .nha-footer-grid { grid-template-columns: 1fr; gap: 25px; }
  body.nha-player-open { padding-bottom: 132px; }
  .nha-player-inner { min-height: 122px; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "track extras" "main main"; gap: 8px 10px; padding-top: 9px; padding-bottom: 9px; }
  .nha-player-track { grid-area: track; }
  .nha-player-main { grid-area: main; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px; }
  .nha-player-extras { grid-area: extras; }
  .nha-player-cover { width: 46px; height: 46px; border-radius: 12px; }
  .nha-player-controls { gap: 5px; }
  .nha-player-skip { width: 31px; height: 31px; }
  .nha-player-toggle { width: 39px; height: 39px; }
  .nha-player-timeline { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 5px; }
  .nha-player-volume,.nha-player-speed { display: none; }
  .nha-player-close { width: 34px; height: 34px; }
}
@media (max-width: 380px) {
  .nha-theme-toggle { display: none; }
  .nha-featured-card { min-width: 150px; }
}

/* =========================================================
   Single music experience and singer archive — v0.2.0
   ========================================================= */
.nha-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 0 16px;
  color: var(--nha-muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}
.nha-breadcrumb a { color: var(--nha-muted); }
.nha-breadcrumb a:hover { color: var(--nha-accent); }
.nha-breadcrumb > span:last-child { overflow: hidden; text-overflow: ellipsis; }

.nha-single-article { min-width: 0; }
.nha-single-cover-wrap { position: relative; width: 250px; }
.nha-single-cover-wrap::after {
  content: '';
  position: absolute;
  inset: auto 12% -14px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,.28);
  filter: blur(18px);
  z-index: -1;
}
.nha-cover-play {
  position: absolute;
  right: 50%;
  bottom: -22px;
  z-index: 2;
  transform: translateX(50%);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 5px solid rgba(255,255,255,.92);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2));
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}
.nha-cover-play svg { width: 24px; height: 24px; fill: currentColor; margin-right: 2px; }
.nha-cover-play.is-playing { animation: nha-pulse 1.4s infinite; }
@keyframes nha-pulse { 50% { box-shadow: 0 0 0 12px rgba(255,255,255,.08), 0 16px 34px rgba(0,0,0,.28); } }

.nha-single-summary { min-width: 0; }
.nha-single-kicker a,
.nha-single-kicker span {
  display: inline-flex;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  font-size: 10px;
  font-weight: 800;
}
.nha-single-singer {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #fff;
}
.nha-single-singer:hover { color: #fff; opacity: .9; }
.nha-single-singer-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 13px;
  background: rgba(255,255,255,.1);
  font-size: 17px;
  font-weight: 900;
}
.nha-single-singer > span:last-child { display: grid; line-height: 1.45; }
.nha-single-singer small { color: rgba(255,255,255,.55); font-size: 9px; }
.nha-single-singer strong { font-size: 13px; }
.nha-single-meta svg { width: 15px; height: 15px; fill: currentColor; opacity: .75; }
.nha-single-meta span { display: inline-flex; align-items: center; gap: 6px; }
.nha-single-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.nha-single-actions button,
.nha-single-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 900;
}
.nha-single-actions svg { width: 18px; height: 18px; fill: currentColor; }
.nha-hero-play { border: 0; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); box-shadow: 0 12px 28px rgba(24,167,123,.24); }
.nha-hero-download { color: #151821; background: #fff; }
.nha-hero-download:hover { color: var(--nha-accent); }
.nha-copy-link { border: 1px solid rgba(255,255,255,.14); color: #fff; background: rgba(255,255,255,.08); }
.nha-copy-link.is-copied { color: #fff; background: var(--nha-success); border-color: var(--nha-success); }

.nha-single-body-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 330px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}
.nha-single-main-column { min-width: 0; }
.nha-single-tools { position: sticky; top: 105px; display: grid; gap: 16px; }
.nha-download-panel,
.nha-single-categories {
  border: 1px solid var(--nha-border);
  border-radius: 24px;
  background: var(--nha-surface);
  box-shadow: var(--nha-shadow);
}
.nha-download-panel { padding: 20px; overflow: hidden; }
.nha-download-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--nha-border); }
.nha-download-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2));
}
.nha-download-icon svg { width: 22px; height: 22px; fill: currentColor; }
.nha-download-head h2 { margin: 0; font-size: 15px; }
.nha-download-head p { margin: 1px 0 0; color: var(--nha-muted); font-size: 9px; }
.nha-download-group { margin-top: 16px; }
.nha-download-group-title { margin-bottom: 8px; color: var(--nha-muted); font-size: 9px; font-weight: 800; }
.nha-download-row {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) 38px;
  gap: 9px;
  align-items: center;
  padding: 9px;
  margin-bottom: 8px;
  border: 1px solid var(--nha-border);
  border-radius: 15px;
  background: var(--nha-surface-2);
}
.nha-download-row > div { min-width: 0; display: grid; line-height: 1.55; }
.nha-download-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.nha-download-row small { color: var(--nha-muted); font-size: 8px; direction: ltr; text-align: right; }
.nha-download-play,
.nha-download-row > a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
}
.nha-download-play { color: #fff; background: var(--nha-accent); }
.nha-download-play.is-playing { background: var(--nha-success); }
.nha-download-row > a { color: var(--nha-text); background: var(--nha-surface); }
.nha-download-play svg,
.nha-download-row > a svg { width: 17px; height: 17px; fill: currentColor; }
.nha-download-archives { padding-top: 14px; border-top: 1px dashed var(--nha-border); }
.nha-archive-download {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--nha-border);
  border-radius: 14px;
  color: var(--nha-text);
  background: var(--nha-surface-2);
}
.nha-archive-download > span { display: grid; min-width: 0; line-height: 1.55; }
.nha-archive-download strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.nha-archive-download small { color: var(--nha-muted); font-size: 8px; direction: ltr; text-align: right; }
.nha-archive-download svg { width: 18px; height: 18px; flex: 0 0 auto; margin-inline-start: auto; fill: var(--nha-accent); }
.nha-download-note { margin-top: 14px; padding: 11px; border-radius: 13px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 8px; line-height: 1.8; }
.nha-download-empty { margin: 15px 0 0; color: var(--nha-muted); font-size: 10px; }
.nha-single-categories { padding: 17px; }
.nha-single-categories h2 { margin: 0 0 10px; font-size: 12px; }
.nha-single-categories > div { display: flex; flex-wrap: wrap; gap: 7px; }
.nha-single-categories a { padding: 6px 10px; border-radius: 999px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 9px; font-weight: 800; }

.nha-artist-card {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: 15px;
  align-items: center;
  margin-top: 18px;
  padding: 17px;
  border: 1px solid var(--nha-border);
  border-radius: 22px;
  background: var(--nha-surface);
  box-shadow: var(--nha-shadow);
}
.nha-artist-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 18px; }
.nha-artist-card > div { min-width: 0; }
.nha-artist-card span { color: var(--nha-accent); font-size: 9px; font-weight: 900; }
.nha-artist-card h2 { margin: 1px 0 2px; font-size: 17px; }
.nha-artist-card p { margin: 0; color: var(--nha-muted); font-size: 10px; }
.nha-artist-card > a { padding: 9px 13px; border-radius: 12px; color: #fff; background: var(--nha-dark); font-size: 9px; font-weight: 900; }
.nha-post-nav small { display: block; margin-bottom: 3px; color: var(--nha-muted); font-size: 8px; }
.nha-post-nav strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }

/* Singer archive */
.nha-singer-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; padding: 34px; border: 0; color: #fff; background: var(--nha-dark); }
.nha-singer-backdrop { position: absolute; z-index: -3; inset: -45px; background-position: center; background-size: cover; filter: blur(25px) saturate(1.15); transform: scale(1.12); opacity: .5; }
.nha-singer-overlay { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,rgba(12,14,20,.97),rgba(12,14,20,.78) 55%,rgba(12,14,20,.62)); }
.nha-singer-hero-inner { min-height: 230px; display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 32px; align-items: center; }
.nha-singer-avatar-wrap { position: relative; width: 210px; height: 210px; }
.nha-singer-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; border: 5px solid rgba(255,255,255,.14); border-radius: 32px; box-shadow: 0 25px 65px rgba(0,0,0,.38); }
.nha-singer-avatar-wrap span { position: absolute; left: -7px; bottom: -7px; width: 48px; height: 48px; display: grid; place-items: center; border: 4px solid #151821; border-radius: 15px; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); font-size: 19px; font-weight: 900; }
.nha-singer-label { display: inline-flex; padding: 6px 11px; border-radius: 999px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); font-size: 9px; font-weight: 800; }
.nha-singer-meta h1 { margin: 12px 0 14px; font-size: clamp(27px,4vw,44px); line-height: 1.35; }
.nha-singer-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.nha-singer-stats span { display: grid; min-width: 135px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); font-size: 8px; }
.nha-singer-stats strong { color: #fff; font-size: 11px; }
.nha-singer-intro,
.nha-singer-meta .nha-archive-description { max-width: 700px; margin: 15px 0 0; color: rgba(255,255,255,.66); font-size: 11px; }
.nha-singer-meta .nha-archive-description p:last-child { margin-bottom: 0; }
.nha-singer-results { margin-top: 30px; }
.nha-result-count { margin-inline-start: auto; padding: 6px 10px; border-radius: 999px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 9px; font-weight: 800; }
.nha-singer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }

body.nha-dark-mode .nha-hero-download { color: #151821; }
body.nha-dark-mode .nha-artist-card > a { background: #fff; color: #151821; }

@media (max-width: 980px) {
  .nha-single-body-grid { grid-template-columns: minmax(0,1fr) 290px; }
  .nha-singer-hero-inner { grid-template-columns: 180px minmax(0,1fr); }
  .nha-singer-avatar-wrap { width: 180px; height: 180px; }
}
@media (max-width: 780px) {
  .nha-single-body-grid { grid-template-columns: 1fr; }
  .nha-single-tools { position: static; order: -1; grid-template-columns: minmax(0,1fr) 210px; }
  .nha-download-panel { padding: 17px; }
  .nha-singer-grid { grid-template-columns: 1fr; }
  .nha-singer-hero-inner { grid-template-columns: 150px minmax(0,1fr); gap: 22px; }
  .nha-singer-avatar-wrap { width: 150px; height: 150px; }
}
@media (max-width: 640px) {
  .nha-breadcrumb { margin-bottom: 11px; }
  .nha-single-cover-wrap { width: 180px; margin-inline: auto; }
  .nha-cover-play { width: 52px; height: 52px; bottom: -19px; }
  .nha-single-summary { text-align: center; }
  .nha-single-singer { margin-inline: auto; text-align: right; }
  .nha-single-actions { justify-content: center; }
  .nha-single-actions button,
  .nha-single-actions a { flex: 1 1 calc(50% - 5px); }
  .nha-single-actions .nha-copy-link { flex-basis: 100%; }
  .nha-single-tools { grid-template-columns: 1fr; }
  .nha-single-categories { display: none; }
  .nha-artist-card { grid-template-columns: 58px minmax(0,1fr); }
  .nha-artist-card img { width: 58px; height: 58px; border-radius: 15px; }
  .nha-artist-card > a { grid-column: 1/-1; text-align: center; }
  .nha-singer-hero { min-height: 0; padding: 25px 18px; border-radius: 23px; }
  .nha-singer-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .nha-singer-avatar-wrap { width: 150px; height: 150px; margin-inline: auto; }
  .nha-singer-stats { justify-content: center; }
  .nha-singer-intro,
  .nha-singer-meta .nha-archive-description { margin-inline: auto; }
}

/* Final conflict overrides for legacy v0.1 single/archive rules. */
.nha-single-shell { max-width: 1120px; }
.nha-single-inner { grid-template-columns: 250px minmax(0,1fr); }
.nha-single-cover { width: 250px; }
.nha-single-singer { padding: 0; border-radius: 0; background: transparent; }
.nha-hero-play { margin-top: 0; }
.nha-singer-hero { display: block; }
@media (max-width: 980px) {
  .nha-single-inner { grid-template-columns: 210px minmax(0,1fr); }
  .nha-single-cover-wrap,
  .nha-single-cover { width: 210px; }
}
@media (max-width: 640px) {
  .nha-single-inner { grid-template-columns: 1fr; }
  .nha-single-cover-wrap,
  .nha-single-cover { width: 180px; }
}


/* =========================================================
   Inline playlist layout — v0.2.1
   ========================================================= */
.nha-single-body-grid.is-playlist-layout { grid-template-columns: minmax(0,1fr); }
.nha-playlist-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 25px;
  padding: 14px 16px;
  border: 1px solid rgba(24,167,123,.18);
  border-radius: 17px;
  color: var(--nha-text);
  background: linear-gradient(135deg,rgba(24,167,123,.09),rgba(233,79,155,.07));
}
.nha-playlist-guide strong { flex: 0 0 auto; font-size: 12px; }
.nha-playlist-guide span { color: var(--nha-muted); font-size: 10px; }
.nha-playlist-post .nha-entry-content { counter-reset: nha-track; }
.nha-playlist-track-title {
  position: relative;
  margin: 24px 0 0 !important;
  padding: 16px 58px 13px 16px;
  border: 1px solid var(--nha-border);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  color: var(--nha-text);
  background: var(--nha-surface-2);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.9;
}
.nha-playlist-track-title::before {
  content: var(--nha-track-number, '♪');
  position: absolute;
  right: 14px;
  top: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2));
  font-size: 10px;
  font-weight: 900;
}
.nha-playlist-track-actions {
  --nha-track-number: '♪';
  display: grid;
  grid-template-columns: minmax(150px,.75fr) minmax(180px,1.25fr);
  gap: 9px;
  margin: 0 0 20px;
  padding: 11px;
  border: 1px solid var(--nha-border);
  border-top: 1px dashed var(--nha-border);
  border-radius: 0 0 18px 18px;
  background: var(--nha-surface);
}
.nha-playlist-track-actions button,
.nha-playlist-track-actions a {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 900;
}
.nha-playlist-track-actions svg { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.nha-playlist-play { border: 0; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); }
.nha-playlist-play.is-playing { background: var(--nha-success); }
.nha-playlist-download { min-width: 0; overflow: hidden; border: 1px solid var(--nha-border); color: var(--nha-text) !important; background: var(--nha-surface-2); }
.nha-playlist-download span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nha-playlist-archive-row { grid-template-columns: 1fr; border-radius: 18px; border-top-style: solid; }
.nha-playlist-post .nha-entry-content hr { margin: 25px 0; opacity: .72; }
body.nha-dark-mode .nha-playlist-guide { border-color: rgba(139,116,255,.24); }

@media (max-width: 640px) {
  .nha-playlist-guide { display: grid; text-align: center; }
  .nha-playlist-track-title { padding: 14px 50px 12px 12px; font-size: 11px; }
  .nha-playlist-track-title::before { right: 11px; width: 29px; height: 29px; }
  .nha-playlist-track-actions { grid-template-columns: 1fr 1fr; gap: 7px; padding: 8px; }
  .nha-playlist-track-actions button,
  .nha-playlist-track-actions a { min-height: 42px; padding: 7px 9px; font-size: 9px; }
}

/* =========================================================
   Home and archive experience — v0.3.0
   ========================================================= */
.nha-home-hero { padding: 48px 0 30px; }
.nha-home-hero::before { width: 520px; height: 520px; right: -150px; top: -310px; }
.nha-home-hero::after { width: 420px; height: 420px; left: -180px; bottom: -300px; }
.nha-hero-copy { max-width: 760px; }
.nha-hero-eyebrow,
.nha-section-head > div > span,
.nha-panel-heading > div > span,
.nha-archive-eyebrow,
.nha-category-hero-copy > span,
.nha-search-results-header > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--nha-accent-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15px;
}
.nha-home-hero h1 { margin-top: 5px; }
.nha-hero-search { max-width: 690px; margin-top: 23px; }
.nha-hero-search .nha-search-form { padding: 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.07); box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.nha-hero-search .nha-search-form input { height: 46px; border: 0; background: transparent; }
.nha-hero-search .nha-search-form button { min-width: 112px; border-radius: 13px; }
.nha-hero-search small { display: block; margin: 7px 9px 0; color: rgba(255,255,255,.45); font-size: 9px; }
.nha-home-hero .nha-hero-stats { align-self: end; padding-bottom: 28px; }

.nha-category-tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 30px; }
.nha-category-tile { --nha-tile: var(--nha-accent); min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 12px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; color: #fff !important; background: rgba(255,255,255,.055); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.nha-category-tile:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.nha-category-tile.is-remix { --nha-tile: #f4b73b; }
.nha-category-tile.is-playlist { --nha-tile: #13a879; }
.nha-category-tile.is-album { --nha-tile: #f4a72c; }
.nha-category-tile-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: color-mix(in srgb,var(--nha-tile) 22%,transparent); }
.nha-category-tile-icon svg { width: 22px; height: 22px; fill: var(--nha-tile); }
.nha-category-tile > span:nth-child(2) { min-width: 0; display: grid; line-height: 1.45; }
.nha-category-tile strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.nha-category-tile small { color: rgba(255,255,255,.48); font-size: 8px; }
.nha-category-tile b { color: rgba(255,255,255,.55); font-size: 16px; }

.nha-home-main { padding-top: 38px; }
.nha-section-head { align-items: end; }
.nha-section-head > div { display: grid; }
.nha-section-head > div > span { color: var(--nha-accent); }
.nha-section-head > div > h2 { margin: 0; }
.nha-editorial-section { margin-bottom: 44px; }
.nha-editorial-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(390px,.85fr); gap: 15px; }
.nha-editorial-main { min-width: 0; }
.nha-editorial-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.nha-editorial-side .nha-featured-card { min-width: 0; }
.nha-editorial-side .nha-featured-media { aspect-ratio: 1.48/1; }
.nha-editorial-side .nha-featured-body { padding: 10px 12px 12px; }
.nha-editorial-side .nha-card-title { font-size: 11px; -webkit-line-clamp: 1; }
.nha-editorial-side .nha-card-meta { margin-top: 3px; font-size: 9px; }
.nha-editorial-side .nha-play-fab { width: 34px; height: 34px; right: 9px; bottom: 9px; }

.nha-spotlight-card { position: relative; isolation: isolate; overflow: hidden; min-height: 510px; height: 100%; display: flex; align-items: end; border-radius: 28px; color: #fff; background: var(--nha-dark); box-shadow: 0 24px 70px rgba(17,19,26,.2); }
.nha-spotlight-backdrop { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.nha-spotlight-card:hover .nha-spotlight-backdrop { transform: scale(1.035); }
.nha-spotlight-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(15deg,rgba(9,11,16,.96) 4%,rgba(9,11,16,.72) 45%,rgba(9,11,16,.08) 83%); }
.nha-spotlight-content { width: min(100%,760px); padding: 34px; }
.nha-spotlight-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.nha-spotlight-tags a,
.nha-spotlight-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); font-size: 8px; font-weight: 800; }
.nha-spotlight-content h2 { max-width: 700px; margin: 12px 0 7px; font-size: clamp(23px,3.1vw,38px); line-height: 1.5; }
.nha-spotlight-content h2 a:hover { color: #fff; }
.nha-spotlight-meta { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.56); font-size: 10px; }
.nha-spotlight-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.nha-spotlight-play,
.nha-spotlight-details { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 13px; font-size: 10px; font-weight: 900; }
.nha-spotlight-play { border: 0; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); box-shadow: 0 12px 28px rgba(24,167,123,.3); }
.nha-spotlight-play svg { width: 16px; height: 16px; fill: currentColor; }
.nha-spotlight-details { border: 1px solid rgba(255,255,255,.16); color: #fff; background: rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.nha-spotlight-details:hover { color: #fff; background: rgba(255,255,255,.15); }

.nha-latest-layout { margin-top: 3px; }
.nha-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.nha-panel-heading .nha-panel-title { margin: 0; }
.nha-panel-heading > svg { width: 22px; height: 22px; fill: var(--nha-accent); opacity: .7; }
.nha-panel-heading > div > span { margin-bottom: 0; color: var(--nha-muted); font-size: 8px; }
.nha-panel-heading .nha-panel-title::before { display: none; }
.nha-singer-list { display: grid; }
.nha-singer-list-item { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 10px; align-items: center; min-width: 0; padding: 9px 0; border-bottom: 1px dashed var(--nha-border); }
.nha-singer-list-item:last-child { border-bottom: 0; }
.nha-singer-rank { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--nha-accent); background: rgba(24,167,123,.09); font-size: 9px; font-weight: 900; }
.nha-singer-list-name { min-width: 0; display: grid; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 900; line-height: 1.45; }
.nha-singer-list-name small { color: var(--nha-muted); font-size: 8px; font-weight: 500; }
.nha-singer-arrow { color: var(--nha-muted); font-size: 12px; }
.nha-singer-list-item:hover .nha-singer-arrow { color: var(--nha-accent); transform: translateX(-2px); }

.nha-track-count { position: absolute; left: 10px; bottom: 10px; z-index: 3; padding: 4px 8px; border-radius: 999px; color: #fff; background: rgba(17,19,26,.72); backdrop-filter: blur(8px); font-size: 8px; font-weight: 900; }
.nha-featured-card .nha-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nha-featured-card .nha-card-meta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nha-featured-card .nha-card-meta > a { flex: 0 0 auto; color: var(--nha-accent); font-size: 9px; font-weight: 800; }
.nha-music-thumb-wrap .nha-music-play-mark { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(17,19,26,.14); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.nha-music-card:hover .nha-music-play-mark { opacity: 1; }
.nha-music-play-mark svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; fill: currentColor; background: rgba(17,19,26,.72); backdrop-filter: blur(8px); }
.nha-music-info a:hover { color: var(--nha-accent); }
.nha-collection-section { margin-top: 8px; padding-top: 8px; }
.nha-collection-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }

/* Category and general archives. */
.nha-category-hero { --nha-cat-accent: var(--nha-accent); position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 74px minmax(0,1fr) auto; gap: 20px; align-items: center; margin-bottom: 15px; padding: 27px 29px; border: 1px solid var(--nha-border); border-radius: 26px; background: var(--nha-surface); box-shadow: var(--nha-shadow); }
.nha-category-hero::after { content: ''; position: absolute; z-index: -1; width: 230px; height: 230px; left: -100px; top: -120px; border-radius: 50%; background: color-mix(in srgb,var(--nha-cat-accent) 16%,transparent); filter: blur(2px); }
.nha-category-archive.is-remix .nha-category-hero { --nha-cat-accent: #f4b73b; }
.nha-category-archive.is-playlist .nha-category-hero { --nha-cat-accent: #13a879; }
.nha-category-archive.is-album .nha-category-hero { --nha-cat-accent: #f4a72c; }
.nha-category-archive.is-special .nha-category-hero { --nha-cat-accent: #ef476f; }
.nha-category-hero-icon { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 21px; color: var(--nha-cat-accent); background: color-mix(in srgb,var(--nha-cat-accent) 11%,var(--nha-surface)); }
.nha-category-hero-icon svg { width: 36px; height: 36px; fill: currentColor; }
.nha-category-hero-copy { min-width: 0; }
.nha-category-hero-copy > span { color: var(--nha-cat-accent); }
.nha-category-hero h1 { margin: 0; font-size: clamp(24px,3.2vw,35px); line-height: 1.4; }
.nha-category-hero p { max-width: 760px; margin: 5px 0 0; color: var(--nha-muted); font-size: 11px; line-height: 1.9; }
.nha-category-hero-count { min-width: 135px; padding: 13px 16px; border: 1px solid var(--nha-border); border-radius: 16px; background: color-mix(in srgb,var(--nha-surface-2) 70%,transparent); text-align: center; }
.nha-category-hero-count strong { display: block; color: var(--nha-cat-accent); font-size: 20px; }
.nha-category-hero-count span { color: var(--nha-muted); font-size: 8px; }
.nha-archive-tabs { display: flex; gap: 7px; margin-bottom: 24px; padding: 7px; border: 1px solid var(--nha-border); border-radius: 16px; background: var(--nha-surface); overflow-x: auto; scrollbar-width: none; }
.nha-archive-tabs::-webkit-scrollbar { display: none; }
.nha-archive-tabs a { flex: 0 0 auto; padding: 7px 13px; border-radius: 11px; color: var(--nha-muted); font-size: 9px; font-weight: 800; }
.nha-archive-tabs a:hover,
.nha-archive-tabs a.is-active { color: #fff; background: var(--nha-dark); }
.nha-archive-lead { margin-bottom: 25px; }
.nha-archive-lead .nha-spotlight-card { min-height: 410px; }
.nha-archive-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 27px; align-items: start; }
.nha-archive-results { min-width: 0; }
.nha-archive-section-head { margin-bottom: 16px; }
.nha-archive-section-head::before { height: 22px; }
.nha-archive-section-head h2 { font-size: 18px; }
.nha-archive-grid.is-featured { grid-template-columns: repeat(3,minmax(0,1fr)); }
.nha-archive-grid.is-music { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.nha-archive-grid.is-music .nha-music-card { grid-template-columns: 105px minmax(0,1fr); }
.nha-archive-sidebar { top: 100px; }
.nha-generic-archive-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nha-generic-archive-header > div:first-child { min-width: 0; }
.nha-generic-archive-header h1 { margin: 0; }
.nha-archive-header-icon { width: 62px; height: 62px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 18px; color: var(--nha-accent); background: rgba(24,167,123,.09); }
.nha-archive-header-icon svg { width: 30px; height: 30px; fill: currentColor; }

.nha-search-results-header { display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.75fr); gap: 26px; align-items: center; margin-bottom: 25px; padding: 25px 27px; border: 1px solid var(--nha-border); border-radius: 25px; background: var(--nha-surface); box-shadow: var(--nha-shadow); }
.nha-search-results-header h1 { margin: 0; font-size: 25px; }
.nha-search-results-header p { margin: 4px 0 0; color: var(--nha-muted); font-size: 10px; }
.nha-search-results-form .nha-search-form { padding: 5px; border: 1px solid var(--nha-border); border-radius: 15px; background: var(--nha-surface-2); }
.nha-search-results-form .nha-search-form input { height: 43px; border: 0; color: var(--nha-text); background: transparent; }
.nha-search-results-form .nha-search-form input::placeholder { color: var(--nha-muted); }
.nha-search-results-form .nha-search-form button { border-radius: 11px; }
.nha-search-music-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

body.nha-dark-mode .nha-category-hero-icon { background: color-mix(in srgb,var(--nha-cat-accent) 14%,var(--nha-surface)); }
body.nha-dark-mode .nha-category-hero::after { opacity: .65; }
body.nha-dark-mode .nha-archive-tabs a.is-active,
body.nha-dark-mode .nha-archive-tabs a:hover { color: #151821; background: #fff; }
body.nha-dark-mode .nha-music-play-mark svg { color: #fff; }

@media (max-width: 1120px) {
  .nha-editorial-grid { grid-template-columns: minmax(0,1.2fr) minmax(350px,.8fr); }
  .nha-spotlight-card { min-height: 470px; }
  .nha-collection-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .nha-archive-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 20px; }
  .nha-archive-grid.is-featured { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-archive-grid.is-music { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nha-home-hero .nha-hero-content { grid-template-columns: 1fr; }
  .nha-home-hero .nha-hero-stats { align-self: auto; padding-bottom: 0; }
  .nha-category-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-editorial-grid { grid-template-columns: 1fr; }
  .nha-editorial-side { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .nha-editorial-side .nha-featured-media { aspect-ratio: 1/1; }
  .nha-editorial-side .nha-card-meta > a { display: none; }
  .nha-archive-layout { grid-template-columns: 1fr; }
  .nha-archive-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-archive-grid.is-featured { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .nha-archive-grid.is-music { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 780px) {
  .nha-editorial-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-spotlight-card { min-height: 430px; }
  .nha-category-hero { grid-template-columns: 62px minmax(0,1fr); padding: 22px; }
  .nha-category-hero-icon { width: 62px; height: 62px; border-radius: 18px; }
  .nha-category-hero-icon svg { width: 30px; height: 30px; }
  .nha-category-hero-count { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 9px; }
  .nha-category-hero-count strong { font-size: 15px; }
  .nha-archive-grid.is-featured { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-archive-grid.is-music { grid-template-columns: 1fr; }
  .nha-search-results-header { grid-template-columns: 1fr; }
  .nha-search-music-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nha-home-hero { padding: 31px 0 22px; }
  .nha-home-hero h1 { font-size: 30px; }
  .nha-home-hero p { font-size: 12px; line-height: 1.9; }
  .nha-home-hero .nha-hero-stats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .nha-home-hero .nha-stat { min-width: 0; padding: 11px; }
  .nha-hero-search { margin-top: 17px; }
  .nha-hero-search .nha-search-form { gap: 5px; padding: 4px; }
  .nha-hero-search .nha-search-form input { min-width: 0; height: 42px; padding: 0 11px; font-size: 11px; }
  .nha-hero-search .nha-search-form button { min-width: 75px; padding: 0 10px; font-size: 10px; }
  .nha-hero-search small { display: none; }
  .nha-category-tiles { gap: 8px; margin-top: 20px; }
  .nha-category-tile { grid-template-columns: 36px minmax(0,1fr); gap: 8px; padding: 9px; border-radius: 14px; }
  .nha-category-tile-icon { width: 36px; height: 36px; border-radius: 11px; }
  .nha-category-tile-icon svg { width: 18px; height: 18px; }
  .nha-category-tile strong { font-size: 10px; }
  .nha-category-tile b { display: none; }
  .nha-home-main { padding-top: 25px; }
  .nha-editorial-section { margin-bottom: 33px; }
  .nha-spotlight-card { min-height: 400px; border-radius: 22px; }
  .nha-spotlight-content { padding: 22px 18px; }
  .nha-spotlight-content h2 { font-size: 22px; }
  .nha-spotlight-actions > * { flex: 1 1 calc(50% - 5px); padding-inline: 9px; }
  .nha-editorial-side { gap: 10px; }
  .nha-editorial-side .nha-featured-media { aspect-ratio: 1/1; }
  .nha-editorial-side .nha-featured-body { padding: 9px; }
  .nha-editorial-side .nha-card-title { white-space: normal; font-size: 10px; -webkit-line-clamp: 2; }
  .nha-editorial-side .nha-badge { top: 7px; right: 7px; }
  .nha-editorial-side .nha-play-fab { width: 31px; height: 31px; }
  .nha-home-sidebar { display: grid; }
  .nha-collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .nha-collection-grid .nha-featured-body { padding: 10px; }
  .nha-category-hero { grid-template-columns: 50px minmax(0,1fr); gap: 13px; padding: 18px 15px; border-radius: 21px; }
  .nha-category-hero-icon { width: 50px; height: 50px; border-radius: 15px; }
  .nha-category-hero-icon svg { width: 25px; height: 25px; }
  .nha-category-hero h1 { font-size: 21px; }
  .nha-category-hero p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 9px; }
  .nha-archive-tabs { margin-bottom: 17px; }
  .nha-archive-lead .nha-spotlight-card { min-height: 360px; }
  .nha-archive-sidebar { grid-template-columns: 1fr; }
  .nha-archive-grid.is-featured { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .nha-archive-grid.is-featured .nha-featured-body { padding: 10px; }
  .nha-archive-grid.is-featured .nha-card-meta > a { display: none; }
  .nha-archive-grid.is-music .nha-music-card { grid-template-columns: 92px minmax(0,1fr); }
  .nha-search-results-header { padding: 18px 15px; border-radius: 20px; }
  .nha-search-results-header h1 { font-size: 19px; }
  .nha-generic-archive-header { padding: 20px; }
  .nha-archive-header-icon { width: 50px; height: 50px; border-radius: 15px; }
}

/* =========================================================
   Header, mobile drawer, footer and options — v0.4.0
   ========================================================= */
body.nha-header-static .nha-site-header { position: relative; top: auto; }
body.nha-menu-open { overflow: hidden; }
.nha-site-header { transition: box-shadow .2s ease, background-color .2s ease; }
.nha-site-header.is-scrolled { background: rgba(13,15,21,.985); box-shadow: 0 12px 38px rgba(0,0,0,.2); }
.nha-header-notice { border-bottom: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.78); background: #0b0d12; font-size: 10px; }
.nha-header-notice .nha-container { min-height: 31px; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.nha-header-notice a { display: flex; align-items: center; gap: 10px; color: inherit; }
.nha-header-notice a:hover { color: #fff; }
.nha-header-notice b { padding: 2px 8px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.09); font-size: 9px; }
.nha-notice-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--nha-accent); box-shadow: 0 0 0 5px color-mix(in srgb,var(--nha-accent) 17%,transparent); }
.nha-brand-logo { display: block; width: auto; max-width: 230px; max-height: 48px; object-fit: contain; }
.nha-primary-nav .nha-desktop-menu > li { position: relative; }
.nha-primary-nav .sub-menu { position: absolute; top: calc(100% + 11px); right: 0; z-index: 30; min-width: 190px; display: grid; gap: 3px; padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: #1a1d27; box-shadow: 0 20px 45px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.nha-primary-nav .sub-menu::before { content: ''; position: absolute; right: 16px; top: -12px; width: 40px; height: 14px; }
.nha-primary-nav li:hover > .sub-menu, .nha-primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nha-primary-nav .sub-menu a { white-space: nowrap; }
.nha-primary-nav .menu-item-has-children > a::after { content: '⌄'; margin-right: 5px; color: rgba(255,255,255,.45); font-size: 10px; }
.nha-theme-icon-moon { display: none; }
body.nha-dark-mode .nha-theme-icon-sun { display: none; }
body.nha-dark-mode .nha-theme-icon-moon { display: block; }
.nha-search-panel { overflow: hidden; }
.nha-search-panel.is-open { animation: ntaSearchReveal .2s ease both; }
@keyframes ntaSearchReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.nha-mobile-overlay { position: fixed; inset: 0; z-index: 1800; background: rgba(4,6,10,.63); opacity: 0; visibility: hidden; backdrop-filter: blur(3px); transition: .25s ease; }
.nha-mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1900; width: min(88vw,370px); overflow-y: auto; padding: 18px; color: #fff; background: #12151d; box-shadow: -30px 0 70px rgba(0,0,0,.35); transform: translateX(105%); visibility: hidden; transition: transform .28s ease, visibility .28s ease; }
body.nha-menu-open .nha-mobile-overlay { opacity: 1; visibility: visible; }
body.nha-menu-open .nha-mobile-drawer { transform: translateX(0); visibility: visible; }
.nha-mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
.nha-mobile-brand { min-width: 0; color: #fff; }
.nha-mobile-brand:hover { color: #fff; }
.nha-mobile-brand .nha-brand-logo { max-width: 190px; max-height: 44px; }
.nha-mobile-close { flex: 0 0 auto; width: 39px; height: 39px; border: 0; border-radius: 12px; color: #fff; background: rgba(255,255,255,.08); font-size: 24px; line-height: 1; }
.nha-mobile-search { margin: 16px 0; }
.nha-mobile-search .nha-search-form { gap: 5px; padding: 4px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.055); }
.nha-mobile-search .nha-search-form input { height: 42px; border: 0; background: transparent; font-size: 11px; }
.nha-mobile-search .nha-search-form button { min-width: 72px; padding: 0 11px; border-radius: 10px; font-size: 10px; }
.nha-mobile-primary-menu, .nha-mobile-primary-menu ul { list-style: none; margin: 0; padding: 0; }
.nha-mobile-primary-menu > li { border-bottom: 1px dashed rgba(255,255,255,.08); }
.nha-mobile-primary-menu > li > a { display: flex; align-items: center; min-height: 48px; padding: 5px 6px; color: rgba(255,255,255,.83); font-size: 13px; font-weight: 800; }
.nha-mobile-primary-menu > li > a::before { content: ''; width: 7px; height: 7px; margin-left: 10px; border-radius: 50%; background: var(--nha-accent); box-shadow: 0 0 0 5px color-mix(in srgb,var(--nha-accent) 14%,transparent); }
.nha-mobile-primary-menu .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 0 12px; }
.nha-mobile-primary-menu .sub-menu a { display: block; padding: 8px 10px; border-radius: 9px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.045); font-size: 10px; }
.nha-mobile-quick { margin-top: 22px; }
.nha-mobile-quick > strong { display: block; margin-bottom: 10px; color: rgba(255,255,255,.45); font-size: 10px; }
.nha-mobile-quick > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.nha-mobile-quick a { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.04); font-size: 9px; font-weight: 800; }
.nha-mobile-quick a span { color: var(--nha-accent); }
.nha-mobile-socials { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.nha-mobile-socials a { flex: 1; padding: 9px; border-radius: 10px; color: #fff; background: rgba(255,255,255,.065); text-align: center; font-size: 10px; font-weight: 800; }

.nha-site-footer { padding-top: 0; background: #0f1118; }
.nha-footer-cta { position: relative; top: -31px; display: grid; grid-template-columns: minmax(230px,.8fr) minmax(300px,1.2fr); gap: 30px; align-items: center; padding: 22px 25px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; color: #fff; background: linear-gradient(135deg,#1c1f2a,#29233f); box-shadow: 0 22px 60px rgba(0,0,0,.2); }
.nha-footer-cta span { display: block; color: rgba(255,255,255,.5); font-size: 10px; }
.nha-footer-cta strong { display: block; margin-top: 3px; font-size: 17px; }
.nha-footer-search .nha-search-form { padding: 4px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.065); }
.nha-footer-search .nha-search-form input { height: 42px; border: 0; background: transparent; }
.nha-footer-search .nha-search-form button { border-radius: 10px; }
.nha-footer-grid { grid-template-columns: 1.35fr repeat(3,minmax(0,.75fr)); gap: 38px; padding: 20px 0 10px; }
.nha-footer-brand { display: inline-flex; color: #fff; }
.nha-footer-brand:hover { color: #fff; }
.nha-footer-brand .nha-brand-logo { max-width: 210px; max-height: 48px; }
.nha-footer-about p { max-width: 390px; margin: 15px 0 0; color: rgba(255,255,255,.55); font-size: 11px; line-height: 2; }
.nha-footer-title { position: relative; padding-bottom: 11px; }
.nha-footer-title::after { content: ''; position: absolute; right: 0; bottom: 0; width: 27px; height: 3px; border-radius: 99px; background: var(--nha-accent); }
.nha-footer-menu li, .nha-footer-list li { margin: 5px 0; }
.nha-footer-menu a, .nha-footer-list a { position: relative; display: inline-block; padding: 3px 11px 3px 0; }
.nha-footer-menu a::before, .nha-footer-list a::before { content: ''; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.25); transform: translateY(-50%); }
.nha-footer-menu a:hover::before, .nha-footer-list a:hover::before { background: var(--nha-accent); }
.nha-copyright { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: right; }
.nha-copyright span:last-child { color: rgba(255,255,255,.42); }
.nha-back-to-top { position: fixed; left: 20px; bottom: 20px; z-index: 1150; width: 43px; height: 43px; border: 0; border-radius: 14px; color: #fff; background: var(--nha-accent); box-shadow: 0 12px 30px color-mix(in srgb,var(--nha-accent) 35%,transparent); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; }
.nha-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.nha-back-to-top svg { width: 21px; height: 21px; fill: currentColor; }
body.nha-player-open .nha-back-to-top { bottom: 105px; }

@media (max-width: 1050px) {
  .nha-footer-grid { grid-template-columns: 1.2fr repeat(2,1fr); }
  .nha-footer-grid > :last-child { grid-column: 2/4; }
}
@media (min-width: 901px) {
  .nha-mobile-overlay, .nha-mobile-drawer { display: none; }
}
@media (max-width: 900px) {
  .nha-primary-nav { display: none !important; }
  .nha-menu-toggle { display: grid; }
  .nha-header-row { min-height: 70px; }
  .nha-header-actions { margin-inline-start: auto; }
}
@media (max-width: 782px) {
  .admin-bar .nha-site-header { top: 46px; }
}
@media (max-width: 700px) {
  .nha-header-notice .nha-container { justify-content: flex-start; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .nha-header-notice a, .nha-header-notice .nha-container > span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .nha-notice-dot { flex: 0 0 auto; }
  .nha-footer-cta { top: -24px; grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .nha-footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 20px; padding-top: 5px; }
  .nha-footer-grid > :first-child, .nha-footer-grid > :last-child { grid-column: 1/-1; }
  .nha-copyright { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 480px) {
  .nha-brand-logo { max-width: 155px; max-height: 40px; }
  .nha-header-row { min-height: 64px; }
  .nha-header-actions { gap: 5px; }
  .nha-icon-button { width: 36px; height: 36px; border-radius: 11px; }
  .nha-mobile-drawer { width: min(92vw,370px); padding: 15px; }
  .nha-mobile-primary-menu .sub-menu, .nha-mobile-quick > div { grid-template-columns: 1fr; }
  .nha-footer-grid { grid-template-columns: 1fr; }
  .nha-footer-grid > * { grid-column: auto !important; }
  .nha-footer-cta strong { font-size: 14px; }
  .nha-back-to-top { left: 12px; bottom: 12px; width: 40px; height: 40px; }
}

/* =========================================================
   Editorial, sharing and SEO experience — v0.5.0
   ========================================================= */
.nha-reading-progress { position: fixed; inset: 0 0 auto; z-index: 2500; height: 3px; pointer-events: none; background: transparent; }
.nha-reading-progress span { display: block; width: 0; height: 100%; border-radius: 0 0 99px 0; background: linear-gradient(90deg,var(--nha-accent),var(--nha-accent-2)); box-shadow: 0 2px 12px color-mix(in srgb,var(--nha-accent) 35%,transparent); transition: width .08s linear; }
.nha-breadcrumb { display: block; }
.nha-breadcrumb ol { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.nha-breadcrumb li { display: flex; align-items: center; min-width: 0; flex: 0 0 auto; }
.nha-breadcrumb li:not(:last-child)::after { content: '‹'; margin-right: 8px; color: color-mix(in srgb,var(--nha-muted) 55%,transparent); }
.nha-breadcrumb li:last-child { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nha-breadcrumb li:last-child { color: var(--nha-text); }

.nha-auto-toc { overflow: hidden; margin: 0 0 28px; border: 1px solid color-mix(in srgb,var(--nha-accent) 22%,var(--nha-border)); border-radius: 20px; background: linear-gradient(135deg,color-mix(in srgb,var(--nha-accent) 7%,var(--nha-surface)),var(--nha-surface)); }
.nha-auto-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 19px; cursor: pointer; list-style: none; user-select: none; }
.nha-auto-toc summary::-webkit-details-marker { display: none; }
.nha-auto-toc summary > span { display: grid; line-height: 1.6; }
.nha-auto-toc summary strong { font-size: 13px; }
.nha-auto-toc summary small { color: var(--nha-muted); font-size: 9px; }
.nha-auto-toc summary i { position: relative; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 10px; background: color-mix(in srgb,var(--nha-accent) 12%,var(--nha-surface-2)); }
.nha-auto-toc summary i::before,.nha-auto-toc summary i::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 99px; background: var(--nha-accent); transform: translate(-50%,-50%); transition: .2s ease; }
.nha-auto-toc summary i::after { transform: translate(-50%,-50%) rotate(90deg); }
.nha-auto-toc[open] summary i::after { transform: translate(-50%,-50%) rotate(0); opacity: 0; }
.nha-auto-toc ol { display: grid; gap: 3px; margin: 0; padding: 0 19px 18px; list-style: none; counter-reset: nha-toc; }
.nha-auto-toc li { counter-increment: nha-toc; }
.nha-auto-toc a { position: relative; display: flex; align-items: center; min-height: 36px; padding: 6px 37px 6px 9px; border-radius: 10px; color: var(--nha-muted); font-size: 10px; font-weight: 800; }
.nha-auto-toc a::before { content: counter(nha-toc); position: absolute; right: 7px; top: 50%; width: 22px; height: 22px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 7px; color: var(--nha-accent); background: color-mix(in srgb,var(--nha-accent) 10%,transparent); font-size: 8px; }
.nha-auto-toc a:hover { color: var(--nha-accent); background: color-mix(in srgb,var(--nha-accent) 7%,transparent); }
.nha-auto-toc .nha-toc-level-3 a { padding-right: 53px; font-weight: 650; }
.nha-auto-toc .nha-toc-level-3 a::before { right: 23px; opacity: .72; }
.nha-content-heading { scroll-margin-top: 115px; }
.nha-entry-content h3 { position: relative; padding-right: 14px; font-size: 17px; }
.nha-entry-content h3::before { content: ''; position: absolute; right: 0; top: .64em; width: 6px; height: 6px; border-radius: 50%; background: var(--nha-accent); box-shadow: 0 0 0 5px color-mix(in srgb,var(--nha-accent) 10%,transparent); }
.nha-entry-content ul,.nha-entry-content ol { margin: 18px 0; padding-right: 22px; }
.nha-entry-content li { margin: 6px 0; }
.nha-entry-content table { width: 100%; margin: 24px 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--nha-border); border-radius: 16px; font-size: 11px; }
.nha-entry-content th,.nha-entry-content td { padding: 11px 12px; border-bottom: 1px solid var(--nha-border); border-left: 1px solid var(--nha-border); text-align: right; }
.nha-entry-content th { background: var(--nha-surface-2); font-weight: 900; }
.nha-entry-content tr:last-child td { border-bottom: 0; }
.nha-entry-content th:last-child,.nha-entry-content td:last-child { border-left: 0; }
.nha-entry-content pre,.nha-entry-content code { direction: ltr; font-family: Consolas,Monaco,monospace !important; }
.nha-entry-content pre { overflow-x: auto; padding: 18px; border-radius: 16px; color: #e8ebf2; background: #151821; font-size: 11px; line-height: 1.8; }
.nha-entry-content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border-radius: 13px; color: #fff; background: var(--nha-accent); font-size: 11px; font-weight: 900; }
.nha-entry-content .wp-block-separator { position: relative; height: 20px; margin: 30px 0; background: transparent; }
.nha-entry-content .wp-block-separator::before { content: ''; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: var(--nha-border); }
.nha-entry-content .wp-block-separator::after { content: '♪'; position: absolute; top: 50%; right: 50%; width: 36px; height: 24px; display: grid; place-items: center; transform: translate(50%,-50%); color: var(--nha-accent); background: var(--nha-surface); font-size: 13px; font-weight: 900; }

.nha-share-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; margin-top: 27px; padding: 17px 18px; border: 1px solid var(--nha-border); border-radius: 19px; background: var(--nha-surface-2); }
.nha-share-panel > div { display: grid; min-width: 0; line-height: 1.65; }
.nha-share-panel strong { font-size: 11px; }
.nha-share-panel span { color: var(--nha-muted); font-size: 9px; }
.nha-share-panel nav { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.nha-share-panel a,.nha-share-panel button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 11px; border: 0; border-radius: 11px; color: #fff; font-size: 9px; font-weight: 900; }
.nha-share-telegram { background: #229ed9; }
.nha-share-whatsapp { background: #20b85a; }
.nha-share-x { background: #16181d; }
.nha-share-panel .nha-copy-link { color: var(--nha-text); border: 1px solid var(--nha-border); background: var(--nha-surface); }
.nha-share-panel .nha-copy-link.is-copied { color: #fff; border-color: var(--nha-success); background: var(--nha-success); }
.nha-related .nha-section-head > div > span { display: block; margin-bottom: 2px; color: var(--nha-accent); font-size: 9px; font-weight: 900; }
.nha-related .nha-section-head > div > h2 { margin: 0; }


.nha-entry-content .wp-block-rank-math-toc-block { overflow: hidden; margin: 0 0 28px; padding: 0; border: 1px solid color-mix(in srgb,var(--nha-accent) 22%,var(--nha-border)); border-radius: 20px; background: linear-gradient(135deg,color-mix(in srgb,var(--nha-accent) 7%,var(--nha-surface)),var(--nha-surface)); }
.nha-entry-content .wp-block-rank-math-toc-block > h2 { margin: 0; padding: 17px 19px; border-bottom: 1px solid var(--nha-border); font-size: 13px; }
.nha-entry-content .wp-block-rank-math-toc-block > h2::before { display: none; }
.nha-entry-content .wp-block-rank-math-toc-block nav,.nha-entry-content .wp-block-rank-math-toc-block > ul,.nha-entry-content .wp-block-rank-math-toc-block > ol { margin: 0; padding: 13px 19px 17px; }
.nha-entry-content .wp-block-rank-math-toc-block ul,.nha-entry-content .wp-block-rank-math-toc-block ol { margin: 0; padding-right: 19px; }
.nha-entry-content .wp-block-rank-math-toc-block li { margin: 5px 0; color: var(--nha-muted); font-size: 10px; }
.nha-entry-content .wp-block-rank-math-toc-block a { color: var(--nha-muted); }
.nha-entry-content .wp-block-rank-math-toc-block a:hover { color: var(--nha-accent); }

body.nha-dark-mode .nha-entry-content .wp-block-separator::after { background: var(--nha-surface); }
body.nha-dark-mode .nha-share-x { background: #07080b; }

@media (max-width: 700px) {
  .nha-auto-toc { margin-bottom: 22px; border-radius: 17px; }
  .nha-auto-toc summary { padding: 14px 15px; }
  .nha-auto-toc ol { padding: 0 15px 14px; }
  .nha-share-panel { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
  .nha-share-panel nav { justify-content: stretch; }
  .nha-share-panel a,.nha-share-panel button { flex: 1 1 calc(50% - 4px); }
  .nha-entry-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .nha-content-heading { scroll-margin-top: 85px; }
}


/* Player and performance refinements — v0.6.0 */
@media (max-width: 640px) {
  body.nha-player-open .nha-back-to-top { bottom: 142px; }
}
@media (prefers-reduced-motion: reduce) {
  .nha-global-player,.nha-player-controls button,.nha-player-close { transition: none; }
}

/* =========================================================
   Smart search, singer archive and 404 recovery — v0.7.0
   ========================================================= */
.nha-search-shell { position: relative; width: 100%; min-width: 0; }
.nha-search-shell .nha-search-form { width: 100%; }
.nha-search-panel { overflow: visible; }
.nha-live-search-results { position: absolute; z-index: 1400; top: calc(100% + 9px); right: 0; left: 0; max-height: min(520px,70vh); overflow-y: auto; padding: 9px; border: 1px solid var(--nha-border); border-radius: 19px; color: var(--nha-text); background: var(--nha-surface); box-shadow: 0 28px 75px rgba(16,20,31,.2); text-align: right; }
.nha-live-search-results[hidden] { display: none !important; }
.nha-live-search-status { min-height: 64px; display: grid; place-items: center; padding: 12px; border-radius: 13px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 10px; font-weight: 750; }
.nha-live-search-status.is-loading::before { content: ''; width: 18px; height: 18px; margin-left: 8px; display: inline-block; vertical-align: middle; border: 2px solid color-mix(in srgb,var(--nha-accent) 25%,transparent); border-top-color: var(--nha-accent); border-radius: 50%; animation: ntaLiveSearchSpin .7s linear infinite; }
@keyframes ntaLiveSearchSpin { to { transform: rotate(360deg); } }
.nha-live-search-group + .nha-live-search-group { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--nha-border); }
.nha-live-search-group > strong { display: block; padding: 5px 7px 7px; color: var(--nha-muted); font-size: 8px; font-weight: 900; }
.nha-live-search-singers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.nha-live-singer,.nha-live-post { min-width: 0; display: grid; align-items: center; gap: 9px; padding: 7px; border-radius: 12px; color: var(--nha-text); transition: .18s ease; }
.nha-live-singer { grid-template-columns: 40px minmax(0,1fr) auto; background: color-mix(in srgb,var(--nha-accent) 5%,var(--nha-surface)); }
.nha-live-post { grid-template-columns: 48px minmax(0,1fr) auto; }
.nha-live-singer:hover,.nha-live-post:hover,.nha-live-singer:focus,.nha-live-post:focus { outline: 0; color: var(--nha-text); background: color-mix(in srgb,var(--nha-accent) 10%,var(--nha-surface)); transform: translateY(-1px); }
.nha-live-singer img,.nha-live-post img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--nha-surface-2); }
.nha-live-singer img { border-radius: 50%; }
.nha-live-singer span,.nha-live-post span { min-width: 0; display: grid; line-height: 1.55; }
.nha-live-singer b,.nha-live-post b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.nha-live-singer small,.nha-live-post small { overflow: hidden; color: var(--nha-muted); text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.nha-live-singer i,.nha-live-post i { color: var(--nha-muted); font-size: 10px; font-style: normal; }
.nha-live-play-mark { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: #fff !important; background: var(--nha-accent); font-size: 8px !important; }
.nha-live-search-all { min-height: 40px; display: flex; align-items: center; justify-content: space-between; margin-top: 7px; padding: 8px 12px; border-radius: 12px; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); font-size: 9px; font-weight: 900; }
.nha-live-search-all:hover { color: #fff; filter: brightness(1.04); }
.nha-mobile-search .nha-live-search-results { position: relative; top: 7px; max-height: 390px; margin-bottom: 7px; border-color: rgba(255,255,255,.09); box-shadow: none; }
.nha-footer-search .nha-live-search-results { bottom: calc(100% + 9px); top: auto; }

.nha-singer-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.nha-singer-play-latest,.nha-singer-copy { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: #fff; background: rgba(255,255,255,.08); font-size: 10px; font-weight: 900; }
.nha-singer-play-latest { border-color: transparent; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); }
.nha-singer-play-latest svg { width: 17px; height: 17px; fill: currentColor; }
.nha-singer-copy:hover,.nha-singer-copy.is-copied { color: #fff; background: rgba(255,255,255,.15); }
.nha-singer-filters { display: flex; gap: 8px; margin: 18px 0 0; padding: 7px; overflow-x: auto; border: 1px solid var(--nha-border); border-radius: 17px; background: var(--nha-surface); box-shadow: var(--nha-shadow); scrollbar-width: none; }
.nha-singer-filters::-webkit-scrollbar { display: none; }
.nha-singer-filters a { min-width: max-content; display: inline-flex; align-items: center; gap: 9px; min-height: 39px; padding: 7px 12px; border-radius: 11px; color: var(--nha-muted); font-size: 9px; font-weight: 850; }
.nha-singer-filters a strong { min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 5px; border-radius: 8px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 8px; }
.nha-singer-filters a:hover,.nha-singer-filters a.is-active { color: #fff; background: var(--nha-accent); }
.nha-singer-filters a.is-active strong,.nha-singer-filters a:hover strong { color: #fff; background: rgba(255,255,255,.17); }
.nha-singer-latest { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 20px; align-items: center; margin-top: 18px; padding: 17px; border: 1px solid color-mix(in srgb,var(--nha-accent) 18%,var(--nha-border)); border-radius: 23px; background: linear-gradient(135deg,color-mix(in srgb,var(--nha-accent) 7%,var(--nha-surface)),var(--nha-surface)); box-shadow: var(--nha-shadow); }
.nha-singer-latest-cover { position: relative; overflow: hidden; border-radius: 18px; }
.nha-singer-latest-cover::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent,rgba(0,0,0,.3)); pointer-events: none; }
.nha-singer-latest-cover img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; transition: .35s ease; }
.nha-singer-latest-cover:hover img { transform: scale(1.035); }
.nha-singer-latest-content > span { color: var(--nha-accent); font-size: 9px; font-weight: 900; }
.nha-singer-latest-content h2 { margin: 4px 0 2px; font-size: clamp(18px,2.5vw,28px); line-height: 1.5; }
.nha-singer-latest-content p { margin: 0 0 13px; color: var(--nha-muted); font-size: 9px; }
.nha-singer-latest-content > div { display: flex; flex-wrap: wrap; gap: 7px; }
.nha-singer-latest-content .nha-details-link { min-height: 39px; display: inline-flex; align-items: center; padding: 7px 13px; border: 1px solid var(--nha-border); border-radius: 11px; background: var(--nha-surface); font-size: 9px; font-weight: 900; }

.nha-search-singers { margin-bottom: 24px; }
.nha-search-singer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.nha-search-singer-card { min-width: 0; display: grid; grid-template-columns: 54px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 10px; border: 1px solid var(--nha-border); border-radius: 16px; background: var(--nha-surface); box-shadow: 0 10px 30px rgba(31,37,56,.045); }
.nha-search-singer-card:hover { border-color: color-mix(in srgb,var(--nha-accent) 35%,var(--nha-border)); color: var(--nha-text); transform: translateY(-2px); }
.nha-search-singer-card img { width: 54px; height: 54px; object-fit: cover; border-radius: 16px; }
.nha-search-singer-card > span { min-width: 0; display: grid; line-height: 1.55; }
.nha-search-singer-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.nha-search-singer-card small { color: var(--nha-muted); font-size: 8px; }
.nha-search-singer-card > b { color: var(--nha-accent); font-size: 8px; white-space: nowrap; }
.nha-no-search-results { display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: 18px; padding: 25px; border: 1px solid var(--nha-border); border-radius: 24px; background: var(--nha-surface); box-shadow: var(--nha-shadow); }
.nha-no-search-main > span { color: var(--nha-accent); font-size: 9px; font-weight: 900; }
.nha-no-search-main h2 { margin: 3px 0 5px; font-size: 23px; }
.nha-no-search-main p { max-width: 720px; margin: 0 0 15px; color: var(--nha-muted); font-size: 10px; }
.nha-no-search-main .nha-search-form { padding: 5px; border: 1px solid var(--nha-border); border-radius: 15px; background: var(--nha-surface-2); }
.nha-no-search-main .nha-search-form input { border: 0; color: var(--nha-text); background: transparent; }
.nha-no-search-main .nha-search-form input::placeholder { color: var(--nha-muted); }
.nha-no-search-links { display: grid; align-content: start; gap: 5px; padding: 14px; border-radius: 16px; background: var(--nha-surface-2); }
.nha-no-search-links strong { margin-bottom: 3px; font-size: 10px; }
.nha-no-search-links a { display: flex; justify-content: space-between; padding: 7px 9px; border-radius: 9px; color: var(--nha-muted); font-size: 9px; font-weight: 800; }
.nha-no-search-links a:hover { color: var(--nha-accent); background: var(--nha-surface); }

.nha-404-page { overflow: hidden; }
.nha-404-hero { position: relative; isolation: isolate; display: grid; justify-items: center; padding: 42px 24px; overflow: hidden; border-radius: 30px; color: #fff; background: radial-gradient(circle at 20% 20%,rgba(24,167,123,.35),transparent 35%),radial-gradient(circle at 80% 80%,rgba(255,79,139,.25),transparent 32%),#11131a; text-align: center; box-shadow: 0 30px 80px rgba(17,19,26,.18); }
.nha-404-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom,#000,transparent); }
.nha-404-code { display: flex; align-items: center; gap: 8px; font-size: clamp(62px,11vw,125px); font-weight: 950; line-height: .9; letter-spacing: -5px; }
.nha-404-code i { width: clamp(70px,10vw,112px); height: clamp(70px,10vw,112px); display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2)); box-shadow: 0 20px 50px rgba(24,167,123,.35); font-size: .45em; font-style: normal; letter-spacing: 0; }
.nha-404-copy { max-width: 760px; margin-top: 20px; }
.nha-404-copy > span { color: #bcb2ff; font-size: 9px; font-weight: 900; }
.nha-404-copy h1 { margin: 5px 0; color: #fff; font-size: clamp(22px,4vw,38px); line-height: 1.45; }
.nha-404-copy p { margin: 0; color: rgba(255,255,255,.62); font-size: 10px; }
.nha-404-search { width: min(720px,100%); margin-top: 22px; }
.nha-404-search .nha-search-form { padding: 6px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.08); }
.nha-404-search .nha-search-form input { border: 0; background: transparent; }
.nha-404-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 13px; }
.nha-404-quick a { padding: 6px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.68); background: rgba(255,255,255,.05); font-size: 8px; font-weight: 800; }
.nha-404-quick a:hover { color: #fff; background: rgba(255,255,255,.11); }
.nha-404-suggestions { margin-top: 30px; }
.nha-404-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.nha-404-singers { margin-top: 22px; }
.nha-404-singers .nha-singer-list { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 25px; }

@media (max-width: 900px) {
  .nha-search-singer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-no-search-results { grid-template-columns: 1fr; }
  .nha-no-search-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nha-no-search-links strong { grid-column: 1/-1; }
}
@media (max-width: 700px) {
  .nha-live-search-results { max-height: 60vh; padding: 7px; border-radius: 15px; }
  .nha-live-search-singers { grid-template-columns: 1fr; }
  .nha-live-post { grid-template-columns: 43px minmax(0,1fr) auto; }
  .nha-singer-hero-actions { justify-content: center; }
  .nha-singer-play-latest,.nha-singer-copy { flex: 1 1 auto; }
  .nha-singer-latest { grid-template-columns: 100px minmax(0,1fr); gap: 13px; padding: 12px; border-radius: 19px; }
  .nha-singer-latest-content h2 { font-size: 16px; }
  .nha-search-singer-grid { grid-template-columns: 1fr; }
  .nha-404-hero { padding: 32px 14px; border-radius: 23px; }
  .nha-404-search .nha-search-form { gap: 5px; padding: 4px; }
  .nha-404-search .nha-search-form button { min-width: 74px; padding-inline: 10px; }
  .nha-404-grid { grid-template-columns: 1fr; }
  .nha-404-singers .nha-singer-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nha-singer-latest { grid-template-columns: 82px minmax(0,1fr); }
  .nha-singer-latest-content p { margin-bottom: 8px; }
  .nha-singer-latest-content .nha-inline-play,.nha-singer-latest-content .nha-details-link { min-height: 34px; padding: 5px 9px; font-size: 8px; }
  .nha-no-search-results { padding: 17px 14px; border-radius: 20px; }
  .nha-no-search-links { grid-template-columns: 1fr; }
}

/* v0.8.0 — user library, favorites, listening history and link health */
.nha-library-toggle { position: relative; }
.nha-library-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.nha-library-count { position: absolute; top: -4px; left: -5px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid var(--nha-surface); border-radius: 999px; color: #fff; background: #ff4f74; font-size: 8px; font-weight: 900; line-height: 1; }
.nha-library-count[hidden] { display: none; }
.nha-mobile-library-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 14px 0 0; padding: 13px 15px; border: 1px solid var(--nha-border); border-radius: 14px; color: var(--nha-text); background: var(--nha-surface-2); text-align: right; cursor: pointer; }
.nha-mobile-library-button span { font-size: 12px; font-weight: 900; }
.nha-mobile-library-button b { color: var(--nha-muted); font-size: 9px; font-weight: 500; }

.nha-favorite-toggle { display: inline-grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid var(--nha-border); border-radius: 12px; color: var(--nha-muted); background: var(--nha-surface); box-shadow: 0 8px 24px rgba(28,32,47,.08); cursor: pointer; transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease; }
.nha-favorite-toggle:hover { transform: translateY(-2px); color: #ff4f74; border-color: rgba(255,79,116,.35); }
.nha-favorite-toggle svg { width: 18px; height: 18px; fill: transparent; stroke: currentColor; stroke-width: 1.8; transition: fill .2s ease, transform .2s ease; }
.nha-favorite-toggle.is-favorite { color: #fff; border-color: #ff4f74; background: #ff4f74; }
.nha-favorite-toggle.is-favorite svg { fill: currentColor; stroke: currentColor; transform: scale(1.06); }
.nha-card-favorite { position: absolute; top: 10px; left: 10px; z-index: 4; width: 33px; height: 33px; border-color: rgba(255,255,255,.24); color: #fff; background: rgba(12,14,21,.62); box-shadow: none; backdrop-filter: blur(10px); }
.nha-card-favorite.is-favorite { border-color: #ff4f74; background: #ff4f74; }
.nha-music-thumb-wrap .nha-card-favorite { z-index: 3; }
.nha-spotlight-favorite { width: 43px; height: 43px; color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); box-shadow: none; }
.nha-spotlight-favorite.is-favorite { border-color: #ff4f74; background: #ff4f74; }
.nha-single-favorite { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.1); box-shadow: none; }
.nha-single-favorite.is-favorite { border-color: #ff4f74; background: #ff4f74; }

.nha-library-overlay { position: fixed; inset: 0; z-index: 1390; visibility: hidden; opacity: 0; background: rgba(9,11,17,.48); backdrop-filter: blur(4px); transition: opacity .25s ease, visibility .25s ease; }
.nha-library-overlay.is-open { visibility: visible; opacity: 1; }
.nha-user-library { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1400; display: flex; flex-direction: column; width: min(430px, 92vw); padding: 22px; visibility: hidden; transform: translateX(-105%); color: var(--nha-text); background: var(--nha-surface); box-shadow: 24px 0 75px rgba(12,16,28,.25); transition: transform .28s ease, visibility .28s ease; }
.nha-user-library.is-open { visibility: visible; transform: translateX(0); }
body.nha-library-open, body.nha-report-open { overflow: hidden; }
.nha-library-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--nha-border); }
.nha-library-head span { display: block; margin-bottom: 3px; color: var(--nha-accent); font-size: 9px; font-weight: 900; }
.nha-library-head h2 { margin: 0; font-size: 22px; }
.nha-library-close { width: 36px; height: 36px; padding: 0; border: 1px solid var(--nha-border); border-radius: 11px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 24px; line-height: 1; cursor: pointer; }
.nha-library-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 16px 0; }
.nha-library-tabs button { min-height: 42px; border: 1px solid var(--nha-border); border-radius: 12px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 11px; font-weight: 800; cursor: pointer; }
.nha-library-tabs button.is-active { color: #fff; border-color: var(--nha-accent); background: var(--nha-accent); }
.nha-library-tabs span { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-right: 4px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 8px; }
.nha-library-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 2px 18px; scrollbar-width: thin; }
.nha-library-list { display: grid; gap: 9px; }
.nha-library-item { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 9px; border: 1px solid var(--nha-border); border-radius: 14px; background: var(--nha-surface-2); }
.nha-library-cover { display: block; width: 54px; height: 54px; overflow: hidden; border-radius: 11px; }
.nha-library-cover img { width: 100%; height: 100%; object-fit: cover; }
.nha-library-item-text { min-width: 0; }
.nha-library-item-text a { color: var(--nha-text); }
.nha-library-item-text strong { display: block; overflow: hidden; font-size: 11px; line-height: 1.8; text-overflow: ellipsis; white-space: nowrap; }
.nha-library-item-text span { display: block; margin-top: 2px; overflow: hidden; color: var(--nha-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.nha-library-item-actions { display: flex; align-items: center; gap: 5px; }
.nha-library-play, .nha-library-remove { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 0; border-radius: 9px; cursor: pointer; }
.nha-library-play { color: #fff; background: var(--nha-accent); font-size: 10px; }
.nha-library-remove { color: var(--nha-muted); background: var(--nha-surface); font-size: 18px; }
.nha-library-empty { display: grid; place-items: center; min-height: 290px; padding: 30px; color: var(--nha-muted); text-align: center; }
.nha-library-empty span { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 15px; border-radius: 20px; color: var(--nha-accent); background: var(--nha-surface-2); font-size: 27px; }
.nha-library-empty strong { color: var(--nha-text); font-size: 13px; }
.nha-library-empty p { max-width: 260px; margin: 8px 0 0; font-size: 10px; line-height: 2; }
.nha-library-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--nha-border); }
.nha-library-foot button { border: 0; color: #d3405f; background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }
.nha-library-foot button:disabled { opacity: .35; cursor: default; }
.nha-library-foot small { color: var(--nha-muted); font-size: 8px; }

.nha-link-health { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 17px; padding: 15px 17px; border: 1px dashed var(--nha-border); border-radius: 15px; background: var(--nha-surface-2); }
.nha-link-health strong, .nha-link-health span { display: block; }
.nha-link-health strong { font-size: 11px; }
.nha-link-health span { margin-top: 3px; color: var(--nha-muted); font-size: 9px; }
.nha-report-link { flex: 0 0 auto; min-height: 37px; padding: 0 14px; border: 1px solid rgba(211,64,95,.25); border-radius: 10px; color: #d3405f; background: rgba(211,64,95,.06); font-size: 9px; font-weight: 900; cursor: pointer; }
.nha-report-modal { position: fixed; inset: 0; z-index: 1600; display: grid; place-items: center; padding: 18px; visibility: hidden; opacity: 0; transition: opacity .22s ease, visibility .22s ease; }
.nha-report-modal.is-open { visibility: visible; opacity: 1; }
.nha-report-backdrop { position: absolute; inset: 0; background: rgba(8,10,16,.62); backdrop-filter: blur(5px); }
.nha-report-dialog { position: relative; z-index: 1; width: min(480px,100%); padding: 25px; border: 1px solid var(--nha-border); border-radius: 22px; color: var(--nha-text); background: var(--nha-surface); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.nha-report-dialog > span { color: var(--nha-accent); font-size: 9px; font-weight: 900; }
.nha-report-dialog h2 { margin: 5px 0 6px; font-size: 19px; }
.nha-report-post-title { margin: 0 0 18px; color: var(--nha-muted); font-size: 10px; line-height: 1.8; }
.nha-report-close { position: absolute; top: 15px; left: 15px; width: 34px; height: 34px; padding: 0; border: 1px solid var(--nha-border); border-radius: 10px; color: var(--nha-muted); background: var(--nha-surface-2); font-size: 22px; cursor: pointer; }
.nha-report-dialog label { display: block; margin-top: 13px; color: var(--nha-text); font-size: 10px; font-weight: 800; }
.nha-report-dialog label small { color: var(--nha-muted); font-weight: 400; }
.nha-report-dialog select, .nha-report-dialog textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid var(--nha-border); border-radius: 11px; color: var(--nha-text); background: var(--nha-surface-2); font: inherit; font-size: 11px; }
.nha-report-dialog select { height: 43px; padding: 0 12px; }
.nha-report-dialog textarea { min-height: 95px; padding: 11px; resize: vertical; }
.nha-report-status { min-height: 22px; padding-top: 8px; color: var(--nha-accent); font-size: 9px; }
.nha-report-submit { width: 100%; min-height: 44px; border: 0; border-radius: 12px; color: #fff; background: var(--nha-accent); font-size: 11px; font-weight: 900; cursor: pointer; }
.nha-report-submit:disabled { opacity: .55; cursor: wait; }
.nha-toast { position: fixed; right: 50%; bottom: 105px; z-index: 1700; max-width: calc(100vw - 32px); padding: 11px 17px; border-radius: 999px; visibility: hidden; transform: translate(50%,15px); opacity: 0; color: #fff; background: rgba(17,19,26,.94); box-shadow: 0 12px 35px rgba(0,0,0,.22); font-size: 10px; font-weight: 800; transition: .2s ease; }
.nha-toast.is-visible { visibility: visible; transform: translate(50%,0); opacity: 1; }
.nha-popular-panel .nha-panel-heading > svg { fill: var(--nha-accent); }

@media (max-width: 700px) {
  .nha-user-library { width: 100%; padding: 18px 15px; }
  .nha-library-item { grid-template-columns: 48px minmax(0,1fr) auto; gap: 8px; }
  .nha-library-cover { width: 48px; height: 48px; }
  .nha-library-foot { align-items: flex-start; flex-direction: column; }
  .nha-link-health { align-items: flex-start; flex-direction: column; }
  .nha-report-link { width: 100%; }
  .nha-single-favorite { width: 42px; height: 42px; }
  .nha-card-favorite { top: 7px; left: 7px; width: 31px; height: 31px; }
  .nha-toast { bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .nha-user-library, .nha-library-overlay, .nha-report-modal, .nha-favorite-toggle, .nha-toast { transition: none; }
}

/* =========================================================
   Five-star user ratings — v0.9.0
   ========================================================= */
.nha-rating-panel {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr);
  gap: 24px;
  align-items: center;
  margin: 0 0 24px;
  padding: 22px 25px;
  border: 1px solid color-mix(in srgb,var(--nha-accent) 18%,var(--nha-border));
  border-radius: 24px;
  background: linear-gradient(135deg,color-mix(in srgb,var(--nha-accent) 7%,var(--nha-surface)),var(--nha-surface));
  box-shadow: var(--nha-shadow);
}
.nha-rating-copy > span { display: block; margin-bottom: 4px; color: var(--nha-accent); font-size: 9px; font-weight: 900; }
.nha-rating-copy h2 { margin: 0; font-size: 18px; line-height: 1.6; }
.nha-rating-copy p { margin: 5px 0 0; color: var(--nha-muted); font-size: 10px; line-height: 1.9; }
.nha-rating-interaction { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 16px; align-items: center; }
.nha-rating-stars { direction: ltr; display: flex; align-items: center; justify-content: flex-start; gap: 4px; }
.nha-rating-stars button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 11px; color: #cbd0da; background: transparent; cursor: pointer; transition: color .16s ease, transform .16s ease, background .16s ease; }
.nha-rating-stars button:hover,.nha-rating-stars button:focus { outline: 0; transform: translateY(-2px) scale(1.04); background: color-mix(in srgb,#f5a623 10%,transparent); }
.nha-rating-stars button.is-active { color: #f5a623; }
.nha-rating-stars button:disabled { cursor: wait; opacity: .62; }
.nha-rating-stars svg { width: 29px; height: 29px; fill: currentColor; filter: drop-shadow(0 5px 10px rgba(245,166,35,.15)); }
.nha-rating-result { min-width: 95px; display: grid; justify-items: end; line-height: 1.35; }
.nha-rating-result strong { display: flex; align-items: baseline; gap: 4px; color: var(--nha-text); font-size: 22px; }
.nha-rating-result strong small { color: var(--nha-muted); font-size: 9px; }
.nha-rating-result > span { color: var(--nha-muted); font-size: 9px; }
.nha-rating-message { grid-column: 1/-1; min-height: 19px; margin-top: 7px; color: var(--nha-accent); font-size: 9px; font-weight: 750; }
.nha-rating-panel.is-loading { opacity: .78; }
.nha-rating-panel.is-voted { border-color: color-mix(in srgb,#f5a623 30%,var(--nha-border)); }

.nha-rating-badge { display: inline-flex; align-items: center; gap: 4px; min-height: 25px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; background: rgba(10,12,18,.68); box-shadow: 0 7px 20px rgba(0,0,0,.14); backdrop-filter: blur(9px); font-size: 8px; line-height: 1; white-space: nowrap; }
.nha-rating-badge svg { width: 12px; height: 12px; fill: #f5a623; }
.nha-rating-badge b { font-size: 9px; }
.nha-rating-badge small { padding-right: 4px; border-right: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.72); font-size: 7px; }
.nha-rating-badge--overlay { position: absolute; z-index: 4; right: 9px; bottom: 9px; }
.nha-spotlight-tags .nha-rating-badge--spotlight { min-height: 28px; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.09); box-shadow: none; }
.nha-rating-badge--mini { min-height: 19px; padding: 2px 5px; border: 0; color: #a96400; background: rgba(245,166,35,.12); box-shadow: none; backdrop-filter: none; }
.nha-rating-badge--mini svg { width: 10px; height: 10px; }
.nha-rating-badge--mini b { font-size: 8px; }
.nha-rating-badge--mini small { border-color: rgba(169,100,0,.2); color: #a96400; font-size: 7px; }
.nha-mini-meta { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nha-mini-meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nha-top-rated-panel .nha-panel-heading > svg { width: 19px; height: 19px; fill: #f5a623; }

@media (max-width: 760px) {
  .nha-rating-panel { grid-template-columns: 1fr; gap: 16px; padding: 19px 17px; border-radius: 20px; }
  .nha-rating-interaction { grid-template-columns: minmax(0,1fr) auto; column-gap: 10px; }
  .nha-rating-stars { gap: 1px; }
  .nha-rating-stars button { width: 34px; height: 34px; }
  .nha-rating-stars svg { width: 25px; height: 25px; }
  .nha-rating-result strong { font-size: 19px; }
}

@media (max-width: 420px) {
  .nha-rating-interaction { grid-template-columns: 1fr; }
  .nha-rating-result { justify-items: start; margin-top: 8px; }
  .nha-rating-message { grid-column: 1; }
  .nha-rating-stars { justify-content: space-between; }
  .nha-rating-stars button { width: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .nha-rating-stars button { transition: none; }
}

/* Noorahang Stats integration */
.nha-view-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:16px 18px;border:1px solid var(--nha-border);border-radius:18px;background:var(--nha-surface);box-shadow:0 10px 30px rgba(24,29,44,.04)}.nha-view-summary-title{display:flex;align-items:center;gap:9px;white-space:nowrap;font-weight:800;color:var(--nha-text)}.nha-view-summary-title svg{width:22px;height:22px;fill:var(--nha-accent)}.nha-view-summary-items{display:grid;grid-template-columns:repeat(4,minmax(82px,1fr));gap:8px;flex:1;max-width:610px}.nha-view-summary-items>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;border-radius:11px;background:var(--nha-soft)}.nha-view-summary-items small{color:var(--nha-muted);font-size:10px}.nha-view-summary-items strong{font-size:14px;color:var(--nha-text)}.nha-view-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;color:var(--nha-text);background:rgba(255,255,255,.9);font-size:10px;line-height:1;box-shadow:0 5px 14px rgba(15,20,34,.12)}.nha-view-badge svg{width:13px;height:13px;fill:var(--nha-accent)}.nha-view-badge b{font-size:10px}.nha-view-badge small{font-size:8px;color:var(--nha-muted)}.nha-view-badge--overlay{position:absolute;left:10px;bottom:10px;z-index:5}.nha-featured-card .nha-view-badge--overlay{bottom:12px}.nha-music-card .nha-view-badge--overlay{bottom:10px}.nha-view-badge--spotlight{color:#fff;background:rgba(0,0,0,.32);box-shadow:none}.nha-view-badge--spotlight small{color:rgba(255,255,255,.72)}.nha-view-badge--spotlight svg{fill:#fff}.nha-view-badge--mini{padding:3px 6px;background:var(--nha-soft);box-shadow:none}.nha-view-badge--mini small{display:none}.nha-mini-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.nha-most-viewed{position:relative;overflow:hidden;padding:26px;border:1px solid var(--nha-border);border-radius:24px;background:linear-gradient(145deg,var(--nha-surface),var(--nha-soft))}.nha-most-viewed:before{content:"";position:absolute;left:-90px;top:-100px;width:240px;height:240px;border-radius:50%;background:color-mix(in srgb,var(--nha-accent) 13%,transparent);pointer-events:none}.nha-view-tabs{position:relative;display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px}.nha-view-tabs button{min-height:36px;padding:0 14px;border:1px solid var(--nha-border);border-radius:999px;color:var(--nha-muted);background:var(--nha-surface);font:inherit;font-size:11px;font-weight:800;cursor:pointer;transition:.2s}.nha-view-tabs button:hover,.nha-view-tabs button.is-active{color:#fff;border-color:var(--nha-accent);background:var(--nha-accent);transform:translateY(-1px)}.nha-viewed-results{position:relative;min-height:120px}.nha-viewed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.nha-viewed-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--nha-border);border-radius:15px;background:var(--nha-surface);transition:.2s}.nha-viewed-item:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(25,29,44,.08)}.nha-viewed-cover{width:64px;height:64px;overflow:hidden;border-radius:11px}.nha-viewed-cover img{width:100%;height:100%;object-fit:cover}.nha-viewed-item>div{min-width:0}.nha-viewed-title{display:-webkit-box;overflow:hidden;color:var(--nha-text);font-size:12px;font-weight:800;line-height:1.8;text-decoration:none;-webkit-line-clamp:2;-webkit-box-orient:vertical}.nha-viewed-item>div span{display:block;margin-top:4px;color:var(--nha-muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nha-viewed-item>b{display:flex;align-items:center;gap:3px;padding:5px 7px;border-radius:999px;color:var(--nha-accent);background:var(--nha-soft);font-size:10px;white-space:nowrap}.nha-viewed-item>b svg{width:13px;height:13px;fill:currentColor}.nha-viewed-empty,.nha-viewed-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:120px;border:1px dashed var(--nha-border);border-radius:15px;color:var(--nha-muted);background:var(--nha-surface)}.nha-viewed-loading span{width:18px;height:18px;border:2px solid var(--nha-border);border-top-color:var(--nha-accent);border-radius:50%;animation:nha-spin .8s linear infinite}.nha-viewed-note{margin:14px 0 0;color:var(--nha-muted);font-size:10px}.nha-stats-admin-link{display:inline-flex}@media(max-width:1100px){.nha-viewed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.nha-view-summary{align-items:stretch;flex-direction:column}.nha-view-summary-items{grid-template-columns:repeat(2,1fr);max-width:none}.nha-viewed-grid{grid-template-columns:1fr}.nha-most-viewed{padding:18px}.nha-view-tabs{overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.nha-view-tabs button{flex:0 0 auto}.nha-viewed-item{grid-template-columns:58px minmax(0,1fr) auto}.nha-viewed-cover{width:58px;height:58px}.nha-view-badge--overlay{left:8px;bottom:8px}.nha-view-badge small{display:none}}


/* Music credits */
.nha-music-credits{margin:24px 0;padding:22px;border:1px solid var(--nha-border);border-radius:20px;background:linear-gradient(145deg,var(--nha-surface),var(--nha-surface-2));box-shadow:0 12px 35px rgba(31,37,56,.05)}
.nha-music-credits-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}.nha-music-credits-head span{padding:5px 9px;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2));font-size:10px;font-weight:800}.nha-music-credits-head h2{margin:0!important;padding:0!important;border:0!important;background:none!important;font-size:17px!important}.nha-music-credits dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.nha-music-credits dl>div{padding:12px 14px;border:1px solid var(--nha-border);border-radius:13px;background:var(--nha-surface)}.nha-music-credits dt{margin:0 0 4px;color:var(--nha-muted);font-size:10px;font-weight:700}.nha-music-credits dd{margin:0;color:var(--nha-text);font-size:13px;font-weight:800;overflow-wrap:anywhere}@media(max-width:720px){.nha-music-credits{padding:16px}.nha-music-credits dl{grid-template-columns:1fr 1fr}}@media(max-width:460px){.nha-music-credits dl{grid-template-columns:1fr}}


/* =========================================================
   Compact footer and partner links — v1.1.1
   ========================================================= */
.nha-footer-grid--compact {
  grid-template-columns: minmax(280px,1.35fr) minmax(180px,.8fr) minmax(200px,.9fr);
  gap: 34px;
}
.nha-footer-list--sections {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 2px 14px;
}
.nha-footer-friends-list li { margin: 5px 0; }
.nha-footer-friends-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
}
.nha-footer-friends-list a::before { display: none; }
.nha-footer-friends-list strong { color: rgba(255,255,255,.82); font-size: 11px; }
.nha-footer-friends-list span {
  min-width: 0;
  color: rgba(255,255,255,.38);
  font-size: 9px;
  direction: ltr;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nha-footer-friends-list a:hover { border-color: color-mix(in srgb,var(--nha-accent) 40%,transparent); background: rgba(255,255,255,.065); }
.nha-footer-friends-list a:hover strong { color: #fff; }

@media (max-width: 900px) {
  .nha-footer-grid--compact { grid-template-columns: 1.15fr .85fr; gap: 24px 20px; }
  .nha-footer-grid--compact .nha-footer-about { grid-column: 1/-1; }
}

@media (max-width: 700px) {
  .nha-site-footer { margin-top: 22px; padding-bottom: 14px; }
  .nha-footer-cta { top: -18px; gap: 9px; padding: 13px 14px; border-radius: 16px; }
  .nha-footer-cta-copy { display: none; }
  .nha-footer-search .nha-search-form input { height: 38px; }
  .nha-footer-grid--compact {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px 14px;
    padding: 0 0 8px;
  }
  .nha-footer-grid--compact .nha-footer-about { grid-column: 1/-1; }
  .nha-footer-about { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 14px; }
  .nha-footer-about p {
    grid-column: 1/-1;
    display: -webkit-box;
    max-width: none;
    margin: 5px 0 0;
    font-size: 9px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .nha-footer-brand .nha-brand-logo { max-width: 155px; max-height: 38px; }
  .nha-footer-about .nha-socials { margin: 0; }
  .nha-footer-title { margin-bottom: 7px; padding-bottom: 8px; font-size: 13px; }
  .nha-footer-title::after { width: 21px; height: 2px; }
  .nha-footer-list--sections { grid-template-columns: 1fr; gap: 0; }
  .nha-footer-menu li, .nha-footer-list li { margin: 2px 0; }
  .nha-footer-menu a, .nha-footer-list a { padding-top: 3px; padding-bottom: 3px; font-size: 10px; }
  .nha-footer-friends-list a { gap: 6px; padding: 6px 7px; border-radius: 9px; }
  .nha-footer-friends-list strong { font-size: 9px; }
  .nha-footer-friends-list span { max-width: 76px; font-size: 8px; }
  .nha-copyright { align-items: center; gap: 2px; padding-top: 10px; text-align: center; font-size: 8px; }
}

@media (max-width: 380px) {
  .nha-footer-grid--compact { gap: 16px 10px; }
  .nha-footer-friends-list span { display: none; }
}


/* =========================================================
   Stability and homepage performance — v1.3.0
   ========================================================= */
.nha-featured-media > a,
.nha-music-thumb-wrap > a,
.nha-viewed-cover,
.nha-singer-latest-cover { display:block; width:100%; height:100%; }
.nha-featured-thumb,
.nha-music-thumb,
.nha-viewed-thumb,
.nha-singer-latest-thumb { display:block; width:100%; height:100%; object-fit:cover; }
.nha-collection-section,
.nha-most-viewed { content-visibility:auto; contain-intrinsic-size:1px 680px; }
.nha-home-sidebar { min-width:0; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible { outline:3px solid color-mix(in srgb,var(--nha-accent) 65%,#fff); outline-offset:3px; }
@media (max-width:720px) {
  .nha-collection-section,
  .nha-most-viewed { contain-intrinsic-size:1px 980px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}


/* System status and maintenance release — v1.4.0 */

/* =========================================================
   Stable release hardening — v1.5.0
   ========================================================= */
.nha-single-body-grid.is-playlist-layout > .nha-single-main-column {
  min-width: 0;
  width: 100%;
}
.nha-playlist-post .nha-single-tools {
  display: none !important;
}
.nha-playlist-post .nha-entry-content > .wp-block-audio,
.nha-playlist-post .nha-entry-content > audio {
  max-width: 100%;
}
.nha-footer-grid--compact:has(.nha-footer-friends) {
  grid-template-columns: minmax(280px,1.35fr) minmax(180px,.8fr) minmax(200px,.9fr);
}
.nha-footer-grid--compact:not(:has(.nha-footer-friends)) {
  grid-template-columns: minmax(300px,1.4fr) minmax(220px,.8fr);
}
.nha-footer-section,
.nha-footer-about {
  min-width: 0;
}
.nha-footer-list a {
  overflow-wrap: anywhere;
}
.nha-entry-content h2.has-background,
.nha-entry-content h2[style*="background"] {
  color: var(--nha-text) !important;
}
body.nha-dark-mode .nha-entry-content h2.has-background,
body.nha-dark-mode .nha-entry-content h2[style*="background"] {
  color: #f8f9ff !important;
  background: linear-gradient(135deg,rgba(24,167,123,.2),rgba(255,79,139,.08)) !important;
}
@supports not selector(:has(*)) {
  .nha-footer-grid--compact {
    grid-template-columns: minmax(280px,1.35fr) minmax(180px,.8fr) minmax(200px,.9fr);
  }
}
@media (max-width: 700px) {
  .nha-footer-grid--compact:has(.nha-footer-friends),
  .nha-footer-grid--compact:not(:has(.nha-footer-friends)) {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .nha-footer-grid--compact .nha-footer-about {
    grid-column: 1/-1;
  }
  .nha-single-hero,
  .nha-rating-panel,
  .nha-view-summary,
  .nha-single-content,
  .nha-artist-card,
  .nha-related {
    max-width: 100%;
  }
}

/* Structured playlist builder output — v1.6.0 */
.nha-structured-playlist{margin:20px 0 28px;overflow:hidden;border:1px solid var(--nha-border);border-radius:22px;background:var(--nha-surface);box-shadow:var(--nha-shadow-sm)}
.nha-structured-playlist-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--nha-border);background:linear-gradient(135deg,rgba(24,167,123,.10),rgba(36,196,166,.07))}
.nha-structured-playlist-head div>span{display:block;margin-bottom:3px;color:var(--nha-accent);font-size:10px;font-weight:800}
.nha-structured-playlist-head h2{margin:0!important;padding:0!important;border:0!important;color:var(--nha-text)!important;background:none!important;font-size:17px!important;box-shadow:none!important}
.nha-structured-playlist-head h2:before,.nha-structured-playlist-head h2:after{display:none!important}
.nha-structured-playlist-head>strong{padding:7px 11px;border:1px solid rgba(24,167,123,.18);border-radius:999px;color:var(--nha-accent);background:rgba(24,167,123,.08);font-size:10px;white-space:nowrap}
.nha-structured-playlist-list{margin:0!important;padding:0!important;list-style:none!important;counter-reset:none!important}
.nha-structured-track{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;gap:11px;align-items:center;margin:0!important;padding:12px 16px;border-bottom:1px solid var(--nha-border);transition:background .2s ease,border-color .2s ease}
.nha-structured-track:last-child{border-bottom:0}
.nha-structured-track:hover{background:var(--nha-surface-2)}
.nha-structured-track-number{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;color:var(--nha-accent);background:rgba(24,167,123,.09);font-size:10px;font-weight:900}
.nha-structured-track-info{min-width:0}
.nha-structured-track-info strong,.nha-structured-track-info small{display:block}
.nha-structured-track-info strong{overflow:hidden;color:var(--nha-text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.nha-structured-track-info small{margin-top:3px;color:var(--nha-muted);font-size:9px}
.nha-structured-track-play,.nha-structured-track-download{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:7px 12px;border-radius:11px;font-size:10px;font-weight:800;text-decoration:none!important;cursor:pointer}
.nha-structured-track-play{border:0;color:#fff;background:linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2))}
.nha-structured-track-play.is-playing{background:var(--nha-success)}
.nha-structured-track-download{border:1px solid var(--nha-border);color:var(--nha-text)!important;background:var(--nha-surface-2)}
.nha-structured-track-play svg,.nha-structured-track-download svg{width:16px;height:16px;fill:currentColor}
body.nha-dark-mode .nha-structured-playlist-head{background:linear-gradient(135deg,rgba(139,116,255,.15),rgba(36,196,166,.08))}
@media(max-width:640px){.nha-structured-playlist{margin:15px 0 22px;border-radius:17px}.nha-structured-playlist-head{padding:14px}.nha-structured-playlist-head h2{font-size:14px!important}.nha-structured-track{grid-template-columns:34px minmax(0,1fr) 39px 39px;gap:7px;padding:10px}.nha-structured-track-number{width:30px;height:30px}.nha-structured-track-info strong{font-size:10px}.nha-structured-track-info small{font-size:8px}.nha-structured-track-play,.nha-structured-track-download{width:39px;min-height:39px;padding:0}.nha-structured-track-play span,.nha-structured-track-download span{display:none}}

/* =========================================================
   Long playlist performance and discovery — v1.9.0
   ========================================================= */
.nha-structured-playlist-head-meta {
  min-width: 170px;
  display: grid;
  justify-items: end;
  gap: 5px;
}
.nha-structured-playlist-head-meta > strong {
  padding: 7px 11px;
  border: 1px solid rgba(24,167,123,.18);
  border-radius: 999px;
  color: var(--nha-accent);
  background: rgba(24,167,123,.08);
  font-size: 10px;
  white-space: nowrap;
}
.nha-structured-playlist-head > strong { display: none; }
.nha-structured-playlist-current {
  max-width: 240px;
  overflow: hidden;
  color: var(--nha-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nha-structured-playlist-tools {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--nha-border);
  background: color-mix(in srgb,var(--nha-surface-2) 62%,transparent);
}
.nha-structured-playlist-search {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid var(--nha-border);
  border-radius: 13px;
  background: var(--nha-surface);
}
.nha-structured-playlist-search:focus-within {
  border-color: color-mix(in srgb,var(--nha-accent) 60%,var(--nha-border));
  box-shadow: 0 0 0 3px rgba(24,167,123,.09);
}
.nha-structured-playlist-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: var(--nha-muted);
}
.nha-structured-playlist-search input {
  min-width: 0;
  width: 100%;
  height: 41px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--nha-text);
  background: transparent;
  font-size: 11px;
}
.nha-structured-playlist-search input::placeholder { color: var(--nha-muted); }
.nha-structured-playlist-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 18px 10px;
  border-bottom: 1px solid var(--nha-border);
  color: var(--nha-muted);
  background: color-mix(in srgb,var(--nha-surface-2) 45%,transparent);
  font-size: 9px;
}
.nha-structured-track.is-current {
  border-color: color-mix(in srgb,var(--nha-accent) 28%,var(--nha-border));
  background: linear-gradient(90deg,rgba(24,167,123,.11),rgba(36,196,166,.045));
}
.nha-structured-track.is-current .nha-structured-track-number {
  color: #fff;
  background: linear-gradient(135deg,var(--nha-accent),var(--nha-accent-2));
  box-shadow: 0 7px 18px rgba(24,167,123,.22);
}
.nha-structured-playlist-more {
  width: calc(100% - 28px);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb,var(--nha-accent) 25%,var(--nha-border));
  border-radius: 14px;
  color: var(--nha-accent);
  background: rgba(24,167,123,.07);
  font-size: 10px;
  font-weight: 900;
  transition: transform .18s ease,background .18s ease,border-color .18s ease;
}
.nha-structured-playlist-more:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb,var(--nha-accent) 55%,var(--nha-border));
  background: rgba(24,167,123,.12);
}
.nha-structured-playlist-more small {
  color: var(--nha-muted);
  font-size: 8px;
  font-weight: 700;
}
.nha-structured-playlist-empty,
.nha-structured-playlist-noscript {
  margin: 0;
  padding: 30px 18px;
  color: var(--nha-muted);
  text-align: center;
  font-size: 10px;
}
body.nha-dark-mode .nha-structured-playlist-tools,
body.nha-dark-mode .nha-structured-playlist-summary {
  background: rgba(255,255,255,.018);
}
body.nha-dark-mode .nha-structured-track.is-current {
  background: linear-gradient(90deg,rgba(139,116,255,.16),rgba(36,196,166,.055));
}
@media (max-width: 640px) {
  .nha-structured-playlist-head { align-items: flex-start; }
  .nha-structured-playlist-head-meta { min-width: 0; justify-items: end; }
  .nha-structured-playlist-current { max-width: 145px; font-size: 8px; }
  .nha-structured-playlist-tools { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .nha-structured-playlist-summary { padding: 7px 11px; }
  .nha-structured-playlist-more { width: calc(100% - 20px); margin: 10px; }
}


/* =========================================================
   Featured cards overlay collision fix — v2.0.1
   Keep the rating badge away from the floating play button.
   ========================================================= */
.nha-featured-media .nha-play-fab {
  z-index: 6;
}
.nha-featured-media .nha-rating-badge--overlay {
  right: auto;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  max-width: calc(100% - 76px);
}
.nha-featured-media .nha-view-badge--overlay {
  left: 12px;
  bottom: 44px;
  z-index: 5;
}
.nha-featured-media .nha-track-count {
  left: 10px;
  top: 52px;
  bottom: auto;
}
@media (max-width: 640px) {
  .nha-featured-media .nha-rating-badge--overlay {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 68px);
  }
  .nha-featured-media .nha-view-badge--overlay {
    left: 10px;
    bottom: 40px;
  }
}


/* =========================================================
   Public playlist cleanup — v2.0.2
   Link-health filtering belongs to wp-admin, not listeners.
   ========================================================= */
.nha-structured-playlist-tools .nha-structured-playlist-search { width: 100%; }


/* Noorahang category directory — v0.1.0 */
.nha-category-directory { margin: 0 0 34px; }
.nha-category-directory-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.nha-category-directory-card { --nha-cat:#18a77b; min-width:0; display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:10px; padding:12px; border:1px solid var(--nha-border); border-radius:16px; background:var(--nha-surface); box-shadow:0 10px 28px rgba(31,37,56,.045); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.nha-category-directory-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--nha-cat) 35%,var(--nha-border)); box-shadow:0 15px 35px color-mix(in srgb,var(--nha-cat) 10%,transparent); }
.nha-category-directory-card .nha-category-directory-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; color:var(--nha-cat); background:color-mix(in srgb,var(--nha-cat) 11%,var(--nha-surface-2)); }
.nha-category-directory-card svg { width:21px; height:21px; fill:currentColor; }
.nha-category-directory-card span:last-child { min-width:0; display:grid; line-height:1.45; }
.nha-category-directory-card strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.nha-category-directory-card small { color:var(--nha-muted); font-size:8px; }
.nha-category-directory-card.is-remix { --nha-cat:#ef5b86; }
.nha-category-directory-card.is-album { --nha-cat:#e59a22; }
.nha-category-directory-card.is-special { --nha-cat:#d34d8c; }
.nha-category-directory-card.is-happy { --nha-cat:#f0a51b; }
.nha-category-directory-card.is-sad { --nha-cat:#5a72d8; }
.nha-category-directory-card.is-local { --nha-cat:#b56f3f; }
.nha-category-directory-card.is-traditional { --nha-cat:#8a64b8; }
.nha-category-directory-card.is-instrumental { --nha-cat:#2c9db2; }
.nha-category-directory-card.is-foreign { --nha-cat:#3978cb; }
.nha-category-directory-card.is-nohe { --nha-cat:#60746b; }
.nha-category-tile.is-special { --nha-tile:#d34d8c; }
.nha-category-archive.is-happy .nha-category-hero { --nha-cat-accent:#f0a51b; }
.nha-category-archive.is-sad .nha-category-hero { --nha-cat-accent:#5a72d8; }
.nha-category-archive.is-local .nha-category-hero { --nha-cat-accent:#b56f3f; }
.nha-category-archive.is-traditional .nha-category-hero { --nha-cat-accent:#8a64b8; }
.nha-category-archive.is-instrumental .nha-category-hero { --nha-cat-accent:#2c9db2; }
.nha-category-archive.is-foreign .nha-category-hero { --nha-cat-accent:#3978cb; }
.nha-category-archive.is-nohe .nha-category-hero { --nha-cat-accent:#60746b; }
@media (max-width:1100px){.nha-category-directory-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media (max-width:700px){.nha-category-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nha-category-directory-card{padding:9px}.nha-category-directory-card .nha-category-directory-icon{width:36px;height:36px}.nha-category-directory-card strong{font-size:10px}}

/* ========================================================================== 
   NOORAHANG PERSIAN VISUAL SYSTEM — v0.3.0
   Modern Persian music portal: turquoise tilework, navy ink and saffron detail.
   ========================================================================== */
:root {
  --nha-bg: #f5f7fa;
  --nha-surface: #ffffff;
  --nha-surface-2: #eef3f5;
  --nha-text: #17243a;
  --nha-muted: #697487;
  --nha-border: #e2e8ee;
  --nha-dark: #14243b;
  --nha-dark-2: #0d192b;
  --nha-accent-2: #d5a12e;
  --nha-turquoise: #087f83;
  --nha-turquoise-dark: #05666a;
  --nha-saffron: #d9a62e;
  --nha-pomegranate: #b93549;
  --nha-navy: #14243b;
  --nha-soft-blue: #e9f4f4;
  --nha-soft-gold: #fbf5e6;
  --nha-soft-red: #fbecf0;
  --nha-shadow: 0 14px 38px rgba(22, 36, 58, .075);
  --nha-shadow-lg: 0 26px 70px rgba(10, 29, 48, .15);
  --nha-radius: 20px;
  --nha-radius-sm: 12px;
  --nha-container: 1240px;
}

body {
  background:
    radial-gradient(circle at 6% 0, rgba(8,127,131,.055), transparent 26rem),
    radial-gradient(circle at 94% 20%, rgba(217,166,46,.045), transparent 24rem),
    var(--nha-bg);
  color: var(--nha-text);
  font-weight: 400;
}
body.nha-dark-mode {
  --nha-bg: #0e1726;
  --nha-surface: #152238;
  --nha-surface-2: #1d2d44;
  --nha-text: #f5f7fa;
  --nha-muted: #aeb9c9;
  --nha-border: #2d3d54;
  --nha-dark: #08111f;
  --nha-dark-2: #050b14;
  --nha-soft-blue: #17363c;
  --nha-soft-gold: #3a321e;
  --nha-soft-red: #3b2230;
  --nha-shadow: 0 16px 42px rgba(0,0,0,.22);
  --nha-shadow-lg: 0 28px 72px rgba(0,0,0,.36);
  background:
    radial-gradient(circle at 6% 0, rgba(8,127,131,.11), transparent 28rem),
    radial-gradient(circle at 94% 20%, rgba(217,166,46,.06), transparent 24rem),
    var(--nha-bg);
}

/* Header */
.nha-site-header.nha-persian-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--nha-text);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--nha-border);
  box-shadow: 0 7px 24px rgba(20,36,59,.055);
  backdrop-filter: blur(16px);
}
body.nha-dark-mode .nha-site-header.nha-persian-header { background: rgba(14,23,38,.96); }
.nha-header-notice {
  padding: 7px 0;
  color: #fff;
  background: var(--nha-pomegranate);
  border: 0;
}
.nha-header-notice .nha-container { display:flex; align-items:center; justify-content:center; gap:10px; }
.nha-notice-label {
  padding: 2px 8px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}
.nha-header-notice a,.nha-header-notice span { color:#fff; font-size:11px; }
.nha-header-notice a b { margin-right:9px; text-decoration:underline; text-underline-offset:3px; }
.nha-masthead-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(290px, 560px) auto;
  gap: 26px;
  align-items: center;
}
.nha-masthead-brand { display:flex; align-items:center; gap:14px; min-width:0; }
.nha-persian-header .nha-brand { gap:11px; }
.nha-persian-header .nha-brand-mark {
  position: relative;
  width: 49px;
  height: 49px;
  border-radius: 16px 16px 16px 5px;
  color: #fff;
  background: var(--nha-accent);
  box-shadow: 0 10px 24px color-mix(in srgb,var(--nha-accent) 27%,transparent);
}
.nha-persian-header .nha-brand-mark::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 11px 11px 11px 3px;
}
.nha-persian-header .nha-brand-mark svg { position:relative; z-index:1; }
.nha-persian-header .nha-brand-title { color:var(--nha-navy); font-size:21px; font-weight:700; }
body.nha-dark-mode .nha-persian-header .nha-brand-title { color:var(--nha-text); }
.nha-persian-header .nha-brand-tagline { color:var(--nha-muted); font-size:9px; }
.nha-onair-badge {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding-right:12px;
  border-right:1px solid var(--nha-border);
  color:var(--nha-muted);
  font-size:9px;
  white-space:nowrap;
}
.nha-onair-badge i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--nha-accent);
  box-shadow:0 0 0 5px color-mix(in srgb,var(--nha-accent) 12%,transparent);
  animation:nha-pulse-dot 1.8s ease-in-out infinite;
}
@keyframes nha-pulse-dot { 50% { transform:scale(.75); opacity:.55; } }
.nha-masthead-search .nha-search-shell { position:relative; }
.nha-masthead-search .nha-search-form {
  gap:6px;
  padding:5px;
  border:1px solid var(--nha-border);
  border-radius:14px;
  background:var(--nha-surface-2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}
.nha-masthead-search .nha-search-form input {
  min-height:42px;
  padding-inline:14px;
  border:0;
  color:var(--nha-text);
  background:transparent;
}
.nha-masthead-search .nha-search-form input::placeholder { color:var(--nha-muted); }
.nha-masthead-search .nha-search-form button {
  min-width:92px;
  min-height:42px;
  border-radius:10px;
  color:#fff;
  background:var(--nha-accent);
  box-shadow:none;
}
.nha-masthead-search .nha-search-form button:hover { background:var(--nha-turquoise-dark); }
.nha-persian-header .nha-header-actions { justify-content:flex-end; gap:6px; }
.nha-persian-header .nha-icon-button {
  width:auto;
  min-width:42px;
  height:42px;
  padding:0 11px;
  border:1px solid var(--nha-border);
  border-radius:12px;
  color:var(--nha-text);
  background:var(--nha-surface);
  box-shadow:none;
}
.nha-persian-header .nha-icon-button:hover {
  color:#fff;
  border-color:var(--nha-accent);
  background:var(--nha-accent);
  transform:none;
}
.nha-action-label { margin-right:6px; font-size:9px; font-weight:700; }
.nha-persian-header .nha-menu-toggle,.nha-persian-header .nha-search-toggle { display:none; }
.nha-nav-deck {
  border-top:1px solid var(--nha-border);
  background:var(--nha-navy);
}
.nha-nav-deck-inner { min-height:48px; display:flex; align-items:center; gap:14px; }
.nha-nav-cue {
  align-self:stretch;
  display:flex;
  align-items:center;
  padding:0 17px;
  color:var(--nha-navy);
  background:var(--nha-saffron);
  font-size:10px;
  font-weight:700;
}
.nha-persian-header .nha-primary-nav { margin:0; flex:1; }
.nha-persian-header .nha-primary-nav ul { gap:2px; }
.nha-persian-header .nha-primary-nav a {
  position:relative;
  padding:13px 13px 12px;
  border-radius:0;
  color:rgba(255,255,255,.76);
  font-size:11px;
  font-weight:500;
}
.nha-persian-header .nha-primary-nav a::after {
  content:'';
  position:absolute;
  right:13px;
  left:13px;
  bottom:7px;
  height:2px;
  border-radius:99px;
  background:var(--nha-saffron);
  transform:scaleX(0);
  transition:.2s ease;
}
.nha-persian-header .nha-primary-nav a:hover,.nha-persian-header .nha-primary-nav .current-menu-item>a { color:#fff; background:transparent; }
.nha-persian-header .nha-primary-nav a:hover::after,.nha-persian-header .nha-primary-nav .current-menu-item>a::after { transform:scaleX(1); }
.nha-header-socials { display:flex; align-items:center; gap:8px; }
.nha-header-socials a { color:rgba(255,255,255,.64); font-size:9px; }
.nha-header-socials a:hover { color:var(--nha-saffron); }
.nha-header-socials a+a::before { content:'•'; margin-left:8px; color:rgba(255,255,255,.25); }

/* Hero */
.nha-broadcast-hero.nha-persian-hero {
  position:relative;
  overflow:hidden;
  padding:30px 0 40px;
  color:#fff;
  background:transparent;
  border:0;
}
.nha-persian-hero::before { display:none; }
.nha-persian-hero .nha-container {
  position:relative;
  padding:32px;
  border-radius:28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.035) 25%, transparent 25%) 0 0/32px 32px,
    linear-gradient(315deg, rgba(255,255,255,.025) 25%, transparent 25%) 0 0/32px 32px,
    linear-gradient(135deg,var(--nha-navy),#1b3652 68%,#184a50);
  box-shadow:var(--nha-shadow-lg);
}
.nha-persian-hero .nha-container::after {
  content:'';
  position:absolute;
  left:7%;
  bottom:-95px;
  width:250px;
  height:250px;
  border:1px solid rgba(217,166,46,.26);
  border-radius:50%;
  box-shadow:0 0 0 28px rgba(217,166,46,.035),0 0 0 58px rgba(217,166,46,.025);
  pointer-events:none;
}
.nha-broadcast-grid {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:.86fr 1.18fr .76fr;
  gap:18px;
  align-items:stretch;
}
.nha-broadcast-intro {
  min-height:470px;
  padding:28px 24px 22px;
  border:0;
  border-radius:20px;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);
  display:flex;
  flex-direction:column;
  backdrop-filter:blur(8px);
}
.nha-broadcast-label { display:flex; align-items:center; gap:8px; color:#86d9d3; font-size:10px; font-weight:700; }
.nha-broadcast-label span { width:24px; height:2px; background:var(--nha-saffron); }
.nha-broadcast-intro h1 {
  margin:24px 0 14px;
  max-width:390px;
  color:#fff;
  font-size:clamp(30px,4vw,47px);
  font-weight:700;
  line-height:1.45;
  letter-spacing:-.6px;
}
body.nha-dark-mode .nha-broadcast-intro h1 { color:#fff; }
.nha-broadcast-intro p { margin:0; color:rgba(255,255,255,.69); font-size:13px; line-height:2; }
.nha-broadcast-actions { display:flex; gap:9px; margin-top:23px; }
.nha-broadcast-actions a {
  min-height:43px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:12px;
  font-size:10px;
  font-weight:700;
}
.nha-broadcast-primary { color:var(--nha-navy); background:var(--nha-saffron); border-color:var(--nha-saffron)!important; }
.nha-broadcast-secondary { color:#fff; background:rgba(255,255,255,.055); }
.nha-broadcast-actions a:hover { color:#fff; border-color:var(--nha-accent)!important; background:var(--nha-accent); }
.nha-broadcast-numbers {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:auto;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.11);
}
.nha-broadcast-numbers>div { padding:11px 12px; border-radius:12px; background:rgba(255,255,255,.055); }
.nha-broadcast-numbers strong { display:block; color:#fff; font-size:22px; line-height:1.2; }
.nha-broadcast-numbers span { color:rgba(255,255,255,.55); font-size:9px; }
.nha-waveform { display:none; }
.nha-broadcast-feature { min-width:0; }
.nha-spotlight-card.nha-broadcast-card {
  min-height:470px;
  height:100%;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  overflow:hidden;
  border:0;
  border-radius:22px;
  color:var(--nha-text);
  background:var(--nha-surface);
  box-shadow:0 24px 55px rgba(0,0,0,.18);
}
.nha-broadcast-card .nha-broadcast-card-media { position:relative; min-height:0; overflow:hidden; margin:0; }
.nha-broadcast-card .nha-spotlight-backdrop { position:static; width:100%; height:100%; min-height:290px; object-fit:cover; filter:none; transform:none; opacity:1; }
.nha-broadcast-card-media::after { content:''; position:absolute; inset:auto 0 0; height:48%; background:linear-gradient(transparent,rgba(10,20,34,.63)); pointer-events:none; }
.nha-broadcast-card-sticker {
  position:absolute;
  top:15px;
  right:15px;
  z-index:2;
  padding:6px 10px;
  border-radius:999px;
  color:var(--nha-navy);
  background:var(--nha-saffron);
  font-size:9px;
  font-weight:700;
}
.nha-broadcast-disc { display:none; }
.nha-broadcast-card .nha-spotlight-content { position:static; padding:18px 20px 20px; color:var(--nha-text); background:var(--nha-surface); }
.nha-broadcast-card .nha-spotlight-tags { display:flex; gap:7px; margin-bottom:9px; }
.nha-broadcast-card .nha-spotlight-tags a,.nha-broadcast-card .nha-spotlight-tags span { padding:4px 8px; border-radius:999px; color:var(--nha-accent); background:var(--nha-soft-blue); font-size:8px; font-weight:700; }
.nha-broadcast-card .nha-spotlight-content h2 { margin:0; color:var(--nha-text); font-size:19px; line-height:1.75; }
.nha-broadcast-card .nha-spotlight-meta { display:flex; gap:12px; margin-top:7px; color:var(--nha-muted); font-size:9px; }
.nha-broadcast-card .nha-spotlight-actions { display:flex; align-items:center; gap:9px; margin-top:15px; }
.nha-broadcast-card .nha-spotlight-play {
  min-height:40px;
  padding:0 14px;
  border:0;
  border-radius:11px;
  color:#fff;
  background:var(--nha-accent);
  box-shadow:none;
}
.nha-broadcast-card .nha-spotlight-details { color:var(--nha-text); font-size:9px; font-weight:700; }
.nha-broadcast-queue {
  min-height:470px;
  display:flex;
  flex-direction:column;
  padding:18px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:20px;
  color:#fff;
  background:rgba(5,15,29,.34);
  backdrop-filter:blur(8px);
}
.nha-queue-head { display:flex; align-items:center; justify-content:space-between; padding-bottom:13px; border-bottom:1px solid rgba(255,255,255,.11); }
.nha-queue-head span { color:#fff; font-size:11px; font-weight:700; }
.nha-queue-head b { min-width:25px; height:25px; display:grid; place-items:center; border-radius:8px; color:var(--nha-navy); background:var(--nha-saffron); font-size:9px; }
.nha-queue-list { display:grid; gap:0; }
.nha-queue-item { display:grid; grid-template-columns:48px minmax(0,1fr) 30px; gap:10px; align-items:center; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.09); }
.nha-queue-cover { width:48px; height:48px; overflow:hidden; border-radius:12px; }
.nha-queue-thumb { width:100%; height:100%; object-fit:cover; }
.nha-queue-copy h3 { margin:0; overflow:hidden; color:#fff; font-size:10px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.nha-queue-copy span { display:block; margin-top:3px; color:rgba(255,255,255,.52); font-size:8px; }
.nha-queue-play { width:30px; height:30px; border:0; border-radius:10px; color:var(--nha-navy); background:var(--nha-saffron); }
.nha-queue-play svg { width:11px; fill:currentColor; }
.nha-queue-more { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:14px; color:rgba(255,255,255,.68); font-size:9px; font-weight:700; }
.nha-queue-more:hover { color:var(--nha-saffron); }

/* Homepage sections */
.nha-editorial-home { padding-top:14px; }
.nha-genre-dial {
  margin:0 0 34px;
  padding:24px;
  border:1px solid var(--nha-border);
  border-radius:22px;
  background:var(--nha-surface);
  box-shadow:var(--nha-shadow);
}
.nha-editorial-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.nha-editorial-heading>div>span,.nha-shelf-heading>span,.nha-chart-heading>span,.nha-ranking-stage-copy>span { color:var(--nha-accent); font-size:9px; font-weight:700; }
.nha-editorial-heading h2,.nha-shelf-heading h2,.nha-chart-heading h2,.nha-ranking-stage-copy h2 { margin:3px 0 0; font-size:22px; line-height:1.5; }
.nha-editorial-heading p { max-width:520px; margin:0; color:var(--nha-muted); font-size:10px; }
.nha-genre-track { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; overflow:visible; padding:0; }
.nha-genre-disc {
  min-width:0;
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:0 10px;
  align-items:center;
  padding:11px;
  border:1px solid var(--nha-border);
  border-radius:15px;
  color:var(--nha-text)!important;
  background:var(--nha-surface-2);
  transition:.2s ease;
}
.nha-genre-disc:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--nha-accent) 40%,var(--nha-border)); background:var(--nha-surface); box-shadow:0 12px 26px rgba(20,36,59,.08); }
.nha-genre-disc-art { grid-row:1/3; width:46px; height:46px; display:grid; place-items:center; border-radius:14px 14px 14px 5px; background:var(--nha-accent); box-shadow:none; transform:none; }
.nha-genre-disc-art::before,.nha-genre-disc-art::after { display:none; }
.nha-genre-disc-art i { width:auto; height:auto; display:grid; place-items:center; border:0; border-radius:0; background:none; }
.nha-genre-disc-art svg { width:20px; height:20px; fill:#fff; }
.nha-genre-disc strong { align-self:end; overflow:hidden; font-size:10px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.nha-genre-disc small { align-self:start; color:var(--nha-muted); font-size:8px; }
.nha-genre-disc.is-happy .nha-genre-disc-art,.nha-genre-disc.is-album .nha-genre-disc-art { background:var(--nha-saffron); }
.nha-genre-disc.is-sad .nha-genre-disc-art,.nha-genre-disc.is-special .nha-genre-disc-art { background:var(--nha-pomegranate); }
.nha-genre-disc.is-foreign .nha-genre-disc-art { background:#3c6fc2; }
.nha-genre-disc.is-traditional .nha-genre-disc-art,.nha-genre-disc.is-local .nha-genre-disc-art { background:#5d7d57; }

.nha-newsroom-layout { display:grid; grid-template-columns:minmax(0,1fr) 315px; gap:24px; align-items:start; }
.nha-newsroom-main { min-width:0; }
.nha-editorial-heading--line { padding-bottom:13px; border-bottom:1px solid var(--nha-border); }
.nha-editorial-heading--line>a { color:var(--nha-accent); font-size:10px; font-weight:700; }
.nha-release-board { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.nha-music-card.nha-release-row {
  min-width:0;
  display:grid;
  grid-template-columns:30px 78px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  min-height:102px;
  padding:11px;
  overflow:visible;
  border:1px solid var(--nha-border);
  border-radius:17px;
  background:var(--nha-surface);
  box-shadow:0 7px 20px rgba(20,36,59,.04);
  transition:.2s ease;
}
.nha-music-card.nha-release-row:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--nha-accent) 32%,var(--nha-border)); box-shadow:0 14px 30px rgba(20,36,59,.08); }
.nha-release-number { width:25px; height:25px; display:grid; place-items:center; border-radius:8px; color:var(--nha-accent); background:var(--nha-soft-blue); font-size:9px; font-weight:700; }
.nha-release-row .nha-music-thumb-wrap { width:78px; height:78px; min-height:0; overflow:hidden; border-radius:14px; }
.nha-release-row .nha-music-thumb { width:100%; height:100%; object-fit:cover; }
.nha-music-play-mark { position:absolute; inset:0; display:grid; place-items:center; color:#fff; background:rgba(10,25,40,.22); opacity:0; transition:.2s ease; }
.nha-release-row:hover .nha-music-play-mark { opacity:1; }
.nha-release-row .nha-music-body { min-width:0; padding:0; }
.nha-release-overline { display:flex; gap:7px; align-items:center; margin-bottom:4px; color:var(--nha-muted); font-size:8px; }
.nha-release-overline a { color:var(--nha-accent); font-weight:700; }
.nha-release-row .nha-music-title { margin:0 0 4px; font-size:12px; font-weight:700; }
.nha-release-row .nha-music-info { color:var(--nha-muted); font-size:9px; }
.nha-release-row .nha-music-actions { display:flex; align-items:center; gap:5px; margin:0; }
.nha-release-row .nha-inline-play {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:12px;
  color:#fff;
  background:var(--nha-accent);
}
.nha-release-row .nha-inline-play span { display:none; }
.nha-release-row .nha-inline-play svg { width:13px; fill:currentColor; }
.nha-release-row .nha-details-link { width:29px; height:29px; display:grid; place-items:center; border-radius:9px; color:var(--nha-text); background:var(--nha-surface-2); }
.nha-newsroom-sidebar { position:sticky; top:146px; display:grid; gap:14px; }
.nha-chart-panel {
  overflow:hidden;
  padding:18px;
  border:1px solid var(--nha-border);
  border-radius:19px;
  background:var(--nha-surface);
  box-shadow:var(--nha-shadow);
}
.nha-chart-panel--dark { color:#fff; border:0; background:linear-gradient(145deg,var(--nha-navy),#1d3b54); }
.nha-chart-panel--dark .nha-chart-heading>span { color:#80d2ce; }
.nha-chart-panel--dark .nha-chart-heading h2 { color:#fff; }
.nha-chart-heading { margin-bottom:12px; }
.nha-chart-heading h2 { font-size:16px; }
.nha-chart-panel .nha-mini-item { padding:9px 0; }
.nha-chart-panel--dark .nha-mini-item { border-color:rgba(255,255,255,.1); }
.nha-chart-panel--dark .nha-mini-title { color:#fff; }
.nha-chart-panel--dark .nha-mini-meta { color:rgba(255,255,255,.55); }
.nha-chart-panel--dark .nha-mini-play { color:var(--nha-navy); background:var(--nha-saffron); }
.nha-chart-panel--paper { border-top:3px solid var(--nha-saffron); }
.nha-chart-panel--artists { border-top:3px solid var(--nha-accent); }

.nha-ranking-stage.nha-most-viewed {
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:22px;
  margin:36px 0;
  padding:26px;
  border:0;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(135deg,var(--nha-navy),#1b3e50);
  box-shadow:var(--nha-shadow-lg);
}
.nha-ranking-stage::before { content:''; position:absolute; width:260px; height:260px; right:-130px; bottom:-150px; border:38px solid rgba(217,166,46,.07); border-radius:50%; }
.nha-ranking-stage-copy { position:relative; z-index:1; }
.nha-ranking-stage-copy>span { color:#83d4d1; }
.nha-ranking-stage-copy h2 { color:#fff; font-size:22px; }
.nha-ranking-stage-copy p { color:rgba(255,255,255,.6); font-size:10px; line-height:1.9; }
.nha-ranking-stage .nha-view-tabs { display:flex; flex-wrap:wrap; gap:6px; margin:16px 0 0; }
.nha-ranking-stage .nha-view-tabs button { min-height:33px; padding:0 11px; border:1px solid rgba(255,255,255,.14); border-radius:9px; color:rgba(255,255,255,.66); background:rgba(255,255,255,.045); }
.nha-ranking-stage .nha-view-tabs button:hover,.nha-ranking-stage .nha-view-tabs button.is-active { color:var(--nha-navy); border-color:var(--nha-saffron); background:var(--nha-saffron); }
.nha-ranking-stage-results { position:relative; z-index:1; }
.nha-ranking-stage .nha-viewed-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.nha-ranking-stage .nha-viewed-item { border:1px solid rgba(255,255,255,.1); border-radius:15px; background:rgba(255,255,255,.06); }
.nha-ranking-stage .nha-viewed-title { color:#fff; }
.nha-ranking-stage .nha-viewed-item>div span { color:rgba(255,255,255,.52); }
.nha-ranking-stage .nha-viewed-item>b { color:var(--nha-navy); background:var(--nha-saffron); }

.nha-shelf-section {
  margin:0 0 28px;
  padding:22px;
  border:1px solid var(--nha-border);
  border-radius:22px;
  background:var(--nha-surface);
  box-shadow:var(--nha-shadow);
}
.nha-shelf-section.is-reversed { background:linear-gradient(145deg,var(--nha-surface),var(--nha-soft-blue)); }
.nha-shelf-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 20px; align-items:end; margin-bottom:17px; padding-right:13px; border-right:4px solid var(--nha-accent); }
.nha-shelf-heading>span { grid-column:1; }
.nha-shelf-heading h2 { grid-column:1; font-size:20px; }
.nha-shelf-heading>a { grid-column:2; grid-row:1/3; align-self:center; color:var(--nha-accent); font-size:10px; font-weight:700; }
.nha-shelf-cards { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.nha-featured-card.nha-album-card {
  overflow:hidden;
  border:1px solid var(--nha-border);
  border-radius:17px;
  background:var(--nha-surface);
  box-shadow:none;
}
.nha-featured-card.nha-album-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--nha-accent) 30%,var(--nha-border)); box-shadow:0 15px 30px rgba(20,36,59,.09); }
.nha-album-card .nha-featured-media { margin:8px 8px 0; overflow:hidden; border-radius:13px; aspect-ratio:1/1; }
.nha-album-card .nha-album-groove { display:none; }
.nha-album-card .nha-badge { top:16px; right:16px; border-radius:8px; background:rgba(20,36,59,.78); }
.nha-album-card .nha-play-fab { right:16px; bottom:12px; width:39px; height:39px; border-radius:12px; background:var(--nha-accent); box-shadow:0 8px 18px rgba(0,0,0,.18); }
.nha-album-card .nha-featured-body { padding:11px 12px 13px; }
.nha-album-card-index { margin-bottom:4px; color:var(--nha-accent); font-size:7px; font-weight:700; letter-spacing:0; }
.nha-album-card .nha-card-title { font-size:11px; font-weight:700; line-height:1.8; }
.nha-album-card .nha-card-meta { display:flex; justify-content:space-between; gap:8px; margin-top:7px; color:var(--nha-muted); font-size:8px; }
.nha-album-card .nha-card-meta a { color:var(--nha-accent); font-weight:700; }

/* Footer */
.nha-site-footer.nha-persian-footer {
  position:relative;
  overflow:hidden;
  margin-top:42px;
  padding:0;
  color:#fff;
  background:var(--nha-navy);
}
.nha-persian-footer::before {
  content:'';
  position:absolute;
  inset:0;
  opacity:.07;
  background:
    linear-gradient(45deg,transparent 40%,#fff 40% 44%,transparent 44% 56%,#fff 56% 60%,transparent 60%) 0 0/42px 42px;
  pointer-events:none;
}
.nha-persian-footer .nha-container { position:relative; z-index:1; }
.nha-footer-marquee { min-height:49px; display:flex; align-items:center; justify-content:center; gap:18px; border-bottom:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.48); font-size:10px; font-weight:700; }
.nha-footer-marquee i { width:5px; height:5px; border-radius:50%; background:var(--nha-saffron); }
.nha-footer-studio { display:grid; grid-template-columns:1.05fr 1.15fr .8fr; gap:32px; padding:38px 0 30px; }
.nha-footer-brand-column .nha-brand-title,.nha-footer-brand-column .nha-brand-tagline { color:#fff; }
.nha-footer-brand-column p { max-width:370px; color:rgba(255,255,255,.62); font-size:10px; line-height:2; }
.nha-footer-frequency { display:inline-flex; align-items:center; gap:10px; margin-top:9px; padding:8px 11px; border:1px solid rgba(255,255,255,.12); border-radius:11px; background:rgba(255,255,255,.045); }
.nha-footer-frequency span { color:rgba(255,255,255,.55); font-size:8px; }
.nha-footer-frequency strong { color:var(--nha-saffron); font-size:11px; }
.nha-footer-search-stage { padding:20px; border:1px solid rgba(255,255,255,.1); border-radius:18px; background:rgba(255,255,255,.045); }
.nha-footer-search-stage>span { color:#80d2ce; font-size:9px; font-weight:700; }
.nha-footer-search-stage h2 { margin:5px 0 3px; color:#fff; font-size:17px; }
.nha-footer-search-stage p { margin:0 0 12px; color:rgba(255,255,255,.5); font-size:9px; }
.nha-footer-search .nha-search-form { gap:6px; }
.nha-footer-search .nha-search-form input { min-height:43px; border:1px solid rgba(255,255,255,.12); border-radius:11px; color:#fff; background:rgba(255,255,255,.055); }
.nha-footer-search .nha-search-form button { min-width:78px; border-radius:10px; color:var(--nha-navy); background:var(--nha-saffron); }
.nha-footer-title { margin:0 0 13px; padding:0 0 9px; color:#fff; font-size:13px; }
.nha-footer-title::after { background:var(--nha-saffron); }
.nha-footer-list { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.nha-footer-list a { color:rgba(255,255,255,.62); font-size:9px; }
.nha-footer-list a:hover { color:var(--nha-saffron); }
.nha-footer-friends-strip { display:flex; align-items:center; gap:16px; padding:13px 0; border-top:1px solid rgba(255,255,255,.09); border-bottom:1px solid rgba(255,255,255,.09); }
.nha-footer-friends-strip>span { color:rgba(255,255,255,.44); font-size:9px; }
.nha-footer-friends-strip>div { display:flex; gap:8px; flex-wrap:wrap; }
.nha-footer-friends-strip a { display:flex; align-items:center; gap:6px; padding:6px 9px; border-radius:9px; color:#fff; background:rgba(255,255,255,.055); font-size:8px; }
.nha-footer-friends-strip small { color:rgba(255,255,255,.45); }
.nha-copyright { display:flex; align-items:center; gap:14px; min-height:54px; color:rgba(255,255,255,.46); font-size:8px; }
.nha-copyright a { margin-right:auto; color:var(--nha-saffron); }

/* Single post */
.nha-single-shell { max-width:1160px; }
.nha-breadcrumb { margin:0 0 14px; padding:0; border:0; background:transparent; }
.nha-breadcrumb ol { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin:0; padding:0; list-style:none; color:var(--nha-muted); font-size:9px; }
.nha-single-hero {
  position:relative;
  overflow:hidden;
  min-height:0;
  padding:0;
  border:1px solid var(--nha-border);
  border-radius:26px;
  color:var(--nha-text);
  background:var(--nha-surface);
  box-shadow:var(--nha-shadow-lg);
}
.nha-single-backdrop { position:absolute; inset:0; background-size:cover; background-position:center; filter:blur(42px) saturate(.8); transform:scale(1.25); opacity:.12; }
.nha-single-shade { position:absolute; inset:0; background:linear-gradient(90deg,var(--nha-surface) 25%,color-mix(in srgb,var(--nha-surface) 84%,transparent)); }
.nha-single-inner { position:relative; z-index:2; display:grid; grid-template-columns:285px minmax(0,1fr); gap:34px; align-items:center; padding:28px; }
.nha-single-cover-wrap { position:relative; width:100%; aspect-ratio:1/1; overflow:hidden; border-radius:22px; box-shadow:0 22px 48px rgba(20,36,59,.18); }
.nha-single-cover { width:100%; height:100%; object-fit:cover; }
.nha-cover-play { width:58px; height:58px; right:18px; bottom:18px; border:4px solid rgba(255,255,255,.62); border-radius:18px; color:#fff; background:var(--nha-accent); }
.nha-single-summary { min-width:0; padding:8px 0; }
.nha-single-kicker a,.nha-single-kicker span { display:inline-flex; padding:5px 10px; border-radius:999px; color:var(--nha-accent); background:var(--nha-soft-blue); font-size:9px; font-weight:700; }
.nha-single-title { margin:14px 0 14px; color:var(--nha-text); font-size:clamp(25px,4vw,40px); font-weight:700; line-height:1.55; text-shadow:none; }
.nha-single-singer { display:inline-flex; align-items:center; gap:9px; margin:0 0 13px; padding:7px 10px; border:1px solid var(--nha-border); border-radius:13px; color:var(--nha-text); background:var(--nha-surface-2); }
.nha-single-singer-avatar { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; color:#fff; background:var(--nha-accent); }
.nha-single-singer small { display:block; color:var(--nha-muted); font-size:8px; }
.nha-single-singer strong { display:block; font-size:11px; }
.nha-single-meta { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 17px; }
.nha-single-meta>span { display:inline-flex; align-items:center; gap:5px; padding:6px 9px; border:1px solid var(--nha-border); border-radius:9px; color:var(--nha-muted); background:var(--nha-surface); font-size:8px; }
.nha-single-meta svg { width:13px; height:13px; fill:var(--nha-accent); }
.nha-single-actions { display:flex; gap:8px; flex-wrap:wrap; }
.nha-single-actions button,.nha-single-actions>a { min-height:43px; border-radius:12px; }
.nha-hero-play { color:#fff; background:var(--nha-accent); box-shadow:none; }
.nha-hero-download { color:var(--nha-navy); background:var(--nha-saffron); }
.nha-single-favorite,.nha-single-actions .nha-copy-link { color:var(--nha-text); border:1px solid var(--nha-border); background:var(--nha-surface-2); }
.nha-single-body-grid { grid-template-columns:minmax(0,1fr) 320px; gap:22px; margin-top:22px; }
.nha-single-content,.nha-download-panel,.nha-single-categories,.nha-rating-box,.nha-view-summary,.nha-artist-card,.nha-share-panel,.nha-link-health {
  border:1px solid var(--nha-border);
  border-radius:20px;
  background:var(--nha-surface);
  box-shadow:var(--nha-shadow);
}
.nha-single-content { padding:27px; }
.nha-entry-content { color:var(--nha-text); }
.nha-entry-content h2 { position:relative; margin-top:34px; padding:11px 16px 11px 12px; border-right:4px solid var(--nha-accent); border-radius:12px; color:var(--nha-text); background:var(--nha-soft-blue); }
.nha-entry-content h3 { color:var(--nha-text); }
.nha-entry-content a { color:var(--nha-accent); }
.nha-download-panel { overflow:hidden; padding:0; }
.nha-download-head { padding:17px; color:#fff; background:linear-gradient(135deg,var(--nha-navy),#1d4452); }
.nha-download-icon { color:var(--nha-navy); background:var(--nha-saffron); }
.nha-download-head h2 { color:#fff; }
.nha-download-head p { color:rgba(255,255,255,.58); }
.nha-download-group { padding:15px; }
.nha-download-row { border:1px solid var(--nha-border); border-radius:13px; background:var(--nha-surface-2); }
.nha-download-play { color:#fff; background:var(--nha-accent); }
.nha-download-row>a { color:var(--nha-navy); background:var(--nha-saffron); }
.nha-download-note { margin:0 15px 15px; border-radius:11px; color:var(--nha-muted); background:var(--nha-soft-gold); }
.nha-structured-playlist { border-color:var(--nha-border); border-radius:18px; box-shadow:none; }
.nha-structured-playlist-head { color:#fff; background:linear-gradient(135deg,var(--nha-navy),#1c4d53); }
.nha-structured-track-number { color:var(--nha-accent); background:var(--nha-soft-blue); }
.nha-structured-track-play { background:var(--nha-accent); }
.nha-post-tax a { border-radius:999px; color:var(--nha-accent); background:var(--nha-soft-blue); }
.nha-artist-card { padding:18px; }
.nha-artist-card>a { border-radius:11px; color:#fff; background:var(--nha-accent); }
.nha-related { margin-top:28px; }
.nha-related .nha-featured-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }

/* Archive and utility pages */
.nha-category-hero,.nha-archive-header,.nha-search-results-header {
  border:1px solid var(--nha-border);
  border-radius:22px;
  background:var(--nha-surface);
  box-shadow:var(--nha-shadow);
}
.nha-category-hero-icon,.nha-archive-header-icon { border-radius:16px 16px 16px 5px; }
.nha-archive-tabs { border-radius:14px; }
.nha-archive-tabs a { border-radius:9px; }
.nha-archive-tabs a.is-active { background:var(--nha-accent); }
.nha-archive-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.nha-pagination .page-numbers { border-radius:10px; }
.nha-pagination .current,.nha-pagination .page-numbers:hover { background:var(--nha-accent); }

/* Player and overlays */
.nha-global-player {
  right:18px;
  left:18px;
  bottom:16px;
  width:auto;
  max-width:1040px;
  margin-inline:auto;
  border:1px solid rgba(255,255,255,.11);
  border-radius:18px;
  color:#fff;
  background:rgba(14,27,45,.96);
  box-shadow:0 24px 70px rgba(0,0,0,.3);
  backdrop-filter:blur(18px);
}
.nha-global-player .nha-container { width:100%; }
.nha-player-toggle { color:var(--nha-navy); background:var(--nha-saffron); }
.nha-player-progress::-webkit-slider-thumb,.nha-player-volume input::-webkit-slider-thumb { background:var(--nha-saffron); }
.nha-back-to-top { border-radius:13px; background:var(--nha-accent); }
.nha-mobile-drawer { color:#fff; background:var(--nha-navy); }
.nha-mobile-wave { display:none; }
.nha-mobile-nav a { border-radius:10px; }
.nha-mobile-library-button { border-radius:13px; background:var(--nha-accent); }

/* Theme options font status */
.nha-admin-font-status { display:inline-flex; padding:9px 12px; border:1px solid #cfe2e2; border-radius:10px; color:#086b6f; background:#eef8f8; font-weight:700; }

@media (max-width:1180px) {
  .nha-masthead-row { grid-template-columns:auto minmax(250px,1fr) auto; gap:18px; }
  .nha-onair-badge { display:none; }
  .nha-broadcast-grid { grid-template-columns:.82fr 1.18fr; }
  .nha-broadcast-queue { grid-column:1/-1; min-height:auto; }
  .nha-queue-list { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
  .nha-queue-item { padding:10px; border:1px solid rgba(255,255,255,.1); border-radius:12px; }
  .nha-queue-more { margin-top:13px; }
  .nha-genre-track { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .nha-shelf-cards { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .nha-related .nha-featured-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

@media (max-width:980px) {
  .nha-masthead-row { min-height:70px; grid-template-columns:1fr auto; }
  .nha-masthead-search { display:none; }
  .nha-persian-header .nha-search-toggle,.nha-persian-header .nha-menu-toggle { display:grid; }
  .nha-action-label { display:none; }
  .nha-nav-deck { display:none; }
  .nha-search-panel.is-open { display:block; padding:10px 0 14px; }
  .nha-search-panel .nha-search-form { padding:5px; border:1px solid var(--nha-border); border-radius:13px; background:var(--nha-surface-2); }
  .nha-search-panel .nha-search-form input { color:var(--nha-text); background:transparent; }
  .nha-search-panel .nha-search-form button { background:var(--nha-accent); }
  .nha-persian-hero .nha-container { padding:24px; border-radius:22px; }
  .nha-broadcast-grid { grid-template-columns:1fr 1fr; }
  .nha-broadcast-intro,.nha-spotlight-card.nha-broadcast-card { min-height:450px; }
  .nha-newsroom-layout { grid-template-columns:1fr; }
  .nha-newsroom-sidebar { position:static; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .nha-ranking-stage.nha-most-viewed { grid-template-columns:1fr; }
  .nha-footer-studio { grid-template-columns:1fr 1fr; }
  .nha-footer-section { grid-column:1/-1; }
  .nha-footer-list { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .nha-single-inner { grid-template-columns:235px minmax(0,1fr); gap:24px; }
  .nha-single-body-grid { grid-template-columns:1fr; }
  .nha-single-tools { position:static; }
}

@media (max-width:760px) {
  .nha-container { width:min(calc(100% - 22px),var(--nha-container)); }
  .nha-masthead-row { min-height:66px; gap:10px; }
  .nha-persian-header .nha-brand-mark { width:43px; height:43px; border-radius:14px 14px 14px 5px; }
  .nha-persian-header .nha-brand-title { font-size:18px; }
  .nha-persian-header .nha-brand-tagline { display:none; }
  .nha-persian-header .nha-icon-button { min-width:38px; width:38px; height:38px; padding:0; border-radius:11px; }
  .nha-library-toggle .nha-action-label { display:none; }
  .nha-persian-hero { padding:14px 0 28px; }
  .nha-persian-hero .nha-container { padding:15px; }
  .nha-broadcast-grid { grid-template-columns:1fr; }
  .nha-broadcast-intro { min-height:auto; padding:22px 18px; }
  .nha-broadcast-intro h1 { margin-top:18px; font-size:30px; }
  .nha-broadcast-intro p { font-size:11px; }
  .nha-broadcast-numbers { margin-top:22px; }
  .nha-spotlight-card.nha-broadcast-card { min-height:0; }
  .nha-broadcast-card .nha-spotlight-backdrop { min-height:250px; }
  .nha-broadcast-queue { min-height:0; padding:15px; }
  .nha-queue-list { grid-template-columns:1fr 1fr; }
  .nha-genre-dial { padding:17px; border-radius:18px; }
  .nha-editorial-heading { align-items:flex-start; flex-direction:column; gap:7px; }
  .nha-editorial-heading h2 { font-size:19px; }
  .nha-genre-track { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .nha-release-board { grid-template-columns:1fr; }
  .nha-newsroom-sidebar { grid-template-columns:1fr; }
  .nha-ranking-stage.nha-most-viewed { padding:19px; border-radius:19px; }
  .nha-ranking-stage .nha-viewed-grid { grid-template-columns:1fr; }
  .nha-shelf-section { padding:17px; border-radius:18px; }
  .nha-shelf-heading { grid-template-columns:1fr auto; }
  .nha-shelf-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .nha-footer-studio { grid-template-columns:1fr; gap:22px; padding:30px 0 24px; }
  .nha-footer-section { grid-column:auto; }
  .nha-footer-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nha-footer-friends-strip { align-items:flex-start; flex-direction:column; }
  .nha-copyright { align-items:flex-start; flex-direction:column; gap:4px; padding:13px 0; }
  .nha-copyright a { margin-right:0; }
  .nha-single-hero { border-radius:20px; }
  .nha-single-inner { grid-template-columns:1fr; padding:17px; }
  .nha-single-cover-wrap { max-width:300px; margin-inline:auto; }
  .nha-single-summary { text-align:center; }
  .nha-single-singer { margin-inline:auto; }
  .nha-single-meta,.nha-single-actions { justify-content:center; }
  .nha-single-title { font-size:26px; }
  .nha-single-content { padding:20px; }
  .nha-related .nha-featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nha-archive-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nha-global-player { right:8px; left:8px; bottom:8px; border-radius:15px; }
}

@media (max-width:460px) {
  .nha-persian-header .nha-theme-toggle { display:none; }
  .nha-broadcast-actions { flex-direction:column; }
  .nha-broadcast-actions a { width:100%; }
  .nha-queue-list { grid-template-columns:1fr; }
  .nha-genre-disc { grid-template-columns:39px minmax(0,1fr); padding:9px; }
  .nha-genre-disc-art { width:39px; height:39px; border-radius:12px 12px 12px 4px; }
  .nha-release-row .nha-music-actions .nha-card-favorite { display:none; }
  .nha-music-card.nha-release-row { grid-template-columns:25px 66px minmax(0,1fr) 39px; gap:8px; min-height:88px; padding:8px; }
  .nha-release-row .nha-music-thumb-wrap { width:66px; height:66px; border-radius:12px; }
  .nha-release-row .nha-details-link { display:none; }
  .nha-shelf-heading>a { font-size:8px; }
  .nha-album-card .nha-badge { display:none; }
  .nha-single-actions button,.nha-single-actions>a { flex:1 1 calc(50% - 6px); justify-content:center; }
  .nha-single-meta>span { flex:1 1 calc(50% - 6px); justify-content:center; }
  .nha-archive-grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion:reduce) {
  .nha-onair-badge i,.nha-featured-card,.nha-music-card,.nha-genre-disc { animation:none!important; transition:none!important; }
}
