/* extracted from application/views/views/tiliv/home/channel.php */
/* همه استایل‌های موجود در home.php را اینجا کپی کنید */
.stories-container {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24, #feca57, #5f27cd);
    border-bottom: 1px solid #dbdbdb;
    scrollbar-width: none;
    border-radius: 15px;
    margin: 10px;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex-shrink: 0;
    margin: 0 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.story-item:hover {
    transform: translateY(-5px);
}

.story-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 8px;
    transition: all 0.3s ease;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* استوری دیده شده - نوار خاکستری */
.story-avatar.viewed::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 3px solid #c7c7c7;
    border-radius: 50%;
}

/* استوری دیده نشده - نوار رنگی */
.story-avatar.unviewed::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: transparent;
    border-radius: 50%;
}

@keyframes rotating {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* دکمه افزودن استوری */
.story-avatar.add-story {
    border: 3px dashed #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.story-avatar.add-story::before {
    display: none;
}

.add-icon {
    font-size: 28px;
    color: #ffffff;
    font-weight: bold;
}

.story-username {
    font-size: 12px;
    color: #ffffff;
    max-width: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    font-weight: 500;
}

/* مودال نمایش استوری */
.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
}

.story-modal.show {
    display: block;
}

.story-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-media {
    max-width: 400px;
    max-height: 80vh;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.story-media img,
.story-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* هدر استوری */
.story-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 10px;
}

/* نوار پیشرفت چندگانه */
.story-progress-container {
    display: flex;
    gap: 4px;
    flex: 1;
    margin: 0 15px;
}

.story-progress {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    position: relative;
}

.story-progress-bar {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.story-user-info {
    display: flex;
    align-items: center;
    color: white;
}

.story-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 12px;
    border: 2px solid white;
}

.story-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.story-user-name {
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.close-story {
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-story:hover {
    background: rgba(0,0,0,0.8);
}

/* کنترل‌های استوری */
.story-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.6);
    padding: 12px;
    border-radius: 15px;
}

.story-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
}

.story-input:focus {
    outline: none;
    border-color: #007bff;
}

.story-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.story-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-btn:hover {
    background: rgba(255,255,255,0.2);
}

.story-btn.liked {
    color: #ff3040;
}

/* دکمه‌های ناوبری */
.story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.story-nav:hover {
    background: rgba(0,0,0,0.8);
}

.story-nav.prev {
    right: 20px;
}

.story-nav.next {
    left: 20px;
}

/* ری استوری */
.repost-indicator {
    position: absolute;
    top: 65px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    z-index: 3;
}

.repost-name {
    color: #fff;
    cursor: pointer;
    text-decoration: underline;
}

.repost-name:hover {
    color: #ccc;
}

/* منشن */
.mention {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.mention:hover {
    text-decoration: underline;
}

/* نوار استوری روی آواتار */
.story-ring {
position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: transparent;
    border-radius: 50%;
}

.story-ring.viewed {
    border: 3px solid #c7c7c7;
    background: none;
    animation: none;
}

/* مطمئن شوید که تصویر z-index کمتری دارد */
.au-avatar img, .ch-avatar img {
    position: relative;
    z-index: 0;
}

/* container آواتار باید position relative داشته باشد */
.au-avatar, .ch-avatar {
    position: relative;
    display: inline-block;
}

@keyframes rotating {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* استایل مودال اشتراک‌گذاری */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10002;
}

.share-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-content {
    background: white;
    border-radius: 15px;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.share-header button {
    background: #f8f9fa;
    border: none;
    color: #666;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    margin-bottom: 20px;
}

.search-container input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.search-container input:focus {
    outline: none;
    border-color: #007bff;
}

.contacts-list {
    flex: 1;
    overflow: hidden;
    max-height: 400px;
}
.contact-item img{
    height:40px !important;
    margin-left:10px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: #f8f9fa;
    margin: 0 -10px;
    padding: 12px 10px;
    border-radius: 8px;
}

.contact-info {
    flex: 1;
    margin-left: 12px;
}

.contact-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.contact-username {
    font-size: 12px;
    color: #999;
}

.share-contact-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}

.share-contact-btn:hover {
    background: #0056b3;
}


/* extracted from application/views/views/tiliv/home/channel.php */
/* استایل‌های اسلایدر تصاویر ساده */
.simple-slider-container {
    position: relative;
    padding: 20px 0;
}
.slider-viewport {
    overflow: hidden;
    margin: 0 60px; /* Space for buttons */
}
.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slider-item {
    flex-shrink: 0;
    width: 280px;
    margin-left: 20px; /* Spacing between items */
}

/* Styles for each photo card */
.photo-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.photo-thumbnail {
    position: relative;
    margin: 0;
    overflow: hidden;
    height: 200px;
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-thumbnail img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-play-icon {
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-play-icon {
    transform: scale(1);
}

.photo-count-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.photo-location-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}

.photo-header {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.photo-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.photo-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.photo-title a:hover {
    color: #007bff;
}

.photo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666;
    gap: 10px;
}

.photo-views,
.photo-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.photo-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.action-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s;
    font-size: 14px;
}

.action-btn:hover {
    background: #f8f9fa;
    color: #007bff;
}

.action-btn.liked {
    color: #e91e63;
}

.action-btn.liked i {
    color: #e91e63;
}

/* دکمه‌های ناوبری سفارشی */
.slider-btn-prev,
.slider-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-btn-prev:hover,
.slider-btn-next:hover {
    background: #007bff;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    right: 5px;
}

.slider-btn-next {
    left: 5px;
}

.slider-btn-prev.disabled,
.slider-btn-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}


