.dastyar-comment-summary {
    --dastyar-summary-bg: #f8faff;
    --dastyar-summary-border: #d8e4ff;
    --dastyar-summary-text: #0f172a;
    --dastyar-summary-accent: #7c3aed;
    --dastyar-summary-positive: #16a34a;
    --dastyar-summary-negative: #dc2626;
    margin: 1.5rem 0;
    color: var(--dastyar-summary-text);
    font-family: inherit;
}

.dastyar-comment-summary__shell {
    border: 1px solid var(--dastyar-summary-border);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, var(--dastyar-summary-bg) 100%);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.dastyar-comment-summary__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--dastyar-summary-border);
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 32%),
        linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(255, 255, 255, 0.92));
}

.dastyar-comment-summary__header--showcase {
    border-bottom: 0;
    padding-bottom: 0.5rem;
    background: transparent;
}

.dastyar-comment-summary__kicker,
.dastyar-comment-summary__mini-kicker {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.35rem;
    color: var(--dastyar-summary-accent);
    font-size: 0.75rem;
    font-weight: 800;
}

.dastyar-comment-summary__title-wrap {
    min-width: 0;
}

.dastyar-comment-summary__title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.9;
    font-weight: 900;
}

.dastyar-comment-summary__subline {
    margin: 0.35rem 0 0;
    color: rgba(15, 23, 42, 0.6);
    font-size: 0.82rem;
    font-weight: 600;
}

.dastyar-comment-summary__icon-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    color: #fff;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.28);
    font-size: 1rem;
}

.dastyar-comment-summary__meta,
.dastyar-comment-summary__footer-side {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dastyar-comment-summary__badge,
.dastyar-comment-summary__footer-count {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    background: rgba(124, 58, 237, 0.08);
    color: var(--dastyar-summary-accent);
    font-size: 0.75rem;
    font-weight: 800;
}

.dastyar-comment-summary__badge--positive {
    background: rgba(22, 163, 74, 0.12);
    color: var(--dastyar-summary-positive);
}

.dastyar-comment-summary__badge--negative {
    background: rgba(220, 38, 38, 0.12);
    color: var(--dastyar-summary-negative);
}

.dastyar-comment-summary__badge--neutral,
.dastyar-comment-summary__badge--mixed {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.dastyar-comment-summary__body {
    padding: 1.5rem;
}

.dastyar-comment-summary__lead {
    border-radius: 24px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    background: #fff;
    padding: 1rem 1.1rem;
}

.dastyar-comment-summary__lead--showcase {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.dastyar-comment-summary__headline {
    margin: 0 0 0.75rem;
    font-size: 0.96rem;
    font-weight: 900;
    color: var(--dastyar-summary-accent);
}

.dastyar-comment-summary__text {
    margin: 0;
    line-height: 2.05;
}

.dastyar-comment-summary__text--full {
    margin-top: 0.85rem;
}

.dastyar-comment-summary__toggle-wrap {
    margin-top: 0.75rem;
}

.dastyar-comment-summary__toggle {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--dastyar-summary-accent);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 800;
}

.dastyar-comment-summary__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.dastyar-comment-summary__chips--showcase {
    margin-top: 1.15rem;
}

.dastyar-comment-summary__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    background: rgba(124, 58, 237, 0.08);
    color: var(--dastyar-summary-accent);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.6;
}

.dastyar-comment-summary__chip--positive {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.dastyar-comment-summary__chip--negative {
    background: rgba(220, 38, 38, 0.1);
    color: #991b1b;
}

.dastyar-comment-summary__chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.dastyar-comment-summary__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.dastyar-comment-summary__card {
    border-radius: 24px;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--dastyar-summary-border);
}

.dastyar-comment-summary__card--positive {
    border-color: rgba(15, 157, 88, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, rgba(15, 157, 88, 0.05) 100%);
}

.dastyar-comment-summary__card--negative {
    border-color: rgba(217, 48, 37, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, rgba(217, 48, 37, 0.05) 100%);
}

.dastyar-comment-summary__card-title {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    font-weight: 900;
}

.dastyar-comment-summary__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.dastyar-comment-summary__list li {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    padding: 0.7rem 0.85rem;
    line-height: 1.9;
}

.dastyar-comment-summary__compact-list {
    margin-top: 1rem;
    line-height: 2;
}

.dastyar-comment-summary__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

.dastyar-comment-summary__footer-meta {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.6);
    font-size: 0.76rem;
    font-weight: 700;
}

