.mael-box,
.contents-list .content .on-content {
    background-color: var(--color-bg-alt);
}
img.meal-icon{
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.meal-item-row i{
    font-size: 14px;
}

.story-list{
    display: flex;
    gap: 3px;
    align-items: center;
    overflow: hidden;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.story-list::-webkit-scrollbar {
    display: none;
}

.story-box{
    border-radius: 50%;
    width: 66px;
    height: 66px;
    padding: 1.5px 5px 5px 1.5px;
}

.border-secondary {
    border: 2px solid var(--story-border-inactive);
}

.border-success {
    border: 2px solid var(--story-border-active);
}

.profile-pluse-icon{
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-size: 24px;
    background-color: var(--color-bg-alt);
    border-radius: 50%;
    padding: 2px;
}

svg.liked,span.liked,p.liked{
    color: var(--color-alert);
}

.content .on-content .profile-detail{
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content .on-content .profile-detail img.profile-image{
    width: 40px;
    height: 40px;
}

/* تصویر/ویدئو روی کارت */
.content .on-content > img,
.content .on-content > video{
    border-radius: 16px;
    overflow: hidden;
    max-height: 500px;
    background: var(--video-bg);
    object-fit: cover;
}
/* لیست محتوا */
.contents-list{
    border-top: 3px double var(--color-border);
}

.contents-list .content{
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.content .on-content .profile-detail .profile-name .date-realse{
    color: var(--color-text-secondary);
    font-size: 10px;
}
.action-buttons div > .btn{
    display: flex;
    gap: 5px;
    align-items: center;
}

.action-buttons .button-counter{
    font-size: 14px;
}

/* ویدیو ریل */
.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    max-height: 500px;
    background: var(--video-bg);
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* دکمه‌ها */
.video-control {
    position: absolute;
    bottom: 12px;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity .3s ease;   /* برای محو شدن نرم */
}

.mute-toggle { right: 12px; }
.play-toggle { right: 56px; }

/* وقتی کلاس hide-controls روی wrapper باشه، دکمه‌ها محو می‌شن */
.video-wrapper.hide-controls .video-control {
    opacity: 0;
    pointer-events: none;
}

/* نوار پیشرفت */
.video-progress {
    position: absolute;
    bottom: -1px;
    left: 5px;
    right: 5px;
    height: 5px;
    background: var(--video-progress-bg);
    border-radius: 2px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

/* Chrome, Safari, Edge */
.video-progress::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--video-progress-fill);
    border-radius: 2px;
}

.video-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0; 
    height: 0;
    background: transparent;
    border: none;
}

/* Firefox */
.video-progress::-moz-range-track {
    height: 4px;
    background: var(--video-progress-fill);
    border-radius: 2px;
}

.video-progress::-moz-range-thumb {
    width: 0;
    height: 0;
    border: none;
    background: transparent;
}

