/*!
 * ساعت جهانی آی‌کرال — استایل‌های نمایش
 * همه کلاس‌ها با پیشوند iwc هستند تا با قالب سایت تداخلی نداشته باشند.
 */

/* ---------- متغیرها و پایه ---------- */
.iwc {
	--iwc-font: 'iwc-vazirmatn', 'Vazirmatn', Tahoma, sans-serif;
	--iwc-accent: #ff9500;
	--iwc-radius: 32px;
	--iwc-size: 120px;
	--iwc-cols-d: 5;
	--iwc-cols-t: 3;
	--iwc-cols-m: 2;
	--iwc-gap: 22px;
	--iwc-open: #30d158;
	--iwc-closed: #8e8e93;

	/* تم پیش‌فرض: شیشه‌ای تیره */
	--iwc-bg: rgba(29, 29, 31, .86);
	--iwc-text: #f5f5f7;
	--iwc-title: #ffffff;
	--iwc-muted: #a1a1a6;
	--iwc-card: rgba(255, 255, 255, .045);
	--iwc-border: rgba(255, 255, 255, .09);
	--iwc-track: rgba(255, 255, 255, .08);
	--iwc-face-day: #ffffff;
	--iwc-face-night: #2c2c2e;
	--iwc-ink-day: #1d1d1f;
	--iwc-ink-night: #f5f5f7;
	--iwc-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .12);
	--iwc-blur: 20px;

	container-type: inline-size;
	container-name: iwc;
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 960px;
	margin: 24px auto;
	padding: 0;
	direction: rtl;
	text-align: right;
	font-family: var(--iwc-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--iwc-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.iwc[dir="ltr"] { direction: ltr; text-align: left; }
.iwc *, .iwc *::before, .iwc *::after { box-sizing: border-box; }
.iwc canvas { max-width: none; }

/* ---------- تم‌ها ---------- */
.iwc--glass-light {
	--iwc-bg: rgba(255, 255, 255, .78);
	--iwc-text: #1d1d1f;
	--iwc-title: #0b0b0c;
	--iwc-muted: #5c5c61;
	--iwc-card: rgba(255, 255, 255, .7);
	--iwc-border: rgba(0, 0, 0, .08);
	--iwc-track: rgba(0, 0, 0, .06);
	--iwc-face-day: #ffffff;
	--iwc-face-night: #1f2024;
	--iwc-ink-day: #1d1d1f;
	--iwc-ink-night: #f5f5f7;
	--iwc-open: #0b6a2e;
	--iwc-closed: #636366;
	--iwc-shadow: 0 24px 60px -24px rgba(17, 24, 39, .35), 0 1px 3px rgba(17, 24, 39, .08);
}
@media (prefers-color-scheme: light) {
	.iwc--auto {
		--iwc-bg: rgba(255, 255, 255, .78);
		--iwc-text: #1d1d1f;
		--iwc-title: #0b0b0c;
		--iwc-muted: #5c5c61;
		--iwc-card: rgba(255, 255, 255, .7);
		--iwc-border: rgba(0, 0, 0, .08);
		--iwc-track: rgba(0, 0, 0, .06);
		--iwc-face-night: #1f2024;
		--iwc-open: #0b6a2e;
		--iwc-closed: #636366;
		--iwc-shadow: 0 24px 60px -24px rgba(17, 24, 39, .35), 0 1px 3px rgba(17, 24, 39, .08);
	}
}
.iwc--midnight {
	--iwc-bg: radial-gradient(120% 140% at 100% 0%, #2a3a8c 0%, transparent 55%), linear-gradient(150deg, #0a0f2c 0%, #121a46 60%, #18225a 100%);
	--iwc-text: #e9ecff;
	--iwc-title: #ffffff;
	--iwc-muted: #9aa3d6;
	--iwc-card: rgba(255, 255, 255, .05);
	--iwc-border: rgba(160, 175, 255, .14);
	--iwc-track: rgba(160, 175, 255, .12);
	--iwc-face-day: #f4f6ff;
	--iwc-face-night: #141c48;
	--iwc-ink-day: #121a46;
	--iwc-ink-night: #e9ecff;
	--iwc-open: #3ee08f;
}
.iwc--aurora {
	--iwc-bg: radial-gradient(90% 120% at 0% 0%, rgba(0, 214, 170, .35) 0%, transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(150, 70, 255, .38) 0%, transparent 55%), linear-gradient(135deg, #07141f 0%, #0d1f2d 50%, #1a1236 100%);
	--iwc-text: #e6fff8;
	--iwc-title: #ffffff;
	--iwc-muted: #8fc2b8;
	--iwc-card: rgba(255, 255, 255, .05);
	--iwc-border: rgba(140, 255, 220, .14);
	--iwc-track: rgba(140, 255, 220, .1);
	--iwc-face-day: #f2fffb;
	--iwc-face-night: #10232c;
	--iwc-ink-day: #0b1d26;
	--iwc-ink-night: #e6fff8;
	--iwc-open: #2ee6a6;
}
.iwc--gold {
	--iwc-bg: radial-gradient(110% 130% at 100% 0%, rgba(212, 175, 55, .22) 0%, transparent 55%), linear-gradient(150deg, #120f09 0%, #1d180f 55%, #2a2213 100%);
	--iwc-text: #f6ead0;
	--iwc-title: #fff6df;
	--iwc-muted: #bca57a;
	--iwc-card: rgba(212, 175, 55, .06);
	--iwc-border: rgba(212, 175, 55, .18);
	--iwc-track: rgba(212, 175, 55, .12);
	--iwc-face-day: #fbf6ea;
	--iwc-face-night: #1c170e;
	--iwc-ink-day: #2a2213;
	--iwc-ink-night: #f6ead0;
	--iwc-open: #7bd88f;
	--iwc-closed: #9c8a68;
}

/* ---------- قاب اصلی ---------- */
.iwc__box {
	position: relative;
	background: var(--iwc-bg);
	-webkit-backdrop-filter: blur(var(--iwc-blur)) saturate(140%);
	backdrop-filter: blur(var(--iwc-blur)) saturate(140%);
	border: 1px solid var(--iwc-border);
	border-radius: var(--iwc-radius);
	padding: 26px 28px;
	box-shadow: var(--iwc-shadow);
	overflow: hidden;
}
.iwc--noshadow .iwc__box { box-shadow: none; }
.iwc__box--loading { min-height: 240px; }
.iwc__box--loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
	animation: iwc-shimmer 1.4s infinite;
}

/* ---------- هدر ---------- */
.iwc__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px 24px;
	flex-wrap: wrap;
	margin: 0 0 24px;
	padding: 0 0 20px;
	border-bottom: 1px solid var(--iwc-border);
}
.iwc__head-info { min-width: 0; flex: 1 1 260px; }
.iwc__title { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.4; color: var(--iwc-title); letter-spacing: -.2px; }
.iwc__subtitle { margin: 2px 0 0; font-size: 13.5px; font-weight: 400; color: var(--iwc-muted); }
.iwc__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.iwc__summary-label { font-size: 12.5px; color: var(--iwc-muted); margin-inline-end: 2px; }
.iwc-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 3px 11px;
	font-size: 12.5px; font-weight: 600; line-height: 1.6;
	border-radius: 999px;
	background: var(--iwc-card);
	border: 1px solid var(--iwc-border);
	color: var(--iwc-muted);
}
.iwc-chip.is-open {
	color: var(--iwc-open);
	background: rgba(48, 209, 88, .12);
	background: color-mix(in srgb, var(--iwc-open) 14%, transparent);
	border-color: color-mix(in srgb, var(--iwc-open) 30%, transparent);
}
.iwc-chip.is-open::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: iwc-pulse 2s infinite; }
.iwc__now { text-align: end; flex: 0 0 auto; }
.iwc__now-label { font-size: 12px; color: var(--iwc-muted); }
.iwc__now-row { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; }
.iwc__now-ampm { font-size: 14px; font-weight: 600; color: var(--iwc-muted); }
.iwc__now-ampm:empty { display: none; }
.iwc__now-time { display: block; font-size: 30px; font-weight: 800; line-height: 1.25; color: var(--iwc-title); letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.iwc__now-date { font-size: 13px; color: var(--iwc-text); opacity: .85; }

/* ---------- شبکه ساعت‌ها ---------- */
.iwc__grid {
	--iwc-cols: var(--iwc-cols-m);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--iwc-gap) 14px;
}
@container iwc (min-width: 520px) { .iwc__grid { --iwc-cols: var(--iwc-cols-t); } }
@container iwc (min-width: 820px) { .iwc__grid { --iwc-cols: var(--iwc-cols-d); } }