.dastyar-comment-summary__disclaimer {
    margin: 0.8rem 0 0;
    color: rgba(15, 23, 42, 0.5);
    font-size: 0.78rem;
}

.dastyar-comment-summary--digikala .dastyar-comment-summary__shell,
.dastyar-comment-summary--digikala-compact .dastyar-comment-summary__shell {
    border-color: rgba(216, 70, 239, 0.45);
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ff 100%);
}

.dastyar-comment-summary--digikala .dastyar-comment-summary__title,
.dastyar-comment-summary--digikala-compact .dastyar-comment-summary__title {
    color: #7c3aed;
}

.dastyar-comment-summary--digikala .dastyar-comment-summary__lead--showcase,
.dastyar-comment-summary--digikala-compact .dastyar-comment-summary__lead--showcase {
    border-color: rgba(124, 58, 237, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 245, 255, 0.92) 100%);
}

.dastyar-comment-summary--technolife .dastyar-comment-summary__shell,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__shell {
    border-color: rgba(129, 140, 248, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
    box-shadow: none;
}

.dastyar-comment-summary--technolife .dastyar-comment-summary__header--showcase,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__header--showcase {
    align-items: flex-start;
}

.dastyar-comment-summary--technolife .dastyar-comment-summary__mini-kicker,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__mini-kicker {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.6);
}

.dastyar-comment-summary--technolife .dastyar-comment-summary__title,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__title {
    color: #111827;
}

.dastyar-comment-summary--technolife .dastyar-comment-summary__lead--showcase,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__lead--showcase {
    background: #eef1ff;
    border-color: transparent;
}

.dastyar-comment-summary--technolife .dastyar-comment-summary__icon-badge,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__icon-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.dastyar-comment-summary--digikala-compact .dastyar-comment-summary__body,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__body {
    padding-top: 0.8rem;
}

.dastyar-comment-summary--digikala-compact .dastyar-comment-summary__footer,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__footer {
    align-items: flex-start;
}

.dastyar-comment-summary--digikala-compact .dastyar-comment-summary__chips,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__chips {
    gap: 0.5rem;
}

.dastyar-comment-summary--digikala-compact .dastyar-comment-summary__chip,
.dastyar-comment-summary--technolife-compact .dastyar-comment-summary__chip {
    font-size: 0.76rem;
}

.dastyar-comment-summary.is-expanded .dastyar-comment-summary__text--preview {
    display: none;
}

.dastyar-comment-summary.is-expanded .dastyar-comment-summary__text--full[hidden] {
    display: block;
}

@media (max-width: 782px) {
    .dastyar-comment-summary__header,
    .dastyar-comment-summary__body {
        padding: 1rem;
    }

    .dastyar-comment-summary__header {
        flex-direction: column;
    }

    .dastyar-comment-summary__header--showcase {
        flex-direction: row;
        align-items: flex-start;
    }

    .dastyar-comment-summary__meta,
    .dastyar-comment-summary__footer-side {
        width: 100%;
    }

    .dastyar-comment-summary__grid {
        grid-template-columns: 1fr;
    }

    .dastyar-comment-summary__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}


