/*
Theme Name: بیت میکس
*/
@font-face {
    font-family: 'Estedad';
    src: url('assets/fonts/Estedad-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('assets/fonts/Estedad-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.bm-theme {
    --bm-bg: #0f1117;
    --bm-panel: #171a23;
    --bm-panel-2: #1d212c;
    --bm-panel-3: #242936;
    --bm-line: rgba(255,255,255,.085);
    --bm-text: #f7f8fb;
    --bm-muted: #a1a8b6;
    --bm-accent: #62e2c0;
    --bm-accent-2: #7f8cff;
    --bm-warm: #ff9b6a;
    --bm-danger: #ff6682;
    --bm-shadow: 0 22px 60px rgba(0,0,0,.28);
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 0%, rgba(98,226,192,.08), transparent 26%),
        radial-gradient(circle at 12% 12%, rgba(127,140,255,.08), transparent 24%),
        #0f1117;
    color: var(--bm-text);
    font-family: 'Estedad', Tahoma, Arial, sans-serif;
    direction: rtl;
    padding-bottom: 108px;
}

.bm-theme * { box-sizing: border-box; }
.bm-theme a { color: inherit; text-decoration: none; }
.bm-theme button,
.bm-theme input,
.bm-theme textarea,
.bm-theme select { font: inherit; }
.bm-theme img { display: block; max-width: 100%; }
.bm-theme button { color: inherit; }
.bm-theme .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; }
.bm-theme .bm-icon { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.bm-theme .bm-wrap { width:min(1500px, calc(100% - 48px)); margin:0 auto; }

.bm-theme .bm-header {
    position: sticky;
    top: 0;
    z-index: 60;
    min-height: 76px;
    border-bottom: 1px solid var(--bm-line);
    background: rgba(15,17,23,.88);
    backdrop-filter: blur(20px);
}
.bm-theme .bm-header__inner {
    width:min(1500px, calc(100% - 48px));
    min-height:76px;
    margin:0 auto;
    display:grid;
    grid-template-columns:auto minmax(260px,420px) 1fr auto;
    gap:22px;
    align-items:center;
}
.bm-theme .bm-brand { display:flex;align-items:center;gap:12px;min-width:150px; }
.bm-theme .bm-brand__logo { width:46px;height:46px;aspect-ratio:1/1;object-fit:cover;border-radius:13px; }
.bm-theme .bm-brand__name { font-size:20px;font-weight:900;letter-spacing:-.4px; }
.bm-theme .bm-search { position:relative; }
.bm-theme .bm-search__input { width:100%;height:46px;border:1px solid var(--bm-line);outline:0;border-radius:14px;background:rgba(255,255,255,.035);color:#fff;padding:0 44px 0 14px; }
.bm-theme .bm-search__input::placeholder { color:#747b89; }
.bm-theme .bm-search__icon { position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#747b89;pointer-events:none; }
.bm-theme .bm-nav { display:flex;align-items:center;gap:22px;overflow:hidden; }
.bm-theme .bm-nav > li { list-style:none;margin:0;padding:0; }
.bm-theme .bm-nav a { color:#b7bcc6;font-size:13px;font-weight:700;transition:.2s ease; }
.bm-theme .bm-nav a:hover,
.bm-theme .bm-nav .current-menu-item > a { color:#fff; }
.bm-theme .bm-call { min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 15px;border-radius:13px;background:linear-gradient(135deg,var(--bm-warm),#ff765f);color:#fff;font-size:12px;font-weight:900;white-space:nowrap;box-shadow:0 12px 32px rgba(255,130,95,.16); }
.bm-theme .bm-mobile-menu { display:none;width:44px;height:44px;border:1px solid var(--bm-line);border-radius:13px;background:var(--bm-panel);place-items:center;cursor:pointer; }

.bm-theme .bm-main { width:min(1500px, calc(100% - 48px)); margin:0 auto; padding:28px 0 52px; }
.bm-theme .bm-section-head { display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px; }
.bm-theme .bm-section-title { margin:0;font-size:18px;font-weight:950;letter-spacing:-.3px; }
.bm-theme .bm-section-title::before { content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--bm-accent);margin-left:9px;box-shadow:0 0 0 5px rgba(98,226,192,.08); }

.bm-theme .bm-featured-shell { position:relative;margin-bottom:26px; }
.bm-theme .bm-featured-rail {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
    padding: 2px 1px 8px; }
.bm-theme .bm-featured-rail::-webkit-scrollbar { display:none; }
.bm-theme .bm-featured-card { scroll-snap-align:start;border:1px solid var(--bm-line);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022));overflow:hidden;transition:.22s ease; }
.bm-theme .bm-featured-card:hover { transform:translateY(-3px);border-color:rgba(98,226,192,.28); }
.bm-theme .bm-featured-card__media { position:relative; }
.bm-theme .bm-featured-card__cover { width:100%;aspect-ratio:1/1;object-fit:cover; }
.bm-theme .bm-featured-card__play { position:absolute;left:13px;bottom:13px;width:43px;height:43px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(15,17,23,.76);display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(10px); }
.bm-theme .bm-featured-card__body { padding:14px; }
.bm-theme .bm-featured-card__title { margin:0 0 7px;font-size:14px;line-height:1.75;font-weight:900; }
.bm-theme .bm-featured-card__artist { color:var(--bm-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.bm-theme .bm-featured-card__footer { margin-top:11px;display:flex;align-items:center;justify-content:space-between;color:#8d95a4;font-size:10px; }
.bm-theme .bm-carousel-arrow { display:none !important; position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:42px;height:42px;border-radius:50%;border:1px solid var(--bm-line);background:rgba(24,27,35,.94);display:grid;place-items:center;cursor:pointer;box-shadow:var(--bm-shadow); }
.bm-theme .bm-carousel-arrow--prev { right:-18px; }
.bm-theme .bm-carousel-arrow--next { left:-18px; }

.bm-theme .bm-columns { display:grid;grid-template-columns:350px minmax(0,1fr) 350px;gap:22px;align-items:start; }
.bm-theme .bm-sidebox { position:sticky;top:96px;border:1px solid var(--bm-line);border-radius:18px;background:rgba(255,255,255,.027);overflow:hidden; }
.bm-theme .bm-sidebox__head { padding:16px 16px 13px;border-bottom:1px solid var(--bm-line); }
.bm-theme .bm-sidebox__title { margin:0;font-size:14px;font-weight:950; }
.bm-theme .bm-side-list { display:grid; }
.bm-theme .bm-side-item { display:grid;grid-template-columns:52px minmax(0,1fr) 26px;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.055);transition:.18s ease; }
.bm-theme .bm-side-item:last-child { border-bottom:0; }
.bm-theme .bm-side-item:hover { background:rgba(255,255,255,.035); }
.bm-theme .bm-side-item__cover { width:52px;aspect-ratio:1/1;object-fit:cover;border-radius:10px; }
.bm-theme .bm-side-item__title { display:block;font-size:11px;font-weight:850;line-height:1.65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.bm-theme .bm-side-item__artist { display:block;margin-top:2px;color:var(--bm-muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.bm-theme .bm-side-item__icon { color:#7d8491;display:grid;place-items:center; }
.bm-theme .bm-artist-list { display:flex;flex-wrap:wrap;gap:8px;padding:13px; }
.bm-theme .bm-artist-chip { max-width:100%;padding:8px 10px;border:1px solid var(--bm-line);border-radius:999px;color:#b5bbc6;font-size:10px;transition:.2s ease; }
.bm-theme .bm-artist-chip:hover { color:#fff;border-color:rgba(98,226,192,.3);background:rgba(98,226,192,.06); }

.bm-theme .bm-post-stack { display:grid;gap:22px; }
.bm-theme .bm-post-card { border:1px solid var(--bm-line);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018));overflow:hidden;box-shadow:0 16px 48px rgba(0,0,0,.16); }
.bm-theme .bm-post-card__head { padding:19px 20px 17px;text-align:center; }
.bm-theme .bm-post-card__title { margin:0;font-size:20px;line-height:1.65;font-weight:950; }
.bm-theme .bm-post-card__subtitle { margin:8px auto 0;max-width:650px;color:var(--bm-muted);font-size:11px;line-height:1.9; }
.bm-theme .bm-post-card__media { width:min(100% - 34px, 720px);margin:0 auto;position:relative; }
.bm-theme .bm-post-card__cover { width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px; }
.bm-theme .bm-post-card__play { position:absolute;left:15px;bottom:15px;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(13,15,20,.78);display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(12px); }
.bm-theme .bm-post-card__actions { margin:18px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--bm-line);border-radius:15px;background:rgba(255,255,255,.024); }
.bm-theme .bm-post-card__meta { display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:var(--bm-muted);font-size:10px; }
.bm-theme .bm-post-card__buttons { display:flex;align-items:center;gap:8px; }
.bm-theme .bm-btn { min-height:40px;padding:0 13px;border:1px solid var(--bm-line);border-radius:12px;background:rgba(255,255,255,.035);display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;color:#e9ebef;font-size:11px;font-weight:800; }
.bm-theme .bm-btn--primary { border-color:transparent;background:linear-gradient(135deg,var(--bm-accent),#47b7ff);color:#071015; }
.bm-theme .bm-like.is-liked { color:#ff7892;border-color:rgba(255,102,130,.3);background:rgba(255,102,130,.08); }

.bm-theme .bm-pagination { display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:26px; }
.bm-theme .bm-pagination .page-numbers { min-width:38px;height:38px;padding:0 11px;border:1px solid var(--bm-line);border-radius:10px;display:grid;place-items:center;color:#aeb4bf;background:rgba(255,255,255,.025); }
.bm-theme .bm-pagination .current { color:#071015;background:var(--bm-accent);border-color:var(--bm-accent);font-weight:900; }

.bm-theme .bm-single { display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start; }
.bm-theme .bm-single-main { border:1px solid var(--bm-line);border-radius:22px;background:rgba(255,255,255,.025);overflow:hidden; }
.bm-theme .bm-single-head { padding:24px;text-align:center;border-bottom:1px solid var(--bm-line); }
.bm-theme .bm-single-title { margin:0;font-size:30px;line-height:1.55;font-weight:950; }
.bm-theme .bm-single-artist { margin-top:7px;color:var(--bm-accent);font-size:13px;font-weight:800; }
.bm-theme .bm-single-cover-wrap { padding:24px; }
.bm-theme .bm-single-cover { width:min(100%,760px);aspect-ratio:1/1;object-fit:cover;border-radius:20px;margin:0 auto; }
.bm-theme .bm-single-actions { padding:0 24px 24px;display:flex;justify-content:center;gap:9px;flex-wrap:wrap; }
.bm-theme .bm-content-box { margin:0 24px 24px;padding:22px;border:1px solid var(--bm-line);border-radius:17px;background:rgba(255,255,255,.02);color:#c3c8d1;line-height:2.15;font-size:13px; }
.bm-theme .bm-content-box img,
.bm-theme .bm-content-box figure { display:none!important; }
.bm-theme .bm-single-side { display:grid;gap:15px; }
.bm-theme .bm-info-card { border:1px solid var(--bm-line);border-radius:18px;background:rgba(255,255,255,.027);padding:18px; }
.bm-theme .bm-info-card__title { margin:0 0 14px;font-size:14px;font-weight:950; }
.bm-theme .bm-info-row { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px dashed var(--bm-line);font-size:11px;color:var(--bm-muted); }
.bm-theme .bm-info-row:last-child { border-bottom:0; }
.bm-theme .bm-info-row strong { color:#eef0f4; }
.bm-theme .bm-related { margin-top:24px; }
.bm-theme .bm-related-grid { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px; }
.bm-theme .bm-related-card { border:1px solid var(--bm-line);border-radius:16px;background:rgba(255,255,255,.025);overflow:hidden; }
.bm-theme .bm-related-card__cover { width:100%;aspect-ratio:1/1;object-fit:cover; }
.bm-theme .bm-related-card__body { padding:12px; }
.bm-theme .bm-related-card__title { font-size:12px;font-weight:900;line-height:1.7; }

.bm-theme .bm-comments { margin-top:24px;border:1px solid var(--bm-line);border-radius:20px;background:rgba(255,255,255,.024);padding:22px; }
.bm-theme .bm-comments h2,
.bm-theme .bm-comments h3 { margin-top:0;font-size:16px; }
.bm-theme .bm-comments-list { display:grid;gap:12px;padding:0;list-style:none; }
.bm-theme .bm-comments-list .comment-body { padding:14px;border:1px solid var(--bm-line);border-radius:14px;background:rgba(255,255,255,.025); }
.bm-theme .bm-comments textarea,
.bm-theme .bm-comments input[type="text"],
.bm-theme .bm-comments input[type="email"],
.bm-theme .bm-comments input[type="url"] { width:100%;border:1px solid var(--bm-line);border-radius:12px;background:#11141b;color:#fff;padding:11px;outline:0; }
.bm-theme .bm-comments textarea { min-height:140px;resize:vertical; }
.bm-theme .bm-comments input[type="submit"] { min-height:42px;border:0;border-radius:12px;background:var(--bm-accent);color:#071015;padding:0 18px;font-weight:900;cursor:pointer; }

.bm-theme .bm-player { position:fixed;inset:auto 0 0;z-index:80;min-height:88px;display:grid;grid-template-columns:minmax(230px,1fr) minmax(420px,1.7fr) minmax(230px,1fr);gap:18px;align-items:center;padding:12px 24px;border-top:1px solid rgba(255,255,255,.11);background:rgba(18,21,28,.94);backdrop-filter:blur(24px);box-shadow:0 -20px 55px rgba(0,0,0,.28); }
.bm-theme .bm-player__track { display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;align-items:center;min-width:0; }
.bm-theme .bm-player__cover { width:58px;aspect-ratio:1/1;object-fit:cover;border-radius:11px; }
.bm-theme .bm-player__title { display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:900; }
.bm-theme .bm-player__artist { display:block;margin-top:4px;color:var(--bm-muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.bm-theme .bm-player__center { min-width:0; }
.bm-theme .bm-player__transport { display:flex;align-items:center;justify-content:center;gap:10px;direction:ltr; }
.bm-theme .bm-player__control { width:36px;height:36px;border:0;border-radius:50%;background:transparent;display:grid;place-items:center;cursor:pointer;color:#e3e6eb; }
.bm-theme .bm-player__control:hover { background:rgba(255,255,255,.055); }
.bm-theme .bm-player__control--main { width:48px;height:48px;background:linear-gradient(135deg,var(--bm-accent),#47b7ff);color:#061014;box-shadow:0 10px 30px rgba(71,183,255,.2); }
.bm-theme .bm-player__timeline { margin-top:6px;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;align-items:center;direction:ltr; }
.bm-theme .bm-player__time { color:#838b98;font-size:9px;text-align:center;font-variant-numeric:tabular-nums; }
.bm-theme .bm-player__range { -webkit-appearance:none;appearance:none;width:100%;height:14px;background:transparent;cursor:pointer; }
.bm-theme .bm-player__range::-webkit-slider-runnable-track { height:4px;border-radius:999px;background:linear-gradient(to right,var(--bm-accent) 0%,var(--bm-accent) var(--range-progress,0%),rgba(255,255,255,.14) var(--range-progress,0%),rgba(255,255,255,.14) 100%); }
.bm-theme .bm-player__range::-webkit-slider-thumb { -webkit-appearance:none;appearance:none;width:12px;height:12px;margin-top:-4px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 3px rgba(98,226,192,.16); }
.bm-theme .bm-player__range::-moz-range-track { height:4px;border-radius:999px;background:rgba(255,255,255,.14); }
.bm-theme .bm-player__range::-moz-range-progress { height:4px;border-radius:999px;background:var(--bm-accent); }
.bm-theme .bm-player__range::-moz-range-thumb { width:12px;height:12px;border:0;border-radius:50%;background:#fff; }
.bm-theme .bm-player__tools { display:flex;align-items:center;justify-content:flex-start;gap:8px;direction:ltr; }
.bm-theme .bm-player__volume { width:105px; }
.bm-theme .bm-player__error { display:none;color:#ff8399;font-size:9px;text-align:center;margin-top:3px; }

.bm-theme .bm-loading::after { content:"";position:fixed;inset:0;z-index:70;background:rgba(15,17,23,.38);backdrop-filter:blur(2px);pointer-events:none; }

@media (max-width:1180px) {
	.bm-theme .bm-featured-rail {
    	grid-template-columns: repeat(6, 1fr);
	}
    .bm-theme .bm-header__inner { grid-template-columns:auto minmax(220px,1fr) auto; }
    .bm-theme .bm-nav { display:none; }
    .bm-theme .bm-columns { grid-template-columns:220px minmax(0,1fr); }
    .bm-theme .bm-columns__left { display:none; }
    .bm-theme .bm-player { grid-template-columns:minmax(200px,1fr) minmax(360px,1.6fr) 210px; }
}

@media (max-width:900px) {
	.bm-theme .bm-featured-rail {
    	grid-template-columns: repeat(4, 1fr);
	}
	.bm-call { display:none }
    .bm-theme { padding-bottom:132px; }
    .bm-theme .bm-header { top:0; }
    .bm-theme .bm-header__inner { min-height:68px;grid-template-columns:auto minmax(0,1fr) auto;width:calc(100% - 28px);gap:10px; }
    .bm-theme .bm-brand__name { display:none; }
    .bm-theme .bm-brand { min-width:auto; }
    .bm-theme .bm-brand__logo { width:42px;height:42px; }
    .bm-theme .bm-call span { display:none; }
    .bm-theme .bm-call { width:44px;padding:0;justify-content:center; }
    .bm-theme .bm-main { width:calc(100% - 28px);padding-top:18px; }
    .bm-theme .bm-featured-rail { grid-auto-columns:230px; }
    .bm-theme .bm-columns { grid-template-columns:1fr; }
    .bm-theme .bm-columns__right,
    .bm-theme .bm-columns__left { display:none; }
    .bm-theme .bm-post-card__media { width:calc(100% - 28px); }
    .bm-theme .bm-single { grid-template-columns:1fr; }
    .bm-theme .bm-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .bm-theme .bm-player { min-height:116px;grid-template-columns:1fr auto;grid-template-areas:"track tools" "center center";gap:7px 12px;padding:9px 12px; }
    .bm-theme .bm-player__track { grid-area:track;grid-template-columns:48px minmax(0,1fr) auto; }
    .bm-theme .bm-player__cover { width:48px; }
    .bm-theme .bm-player__center { grid-area:center; }
    .bm-theme .bm-player__tools { grid-area:tools; }
    .bm-theme .bm-player__volume { display:none; }
}

@media (max-width:640px) {
    .bm-theme .bm-wrap { width:calc(100% - 24px); }
    .bm-theme .bm-header__inner { width:calc(100% - 24px); }
    .bm-theme .bm-search__input { height:42px; }
    .bm-theme .bm-main { width:calc(100% - 24px); }
    .bm-theme .bm-featured-rail { grid-auto-columns:78vw; }
    .bm-theme .bm-carousel-arrow { display:none; }
    .bm-theme .bm-post-card__head { padding:16px 14px 14px; }
    .bm-theme .bm-post-card__title { font-size:17px; }
    .bm-theme .bm-post-card__subtitle { font-size:10px; }
    .bm-theme .bm-post-card__media { width:calc(100% - 20px); }
    .bm-theme .bm-post-card__cover { border-radius:14px; }
    .bm-theme .bm-post-card__actions { margin:12px;padding:11px;display:grid;gap:10px; }
    .bm-theme .bm-post-card__buttons { justify-content:flex-start; }
    .bm-theme .bm-single-title { font-size:24px; }
    .bm-theme .bm-single-cover-wrap { padding:15px; }
    .bm-theme .bm-content-box { margin:0 15px 15px;padding:16px; }
    .bm-theme .bm-related-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
    .bm-theme .bm-comments { padding:15px; }
    .bm-theme .bm-player__tools { gap:3px; }
    .bm-theme .bm-player__control { width:32px;height:32px; }
    .bm-theme .bm-player__control--main { width:44px;height:44px; }
}

@media (max-width:500px) {
.bm-theme .bm-featured-rail {
    	grid-template-columns: repeat(2, 1fr);
	}
}
@media (prefers-reduced-motion:reduce) {
    .bm-theme *,
    .bm-theme *::before,
    .bm-theme *::after { scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important; }
}


/* پوسته پویا برای پلیر بر اساس کاور آهنگ در حال پخش */
.bm-theme .bm-player {
    --bm-player-cover-image: none;
    isolation: isolate;
    overflow: hidden;
}
.bm-theme .bm-player::before {
    content: "";
    position: absolute;
    inset: -48px;
    z-index: -2;
    background-image: var(--bm-player-cover-image);
    background-size: cover;
    background-position: center;
    filter: blur(34px) saturate(1.55) brightness(.44);
    transform: scale(1.12);
    opacity: .9;
}
.bm-theme .bm-player::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(13,15,20,.62), rgba(18,21,28,.82) 45%, rgba(11,13,18,.9));
}