.iwc-item {
	position: relative;
	flex: 0 0 calc((100% - (var(--iwc-cols) - 1) * 14px) / var(--iwc-cols));
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 3px;
	padding: 6px 4px 4px;
	border-radius: calc(var(--iwc-radius) * .6);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .35s, box-shadow .35s;
}
.iwc--cards .iwc-item {
	padding: 18px 10px 14px;
	background: var(--iwc-card);
	border: 1px solid var(--iwc-border);
}
.iwc-item:hover { transform: translateY(-3px); }
.iwc--cards .iwc-item:hover { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); }

.iwc-item__dial {
	position: relative;
	width: 100%;
	max-width: var(--iwc-size);
	aspect-ratio: 1 / 1;
	margin: 0 auto 10px;
	transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.iwc-item:hover .iwc-item__dial { transform: scale(1.035); }
.iwc-item__canvas { display: block; width: 100% !important; height: 100% !important; margin: 0; padding: 0; border: 0; }
.iwc-item.is-ref .iwc-item__dial::after {
	content: '';
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid var(--iwc-accent);
	opacity: .85;
	pointer-events: none;
}
.iwc-item__dn {
	position: absolute;
	top: 2%;
	inset-inline-end: 2%;
	width: 24%;
	max-width: 26px;
	min-width: 18px;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #ffd60a;
	color: #7a4b00;
	box-shadow: 0 3px 10px rgba(255, 190, 0, .45);
	padding: 3px;
	z-index: 2;
}
.iwc-item.is-night .iwc-item__dn { background: #3a3f6b; color: #dfe3ff; box-shadow: 0 3px 10px rgba(30, 40, 120, .45); }
.iwc-item__dn svg { width: 100%; height: 100%; display: block; }

.iwc-item__body, .iwc-item__side { display: contents; }
.iwc-item__name { order: 1; margin: 0; font-size: 17px; font-weight: 800; line-height: 1.5; color: var(--iwc-title); }
.iwc-item__digital { order: 2; display: inline-flex; align-items: baseline; gap: 4px; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--iwc-text); }
.iwc-item__time { font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.iwc-item__ampm { font-size: 11.5px; font-weight: 500; color: var(--iwc-muted); }
.iwc-item__ampm:empty { display: none; }
.iwc-item__meta { order: 3; font-size: 12.5px; line-height: 1.7; color: var(--iwc-muted); text-wrap: balance; }
.iwc-item__day {
	display: inline-block;
	margin-inline-end: 6px;
	padding: 0 7px;
	font-size: 11px; font-weight: 600; line-height: 1.75;
	border-radius: 6px;
	background: var(--iwc-track);
	color: var(--iwc-muted);
	vertical-align: 1px;
}
.iwc-item__day.is-shift { background: color-mix(in srgb, var(--iwc-accent) 18%, transparent); color: var(--iwc-text); }
.iwc-item__off { display: inline-block; max-width: 100%; }
.iwc-item__date-main, .iwc-item__date-alt { display: block; }
.iwc-item__date-alt { font-size: 11.5px; }
.iwc-item__utc { display: block; font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.iwc-item__date { order: 4; font-size: 12px; line-height: 1.7; color: var(--iwc-muted); text-wrap: balance; }
.iwc-item__market { order: 5; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; margin-top: auto; padding-top: 10px; }

.iwc-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 2px 10px 2px 11px;
	font-size: 12px; font-weight: 600; line-height: 1.7;
	border-radius: 999px;
	color: var(--iwc-closed);
	background: rgba(142, 142, 147, .16);
	background: color-mix(in srgb, var(--iwc-closed) 16%, transparent);
	white-space: nowrap;
}
.iwc-pill.is-open { color: var(--iwc-open); background: rgba(48, 209, 88, .14); background: color-mix(in srgb, var(--iwc-open) 15%, transparent); }
.iwc-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.iwc-pill.is-open .iwc-pill__dot { animation: iwc-pulse 2s infinite; }
.iwc-item__countdown { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 5px; font-size: 11.5px; line-height: 1.5; color: var(--iwc-muted); }
.iwc-item__cd-value { font-weight: 700; color: var(--iwc-text); font-variant-numeric: tabular-nums; letter-spacing: .3px; white-space: nowrap; }
.iwc-item__bar { width: 70%; max-width: 110px; height: 3px; border-radius: 3px; background: var(--iwc-track); overflow: hidden; }
.iwc-item__bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--iwc-open); transition: width 1s linear; }
.iwc-item:not(.is-open) .iwc-item__bar { visibility: hidden; }