.dastyar-podcast-player {
    --dastyar-podcast-bg: #eff6ff;
    --dastyar-podcast-border: #bfdbfe;
    --dastyar-podcast-text: #0f172a;
    --dastyar-podcast-accent: #2563eb;
    --dastyar-podcast-secondary: #f97316;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.1rem;
    overflow: hidden;
    border: 1px solid var(--dastyar-podcast-border);
    border-radius: 24px;
    background: var(--dastyar-podcast-bg);
    background: linear-gradient(135deg, var(--dastyar-podcast-bg) 0%, #ffffff 58%, color-mix(in srgb, var(--dastyar-podcast-secondary) 9%, #ffffff) 100%);
    color: var(--dastyar-podcast-text);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    font-family: inherit;
}

.dastyar-podcast-player__icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--dastyar-podcast-accent), var(--dastyar-podcast-secondary));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.24);
}

.dastyar-podcast-player__content {
    min-width: 0;
    flex: 1 1 auto;
}

.dastyar-podcast-player__kicker {
    margin: 0 0 0.25rem;
    color: var(--dastyar-podcast-accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.dastyar-podcast-player__title {
    margin: 0;
    color: var(--dastyar-podcast-text);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 900;
}

.dastyar-podcast-player__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.45rem;
    color: rgba(15, 23, 42, 0.62);
    font-size: 0.78rem;
    font-weight: 700;
}

.dastyar-podcast-player__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.2rem 0.65rem;
    border: 1px solid color-mix(in srgb, var(--dastyar-podcast-accent) 18%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--dastyar-podcast-accent) 8%, #ffffff);
    color: var(--dastyar-podcast-text);
}

.dastyar-podcast-player__audio {
    width: 100%;
    margin-top: 0.75rem;
}

@media (max-width: 640px) {
    .dastyar-podcast-player {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem;
    }
}

/* Cross-browser podcast player */
.dastyar-podcast-player {
    --dastyar-podcast-track: rgba(15, 23, 42, 0.13);
    --dastyar-podcast-progress: 0%;
    --dastyar-podcast-volume-level: 100%;
    display: block;
    padding: 1.15rem;
    overflow: hidden;
    border: 1px solid var(--dastyar-podcast-border);
    border-radius: 12px;
    background: var(--dastyar-podcast-bg);
    color: var(--dastyar-podcast-text);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
    font-family: inherit;
    isolation: isolate;
}

.dastyar-podcast-player *,
.dastyar-podcast-player *::before,
.dastyar-podcast-player *::after {
    box-sizing: border-box;
}

.dastyar-podcast-player .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.dastyar-podcast-player__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 1rem;
}

.dastyar-podcast-player__identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.85rem;
}

.dastyar-podcast-player__heading {
    min-width: 0;
}

