/* ============================================================================
 *  نواگرام · سیستم طراحی (نئومورفیک روشن)
 *  ۱) توکن و ریست   ۲) اسکلت   ۳) اجزا   ۴) نماها   ۵) پخش‌کننده و ریسپانسیو
 * ========================================================================== */

/* ---------------------------------------------------------- ۱) توکن‌ها */
:root {
	--bg: #e6e9ef;
	--bg-2: #dfe3ec;
	--surface: #ffffff;
	--surface-2: #f2f4f8;
	--ink: #12151c;
	--ink-2: #4a5060;
	--muted: #8c93a3;
	--line: #d5dae4;
	--dark: #171c26;
	--dark-2: #252b38;
	--gold: #c2aa69;
	--danger: #c2483f;
	--success: #2f7d5d;

	--shadow-out: 10px 10px 24px #ccd1db, -10px -10px 24px #ffffff;
	--shadow-sm: 6px 6px 14px #ced3dd, -6px -6px 14px #ffffff;
	--shadow-xs: 3px 3px 8px #d0d5df, -3px -3px 8px #ffffff;
	--shadow-in: inset 6px 6px 12px #cfd4de, inset -6px -6px 12px #ffffff;
	--shadow-in-sm: inset 3px 3px 7px #d0d5df, inset -3px -3px 7px #ffffff;

	--r-xl: 32px;
	--r-lg: 26px;
	--r-md: 18px;
	--r-sm: 12px;

	--sidebar: 264px;
	--bar-h: 86px;
	--bottomnav-h: 66px;
	--font: "Sahel", "Vazirmatn", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
}

/* ------------------------------------------- ریست کوتاه (مستقل از تیلویند) */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--ink);
	font-size: 15px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}
h1,
h2,
h3,
h4,
p,
figure {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
img,
svg {
	display: block;
	max-width: 100%;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}
button {
	background: none;
	border: 0;
	cursor: pointer;
}
code {
	font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
	font-size: 0.85em;
	background: var(--surface-2);
	border-radius: 6px;
	padding: 1px 6px;
	direction: ltr;
	display: inline-block;
}
[hidden] {
	display: none !important;
}
:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
	border-radius: 8px;
}
body.is-locked {
	overflow: hidden;
}
.nv-icon {
	flex: none;
}
.nv-muted {
	color: var(--muted);
	font-size: 13.5px;
}
.nv-link {
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 700;
	border-bottom: 1px solid var(--line);
}
.nv-link:hover {
	color: var(--ink);
}
.nv-kicker {
	display: inline-block;
	font-size: 12px;
	color: var(--muted);
}

/* ------------------------------------------------------------ ۲) اسکلت */
.nv-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	height: 100vh;
	height: 100dvh;
}

/* نوار کناری */
.nv-side {
	position: fixed;
	inset-block: 0;
	inset-inline-start: 0;
	width: 278px;
	max-width: 86vw;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px 18px;
	border-inline-end: 1px solid rgba(213, 218, 228, 0.7);
	z-index: 60;
	background: var(--bg);
	border-radius: var(--r-xl) 0 0 var(--r-xl);
	box-shadow: -18px 0 46px rgba(12, 15, 22, 0.16);
	transform: translateX(110%);
	transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}
body.is-nav-open .nv-side {
	transform: translateX(0);
}
.nv-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 6px 0;
}
.nv-brand__logo {
	width: 46px;
	height: 46px;
	border-radius: 16px;
	background: var(--dark);
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: var(--shadow-sm);
	flex: none;
}
.nv-brand b {
	display: block;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}
.nv-brand i {
	display: block;
	font-style: normal;
	font-size: 11.5px;
	color: var(--muted);
}
.nv-nav {
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1;
	overflow-y: auto;
}
.nv-nav__label {
	font-size: 11px;
	color: var(--muted);
	padding: 14px 14px 4px;
}
.nv-nav__item {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 11px 14px;
	border-radius: 15px;
	color: var(--ink-2);
	font-size: 14px;
	font-weight: 600;
	min-height: 46px;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.nv-nav__item:hover {
	color: var(--ink);
	background: rgba(255, 255, 255, 0.6);
}
.nv-nav__item.is-active {
	background: var(--surface);
	color: var(--ink);
	box-shadow: var(--shadow-xs);
}
.nv-nav__item span:last-child {
	flex: 1;
}
.nv-nav__badge {
	font-size: 11.5px;
	color: var(--muted);
	background: var(--surface-2);
	border-radius: 8px;
	padding: 0 8px;
}
.nv-side__foot {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	font-size: 12.5px;
	color: var(--ink-2);
}
.nv-side__foot b {
	display: block;
	font-size: 12.5px;
}
.nv-side__foot i {
	display: block;
	font-style: normal;
	color: var(--muted);
	font-size: 11px;
}

/* ناحیه‌ی اصلی */
.nv-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
}
.nv-topbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 26px 10px;
	flex: none;
}
.nv-searchbox {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 18px;
	height: 50px;
	border-radius: 18px;
	background: var(--bg);
	box-shadow: var(--shadow-in-sm);
	color: var(--muted);
	max-width: 540px;
}
.nv-searchbox input {
	flex: 1;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 14px;
	color: var(--ink);
	min-width: 0;
}
.nv-searchbox input::placeholder {
	color: var(--muted);
}
.nv-topbar__spacer {
	flex: 1;
}
.nv-menu-btn {
	display: inline-grid;
}
#nv-view {
	flex: 1;
	overflow-y: auto;
	scroll-behavior: smooth;
}
.nv-view {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 6px 26px 40px;
}
body.has-player .nv-view {
	padding-bottom: calc(var(--bar-h) + 20px);
}

/* پوشش موبایل */
.nv-scrim {
	position: fixed;
	inset: 0;
	background: rgba(18, 21, 28, 0.42);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.42s ease;
	z-index: 55;
}
body.is-nav-open .nv-scrim {
	opacity: 1;
	pointer-events: auto;
}

/* نوار پایین (موبایل) */
.nv-bottomnav {
	display: none;
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	height: var(--bottomnav-h);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--line);
	z-index: 45;
}
.nv-bottomnav a {
	flex: 1;
	display: grid;
	place-items: center;
	gap: 2px;
	font-size: 10.5px;
	color: var(--muted);
	padding: 8px 0;
}
.nv-bottomnav a.is-active {
	color: var(--ink);
}