/* ---------- چیدمان فهرستی ---------- */
.iwc--layout-list .iwc__grid { flex-direction: column; flex-wrap: nowrap; gap: 0; }
.iwc--layout-list .iwc-item {
	flex: 1 1 auto;
	width: 100%;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 4px 16px;
	text-align: right;
	padding: 12px 6px;
	border-radius: 0;
	border-bottom: 1px solid var(--iwc-border);
}
.iwc--layout-list.iwc--cards .iwc__grid { gap: 10px; }
.iwc--layout-list.iwc--cards .iwc-item { border-radius: calc(var(--iwc-radius) * .5); padding: 12px 14px; }
.iwc--layout-list:not(.iwc--cards) .iwc-item:last-child { border-bottom: 0; }
.iwc--layout-list .iwc-item:hover { transform: none; background: var(--iwc-card); }
.iwc--layout-list .iwc-item__dial { width: min(var(--iwc-size), 76px); margin: 0; }
.iwc--layout-list .iwc-item__dn { min-width: 16px; }
.iwc--layout-list .iwc-item__body,
.iwc--layout-list .iwc-item__side { display: flex; flex-direction: column; min-width: 0; }
.iwc--layout-list .iwc-item__body { align-items: flex-start; }
.iwc--layout-list .iwc-item__side { align-items: flex-end; gap: 4px; }
.iwc--layout-list .iwc-item__digital { font-size: 22px; }
.iwc--layout-list .iwc-item__market { margin: 0; padding: 0; align-items: flex-end; }
.iwc--layout-list .iwc-item__countdown { justify-content: flex-end; }
.iwc--layout-list .iwc-item__meta { text-wrap: wrap; }
.iwc--layout-list .iwc-item__bar { width: 110px; }