.dastyar-podcast-player__artwork {
    display: flex;
    flex: 0 0 3.15rem;
    align-items: center;
    justify-content: center;
    width: 3.15rem;
    height: 3.15rem;
    gap: 0.16rem;
    border-radius: 10px;
    background: var(--dastyar-podcast-accent);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.dastyar-podcast-player__artwork i {
    display: block;
    width: 0.16rem;
    height: 0.75rem;
    border-radius: 0.2rem;
    background: #fff;
    opacity: 0.95;
}

.dastyar-podcast-player__artwork i:nth-child(2),
.dastyar-podcast-player__artwork i:nth-child(4) {
    height: 1.25rem;
}

.dastyar-podcast-player__artwork i:nth-child(3) {
    height: 1.75rem;
    background: var(--dastyar-podcast-secondary);
}

.dastyar-podcast-player.is-playing .dastyar-podcast-player__artwork i {
    animation: dastyar-podcast-wave 850ms ease-in-out infinite alternate;
}

.dastyar-podcast-player.is-playing .dastyar-podcast-player__artwork i:nth-child(2) { animation-delay: 120ms; }
.dastyar-podcast-player.is-playing .dastyar-podcast-player__artwork i:nth-child(3) { animation-delay: 240ms; }
.dastyar-podcast-player.is-playing .dastyar-podcast-player__artwork i:nth-child(4) { animation-delay: 360ms; }
.dastyar-podcast-player.is-playing .dastyar-podcast-player__artwork i:nth-child(5) { animation-delay: 480ms; }

@keyframes dastyar-podcast-wave {
    from { transform: scaleY(0.62); }
    to { transform: scaleY(1); }
}

.dastyar-podcast-player__kicker {
    margin: 0 0 0.15rem;
    color: var(--dastyar-podcast-accent);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.7;
}

.dastyar-podcast-player__title {
    margin: 0;
    overflow: hidden;
    color: var(--dastyar-podcast-text);
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1.75 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dastyar-podcast-player__meta {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
    margin: 0;
}

.dastyar-podcast-player__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.2rem 0.65rem;
    border: 1px solid var(--dastyar-podcast-border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--dastyar-podcast-text);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
}

.dastyar-podcast-player__audio {
    display: block;
    width: 100%;
    min-height: 3.25rem;
    margin-top: 0.85rem;
}

.dastyar-podcast-player.is-enhanced .dastyar-podcast-player__audio {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.dastyar-podcast-player__controls[hidden] {
    display: none;
}

.dastyar-podcast-player__controls {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--dastyar-podcast-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.05);
}

.dastyar-podcast-player__timeline-row {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) 3.2rem;
    align-items: center;
    gap: 0.65rem;
    direction: ltr;
}

.dastyar-podcast-player__time {
    color: var(--dastyar-podcast-text);
    font-variant-numeric: tabular-nums;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    opacity: 0.68;
}

.dastyar-podcast-player__seek,
.dastyar-podcast-player__volume {
    width: 100%;
    height: 1.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
}

.dastyar-podcast-player__seek::-webkit-slider-runnable-track,
.dastyar-podcast-player__volume::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.35rem;
    border: 0;
    border-radius: 0.25rem;
    background: linear-gradient(to right, var(--dastyar-podcast-accent) 0 var(--dastyar-podcast-progress), var(--dastyar-podcast-track) var(--dastyar-podcast-progress) 100%);
}

.dastyar-podcast-player__volume::-webkit-slider-runnable-track {
    background: linear-gradient(to right, var(--dastyar-podcast-accent) 0 var(--dastyar-podcast-volume-level), var(--dastyar-podcast-track) var(--dastyar-podcast-volume-level) 100%);
}

.dastyar-podcast-player__seek::-moz-range-track,
.dastyar-podcast-player__volume::-moz-range-track {
    width: 100%;
    height: 0.35rem;
    border: 0;
    border-radius: 0.25rem;
    background: var(--dastyar-podcast-track);
}

.dastyar-podcast-player__seek::-moz-range-progress,
.dastyar-podcast-player__volume::-moz-range-progress {
    height: 0.35rem;
    border-radius: 0.25rem;
    background: var(--dastyar-podcast-accent);
}

.dastyar-podcast-player__seek::-webkit-slider-thumb,
.dastyar-podcast-player__volume::-webkit-slider-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: -0.325rem;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--dastyar-podcast-accent);
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.28);
    appearance: none;
    -webkit-appearance: none;
}

.dastyar-podcast-player__seek::-moz-range-thumb,
.dastyar-podcast-player__volume::-moz-range-thumb {
    width: 0.7rem;
    height: 0.7rem;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--dastyar-podcast-accent);
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.28);
}

.dastyar-podcast-player__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.65rem;
    direction: ltr;
}

.dastyar-podcast-player__transport,
.dastyar-podcast-player__options,
.dastyar-podcast-player__volume-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    direction: ltr;
}

.dastyar-podcast-player__transport,
.dastyar-podcast-player__options {
    direction: ltr;
}

.dastyar-podcast-player__control {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--dastyar-podcast-border);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--dastyar-podcast-text);
    font: inherit;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.dastyar-podcast-player__control:hover {
    border-color: var(--dastyar-podcast-accent);
    background: #fff;
    color: var(--dastyar-podcast-accent);
}