/* اسپل�� */
.nv-splash {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	place-items: center;
	background: radial-gradient(125% 80% at 50% 16%, rgba(194, 170, 105, 0.14), transparent 62%), var(--bg);
	transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nv-splash.is-hidden {
	opacity: 0;
	visibility: hidden;
}
.nv-splash__box {
	display: grid;
	gap: 16px;
	justify-items: center;
	text-align: center;
	padding: 0 24px;
	animation: nv-rise 0.5s ease both;
}
.nv-splash__disc {
	width: 116px;
	height: 116px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, #ecd89a 0 13%, #14171e 13.8% 21%, #0c0e13 21% 100%), repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px);
	box-shadow: var(--shadow-out), inset 0 0 0 7px rgba(255, 255, 255, 0.03);
	position: relative;
	animation: nv-spin 3.4s linear infinite;
}
.nv-splash__disc::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.16), transparent 46%);
}
.nv-splash h1 {
	font-size: 20px;
	font-weight: 700;
}
.nv-splash p {
	color: var(--muted);
	font-size: 13px;
	max-width: 320px;
}
@keyframes nv-spin {
	to {
		transform: rotate(360deg);
	}
}
@keyframes nv-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------- ۳) اجزا */
.nv-panel {
	background: var(--surface);
	border-radius: var(--r-lg);
	padding: 22px 24px;
	box-shadow: var(--shadow-sm);
}
.nv-sectionhead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.nv-sectionhead h2 {
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.6;
}
.nv-sectionhead p {
	color: var(--muted);
	font-size: 12.5px;
}
.nv-sechead__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

/* دکمه‌ها */
.nv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 16px;
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink-2);
	transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background 0.16s ease;
	white-space: nowrap;
}
.nv-btn:hover {
	color: var(--ink);
	transform: translateY(-1px);
	box-shadow: var(--shadow-sm);
}
.nv-btn:active {
	transform: translateY(0);
	box-shadow: var(--shadow-in-sm);
}
.nv-btn--dark {
	background: var(--dark);
	color: #fff;
	box-shadow: 6px 6px 14px rgba(23, 28, 38, 0.22), -4px -4px 12px #ffffff;
}
.nv-btn--dark:hover {
	color: #fff;
	background: var(--dark-2);
}
.nv-btn--danger {
	background: var(--danger);
	color: #fff;
	box-shadow: 6px 6px 14px rgba(194, 72, 63, 0.22), -4px -4px 12px #ffffff;
}
.nv-btn--danger:hover {
	color: #fff;
	filter: brightness(1.06);
}
.nv-btn--danger-ghost {
	color: var(--danger);
}
.nv-btn--danger-ghost:hover {
	color: var(--danger);
}
.nv-btn--sm {
	min-height: 38px;
	padding: 0 14px;
	font-size: 12.5px;
	border-radius: 13px;
}
.nv-btn--block {
	width: 100%;
	margin-top: 14px;
}
.nv-btn.is-busy {
	opacity: 0.72;
	pointer-events: none;
}
.nv-btnrow {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.nv-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	color: var(--ink-2);
	flex: none;
	transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.nv-iconbtn:hover {
	color: var(--ink);
	transform: translateY(-1px);
}
.nv-iconbtn--ghost {
	background: transparent;
	box-shadow: none;
	color: var(--muted);
	width: 40px;
	height: 40px;
}
.nv-iconbtn--ghost:hover {
	color: var(--ink);
	background: var(--surface-2);
	transform: none;
}
.nv-iconbtn.is-active {
	color: var(--danger);
}

/* فرم‌ها */
.nv-form {
	display: grid;
	gap: 14px;
}
.nv-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.nv-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}
.nv-field > span {
	font-size: 12.5px;
	color: var(--ink-2);
	font-weight: 600;
}
.nv-input,
.nv-field > input,
.nv-field > select,
.nv-field > textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 16px;
	border: 0;
	border-radius: 15px;
	background: var(--bg);
	box-shadow: var(--shadow-in-sm);
	font-size: 14px;
	font-family: inherit;
	color: var(--ink);
	outline: none;
}
.nv-input:focus,
.nv-field > input:focus,
.nv-field > select:focus,
.nv-field > textarea:focus {
	box-shadow: var(--shadow-in-sm), 0 0 0 2px rgba(37, 43, 56, 0.16);
}
textarea.nv-input,
.nv-field > textarea {
	resize: vertical;
	line-height: 1.8;
}
select.nv-input,
.nv-field > select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
		linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: left 18px top 52%, left 13px top 52%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-inline-start: 34px;
}
input[type="file"].nv-input,
.nv-field > input[type="file"] {
	padding: 9px 14px;
	font-size: 12.5px;
	color: var(--ink-2);
}
.nv-input--sm {
	min-height: 42px;
	font-size: 13px;
}
.nv-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}
.nv-sortwrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--muted);
}
.nv-sortwrap select {
	min-width: 158px;
}

/* چیپ، برچسب */
.nv-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	padding: 0 15px;
	border-radius: 14px;
	background: var(--bg);
	box-shadow: var(--shadow-xs);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-2);
	transition: all 0.16s ease;
}
.nv-chip > span {
	font-size: 11.5px;
	color: var(--muted);
	background: rgba(255, 255, 255, 0.75);
	border-radius: 8px;
	padding: 0 7px;
}
.nv-chip:hover {
	color: var(--ink);
	transform: translateY(-1px);
}
.nv-chip.is-active {
	background: var(--dark);
	color: #fff;
	box-shadow: var(--shadow-in-sm);
}
.nv-chip.is-active > span {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}
.nv-chiprow {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
}
.nv-pill {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 13px;
	border-radius: 11px;
	background: var(--surface-2);
	font-size: 12px;
	font-weight: 700;
	color: var(--ink-2);
}
.nv-tag {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 11px;
	border-radius: 10px;
	background: var(--surface-2);
	font-size: 11.5px;
	color: var(--ink-2);
	white-space: nowrap;
}
.nv-tag--solid {
	background: var(--dark);
	color: #fff;
}

