/* ============================================
   پوچ لند - استایل پلیر (کاملاً محلی)
   ============================================ */

@font-face {
    font-family: 'Vazirmatn';
    src: url('/uploads/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/uploads/fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #0f0f0f;
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, system-ui, sans-serif;
    color: #f1f1f1;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ============================================
   هدر
   ============================================ */
.yt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.yt-header-left { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.yt-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.yt-logo-icon { color: #ff0000; font-size: 1.6rem; line-height: 1; }
.yt-logo-text .wm-fa { color: #ffb347; font-weight: 700; }

.yt-header-right { display: flex; align-items: center; gap: 8px; margin-right: auto; }

.yt-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.yt-back-link:hover { background: rgba(255,255,255,0.15); }

.yt-share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: 0.2s;
}
.yt-share-btn:hover { background: rgba(255,255,255,0.15); }

/* منوی کاربر */
.yt-user-menu { position: relative; }

.yt-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 4px 12px 4px 4px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}
.yt-user-btn:hover { background: rgba(255,255,255,0.15); }

.yt-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.yt-user-name {
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yt-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.2s;
    z-index: 200;
    overflow: hidden;
}
.yt-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
   بنر (استاندارد در دسکتاپ و موبایل)
   ============================================ */
.yt-banner-container {
    max-width: 1800px;
    margin: 16px auto 0;
    padding: 0 24px;
}

.yt-banner-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .yt-banner-container {
        margin: 12px auto 0;
        padding: 0 12px;
    }
    .yt-banner-container img {
        height: 120px;
        border-radius: 10px;
    }
}

/* ============================================
   چیدمان اصلی
   ============================================ */
.yt-watch-layout {
    display: flex;
    gap: 24px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 24px;
    align-items: flex-start;
}

.yt-primary-col { flex: 1; min-width: 0; }
.yt-secondary-col { width: 400px; flex-shrink: 0; }

@media (max-width: 1100px) {
    .yt-watch-layout { flex-direction: column; padding: 16px; gap: 16px; }
    .yt-secondary-col { width: 100%; }
}

/* ============================================
   پلیر
   ============================================ */
.yt-player-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.yt-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    line-height: 0;
}

video {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
    cursor: pointer;
    background: #000;
}

/* واترمارک */
.yt-watermark {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 15;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.yt-watermark .wm-fa { color: #ffb347; font-size: 0.9rem; }
.yt-watermark .wm-sep { color: rgba(255,255,255,0.3); font-weight: 400; }
.yt-watermark .wm-latin { font-size: 0.75rem; color: #ccc; letter-spacing: 1px; }

@media (max-width: 600px) {
    .yt-watermark { top: 10px; left: 10px; padding: 5px 10px; font-size: 0.65rem; }
    .yt-watermark .wm-fa { font-size: 0.75rem; }
    .yt-watermark .wm-latin { font-size: 0.6rem; }
}

/* لودینگ */
.yt-video-loading {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: opacity 0.4s;
    pointer-events: none;
}

.yt-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: #ffb347;
    border-right-color: #ff9500;
    border-radius: 50%;
    animation: yt-spin 0.9s linear infinite;
    margin-bottom: 15px;
}

@keyframes yt-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.yt-loading-text {
    color: #fff;
    font-size: 0.85rem;
    background: rgba(0,0,0,0.6);
    padding: 6px 16px;
    border-radius: 30px;
}

.yt-loading-error {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.yt-loading-error .error-text {
    color: #ff6b6b;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.8);
    padding: 6px 14px;
    border-radius: 30px;
}

.yt-retry-btn {
    background: #ffb347;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    color: #0f0f0f;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
}

/* دکمه پخش مرکزی */
.yt-center-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 5;
    cursor: pointer;
}

.yt-player-wrapper.playing .yt-center-play { opacity: 0; pointer-events: none; }

.yt-center-play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: yt-pulse 2s infinite;
}

@keyframes yt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@media (max-width: 768px) {
    .yt-center-play-icon { width: 60px; height: 60px; font-size: 1.8rem; }
}

/* کنترل‌ها */
.yt-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%);
    padding: 20px 16px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    z-index: 10;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.yt-player-wrapper.controls-hidden .yt-controls-bar {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.yt-ctrl-icon {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: #eee;
    font-size: 1rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}
.yt-ctrl-icon:hover { background: rgba(255,255,255,0.25); color: #fff; transform: scale(1.05); }

.yt-settings-btn { position: relative; }
.yt-settings-dropdown {
    position: absolute;
    bottom: 50px;
    right: 0;
    background: rgba(20,25,40,0.95);
    backdrop-filter: blur(15px);
    border-radius: 14px;
    padding: 8px 0;
    min-width: 150px;
    display: none;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.15);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.yt-settings-dropdown.show { display: flex; }
.yt-settings-dropdown .dropdown-item {
    padding: 10px 18px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    transition: 0.15s;
}
.yt-settings-dropdown .dropdown-item:hover { background: rgba(255,255,255,0.1); }
.yt-settings-dropdown .speed-value { background: #ffb347; padding: 2px 10px; border-radius: 20px; font-size: 0.75rem; color: #0f0f0f; font-weight: 700; }
.yt-settings-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 5px 0; }

.yt-progress-area { flex: 2; min-width: 150px; display: flex; align-items: center; gap: 12px; }
.yt-progress-track { flex: 1; position: relative; cursor: pointer; padding: 8px 0; }
.yt-progress-bg { width: 100%; height: 4px; background: rgba(255,255,255,0.2); border-radius: 3px; }
.yt-progress-buff { position: absolute; top: 8px; left: 0; height: 4px; background: rgba(255,255,255,0.4); border-radius: 3px; width: 0%; }
.yt-progress-fill { position: absolute; top: 8px; left: 0; height: 4px; background: linear-gradient(90deg, #ffb347, #ff9500); border-radius: 3px; width: 0%; transition: width 0.1s linear; }
.yt-progress-track:hover .yt-progress-fill,
.yt-progress-track:hover .yt-progress-buff,
.yt-progress-track:hover .yt-progress-bg { height: 7px; top: 6px; }

.yt-progress-tooltip {
    position: absolute;
    bottom: 20px;
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: monospace;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    transform: translateX(-50%);
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 5;
}
.yt-progress-track:hover .yt-progress-tooltip { opacity: 1; }

.yt-time-text {
    font-size: 0.75rem;
    font-family: monospace;
    background: rgba(0,0,0,0.6);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.yt-volume-wrap { display: flex; align-items: center; gap: 8px; }
.yt-volume-slider {
    width: 70px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    outline: none;
}
.yt-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffb347;
    cursor: pointer;
}

.yt-action-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.yt-support-text-btn {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    border: none;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}
.yt-support-text-btn:hover { transform: scale(1.05); }

.yt-download-icon {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.2s;
}
.yt-download-icon:hover { background: #ffb347; color: #0f0f0f; }

@media (max-width: 640px) {
    .yt-controls-bar { gap: 6px; padding: 15px 10px 8px; }
    .yt-ctrl-icon { width: 32px; height: 32px; font-size: 0.85rem; }
    .yt-time-text { font-size: 0.65rem; padding: 3px 8px; }
    .yt-volume-slider { width: 50px; }
    .yt-support-text-btn, .yt-download-icon { padding: 4px 10px; font-size: 0.65rem; }
    .yt-settings-dropdown { min-width: 110px; }
    .yt-progress-area { min-width: 100px; gap: 6px; }
    .yt-ctrl-icon.skip-btn { display: none; }
}

/* Autoplay */
.yt-autoplay-overlay {
    position: absolute;
    bottom: 80px;
    left: 20px;
    background: rgba(20,20,30,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 15px 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 30;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    min-width: 290px;
    animation: yt-slideUp 0.4s ease;
}
.yt-autoplay-overlay.active { display: flex; }
@keyframes yt-slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.yt-autoplay-header { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #ddd; }
.yt-autoplay-countdown { font-weight: 700; color: #ffb347; font-size: 1.2rem; }
.yt-autoplay-next-title { font-size: 0.8rem; color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.yt-autoplay-actions { display: flex; gap: 10px; margin-top: 5px; }
.yt-autoplay-btn {
    background: #ffb347;
    color: #0f0f0f;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.2s;
}
.yt-autoplay-btn:hover { background: #ff9500; }
.yt-autoplay-btn.cancel { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #aaa; }
.yt-autoplay-btn.cancel:hover { background: rgba(255,255,255,0.1); color: #fff; }

@media (max-width: 600px) {
    .yt-autoplay-overlay { left: 10px; right: 10px; bottom: 70px; min-width: auto; padding: 12px 15px; }
    .yt-autoplay-next-title { max-width: 100%; }
}

/* ============================================
   اطلاعات ویدیو
   ============================================ */
.yt-video-info-box {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}

.yt-video-title-main {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.yt-video-meta-row {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.yt-like-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    transition: 0.2s;
}
.yt-like-btn:hover { background: rgba(255,255,255,0.1); }
.yt-like-btn.liked { background: rgba(231,76,60,0.2); border-color: #e74c3c; color: #ff6b6b; }
.yt-like-btn .like-icon { font-size: 1.1rem; }

.yt-channel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.yt-channel-name-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 30px;
    transition: 0.2s;
    color: #a29bfe;
    font-weight: 700;
}
.yt-channel-name-link:hover { background: rgba(255,255,255,0.15); transform: scale(1.02); }

.yt-yt-link {
    background: #ff0000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}
.yt-yt-link:hover { transform: scale(1.05); background: #cc0000; }

.yt-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.yt-tag-chip-main {
    background: rgba(108,92,231,0.15);
    border: 1px solid rgba(108,92,231,0.4);
    color: #a29bfe;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: 0.2s;
}
.yt-tag-chip-main:hover { background: rgba(108,92,231,0.3); color: #fff; transform: translateY(-1px); }

.yt-desc-wrapper { position: relative; }
.yt-desc-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ccc;
    text-align: justify;
    white-space: pre-wrap;
    background: rgba(0,0,0,0.2);
    padding: 14px;
    border-radius: 12px;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.yt-desc-wrapper.expanded .yt-desc-text { max-height: 2000px; }
.yt-desc-toggle-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 0 0 0;
    display: block;
    transition: 0.2s;
}
.yt-desc-toggle-btn:hover { color: #ffb347; }

/* ============================================
   کامنت‌ها
   ============================================ */
.yt-comments-section {
    margin-top: 24px;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}

.yt-comments-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
}
.yt-comments-header h3 { font-size: 1.1rem; font-weight: 700; }

.yt-comment-form { display: flex; gap: 15px; margin-bottom: 30px; }
.yt-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb347, #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    overflow: hidden;
}
.yt-comment-form-content { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.yt-comment-input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: 0.2s;
}
.yt-comment-input:focus { outline: none; border-color: #ffb347; background: rgba(0,0,0,0.3); }
.yt-comment-input::placeholder { color: #666; }
.yt-comment-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.yt-comment-btn {
    background: transparent;
    color: #aaa;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
    font-size: 0.9rem;
}
.yt-comment-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.yt-comment-btn.primary { background: #ffb347; color: #0f0f0f; font-weight: 700; }
.yt-comment-btn.primary:hover { background: #ff9500; }
.yt-comment-btn:disabled { opacity: 0.3; cursor: not-allowed; background: #444; color: #888; }

.yt-comment-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.yt-comment-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.yt-comment-item-content { flex: 1; }
.yt-comment-author { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.yt-comment-author-name { font-weight: 700; font-size: 0.9rem; color: #fff; }
.yt-comment-date { font-size: 0.75rem; color: #888; }
.yt-comment-text { font-size: 0.9rem; line-height: 1.6; color: #ccc; white-space: pre-wrap; }

.yt-comment-actions-bar { display: flex; align-items: center; gap: 15px; margin-top: 8px; }
.yt-comment-action-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    transition: 0.2s;
}
.yt-comment-action-btn:hover { color: #fff; }
.yt-comment-action-btn.active-like { color: #2ecc71; }
.yt-comment-action-btn.active-dislike { color: #e74c3c; }
.yt-comment-action-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================
   🟢 کارت راهنمای مهمان/عضو (نسخه جدید)
   ============================================ */
.yt-guest-notice {
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(108,92,231,0.08));
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.yt-guest-notice::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.yt-guest-notice-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.yt-guest-notice-header > span {
    flex-shrink: 0;
    line-height: 1;
}

.yt-guest-notice-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.yt-guest-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #3ea6ff;
    color: #3ea6ff;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.yt-guest-btn-login:hover {
    background: rgba(62,166,255,0.15);
    transform: translateY(-1px);
}

.yt-guest-btn-register {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ffb347, #ff9500);
    color: #0f0f0f;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}
.yt-guest-btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,179,71,0.4);
}

@media (max-width: 600px) {
    .yt-guest-notice { padding: 16px; }
    .yt-guest-notice-header { gap: 10px; }
    .yt-guest-notice-header > span { font-size: 1.2rem !important; }
    .yt-guest-notice-actions { flex-direction: column; }
    .yt-guest-btn-login, .yt-guest-btn-register { width: 100%; justify-content: center; }
}

/* ============================================
   پیشنهادها
   ============================================ */
.yt-suggestions-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffb347;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yt-suggestions-list { display: flex; flex-direction: column; gap: 12px; }

.yt-suggest-card {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 8px;
    transition: 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}
.yt-suggest-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
    transform: translateX(-3px);
}

.yt-suggest-thumb {
    width: 140px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #000;
}
.yt-suggest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-suggest-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.8);
    font-size: 0.55rem;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
}
.yt-suggest-info { display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; }
.yt-suggest-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.yt-suggest-channel { font-size: 0.7rem; color: #aaa; }

@media (max-width: 768px) {
    .yt-suggest-thumb { width: 140px; height: 80px; }
}

/* ============================================
   فوتر
   ============================================ */
.yt-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: 40px;
}
.yt-footer a { color: #ffb347; font-weight: 700; }
.yt-footer a:hover { text-decoration: underline; }

/* ============================================
   مودال حمایت
   ============================================ */
.yt-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    padding: 20px;
}
.yt-modal.active { opacity: 1; visibility: visible; }

.yt-modal-content {
    background: linear-gradient(145deg, #1a253f, #0b1022);
    border-radius: 20px;
    padding: 24px;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.15);
    transform: scale(0.9);
    transition: 0.2s;
}
.yt-modal.active .yt-modal-content { transform: scale(1); }

.yt-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.yt-modal-header h2 { font-size: 1.1rem; color: #ffb347; font-weight: 700; }

.yt-modal-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
}
.yt-modal-close:hover { background: rgba(255,255,255,0.2); }

.yt-goal-box {
    background: rgba(10,15,30,0.8);
    border-radius: 14px;
    padding: 14px;
    margin: 14px 0;
    text-align: center;
}
.yt-goal-amount {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.yt-progress-modal { background: #2c3e66; height: 7px; border-radius: 10px; margin: 10px 0; overflow: hidden; }
.yt-progress-fill-modal { height: 100%; background: linear-gradient(90deg, #f39c12, #e67e22); }

.yt-card-box {
    background: #0a0f1e;
    border-radius: 14px;
    padding: 12px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    border: 1px solid #f39c12;
}
.yt-card-number { font-family: monospace; font-size: 0.85rem; word-break: break-all; }
.yt-copy-btn { background: #f39c12; border: none; padding: 5px 14px; border-radius: 40px; color: #0a0f1e; font-weight: 700; cursor: pointer; }

/* Toast */
.yt-toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #27ae60;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    z-index: 1100;
    display: none;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ============================================
   ریسپانسیو
   ============================================ */
@media (max-width: 768px) {
    .yt-header { padding: 8px 10px; gap: 8px; }
    .yt-logo-text { font-size: 1.1rem; }
    .yt-share-btn span:not(.share-icon) { display: none; }
    .yt-watch-layout { padding: 8px; }
    .yt-video-info-box { padding: 12px; }
    .yt-video-title-main { font-size: 1rem; }
    .yt-comments-section { padding: 14px; }
    .yt-comment-avatar { width: 32px; height: 32px; font-size: 1rem; }
}
/* ============================================
   فرم ویرایش کامنت
   ============================================ */
.edit-comment-form-container {
    background: rgba(59,130,246,0.05);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
}

.edit-comment-form-container .yt-comment-input {
    background: rgba(0,0,0,0.3);
}

/* دکمه‌های حذف کامنت رنگ قرمز */
.delete-comment-btn {
    color: #ff6b6b !important;
}
.delete-comment-btn:hover {
    color: #ff3b3b !important;
}

/* دکمه‌های ویرایش رنگ آبی */
.edit-comment-btn {
    color: #60a5fa !important;
}
.edit-comment-btn:hover {
    color: #3b82f6 !important;
}