.dastyar-podcast-player__control:active {
    transform: scale(0.96);
}

.dastyar-podcast-player__control:focus-visible,
.dastyar-podcast-player__seek:focus-visible,
.dastyar-podcast-player__volume:focus-visible,
.dastyar-podcast-player__rate:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    outline-offset: 2px;
}

.dastyar-podcast-player__control--play {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border-color: var(--dastyar-podcast-accent);
    border-radius: 50%;
    background: var(--dastyar-podcast-accent);
    color: #fff;
    box-shadow: 0 7px 16px rgba(15, 23, 42, 0.16);
}

.dastyar-podcast-player__control--play:hover {
    background: var(--dastyar-podcast-accent);
    color: #fff;
    filter: brightness(0.92);
}

.dastyar-podcast-player.is-buffering .dastyar-podcast-player__control--play::after {
    position: absolute;
    inset: -0.24rem;
    border: 2px solid transparent;
    border-top-color: var(--dastyar-podcast-secondary);
    border-radius: 50%;
    content: "";
    animation: dastyar-podcast-spin 700ms linear infinite;
}

@keyframes dastyar-podcast-spin {
    to { transform: rotate(360deg); }
}

.dastyar-podcast-player__play-icon {
    position: relative;
    display: block;
    width: 1rem;
    height: 1rem;
}

.dastyar-podcast-player__play-icon::before {
    position: absolute;
    top: 0.09rem;
    left: 0.2rem;
    width: 0;
    height: 0;
    border-top: 0.42rem solid transparent;
    border-bottom: 0.42rem solid transparent;
    border-left: 0.67rem solid currentColor;
    content: "";
}

.dastyar-podcast-player.is-playing .dastyar-podcast-player__play-icon::before,
.dastyar-podcast-player.is-playing .dastyar-podcast-player__play-icon::after {
    position: absolute;
    top: 0.08rem;
    width: 0.26rem;
    height: 0.84rem;
    border: 0;
    border-radius: 0.08rem;
    background: currentColor;
    content: "";
}

.dastyar-podcast-player.is-playing .dastyar-podcast-player__play-icon::before { left: 0.15rem; }
.dastyar-podcast-player.is-playing .dastyar-podcast-player__play-icon::after { right: 0.15rem; }

.dastyar-podcast-player__control--skip span {
    font-size: 0.65rem;
    font-weight: 900;
}

.dastyar-podcast-player__play-icons,
.dastyar-podcast-player__volume-icons {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
}

.dastyar-podcast-player__play-icons svg,
.dastyar-podcast-player__volume-icons svg,
.dastyar-podcast-player__skip-icon svg,
.dastyar-podcast-player__rate-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.dastyar-podcast-player__icon-pause,
.dastyar-podcast-player__icon-muted {
    display: none !important;
}

.dastyar-podcast-player.is-playing .dastyar-podcast-player__icon-play,
.dastyar-podcast-player.is-muted .dastyar-podcast-player__icon-volume {
    display: none !important;
}

.dastyar-podcast-player.is-playing .dastyar-podcast-player__icon-pause,
.dastyar-podcast-player.is-muted .dastyar-podcast-player__icon-muted {
    display: block !important;
}

.dastyar-podcast-player__skip-icon {
    position: relative;
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    color: currentColor;
}

.dastyar-podcast-player__skip-icon b {
    position: absolute;
    top: 50%;
    left: 50%;
    color: currentColor;
    font-size: 0.42rem;
    font-weight: 900;
    line-height: 1;
    transform: translate(-50%, -45%);
}

.dastyar-podcast-player__rate-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.dastyar-podcast-player__rate-icon {
    position: absolute;
    z-index: 1;
    left: 0.6rem;
    width: 1rem;
    height: 1rem;
    color: var(--dastyar-podcast-accent);
    pointer-events: none;
}