/* ردیف قطعه */
.nv-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.nv-track {
	display: grid;
	grid-template-columns: 30px 50px minmax(0, 1fr) auto 54px 40px 40px;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: var(--r-md);
	cursor: pointer;
	transition: background 0.16s ease, box-shadow 0.16s ease;
}
.nv-track:hover {
	background: var(--surface-2);
}
.nv-track.is-current {
	background: var(--surface-2);
	box-shadow: var(--shadow-in-sm);
}
.nv-track__index {
	position: relative;
	text-align: center;
	font-size: 12.5px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.nv-track__eq {
	display: none;
	align-items: flex-end;
	justify-content: center;
	gap: 2px;
	height: 16px;
}
.nv-track.is-playing .nv-track__eq {
	display: flex;
}
.nv-track.is-playing .nv-track__index {
	font-size: 0;
}
.nv-track__eq i {
	width: 3px;
	height: 6px;
	border-radius: 2px;
	background: var(--dark);
	animation: nv-eq 0.9s ease-in-out infinite;
}
.nv-track__eq i:nth-child(2) {
	animation-delay: 0.18s;
}
.nv-track__eq i:nth-child(3) {
	animation-delay: 0.36s;
}
@keyframes nv-eq {
	0%,
	100% {
		height: 5px;
	}
	50% {
		height: 15px;
	}
}
.nv-track__art {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	flex: none;
}
.nv-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
	background: var(--dark);
}
.nv-cover--xs {
	border-radius: 13px;
}
.nv-cover--lg {
	border-radius: var(--r-md);
	aspect-ratio: 1;
}
.nv-cover--xl {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	background: var(--dark);
}
.nv-track__playicon {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: rgba(18, 21, 28, 0.55);
	color: #fff;
	opacity: 0;
	transition: opacity 0.16s ease;
}
.nv-track:hover .nv-track__playicon,
.nv-track:focus-visible .nv-track__playicon {
	opacity: 1;
}
.nv-track__meta {
	display: block;
	min-width: 0;
}
.nv-track__title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-track__sub {
	display: block;
	font-size: 12px;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-track__resume {
	display: block;
	height: 3px;
	max-width: 200px;
	border-radius: 3px;
	background: var(--line);
	margin-top: 6px;
	overflow: hidden;
}
.nv-track__resume i {
	display: block;
	height: 100%;
	background: var(--gold);
}
.nv-track__tag {
	display: block;
}
.nv-track__time {
	font-size: 12.5px;
	color: var(--muted);
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.nv-track__fav.is-active,
.nv-track__fav:hover {
	color: var(--danger);
}

/* کارت آلبوم */
.nv-albumrow {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(168px, 196px);
	justify-content: start;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
	scrollbar-width: thin;
}
.nv-albumgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(172px, 208px));
	justify-content: start;
	gap: 18px;
}
.nv-albumcard {
	display: block;
	cursor: pointer;
	border-radius: var(--r-md);
	padding: 6px;
	transition: transform 0.18s ease;
}
.nv-albumcard:hover {
	transform: translateY(-3px);
}
.nv-albumcard__art {
	position: relative;
	border-radius: var(--r-md);
	overflow: hidden;
	box-shadow: var(--shadow-xs);
	margin-bottom: 9px;
}
.nv-albumcard__play {
	position: absolute;
	inset-inline-end: 10px;
	inset-block-end: 10px;
	width: 38px;
	height: 38px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.93);
	color: var(--dark);
	opacity: 0;
	transform: translateY(6px);
	transition: all 0.18s ease;
}
.nv-albumcard:hover .nv-albumcard__play {
	opacity: 1;
	transform: translateY(0);
}
.nv-albumcard__title {
	font-size: 14px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-albumcard__sub {
	font-size: 12px;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* کارت دسته‌بندی */
.nv-catgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
	gap: 12px;
}
.nv-catcard {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: var(--r-md);
	background: var(--bg);
	box-shadow: var(--shadow-xs);
	min-height: 60px;
	text-align: start;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.nv-catcard:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}
.nv-catcard__emoji {
	font-size: 19px;
	line-height: 1;
	flex: none;
}
.nv-catcard__label {
	flex: 1;
	font-size: 13.5px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-catcard__count {
	font-size: 11.5px;
	color: var(--muted);
	background: var(--surface);
	border-radius: 9px;
	padding: 1px 9px;
	flex: none;
}

/* حالت خالی و حلقه‌ی پیشرفت */
.nv-empty {
	display: grid;
	justify-items: center;
	gap: 6px;
	text-align: center;
	padding: 34px 18px;
}
.nv-empty__icon {
	width: 66px;
	height: 66px;
	border-radius: 22px;
	display: grid;
	place-items: center;
	background: var(--bg);
	box-shadow: var(--shadow-in-sm);
	color: var(--muted);
	margin-bottom: 6px;
}
.nv-empty h3 {
	font-size: 15px;
	font-weight: 700;
}
.nv-empty p {
	color: var(--muted);
	font-size: 13px;
	max-width: 400px;
}
.nv-empty .nv-btn {
	margin-top: 10px;
}
.nv-ring {
	flex: none;
}
.nv-ring__text {
	font-size: 15px;
	font-weight: 700;
	fill: var(--ink);
	font-family: var(--font);
}

/* ------------------------------------------------------------- ۴) نماها */

/* —— خانه */
.nv-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.85fr);
	gap: 26px;
	align-items: center;
}
.nv-hero__date {
	font-size: 12.5px;
	color: var(--muted);
}
.nv-hero__text h1 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
	margin-top: 2px;
}
.nv-hero__sub {
	color: var(--ink-2);
	font-size: 13.5px;
	margin-top: 6px;
	max-width: 52ch;
}
.nv-hero__btns {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 16px;
}
.nv-hero__tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.nv-tile {
	display: block;
	padding: 14px 16px;
	border-radius: var(--r-md);
	background: var(--bg);
	box-shadow: var(--shadow-xs);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.nv-tile:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}