/* ---------- نمودار زمانی سشن‌ها ---------- */
.iwc__tl { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--iwc-border); }
.iwc__tl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.iwc__tl-title { font-size: 14.5px; font-weight: 700; color: var(--iwc-title); }
.iwc__tl-note { font-size: 12px; color: var(--iwc-muted); }
.iwc__tl-grid { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; }
.iwc__tl-labels { display: flex; flex-direction: column; gap: 10px; }
.iwc__tl-label { height: 14px; font-size: 12px; line-height: 14px; font-weight: 600; color: var(--iwc-text); white-space: nowrap; }
.iwc__tl-label--axis { height: 18px; }
.iwc__tl-area { position: relative; display: flex; flex-direction: column; gap: 10px; }
.iwc__tl-track { position: relative; height: 14px; border-radius: 999px; background: var(--iwc-track); }
.iwc__tl-seg {
	position: absolute; top: 0; bottom: 0;
	border-radius: 999px;
	background: var(--seg, var(--iwc-accent));
	opacity: .45;
	transition: opacity .4s, box-shadow .4s;
}
.iwc__tl-seg.is-active { opacity: 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 0 14px -2px var(--seg, var(--iwc-accent)); }
.iwc__tl-seg.is-off { opacity: .18; }
.iwc__tl-axis { position: relative; height: 18px; }
.iwc__tl-tick { position: absolute; top: 0; transform: translateX(50%); font-size: 11px; line-height: 18px; color: var(--iwc-muted); }
.iwc__tl-tick.is-first { transform: none; }
.iwc__tl-tick.is-last { transform: translateX(100%); }
.iwc__tl-now {
	position: absolute; top: -6px; bottom: 14px;
	width: 2px; margin-inline-start: -1px;
	border-radius: 2px;
	background: var(--iwc-title);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), 0 0 8px rgba(0, 0, 0, .25);
	pointer-events: none;
	z-index: 2;
}
.iwc__tl-now::before {
	content: '';
	position: absolute; top: -5px; left: 50%;
	width: 10px; height: 10px; margin-left: -5px;
	border-radius: 50%;
	background: var(--iwc-accent);
	box-shadow: 0 0 0 2px var(--iwc-title);
}