.dastyar-podcast-player__rate {
    width: auto;
    min-width: 4.35rem;
    height: 2.25rem;
    margin: 0;
    padding: 0 1.8rem 0 2rem;
    border: 1px solid var(--dastyar-podcast-border);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--dastyar-podcast-text);
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.dastyar-podcast-player__volume-wrap {
    direction: ltr;
}

.dastyar-podcast-player__volume {
    width: 5rem;
}

.dastyar-podcast-player__control--mute span {
    position: relative;
    display: block;
    width: 0.34rem;
    height: 0.56rem;
    border-radius: 0.08rem;
    background: currentColor;
}

.dastyar-podcast-player__control--mute span::before {
    position: absolute;
    top: -0.17rem;
    right: -0.43rem;
    width: 0;
    height: 0;
    border-top: 0.45rem solid transparent;
    border-bottom: 0.45rem solid transparent;
    border-left: 0.48rem solid currentColor;
    content: "";
}

.dastyar-podcast-player__control--mute span::after {
    position: absolute;
    top: -0.14rem;
    right: -0.82rem;
    width: 0.38rem;
    height: 0.72rem;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left: 0;
    border-radius: 0 50% 50% 0;
    content: "";
}

.dastyar-podcast-player.is-muted .dastyar-podcast-player__control--mute span::after {
    display: none;
}

.dastyar-podcast-player.is-muted .dastyar-podcast-player__control--mute::after {
    position: absolute;
    width: 1.05rem;
    height: 0.12rem;
    border-radius: 0.1rem;
    background: var(--dastyar-podcast-secondary);
    content: "";
    transform: rotate(-45deg);
}

.dastyar-podcast-player__control--mute .dastyar-podcast-player__volume-icons {
    position: static;
    width: 1.2rem;
    height: 1.2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.dastyar-podcast-player__control--mute .dastyar-podcast-player__volume-icons::before,
.dastyar-podcast-player__control--mute .dastyar-podcast-player__volume-icons::after,
.dastyar-podcast-player.is-muted .dastyar-podcast-player__control--mute::after {
    display: none;
    content: none;
}

.dastyar-podcast-player.has-error {
    border-color: #e4a3aa;
}

.dastyar-podcast-player.has-error .dastyar-podcast-player__controls {
    opacity: 0.68;
}

.dastyar-podcast-player.no-volume-control .dastyar-podcast-player__volume-wrap {
    display: none;
}

@media (max-width: 680px) {
    .dastyar-podcast-player {
        padding: 1rem;
        border-radius: 10px;
    }

    .dastyar-podcast-player__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.7rem;
    }

    .dastyar-podcast-player__identity,
    .dastyar-podcast-player__meta {
        width: 100%;
    }

    .dastyar-podcast-player__meta {
        justify-content: flex-start;
        padding-inline-start: 4rem;
    }

    .dastyar-podcast-player__toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 0.65rem;
    }

    .dastyar-podcast-player__transport,
    .dastyar-podcast-player__options {
        justify-content: space-between;
        width: 100%;
    }

    .dastyar-podcast-player__transport {
        justify-content: center;
    }

    .dastyar-podcast-player__volume-wrap {
        flex: 1;
        justify-content: flex-start;
    }

    .dastyar-podcast-player__volume {
        width: min(7rem, 30vw);
    }
}

@media (max-width: 420px) {
    .dastyar-podcast-player__timeline-row {
        grid-template-columns: 2.65rem minmax(0, 1fr) 2.65rem;
        gap: 0.35rem;
    }

    .dastyar-podcast-player__artwork {
        flex-basis: 2.8rem;
        width: 2.8rem;
        height: 2.8rem;
    }

    .dastyar-podcast-player__title {
        font-size: 0.9rem;
    }

    .dastyar-podcast-player__meta {
        padding-inline-start: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dastyar-podcast-player *,
    .dastyar-podcast-player *::before,
    .dastyar-podcast-player *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