.nv-tile__ic {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: var(--surface);
	color: var(--dark);
	box-shadow: var(--shadow-xs);
	margin-bottom: 8px;
}
.nv-tile b {
	display: block;
	font-size: 17px;
	line-height: 1.5;
}
.nv-tile i {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: var(--muted);
}
.nv-cols {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.9fr);
	gap: 18px;
	align-items: start;
}
.nv-cols--even {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.nv-cols__main,
.nv-cols__side {
	min-width: 0;
}
.nv-taskmini {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-bottom: 14px;
}
.nv-taskmini b {
	display: block;
	font-size: 14.5px;
}
.nv-taskmini i {
	display: block;
	font-style: normal;
	font-size: 12.5px;
	color: var(--muted);
}
.nv-minilist {
	display: grid;
	gap: 3px;
}
.nv-minitask {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 13px;
	font-size: 13.5px;
}
.nv-minitask:hover {
	background: var(--surface-2);
}
.nv-minitask span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-minitask.is-done span {
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
	color: var(--muted);
}
.nv-check {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 9px;
	background: var(--bg);
	box-shadow: var(--shadow-in-sm);
	color: transparent;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.nv-check:hover {
	color: var(--muted);
}
.nv-check--sm {
	width: 23px;
	height: 23px;
	border-radius: 8px;
}
.nv-minitask.is-done .nv-check {
	background: var(--dark);
	color: #fff;
	box-shadow: var(--shadow-xs);
}

/* —— کارهای هفته */
.nv-view--tasks .nv-panel {
	padding: 20px 22px;
}
.nv-weekhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}
.nv-weekhead__nav {
	display: flex;
	align-items: center;
	gap: 12px;
}
.nv-weekhead__nav h2 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}
.nv-weekhead__nav p {
	font-size: 12.5px;
	color: var(--muted);
}
.nv-weekhead__stats {
	display: flex;
	align-items: center;
	gap: 14px;
}
.nv-weekhead__stats b {
	display: block;
	font-size: 14px;
}
.nv-weekhead__stats i {
	display: block;
	font-style: normal;
	font-size: 12.5px;
	color: var(--muted);
}
.nv-weekhead__actions {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
}
.nv-taskform {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 150px 150px auto;
	gap: 10px;
	align-items: center;
}
.nv-taskform input,
.nv-taskform select {
	width: 100%;
	min-height: 46px;
	padding: 10px 16px;
	border: 0;
	border-radius: 15px;
	background: var(--bg);
	box-shadow: var(--shadow-in-sm);
	font-size: 13.5px;
	font-family: inherit;
	color: var(--ink);
	outline: none;
}
.nv-taskform select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
		linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: left 18px top 52%, left 13px top 52%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-inline-start: 34px;
}
.nv-taskform input:focus,
.nv-taskform select:focus {
	box-shadow: var(--shadow-in-sm), 0 0 0 2px rgba(37, 43, 56, 0.16);
}
.nv-days {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(244px, 1fr));
	gap: 14px;
}
.nv-day {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 16px 12px;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	min-height: 190px;
}
.nv-day.is-today {
	box-shadow: var(--shadow-sm), inset 0 0 0 2px var(--dark);
}
.nv-day__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}
.nv-day__head h3,
.nv-day__head h4 {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14.5px;
	font-weight: 700;
}
.nv-day__head p {
	font-size: 11.5px;
	color: var(--muted);
}
.nv-day__today {
	font-size: 10.5px;
	font-weight: 700;
	background: var(--dark);
	color: #fff;
	border-radius: 8px;
	padding: 1px 8px;
}
.nv-day__count {
	font-size: 11.5px;
	color: var(--ink-2);
	background: var(--surface-2);
	border-radius: 9px;
	padding: 2px 9px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.nv-day__empty {
	font-size: 12.5px;
	color: var(--muted);
	padding: 6px 2px;
}
.nv-task-list {
	display: flex;
	flex-direction: column;
	gap: 7px;
	flex: 1;
}
.nv-day__add {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 42px;
	margin-top: auto;
	border-radius: 14px;
	border: 1px dashed var(--line);
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 600;
	transition: all 0.16s ease;
}
.nv-day__add:hover {
	color: var(--ink);
	border-color: var(--muted);
	background: var(--surface-2);
}
.nv-task {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
	padding: 10px 11px;
	border-radius: 15px;
	background: var(--bg);
	box-shadow: var(--shadow-xs);
	position: relative;
	overflow: hidden;
}
.nv-task::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: transparent;
}
.nv-task--urgent::before {
	background: var(--danger);
}
.nv-task--high::before {
	background: var(--gold);
}
.nv-task__check {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 9px;
	background: var(--surface);
	box-shadow: var(--shadow-in-sm);
	color: transparent;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.nv-task__check:hover {
	color: var(--muted);
}
.nv-task.is-done .nv-task__check {
	background: var(--dark);
	color: #fff;
	box-shadow: var(--shadow-xs);
}
.nv-task__body {
	min-width: 0;
}
.nv-task__title {
	font-size: 13.5px;
	line-height: 1.7;
	word-break: break-word;
}
.nv-task.is-done {
	opacity: 0.78;
}
.nv-task.is-done .nv-task__title {
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
	color: var(--muted);
}
.nv-task__note {
	font-size: 12px;
	color: var(--muted);
	margin-top: 2px;
}
.nv-task__badges {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 4px;
}
.nv-task__badges:empty {
	display: none;
}
.nv-task__prio {
	font-size: 10.5px;
	font-weight: 700;
	border-radius: 8px;
	padding: 1px 8px;
	background: var(--surface-2);
	color: var(--ink-2);
}
.nv-task--urgent .nv-task__prio {
	background: rgba(194, 72, 63, 0.12);
	color: var(--danger);
}
.nv-task--high .nv-task__prio {
	background: rgba(194, 170, 105, 0.2);
	color: #8a7328;
}
.nv-task__doneat {
	font-size: 11px;
	color: var(--success);
	font-weight: 600;
}
/* —— دکمه‌های وضعیت کار: انجام شد / انجام نشد */
.nv-task__status {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin-top: 10px;
}
.nv-statusbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex: 1 1 0;
	min-width: 0;
	padding: 7px 6px;
	border-radius: 11px;
	font-size: 11.5px;
	font-weight: 700;
	font-family: inherit;
	white-space: nowrap;
	color: var(--muted);
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	cursor: pointer;
	transition: transform 0.14s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.nv-statusbtn svg {
	width: 13px;
	height: 13px;
	flex: none;
}
.nv-statusbtn:hover {
	color: var(--ink);
	transform: translateY(-1px);
}
.nv-statusbtn:active {
	transform: translateY(0);
	box-shadow: var(--shadow-in-sm);
}
.nv-statusbtn--done.is-active {
	background: var(--success);
	color: #fff;
	box-shadow: var(--shadow-xs);
}
.nv-statusbtn--done.is-active:hover {
	color: #fff;
}
.nv-statusbtn--undone.is-active {
	background: rgba(194, 72, 63, 0.13);
	color: var(--danger);
}
.nv-statusbtn--undone.is-active:hover {
	color: var(--danger);
}
.nv-task__tools {
	position: absolute;
	top: 6px;
	inset-inline-end: 6px;
	display: flex;
	gap: 2px;
	padding: 2px;
	border-radius: 12px;
	background: var(--bg);
	box-shadow: var(--shadow-xs);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.16s ease;
}
.nv-task:hover .nv-task__tools,
.nv-task:focus-within .nv-task__tools {
	opacity: 1;
	pointer-events: auto;
}
.nv-task__tools .nv-iconbtn {
	width: 30px;
	height: 30px;
	border-radius: 10px;
}

/* —— صفحه‌ی آلبوم */
.nv-albumhero {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
}
.nv-albumhero__art {
	width: 190px;
}
.nv-albumhero__body h1 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
	margin: 2px 0 2px;
}
.nv-albumhero__body p {
	font-size: 13px;
	color: var(--ink-2);
}
.nv-albumhero__btns {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	margin-top: 16px;
}