/* استایل‌های مودال */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0,0,0,0.9);
}

.photo-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.photo-modal-container {
    position: relative;
    display: flex;
    max-width: 1200px;
    max-height: 90vh;
    width: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.photo-modal-images {
    flex: 1.5;
    background: #000;
    display: flex;
    flex-direction: column;
}

.modal-image-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* استایل برای اسلایدر سفارشی داخل مودال */
.custom-modal-slider {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
#modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    color: #333;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-nav-btn.prev {
    right: 15px;
}
.modal-nav-btn.next {
    left: 15px;
}
.modal-nav-btn:hover {
    background: #fff;
}
.modal-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 5;
}

.modal-user-info {
    padding: 20px;
    background: white;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #e0e0e0;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.user-details span {
    color: #666;
    font-size: 14px;
}

.follow-user-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.follow-user-btn:hover {
    background: #0056b3;
}

.photo-modal-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 400px;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-user-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.modal-user-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.modal-user-header span {
    color: #666;
    font-size: 12px;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close-btn:hover {
    background: #f0f0f0;
}

.modal-post-info {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-post-info h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.modal-post-info p {
    margin: 0 0 15px 0;
    color: #555;
    line-height: 1.5;
}

.modal-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.modal-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.3s;
}

.tag-item:hover {
    background: #007bff;
    color: white;
}

.modal-actions {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
}

.modal-action-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.modal-action-btn:hover {
    background: #f8f9fa;
    color: #007bff;
}

.modal-action-btn.liked {
    color: #e91e63;
}

.modal-comments-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.comments-header {
    padding: 20px 20px 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.comments-header h4 {
    margin: 0;
    font-size: 16px;
}

#commentsSort {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 12px;
}

.comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.comment-item:hover {
    background: #f8f9fa;
}

.comment-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-user {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.comment-text {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #666;
}

.comment-actions button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 12px;
    transition: color 0.3s;
}

.comment-actions button:hover {
    color: #007bff;
}

.loading-comments {
    text-align: center;
    padding: 40px;
    color: #666;
}

.modal-comment-form {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.comment-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 25px;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.comment-user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

#commentInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 5px 10px;
}

#sendCommentBtn {
    background: #007bff;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

#sendCommentBtn:hover:not(:disabled) {
    background: #0056b3;
}

#sendCommentBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* حالت خالی */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state-icon {
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 24px;
}

.empty-state p {
    font-size: 16px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .photo-modal-container {
        flex-direction: column;
        width: 95%;
        max-height: 95vh;
    }
    
    .photo-modal-images {
        flex: none;
        height: 60vh;
    }
    
    .photo-modal-sidebar {
        max-width: none;
        height: 40vh;
    }
    
    .slider-item {
        width: 250px;
        margin-left: 15px;
    }
    
    .photo-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .slider-item {
        width: 220px;
        margin-left: 10px;
    }
    
    .photo-modal-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}