/* ---------- واکنش‌گرایی بر اساس عرض خود ویجت ---------- */
@container iwc (max-width: 519px) {
	.iwc__box { padding: 20px 16px; }
	.iwc__head { margin-bottom: 18px; padding-bottom: 16px; }
	.iwc__now { text-align: start; }
	.iwc__clocks { flex-basis: 100%; }
	.iwc__now-time { font-size: 26px; }
	.iwc__title { font-size: 18px; }
	.iwc-item__name { font-size: 15.5px; }
	.iwc-item__digital { font-size: 17px; }
	.iwc--layout-list .iwc-item { grid-template-columns: auto 1fr auto; gap: 2px 10px; }
	.iwc--layout-list .iwc-item__dial { width: min(var(--iwc-size), 58px); }
	.iwc--layout-list .iwc-item__bar { display: none; }
	.iwc--layout-list .iwc-item__countdown { display: none; }
	.iwc__tl-label { font-size: 11px; }
	.iwc__now-row { justify-content: flex-start; }
	.iwc__tl-tick.is-minor { display: none; }
}

/* ---------- انیمیشن‌ها ---------- */
.iwc--animate .iwc-item { animation: iwc-in .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
.iwc--animate .iwc__head, .iwc--animate .iwc__tl { animation: iwc-fade .7s ease both; }
@keyframes iwc-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes iwc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes iwc-pulse {
	0% { box-shadow: 0 0 0 0 currentColor; }
	70% { box-shadow: 0 0 0 6px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes iwc-shimmer { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
	.iwc *, .iwc *::before, .iwc *::after { animation: none !important; transition: none !important; }
}

/* ---------- پیام مدیر و حالت بدون جاوااسکریپت ---------- */
.iwc-notice {
	direction: rtl; text-align: right;
	font-family: 'iwc-vazirmatn', Tahoma, sans-serif;
	padding: 14px 18px; margin: 16px 0;
	border-radius: 12px;
	background: #fff8e6; color: #7a5200; border: 1px dashed #e0b44c;
	font-size: 14px;
}

/* ---------- داخل ابزارک سایدبار ---------- */
.iwc.iwc--in-widget { margin: 0; }

/* ==========================================================
 * نسخه ۲ — ابزارها، زمان طلایی، بروکر، مبدل، کاروسل و …
 * ========================================================== */
.iwc__title-row { display: flex; align-items: center; justify-content: flex-start; gap: 8px 14px; flex-wrap: wrap; }
.iwc__tools { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.iwc-tool {
	appearance: none; -webkit-appearance: none;
	display: inline-grid; place-items: center;
	width: 34px; height: 34px; padding: 0; margin: 0;
	border-radius: 10px;
	border: 1px solid var(--iwc-border);
	background: var(--iwc-card);
	color: var(--iwc-text);
	font: inherit; line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.iwc-tool:hover { border-color: color-mix(in srgb, var(--iwc-accent) 55%, transparent); color: var(--iwc-title); background: var(--iwc-card); }
.iwc-tool:active { transform: scale(.95); }
.iwc-tool svg { width: 18px; height: 18px; display: block; }
.iwc-tool.is-active { color: var(--iwc-accent); border-color: color-mix(in srgb, var(--iwc-accent) 55%, transparent); background: color-mix(in srgb, var(--iwc-accent) 14%, transparent); }
.iwc-tool--text { display: inline-flex; width: auto; gap: 6px; padding: 0 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.iwc-tool--text svg { width: 16px; height: 16px; }
.iwc__head--mini { justify-content: flex-end; padding-bottom: 14px; margin-bottom: 18px; }

.iwc__clocks { display: flex; align-items: flex-end; gap: 14px 22px; flex-wrap: wrap; }
.iwc__now--broker { padding-inline-start: 22px; border-inline-start: 1px solid var(--iwc-border); }
.iwc__now--broker .iwc__now-time { font-size: 22px; font-weight: 700; color: var(--iwc-text); }
.iwc__now--broker .iwc__now-label { display: inline-flex; align-items: center; }
.iwc__ico { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-inline-end: 5px; flex: 0 0 auto; vertical-align: -2px; }
.iwc__ico svg { width: 100%; height: 100%; display: block; }

/* زمان طلایی */
.iwc-chip--gold {
	--gold: #ffc94a;
	color: var(--gold);
	background: linear-gradient(135deg, rgba(255, 201, 74, .2), rgba(255, 149, 0, .12));
	border-color: rgba(255, 201, 74, .45);
}
.iwc-chip--gold .iwc__ico { margin-inline-end: 0; }
.iwc-chip__sub { font-weight: 700; font-variant-numeric: tabular-nums; opacity: .9; margin-inline-start: 2px; padding-inline-start: 7px; border-inline-start: 1px solid rgba(255, 201, 74, .35); }
.iwc--glass-light .iwc-chip--gold { --gold: #8a5300; border-color: rgba(176, 110, 0, .35); }
@media (prefers-color-scheme: light) { .iwc--auto .iwc-chip--gold { --gold: #8a5300; border-color: rgba(176, 110, 0, .35); } }
.iwc__tl-label--gold { display: inline-flex; align-items: center; color: #e8a917; }
.iwc--glass-light .iwc__tl-label--gold { color: #8a5300; }
.iwc__tl-track--gold { background: repeating-linear-gradient(90deg, var(--iwc-track) 0 6px, transparent 6px 10px); }
.iwc__tl-seg--gold {
	opacity: 1;
	background: linear-gradient(90deg, #f7b733, #ffe08a 50%, #f7b733);
	box-shadow: 0 0 14px -3px rgba(247, 183, 51, .85);
}

/* مبدل زمان */
.iwc__conv {
	margin: -6px 0 22px;
	padding: 14px 16px;
	border-radius: calc(var(--iwc-radius) * .45);
	background: var(--iwc-card);
	border: 1px dashed color-mix(in srgb, var(--iwc-accent) 50%, transparent);
	animation: iwc-fade .3s ease both;
}
.iwc__conv[hidden] { display: none; }
.iwc__conv-title { font-size: 12.5px; color: var(--iwc-muted); margin-bottom: 8px; }
.iwc__conv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.iwc__conv-day {
	appearance: auto;
	min-height: 34px; max-width: 100%;
	padding: 4px 10px;
	border-radius: 10px;
	border: 1px solid var(--iwc-border);
	background: var(--iwc-card);
	color: var(--iwc-text);
	font: inherit; font-size: 13px;
}
.iwc__conv-day option { color: #1d1d1f; background: #fff; }
.iwc__conv-range { flex: 1 1 220px; min-width: 160px; height: 24px; margin: 0; padding: 0; border: 0 !important; box-shadow: none !important; outline-offset: 4px; accent-color: var(--iwc-accent); background: transparent !important; cursor: pointer; }
.iwc__conv-out { font-size: 20px; font-weight: 800; color: var(--iwc-accent); font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: center; }
.iwc.is-virtual .iwc-item__time,
.iwc.is-virtual .iwc__now-time { color: var(--iwc-accent); }
.iwc.is-virtual .iwc-pill__dot, .iwc.is-virtual .iwc-chip.is-open::before { animation: none; }
.iwc.is-virtual .iwc__box { box-shadow: var(--iwc-shadow), inset 0 0 0 2px color-mix(in srgb, var(--iwc-accent) 55%, transparent); }

/* پرچم */
.iwc-flag {
	display: inline-block;
	width: 20px !important; height: 15px !important;
	margin: 0; margin-inline-end: 7px;
	border-radius: 3px;
	object-fit: cover;
	vertical-align: -2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 1px 2px rgba(0, 0, 0, .15);
}

/* تغییر ساعت پیش‌رو */
.iwc__dst {
	--dst: #ffb340;
	margin-top: 22px;
	padding: 12px 16px;
	border-radius: calc(var(--iwc-radius) * .45);
	background: rgba(255, 179, 64, .08);
	border: 1px solid rgba(255, 179, 64, .28);
	font-size: 13px;
	line-height: 1.9;
}
.iwc__dst[hidden] { display: none; }
.iwc--glass-light .iwc__dst { --dst: #8a5300; background: rgba(255, 179, 64, .12); }
@media (prefers-color-scheme: light) { .iwc--auto .iwc__dst { --dst: #8a5300; } }
.iwc__dst-head { display: flex; align-items: center; font-weight: 700; color: var(--dst); margin-bottom: 2px; }
.iwc__dst-head .iwc__ico { width: 16px; height: 16px; }
.iwc__dst-list { list-style: none; margin: 0; padding: 0; }
.iwc__dst-list li { margin: 0; padding: 0; color: var(--iwc-text); }
.iwc__dst-after { color: var(--iwc-muted); font-size: 12px; margin-inline-start: 8px; }

/* کاروسل موبایل */
.iwc__carousel-nav { display: none; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.iwc__dots { display: flex; align-items: center; gap: 6px; }
.iwc-dot {
	appearance: none; -webkit-appearance: none;
	width: 7px; height: 7px; padding: 0; margin: 0;
	border: 0; border-radius: 99px;
	background: var(--iwc-muted); opacity: .4;
	cursor: pointer;
	transition: width .3s, opacity .3s, background-color .3s;
}
.iwc-dot.is-active { width: 20px; opacity: 1; background: var(--iwc-accent); }
.iwc-cbtn {
	appearance: none; -webkit-appearance: none;
	display: grid; place-items: center;
	width: 32px; height: 32px; padding: 0; margin: 0;
	border-radius: 50%;
	border: 1px solid var(--iwc-border);
	background: var(--iwc-card);
	color: var(--iwc-text);
	cursor: pointer;
}
.iwc-cbtn svg { width: 16px; height: 16px; }
.iwc-cbtn:disabled { opacity: .35; cursor: default; }
@container iwc (max-width: 519px) {
	.iwc--carousel .iwc__grid {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		gap: 12px;
		margin: 0 -16px;
		padding: 4px 12% 10px;
	}
	.iwc--carousel .iwc__grid::-webkit-scrollbar { display: none; }
	.iwc--carousel .iwc-item { flex: 0 0 76%; scroll-snap-align: center; }
	.iwc--carousel .iwc-item:hover { transform: none; }
	.iwc--carousel .iwc__carousel-nav { display: flex; }
	.iwc__clocks { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; align-items: start; }
	.iwc__clocks .iwc__now { text-align: start; }
	.iwc__clocks .iwc__now-row { justify-content: flex-start; }
	.iwc__now--broker { padding-inline-start: 12px; }
	.iwc__now--broker .iwc__now-time { font-size: 20px; }
	.iwc__clocks .iwc__now-time { font-size: 24px; }
	.iwc__now-date { font-size: 12px; }
	.iwc__conv-out { font-size: 18px; }
}

/* ورق‌خوردن ارقام */
.iwc-flip { display: inline-block; backface-visibility: hidden; transform-origin: 50% 55%; }

/* دسترس‌پذیری */
.iwc-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.iwc button:focus-visible, .iwc select:focus-visible, .iwc input:focus-visible, .iwc__grid:focus-visible {
	outline: 2px solid var(--iwc-accent);
	outline-offset: 2px;
}

/* اعلان داخل صفحه */
.iwc-toasts {
	position: fixed; z-index: 2147483000;
	inset-block-end: 20px; inset-inline-start: 20px;
	display: flex; flex-direction: column; gap: 8px;
	max-width: min(380px, calc(100vw - 32px));
	font-family: 'iwc-vazirmatn', 'Vazirmatn', Tahoma, sans-serif;
	pointer-events: none;
}
.iwc-toast {
	--iwc-accent: #ff9500;
	display: flex; align-items: center; gap: 12px;
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(24, 24, 27, .95);
	color: #fff;
	font-size: 14px; line-height: 1.7;
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	animation: iwc-toast-in .35s cubic-bezier(.2, .8, .2, 1) both;
	transition: opacity .35s, transform .35s;
	pointer-events: auto;
}
.iwc-toast.is-out { opacity: 0; transform: translateY(10px); }
.iwc-toast__ico { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--iwc-accent); color: #fff; }
.iwc-toast__ico svg { width: 17px; height: 17px; }
@keyframes iwc-toast-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* جهت چپ‌به‌راست (نسخه انگلیسی) */
.iwc[dir="ltr"] .iwc__tl-tick { transform: translateX(-50%); }
.iwc[dir="ltr"] .iwc__tl-tick.is-first { transform: none; }
.iwc[dir="ltr"] .iwc__tl-tick.is-last { transform: translateX(-100%); }
.iwc[dir="ltr"] .iwc-item__name, .iwc[dir="ltr"] .iwc-item__meta { letter-spacing: 0; }

/* ابزارک پیشخوان */
#iwc_dashboard .inside { padding: 0; margin: 0; }
#iwc_dashboard .iwc { margin: 0; }
#iwc_dashboard .iwc__box { border-radius: 0 0 4px 4px; box-shadow: none; border: 0; }
.iwc-dash-link { margin: 0; padding: 8px 12px; text-align: end; border-top: 1px solid #f0f0f1; }