/* —— آپلود */
.nv-drop {
	display: grid;
	justify-items: center;
	gap: 3px;
	padding: 40px 20px;
	border-radius: var(--r-lg);
	background: var(--bg);
	box-shadow: var(--shadow-in);
	text-align: center;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.nv-drop:hover,
.nv-drop.is-over {
	box-shadow: var(--shadow-in), inset 0 0 0 2px var(--dark);
	transform: translateY(-1px);
}
.nv-drop__ic {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 24px;
	background: var(--surface);
	color: var(--dark);
	box-shadow: var(--shadow-sm);
	margin-bottom: 10px;
}
.nv-drop b {
	font-size: 15px;
}
.nv-drop i,
.nv-drop span:not(.nv-drop__ic) {
	font-style: normal;
	font-size: 12.5px;
	color: var(--muted);
}
.nv-bulk {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
	margin-bottom: 16px;
}
.nv-pend {
	padding: 14px 16px;
	border-radius: var(--r-md);
	background: var(--bg);
	box-shadow: var(--shadow-xs);
	margin-bottom: 12px;
}
.nv-pend__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.nv-pend__ic {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: var(--surface);
	color: var(--dark);
	box-shadow: var(--shadow-xs);
	flex: none;
}
.nv-pend__name {
	flex: 1;
	min-width: 0;
}
.nv-pend__name b {
	display: block;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-pend__name i {
	display: block;
	font-style: normal;
	font-size: 11.5px;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-pend__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
	gap: 12px;
}
.nv-hints {
	display: grid;
	gap: 8px;
	font-size: 13px;
	color: var(--ink-2);
}
.nv-hints li {
	position: relative;
	padding-inline-start: 18px;
}
.nv-hints li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 11px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold);
}

/* —— تنظیمات */
.nv-usage {
	display: grid;
	gap: 8px;
	margin-bottom: 18px;
}
.nv-usage__bar {
	height: 12px;
	border-radius: 8px;
	background: var(--bg);
	box-shadow: var(--shadow-in-sm);
	overflow: hidden;
}
.nv-usage__bar i {
	display: block;
	height: 100%;
	min-width: 6px;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--dark), var(--gold));
	transition: width 0.4s ease;
}
.nv-usage p {
	font-size: 12.5px;
	color: var(--muted);
}
.nv-statrow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	gap: 12px;
}
.nv-stat {
	padding: 14px;
	border-radius: var(--r-md);
	background: var(--bg);
	box-shadow: var(--shadow-xs);
	text-align: center;
}
.nv-stat b {
	display: block;
	font-size: 19px;
}
.nv-stat i {
	font-style: normal;
	font-size: 12px;
	color: var(--muted);
}
.nv-note {
	display: grid;
	gap: 8px;
	padding: 16px 18px;
	border-radius: var(--r-md);
	background: var(--bg);
	box-shadow: var(--shadow-in-sm);
	font-size: 13px;
	color: var(--ink-2);
}

/* -------------------------------------------------------- ۵) پخش‌کننده */

/* —— نوار کوچک پایین */
.nv-bar {
	position: fixed;
	inset-inline: 18px;
	bottom: 14px;
	z-index: 50;
	display: grid;
	grid-template-columns: auto minmax(0, 1.1fr) auto minmax(0, 1.1fr) auto auto auto;
	align-items: center;
	gap: 14px;
	padding: 10px 16px;
	height: var(--bar-h);
	border-radius: 24px;
	background: var(--dark);
	color: #fff;
	box-shadow: 0 18px 40px rgba(18, 21, 28, 0.28);
	transform: translateY(140%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease;
}
.nv-bar.is-visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}
.nv-bar__cover {
	position: relative;
	width: 58px;
	height: 58px;
	flex: none;
	border-radius: 18px;
}
.nv-bar__img {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	object-fit: cover;
	background: #0d1016;
	position: relative;
	z-index: 1;
}
.nv-bar__disc {
	position: absolute;
	top: 50%;
	inset-inline-end: -16px;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, #f3f4f8 0 16%, #2b2f3a 17% 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 14px rgba(0, 0, 0, 0.35);
	z-index: 0;
}
.nv-bar__disc.is-spinning {
	animation: nv-spin 3.4s linear infinite;
}
.nv-bar__meta {
	min-width: 0;
}
.nv-bar__meta b {
	display: block;
	font-size: 14px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-bar__meta i {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-bar__controls {
	display: flex;
	align-items: center;
	gap: 6px;
}
.nv-bar .nv-iconbtn {
	background: transparent;
	box-shadow: none;
	color: rgba(255, 255, 255, 0.72);
}
.nv-bar .nv-iconbtn:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}
.nv-bar__play {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: #fff;
	color: var(--dark);
	flex: none;
	transition: transform 0.16s ease;
}
.nv-bar__play:hover {
	transform: scale(1.05);
}
.nv-bar__track {
	position: relative;
	height: 22px;
	display: flex;
	align-items: center;
	cursor: pointer;
	direction: ltr;
	touch-action: none;
	width: 100%;
	max-width: 300px;
	margin-inline: auto;
}
.nv-bar__track::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	height: 5px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.16);
}
.nv-bar__fill {
	position: relative;
	height: 5px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--gold), #fff);
	width: 0;
	transition: width 0.15s linear;
}
.nv-bar__fill::after {
	content: "";
	position: absolute;
	inset-inline-end: -5px;
	top: 50%;
	width: 11px;
	height: 11px;
	margin-top: -5.5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.nv-bar__time {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.nv-bar__close {
	color: rgba(255, 255, 255, 0.72);
	flex: none;
}
.nv-bar__close:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

/* —— صفحه‌ی در حال پخش */
.nv-now {
	position: fixed;
	inset: 0;
	z-index: 70;
	display: grid;
	place-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}
.nv-now.is-open {
	opacity: 1;
	visibility: visible;
}
.nv-now__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 21, 28, 0.5);
	backdrop-filter: blur(6px);
}
.nv-now__panel {
	position: relative;
	width: min(1120px, calc(100vw - 40px));
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	grid-template-areas: "head head" "body queue";
	gap: 22px;
	padding: 22px 26px 30px;
	border-radius: var(--r-xl);
	background: var(--bg);
	box-shadow: 0 30px 80px rgba(12, 15, 22, 0.4);
	transform: translateY(18px) scale(0.98);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.nv-now.is-open .nv-now__panel {
	transform: translateY(0) scale(1);
}
.nv-now__head {
	grid-area: head;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.nv-now__kicker {
	font-size: 12.5px;
	color: var(--muted);
}
.nv-now__body {
	grid-area: body;
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	gap: 30px;
	align-items: center;
}
.nv-now__info {
	min-width: 0;
}
.nv-now__info h2 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.6;
}
.nv-now__info > p {
	color: var(--muted);
	font-size: 13.5px;
}
.nv-now__tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 10px 0 4px;
}

