/* Avayeto Music Theme — design tokens & shell (scoped #avt-root) */

@font-face {
	font-family: "IranSans";
	src: url("https://avayeto.com/wp-content/uploads/2021/03/IRANSans.ttf") format("truetype");
	font-weight: 100 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "IranSans";
	src: url("https://avayeto.com/wp-content/uploads/2021/03/IRANSans-Bold.ttf") format("truetype");
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

html,
body.avt-body {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100%;
	background: #111;
	font-family: "IranSans", Tahoma, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

#avt-root.avt-root,
#avt-root.avt-root *,
#avt-root.avt-root *::before,
#avt-root.avt-root *::after {
	box-sizing: border-box;
}

#avt-root.avt-root--embedded {
	min-height: 0;
	display: block;
	width: 100%;
}

#avt-root.avt-root--embedded .avt-main {
	overflow-x: visible;
}

#avt-root.avt-root {
	--avt-bg: #111111;
	--avt-surface: #1a1a1a;
	--avt-surface-2: #222222;
	--avt-text: #ededed;
	--avt-muted: rgba(237, 237, 237, 0.65);
	--avt-muted-2: rgba(237, 237, 237, 0.42);
	--avt-border: rgba(237, 237, 237, 0.12);
	--avt-primary: #dc143c;
	--avt-accent: #14dcb4;
	--avt-danger: #ff4d6d;
	--avt-radius: 18px;
	--avt-radius-sm: 12px;
	--avt-radius-pill: 999px;
	--avt-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
	--avt-shadow-lg: 0 22px 70px rgba(0, 0, 0, 0.55);
	--avt-gradient: linear-gradient(270deg, rgba(20, 220, 180, 0.95), rgba(220, 20, 60, 0.95));
	--avt-font: "IranSans", Tahoma, sans-serif;
	--avt-safe-bottom: env(safe-area-inset-bottom, 0px);
	--avt-header-h: 0px;
	--avt-max: 1120px;

	position: relative;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	color: var(--avt-text);
	background: var(--avt-bg);
	font-family: var(--avt-font);
	font-size: 14px;
	line-height: 1.65;
	overflow-x: clip;
}

#avt-root.avt-root :is(input, textarea, select, button, optgroup, option) {
	font-family: var(--avt-font);
}

#avt-root.avt-root :where(
	h1, h2, h3, h4, h5, h6,
	p, label, legend, small, strong, em, b,
	li, td, th, dt, dd, span, a
) {
	font-family: var(--avt-font);
}

#avt-root a {
	color: inherit;
	text-decoration: none;
}

#avt-root img {
	max-width: 100%;
	display: block;
}

#avt-root button {
	font-family: var(--avt-font);
	cursor: pointer;
	border: 0;
	background: none;
	color: inherit;
}

#avt-root [hidden] {
	display: none !important;
}

#avt-root .avt-logo {
	height: 34px;
	width: auto;
	opacity: 0.95;
}

#avt-root .avt-logo--footer {
	height: 28px;
	opacity: 0.85;
}

#avt-root .avt-main {
	flex: 1;
	width: 100%;
	min-width: 0;
	overflow-x: clip;
}

#avt-root .avt-footer {
	margin-top: auto;
	border-top: 1px solid var(--avt-border);
	padding: 28px 18px calc(28px + var(--avt-safe-bottom));
	background: rgba(0, 0, 0, 0.25);
}

#avt-root .avt-footer__inner {
	max-width: var(--avt-max);
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

#avt-root .avt-footer__brand {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

#avt-root .avt-footer__copy {
	margin: 0;
	font-size: 12px;
	color: var(--avt-muted);
	letter-spacing: 0.02em;
	text-align: center;
}

#avt-root .avt-container {
	max-width: var(--avt-max);
	margin: 0 auto;
	padding: 0 18px;
	width: 100%;
	min-width: 0;
}

#avt-root .avt-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: var(--avt-radius-pill);
	border: 1px solid var(--avt-border);
	background: rgba(0, 0, 0, 0.28);
	font-size: 11px;
	font-weight: 750;
	color: rgba(237, 237, 237, 0.88);
	white-space: nowrap;
}

#avt-root .avt-chip--accent {
	border-color: rgba(20, 220, 180, 0.35);
	background: rgba(20, 220, 180, 0.12);
	color: var(--avt-accent);
}

#avt-root .avt-chip--type {
	border-color: rgba(220, 20, 60, 0.35);
	background: rgba(220, 20, 60, 0.12);
	color: #ff6b8a;
}

#avt-root .avt-section-title {
	margin: 0 0 14px;
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	font-weight: 900;
}

#avt-root .avt-empty {
	padding: 36px 20px;
	border-radius: var(--avt-radius);
	border: 1px dashed var(--avt-border);
	background: rgba(255, 255, 255, 0.02);
	text-align: center;
	color: var(--avt-muted);
}

#avt-root .avt-empty__title {
	margin: 0 0 6px;
	font-weight: 800;
	color: var(--avt-text);
}

#avt-root .avt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 16px;
	border-radius: var(--avt-radius-sm);
	border: 1px solid var(--avt-border);
	background: rgba(255, 255, 255, 0.04);
	font-size: 13px;
	font-weight: 800;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

#avt-root .avt-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(237, 237, 237, 0.22);
}

#avt-root .avt-btn:active {
	transform: scale(0.98);
}

#avt-root .avt-btn--accent {
	border-color: rgba(20, 220, 180, 0.4);
	background: rgba(20, 220, 180, 0.14);
	color: var(--avt-accent);
}

#avt-root .avt-btn--primary {
	border-color: transparent;
	background: var(--avt-gradient);
	color: #fff;
}

#avt-root .avt-btn--ghost {
	background: transparent;
}

#avt-root .avt-btn--icon {
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border-radius: 50%;
}

#avt-root .avt-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

#avt-root .is-ltr {
	direction: ltr;
	unicode-bidi: isolate;
}

#avt-root .avt-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 720px) {
	#avt-root .avt-container {
		padding-left: 14px;
		padding-right: 14px;
	}

	#avt-root .avt-footer {
		padding-left: 14px;
		padding-right: 14px;
	}

	#avt-root .avt-footer__inner {
		flex-wrap: wrap;
		gap: 8px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#avt-root *,
	#avt-root *::before,
	#avt-root *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