/* extracted from application/views/views/tiliv/home/channel.php */
.privacy-restriction {
        text-align: center;
        padding: 100px 20px;
        background: #f8f9fa;
    }
    .restriction-message {
        background: white;
        border-radius: 15px;
        padding: 50px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-width: 500px;
        margin: 0 auto;
    }
    .restriction-message i {
        color: #6c757d;
        margin-bottom: 20px;
    }
    .restriction-message h3 {
        margin-bottom: 15px;
        color: #495057;
    }
    .restriction-message p {
        color: #6c757d;
        margin-bottom: 25px;
    }


/* extracted from application/views/views/tiliv/home/channel.php */
.unsub{
                background:#E5ECF9 !important;
                color:#5C6180 !important;
            }


/* extracted from application/views/views/tiliv/home/channel.php #tilivChannelVerifiedBadgeFix137 */
/* FIX137: نشان تأیید کانال به سبک واضح‌تر تلگرام/اینستاگرام، بدون وابستگی به sprite خارجی. */
#channel .ch-header .ch-name .ch-tag .d-flex.align-center {
  gap: 9px;
  flex-wrap: wrap;
}
#channel .tiliv-channel-verified-badge-fix137 {
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg,#1da1ff,#0675ff);
  box-shadow: 0 8px 20px rgba(6,117,255,.28);
  vertical-align: -7px;
  position: relative;
  overflow: visible;
}
#channel .tiliv-channel-verified-badge-fix137::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid #fff;
  pointer-events: none;
}
#channel .tiliv-channel-verified-badge-fix137 svg {
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  overflow: visible !important;
}
#channel .tiliv-channel-verified-badge-fix137 .tlv-channel-vb-circle {
  fill: transparent;
}
#channel .tiliv-channel-verified-badge-fix137 .tlv-channel-vb-check {
  fill: none;
  stroke: #fff;
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 768px) {
  #channel .tiliv-channel-verified-badge-fix137 {
    width: 28px;
    height: 28px;
    min-width: 28px;
    vertical-align: -6px;
  }
  #channel .tiliv-channel-verified-badge-fix137 svg {
    width: 28px !important;
    height: 28px !important;
  }
}


/* extracted from application/views/views/tiliv/home/channel.php #tilivChannelVerifiedBadgeFix140 */
/* FIX140: نشان تأیید پروفایل جذاب‌تر، درشت‌تر و شبیه badge معتبر تلگرام/اینستاگرام. */
#channel .tiliv-channel-verified-badge-fix137{
  width:36px!important;height:36px!important;min-width:36px!important;
  border-radius:999px!important;
  background:conic-gradient(from 215deg,#25d9ff,#0a8cff,#4567ff,#23c9ff,#25d9ff)!important;
  box-shadow:0 0 0 3px #fff,0 12px 26px rgba(0,132,255,.34),inset 0 1px 2px rgba(255,255,255,.38)!important;
  overflow:visible!important;isolation:isolate!important;
  vertical-align:-9px!important;
}
#channel .tiliv-channel-verified-badge-fix137::before{
  content:'';position:absolute;inset:4px;border-radius:inherit;
  background:linear-gradient(135deg,rgba(255,255,255,.34),rgba(255,255,255,0) 48%);
  pointer-events:none;z-index:1;
}
#channel .tiliv-channel-verified-badge-fix137::after{display:none!important}
#channel .tiliv-channel-verified-badge-fix137 svg{width:36px!important;height:36px!important;position:relative;z-index:2!important}
#channel .tiliv-channel-verified-badge-fix137 .tlv-channel-vb-check{
  stroke:#fff!important;stroke-width:3!important;filter:drop-shadow(0 1px 1px rgba(0,53,120,.45))!important;
}
body.b-dark #channel .tiliv-channel-verified-badge-fix137{
  box-shadow:0 0 0 3px rgba(17,21,28,.96),0 12px 26px rgba(0,132,255,.34),inset 0 1px 2px rgba(255,255,255,.38)!important;
}
@media(max-width:768px){#channel .tiliv-channel-verified-badge-fix137{width:34px!important;height:34px!important;min-width:34px!important;vertical-align:-8px!important}#channel .tiliv-channel-verified-badge-fix137 svg{width:34px!important;height:34px!important}}

/* Cleaned static/dynamic inline presentation — channel page */
.channel-cover{height:300px;position:relative;overflow:hidden;}
.channel-cover-img{display:block;width:100%;height:100%;object-fit:cover;}
.channel-live-visual-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.channel-live-visual-fix103>i,
.channel-live-visual-fix103>em{position:relative;z-index:2;}