/* موج صوتی */
.nv-wave {
	position: relative;
	height: 76px;
	margin-top: 14px;
	cursor: pointer;
	direction: ltr;
	touch-action: none;
}
.nv-wave__layer {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2px;
}
.nv-wave__layer i {
	flex: 1;
	min-width: 2px;
	border-radius: 3px;
	background: #dedee0;
}
.nv-wave__fill {
	clip-path: inset(0 100% 0 0);
}
.nv-wave__fill i {
	background: linear-gradient(180deg, var(--dark), var(--dark-2));
}
.nv-now.is-ending .nv-wave__fill i {
	background: linear-gradient(180deg, var(--danger), #8e332c);
}
.nv-now__times {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 12.5px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	direction: ltr;
}
.nv-now__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 18px;
	direction: ltr;
}
.nv-playbtn {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 24px;
	background: var(--dark);
	color: #fff;
	box-shadow: 8px 8px 18px rgba(23, 28, 38, 0.26), -6px -6px 16px #ffffff;
	transition: transform 0.16s ease;
}
.nv-playbtn:hover {
	transform: scale(1.04);
}
.nv-now__extra {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	flex-wrap: wrap;
}
.nv-vol {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--muted);
	flex: 1;
	min-width: 150px;
	max-width: 220px;
}
.nv-vol input[type="range"] {
	flex: 1;
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	border-radius: 4px;
	background: var(--line);
	outline: none;
	direction: ltr;
}
.nv-vol input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	border: 1px solid var(--line);
	cursor: pointer;
}
.nv-vol input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--surface);
	border: 1px solid var(--line);
	cursor: pointer;
}
#nv-btn-rate {
	min-width: 62px;
	font-variant-numeric: tabular-nums;
}
#nv-btn-shuffle.is-active,
#nv-btn-repeat.is-active {
	background: var(--dark);
	color: #fff;
}
#nv-btn-fav.is-active {
	color: var(--danger);
}

/* —— صحنه‌ی گرامافون (صفحه‌ی گرد + بازوی سوزن) */
.nv-scene {
	position: relative;
	width: 330px;
	max-width: 100%;
	aspect-ratio: 1;
	direction: ltr;
	justify-self: center;
}
.nv-scene__plate {
	position: absolute;
	inset: 0;
	border-radius: var(--r-xl);
	background: linear-gradient(145deg, #ffffff, #e9ecf3);
	box-shadow: var(--shadow-out);
}
.nv-disc {
	position: absolute;
	left: 8%;
	top: 8%;
	width: 84%;
	height: 84%;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, #4a4d59 0 8%, #3d404a 8% 100%);
	box-shadow: 0 14px 30px rgba(24, 27, 35, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
	display: grid;
	place-items: center;
}
.nv-disc.is-spinning {
	animation: nv-spin 3.6s linear infinite;
}
.nv-disc__grooves {
	position: absolute;
	inset: 4%;
	border-radius: 50%;
	background: repeating-radial-gradient(
		circle at 50% 50%,
		rgba(255, 255, 255, 0.055) 0 1px,
		rgba(0, 0, 0, 0) 1px 7px
	);
	pointer-events: none;
}
.nv-disc::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(
		from 210deg,
		rgba(255, 255, 255, 0.11) 0deg 26deg,
		rgba(255, 255, 255, 0) 26deg 180deg,
		rgba(255, 255, 255, 0.07) 180deg 200deg,
		rgba(255, 255, 255, 0) 200deg 360deg
	);
	pointer-events: none;
}
.nv-disc__label {
	width: 33%;
	height: 33%;
	border-radius: 50%;
	object-fit: cover;
	background: #242337;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 0 0 7px rgba(0, 0, 0, 0.22);
	z-index: 2;
}
.nv-disc__pin {
	position: absolute;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #e8eaf0;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
	z-index: 3;
}

/* بازوی گرامافون — جاوااسکریپت متغیر --arm-angle را از ‌۸۰− تا ۵۸− درجه حرکت می‌دهد
   تا سوزن از لبه‌ی بیرونی صفحه به سمت مرکز برود */
.nv-arm {
	position: absolute;
	left: 92%;
	top: 13%;
	width: 52%;
	height: 9px;
	z-index: 5;
	transform-origin: 0 50%;
	transform: rotate(calc(179deg + var(--arm-angle, -80deg) - 12deg));
	transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
	filter: drop-shadow(0 8px 10px rgba(24, 27, 35, 0.22));
}
.nv-arm.is-down {
	transform: rotate(calc(179deg + var(--arm-angle, -80deg)));
	transition: transform 0.9s cubic-bezier(0.33, 1, 0.68, 1);
}
.nv-arm__base {
	position: absolute;
	left: -17px;
	top: 50%;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #f4f5f9, #c9cedb);
	box-shadow: 0 4px 10px rgba(24, 27, 35, 0.22), inset 0 0 0 4px rgba(194, 170, 105, 0.55);
}
.nv-arm__rod {
	position: absolute;
	left: 8px;
	right: 16px;
	top: 50%;
	height: 7px;
	margin-top: -3.5px;
	border-radius: 6px;
	background: linear-gradient(180deg, #d9c281 0%, #c2aa69 55%, #ae9756 100%);
}
.nv-arm__head {
	position: absolute;
	right: -4px;
	top: 50%;
	width: 30px;
	height: 17px;
	margin-top: -8.5px;
	border-radius: 6px 8px 8px 6px;
	background: linear-gradient(160deg, #2f3340, #1d212b);
	box-shadow: 0 4px 10px rgba(20, 23, 31, 0.35);
	transform: rotate(14deg);
}
.nv-arm__head::after {
	content: "";
	position: absolute;
	right: 4px;
	bottom: -6px;
	width: 4px;
	height: 8px;
	border-radius: 0 0 2px 2px;
	background: var(--gold);
}
.nv-scene__ending {
	position: absolute;
	inset-inline: 0;
	bottom: -26px;
	text-align: center;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--danger);
	opacity: 0;
	transition: opacity 0.3s ease;
	direction: rtl;
}
.nv-now.is-ending .nv-scene__ending {
	opacity: 1;
	animation: nv-pulse 1.6s ease-in-out infinite;
}
@keyframes nv-pulse {
	0%,
	100% {
		opacity: 0.55;
	}
	50% {
		opacity: 1;
	}
}

/* —— صف پخش */
.nv-queue {
	grid-area: queue;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	min-height: 0;
}
.nv-queue__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.nv-queue__head h3 {
	font-size: 14.5px;
	font-weight: 700;
}
.nv-queue__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	overflow-y: auto;
	max-height: 380px;
}
.nv-queue__item {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 14px;
	text-align: start;
	transition: background 0.16s ease;
}
.nv-queue__item:hover {
	background: var(--surface-2);
}
.nv-queue__item.is-current {
	background: var(--surface-2);
	box-shadow: var(--shadow-in-sm);
}
.nv-queue__num {
	font-size: 12px;
	color: var(--muted);
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.nv-queue__meta {
	min-width: 0;
}
.nv-queue__meta b {
	display: block;
	font-size: 13px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-queue__meta i {
	display: block;
	font-style: normal;
	font-size: 11.5px;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nv-queue__time {
	font-size: 11.5px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.nv-queue__empty {
	font-size: 13px;
	color: var(--muted);
	padding: 12px 4px;
}

/* ------------------------------------------- ۶) پنجره، منو و پیام */
.nv-modal,
.nv-sheet {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}
.nv-modal.is-open,
.nv-sheet.is-open {
	opacity: 1;
	visibility: visible;
}
.nv-modal__backdrop,
.nv-sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 21, 28, 0.42);
	backdrop-filter: blur(3px);
}
.nv-modal__panel {
	position: relative;
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100dvh - 40px);
	display: flex;
	flex-direction: column;
	border-radius: var(--r-xl);
	background: var(--bg);
	box-shadow: 0 26px 60px rgba(12, 15, 22, 0.34);
	transform: translateY(14px) scale(0.98);
	transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
}
.nv-modal.is-open .nv-modal__panel {
	transform: translateY(0) scale(1);
}
.nv-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px 12px;
}
.nv-modal__head h3 {
	font-size: 16px;
	font-weight: 700;
}
.nv-modal__body {
	padding: 4px 22px 18px;
	overflow-y: auto;
}
.nv-modal__text {
	font-size: 13.5px;
	color: var(--ink-2);
	line-height: 2;
}
.nv-modal__foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex-wrap: wrap;
	padding: 14px 22px 20px;
	background: var(--surface);
	box-shadow: 0 -1px 0 var(--line);
}
.nv-sheet__panel {
	position: relative;
	width: min(320px, calc(100vw - 32px));
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: 0 20px 50px rgba(12, 15, 22, 0.3);
	transform: translateY(12px);
	transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.nv-sheet.is-open .nv-sheet__panel {
	transform: translateY(0);
}
.nv-sheet__panel.is-anchored {
	position: absolute;
	width: 250px;
}
.nv-sheet__item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 14px;
	border-radius: 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink-2);
	text-align: start;
	transition: background 0.14s ease, color 0.14s ease;
}
.nv-sheet__item:hover {
	background: var(--surface-2);
	color: var(--ink);
}
.nv-sheet__item.is-danger {
	color: var(--danger);
}
.nv-sheet__item.is-danger:hover {
	background: rgba(194, 72, 63, 0.09);
}
.nv-toast {
	position: fixed;
	left: 50%;
	right: auto;
	bottom: 26px;
	z-index: 95;
	transform: translate(-50%, 26px);
	max-width: min(440px, calc(100vw - 32px));
	padding: 13px 22px;
	border-radius: 18px;
	background: var(--dark);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	box-shadow: 0 16px 36px rgba(12, 15, 22, 0.34);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
	pointer-events: none;
	text-align: center;
}
.nv-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}
body.has-player .nv-toast {
	bottom: calc(var(--bar-h) + 30px);
}
.nv-toast--success {
	background: var(--success);
}
.nv-toast--error {
	background: var(--danger);
}
.nv-toast--warn {
	background: #8a7328;
}

/* ------------------------------------------------------- ۷) واکنش‌گرایی */
@media (max-width: 1180px) {
	.nv-now__panel {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "head" "body" "queue";
	}
	.nv-queue__list {
		max-height: 240px;
	}
	.nv-hero {
		grid-template-columns: minmax(0, 1fr);
	}
	.nv-cols {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 1024px) {
	.nv-shell {
		grid-template-columns: 1fr;
	}
	.nv-side {
		position: fixed;
		inset-block: 0;
		inset-inline-start: 0;
		width: 274px;
		z-index: 60;
		transform: translateX(var(--side-off, 110%));
		transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1);
		border-radius: 0 var(--r-xl) var(--r-xl) 0;
	}
	html[dir="rtl"] .nv-side {
		border-radius: var(--r-xl) 0 0 var(--r-xl);
	}
	body.is-nav-open .nv-side {
		transform: translateX(0);
	}
	.nv-menu-btn {
		display: inline-grid;
	}
	.nv-scrim {
		display: block;
	}
	.nv-now__body {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
	}
	.nv-now__info {
		width: 100%;
	}
}
@media (max-width: 860px) {
	.nv-bottomnav {
		display: grid;
	}
	.nv-view {
		padding-bottom: calc(var(--bottomnav-h) + 26px);
	}
	body.has-player .nv-view {
		padding-bottom: calc(var(--bottomnav-h) + var(--bar-h) + 26px);
	}
	.nv-bar {
		bottom: calc(var(--bottomnav-h) + 8px);
		inset-inline: 10px;
		grid-template-columns: auto minmax(0, 1fr) auto auto;
		grid-template-areas: "cover meta controls close" "track track track time";
		height: auto;
		gap: 8px 12px;
		padding: 10px 14px 12px;
	}
	.nv-bar__cover {
		grid-area: cover;
	}
	.nv-bar__meta {
		grid-area: meta;
	}
	.nv-bar__controls {
		grid-area: controls;
	}
	.nv-bar__track {
		grid-area: track;
		max-width: none;
		margin-inline: 0;
	}
	.nv-bar__time {
		grid-area: time;
	}
	.nv-bar__close {
		grid-area: close;
	}
	.nv-bar__expand {
		display: none;
	}
	.nv-bar__disc {
		display: none;
	}
	.nv-taskform {
		grid-template-columns: 1fr 1fr;
	}
	.nv-taskform input {
		grid-column: 1 / -1;
	}
	.nv-bulk {
		grid-template-columns: 1fr;
	}
	.nv-albumhero {
		grid-template-columns: 150px minmax(0, 1fr);
		gap: 16px;
	}
	.nv-albumhero__art {
		width: 150px;
	}
	.nv-track {
		grid-template-columns: 26px 46px minmax(0, 1fr) 48px 40px;
	}
	.nv-track__tag,
	.nv-track__fav {
		display: none;
	}
}
@media (max-width: 560px) {
	.nv-main {
		padding: 0;
	}
	.nv-topbar {
		padding: 14px 16px 6px;
		gap: 8px;
	}
	.nv-topbar__spacer {
		display: none;
	}
	.nv-searchbox {
		max-width: none;
		height: 46px;
	}
	.nv-topbar .nv-btn--dark {
		padding: 0;
		width: 46px;
		min-width: 46px;
		min-height: 46px;
		gap: 0;
		border-radius: 15px;
	}
	.nv-topbar .nv-btn--dark span {
		display: none;
	}
	.nv-sectionhead {
		align-items: stretch;
	}
	.nv-sechead__actions {
		width: 100%;
	}
	.nv-sechead__actions .nv-btn {
		flex: 1 1 0;
		min-width: 0;
	}
	.nv-toolbar {
		justify-content: stretch;
	}
	.nv-sortwrap {
		width: 100%;
		justify-content: space-between;
	}
	.nv-sortwrap select {
		flex: 1 1 0;
		min-width: 0;
	}
	.nv-view {
		padding: 16px 16px calc(var(--bottomnav-h) + 26px);
		gap: 18px;
	}
	.nv-panel {
		padding: 18px 16px;
		border-radius: var(--r-md);
	}
	.nv-hero__text h1 {
		font-size: 20px;
	}
	.nv-hero__tiles {
		grid-template-columns: 1fr 1fr;
	}
	.nv-now__panel {
		width: 100vw;
		max-height: 100dvh;
		height: 100dvh;
		border-radius: 0;
		padding: 16px 16px 22px;
		gap: 16px;
	}
	.nv-scene {
		width: min(300px, 78vw);
	}
	.nv-now__info h2 {
		font-size: 18px;
		text-align: center;
	}
	.nv-now__info > p,
	.nv-now__tags {
		justify-content: center;
		text-align: center;
	}
	.nv-playbtn {
		width: 60px;
		height: 60px;
		border-radius: 21px;
	}
	.nv-days {
		grid-template-columns: 1fr;
	}
	.nv-taskform {
		grid-template-columns: 1fr;
	}
	.nv-albumhero {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}
	.nv-albumhero__btns {
		justify-content: center;
	}
	.nv-track {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 10px;
	}
	.nv-track__index,
	.nv-track__time {
		display: none;
	}
	.nv-albumgrid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 14px;
	}
	.nv-catgrid {
		grid-template-columns: 1fr 1fr;
	}
	.nv-weekhead__stats {
		width: 100%;
	}
}

/* ---------------------------------------------- ۸) دسترسی‌پذیری */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.nv-disc.is-spinning,
	.nv-bar__disc.is-spinning {
		animation: none !important;
	}
}
@media print {
	.nv-side,
	.nv-topbar,
	.nv-bar,
	.nv-bottomnav,
	.nv-now,
	.nv-modal,
	.nv-sheet,
	.nv-toast {
		display: none !important;
	}
	.nv-shell {
		grid-template-columns: 1fr;
	}
	body {
		background: #fff;
	}
}

/* —— امتیاز و افزودن از لینک (نسخه‌ی دوم) */
.nv-track__rate {
	color: var(--gold);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.nv-linkadd {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	flex-wrap: wrap;
	align-items: center;
}
.nv-linkadd .nv-input {
	flex: 1 1 240px;
	min-width: 0;
}
.nv-linkadd .nv-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.nv-btn.is-busy {
	opacity: 0.6;
	pointer-events: none;
}


/* ============================================================================
 *  ۶) حالت تیره (Dark Mode) — بازنویسی توکن‌ها
 * ========================================================================== */
[data-theme="dark"] {
	--bg: #14171e;
	--bg-2: #171c26;
	--surface: #1d222c;
	--surface-2: #232936;
	--ink: #e8ebf2;
	--ink-2: #aab2c2;
	--muted: #7d8697;
	--line: #2c3340;
	--dark: #0e1116;
	--dark-2: #1a1f29;
	--gold: #d0b876;
	--danger: #e0685f;
	--success: #4bb488;

	--shadow-out: 10px 10px 24px #0c0e13, -10px -10px 24px #232a3a;
	--shadow-sm: 6px 6px 14px #0d0f14, -6px -6px 14px #232a3a;
	--shadow-xs: 3px 3px 8px #0d0f14, -3px -3px 8px #232a3a;
	--shadow-in: inset 6px 6px 12px #0c0e13, inset -6px -6px 12px #232a3a;
	--shadow-in-sm: inset 3px 3px 7px #0d0f14, inset -3px -3px 7px #232a3a;
}

/* اطمینان از پس‌زمینه‌ی تیره در همه‌ی عرض‌ها */
[data-theme="dark"] body {
	background: var(--bg);
	color: var(--ink);
}
[data-theme="dark"] .nv-scene__plate {
	background: linear-gradient(145deg, #1d222c, #12151c);
}
[data-theme="dark"] .nv-bar__cover {
	background: var(--surface-2);
}

/* گذار نرم هنگام تعویض تم */
body,
.nv-side,
.nv-panel,
.nv-card,
.nv-btn,
.nv-iconbtn {
	transition: background-color 0.35s ease, color 0.3s ease, box-shadow 0.35s ease;
}

/* دکمه‌ی تغییر تم — نمایش آیکون مناسب */
.nv-theme-toggle .nv-theme-sun {
	display: none;
}
.nv-theme-toggle .nv-theme-moon {
	display: block;
}
[data-theme="dark"] .nv-theme-toggle .nv-theme-sun {
	display: block;
}
[data-theme="dark"] .nv-theme-toggle .nv-theme-moon {
	display: none;
}
