/* ==========================================================================
   FRONTEND WATCH PAGE DEDICATED STYLESHEET
   - High-Converting YouTube Cinema Video Player & Floating Mini PiP Engine
   - 3D Cream Claymorphism (Light) & Obsidian Cyberpunk (Dark) Theming
   - Prominent Full-Video CTA Action Card & Telegram / Smartlink Buttons
   - Modern Interactive Comments Box & Up Next Sidebar
   Page: watch.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. MAIN WATCH CONTAINER & 2-COLUMN DESKTOP GRID
   -------------------------------------------------------------------------- */
.watch-page-container {
    max-width: 1300px;
    margin: 16px auto 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.yt-watch-layout,
.watch-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    margin: 18px 0 50px 0;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.yt-watch-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.yt-watch-sidebar {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 14px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   2. YOUTUBE CINEMA VIDEO PLAYER BOX
   -------------------------------------------------------------------------- */
.yt-player-box {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .yt-player-box {
    box-shadow: 0 16px 36px rgba(65, 50, 35, 0.12), 0 2px 8px rgba(65, 50, 35, 0.06);
    border: 3px solid #ffffff;
}

/* Landscape (16:9 Widescreen Cinema) Player Mode */
.yt-player-box.yt-player-landscape {
    aspect-ratio: 16 / 9;
    max-height: none;
    width: 100%;
}

.yt-player-box.yt-player-landscape video,
.yt-player-box.yt-player-landscape #animeShortPlayer {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    background: #000000;
    display: block;
    outline: none;
}

/* Vertical (9:16 Short Cinema) Player Mode */
.yt-player-box.yt-player-vertical,
.yt-player-box:not(.yt-player-landscape) {
    max-height: 74vh;
    min-height: 380px;
    width: 100%;
    background: #000000;
}

.yt-player-box.yt-player-vertical video,
.yt-player-box:not(.yt-player-landscape) video,
#animeShortPlayer {
    width: 100%;
    height: auto;
    max-height: 74vh;
    display: block;
    object-fit: contain;
    background: #000000;
    outline: none;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   3. PROMINENT CALL TO ACTION: WATCH FULL VIDEO CARD
   -------------------------------------------------------------------------- */
.full-watch-action-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 22px;
    margin-bottom: 18px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme: 3D Cream Claymorphic Card */
[data-theme="light"] .full-watch-action-box {
    background: #ffffff;
    border: 2.5px solid #ffffff;
    box-shadow: 0 10px 28px rgba(65, 50, 35, 0.07), inset 0 2px 4px #ffffff;
}

/* Dark Theme: Obsidian Cyberpunk Glass Card */
[data-theme="dark"] .full-watch-action-box {
    background: #111726;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.action-main-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.action-text {
    display: flex;
    align-items: center;
    gap: 14px;
}

.action-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ab4e8, #1d90c7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.4);
}

[data-theme="dark"] .action-icon-badge {
    background: linear-gradient(135deg, #229ed9 0%, #1573a6 100%);
    box-shadow: 0 4px 16px rgba(34, 158, 217, 0.45);
}

.action-heading-wrap {
    min-width: 0;
}

.action-heading-wrap h3 {
    font-family: var(--font-heading, 'Outfit');
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

[data-theme="light"] .action-heading-wrap h3 { color: #2d2621; }
[data-theme="dark"] .action-heading-wrap h3 { color: #f0f3fc; }

.action-heading-wrap p {
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    color: var(--text-dim, #887a70);
}

.action-tutorial-slot {
    margin-top: 2px;
}

.btn-watch-tutorial {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    width: fit-content;
}

[data-theme="light"] .btn-watch-tutorial {
    background: #f0f7ff;
    color: #1d90c7;
    border: 1px solid #d0e4ff;
    box-shadow: 0 1px 4px rgba(34, 158, 217, 0.08);
}

[data-theme="light"] .btn-watch-tutorial:hover {
    background: #e1effe;
    color: #1273a3;
    border-color: #229ed9;
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-watch-tutorial {
    background: rgba(34, 158, 217, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(34, 158, 217, 0.25);
}

[data-theme="dark"] .btn-watch-tutorial:hover {
    background: rgba(34, 158, 217, 0.2);
    color: #ffffff;
    border-color: #38bdf8;
    transform: translateY(-1px);
}

.tutorial-tg-icon {
    flex-shrink: 0;
    fill: #229ed9;
}

.tutorial-link-text {
    line-height: 1;
}

.tutorial-ext-icon {
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.btn-watch-tutorial:hover .tutorial-ext-icon {
    opacity: 1;
    transform: translate(1px, -1px);
}

/* CTA Column & Buttons */
.action-cta-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    align-items: flex-end;
}

.btn-watch-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--font-heading, 'Outfit');
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    white-space: nowrap;
}

[data-theme="light"] .btn-watch-full {
    background: linear-gradient(180deg, #f78d78, #ea6e56);
    color: #ffffff !important;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 18px rgba(234, 110, 86, 0.38);
}

[data-theme="light"] .btn-watch-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(234, 110, 86, 0.48);
}

[data-theme="dark"] .btn-watch-full {
    background: linear-gradient(135deg, #ff2a6d 0%, #a855f7 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(255, 42, 109, 0.45);
}

[data-theme="dark"] .btn-watch-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 42, 109, 0.6);
}

.btn-watch-smartlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

[data-theme="light"] .btn-watch-smartlink {
    background: #f7f2eb;
    color: #544941;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 8px rgba(65, 50, 35, 0.06);
}

[data-theme="light"] .btn-watch-smartlink:hover {
    background: #ede5da;
    color: #2d2621;
}

[data-theme="dark"] .btn-watch-smartlink {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-watch-smartlink:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. VIDEO TITLE, CHANNEL INFO & ACTION PILLS
   -------------------------------------------------------------------------- */
.yt-video-title {
    font-family: var(--font-heading, 'Outfit');
    font-size: 21px;
    font-weight: 800;
    margin: 12px 0 10px 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

[data-theme="light"] .yt-video-title { color: #2d2621 !important; }
[data-theme="dark"] .yt-video-title { color: #f0f3fc !important; }

.yt-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.yt-channel-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.yt-channel-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.yt-channel-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(234, 110, 86, 0.25);
    background: #0d1117;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yt-channel-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yt-channel-name-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.yt-channel-name {
    font-family: var(--font-heading, 'Outfit');
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
}

[data-theme="light"] .yt-channel-name { color: #2d2621; }
[data-theme="dark"] .yt-channel-name { color: #f0f3fc; }

.yt-verified-badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.yt-channel-sub {
    font-size: 11.5px;
    color: var(--text-dim, #887a70);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.yt-handle-text {
    color: var(--cyan, #05d9e8);
    font-weight: 700;
}

.yt-sub-count-text {
    color: var(--text-dim, #887a70);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   YouTube-Style Subscribe Button
   -------------------------------------------------------------------------- */
.yt-subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border-radius: 9999px;
    font-family: var(--font-heading, 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.1px;
    cursor: pointer;
    border: none;
    outline: none;
    margin-left: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
}

/* Light Theme: Sleek YouTube Dark Pill */
[data-theme="light"] .yt-subscribe-btn {
    background: #0f0f0f;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 15, 15, 0.18);
}

[data-theme="light"] .yt-subscribe-btn:hover {
    background: #272727;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 15, 15, 0.25);
}

[data-theme="light"] .yt-subscribe-btn:active {
    transform: scale(0.96);
}

/* Subscribed State in Light Theme */
[data-theme="light"] .yt-subscribe-btn.subscribed {
    background: #e5e5e5;
    color: #0f0f0f !important;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .yt-subscribe-btn.subscribed:hover {
    background: #d8d8d8;
    border-color: rgba(0, 0, 0, 0.15);
}

/* Dark Theme: Sleek YouTube High-Contrast White Pill */
[data-theme="dark"] .yt-subscribe-btn {
    background: #f1f1f1;
    color: #0f0f0f !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .yt-subscribe-btn:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .yt-subscribe-btn:active {
    transform: scale(0.96);
}

/* Subscribed State in Dark Theme */
[data-theme="dark"] .yt-subscribe-btn.subscribed {
    background: rgba(255, 255, 255, 0.12);
    color: #f1f5f9 !important;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .yt-subscribe-btn.subscribed:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

.yt-sub-btn-icon {
    font-size: 13px;
    font-weight: 900;
}

/* Action Pills (Love, Share, Copy) */
.yt-action-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yt-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    outline: none;
}

.yt-pill-btn svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

[data-theme="light"] .yt-pill-btn {
    background: #ffffff;
    color: #544941;
    border: 1.5px solid #e5dcd1;
    box-shadow: 0 2px 6px rgba(65, 50, 35, 0.05);
}

[data-theme="light"] .yt-pill-btn:hover {
    background: #f7f2eb;
    color: #2d2621;
    border-color: #d8cec1;
    transform: translateY(-1px);
}

[data-theme="dark"] .yt-pill-btn {
    background: #111726;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .yt-pill-btn:hover {
    background: #172036;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

/* Liked / Active Button State */
.yt-pill-btn.liked,
.yt-pill-btn.active {
    color: #ff2a6d !important;
}

.yt-pill-btn.liked svg,
.yt-pill-btn.active svg {
    fill: #ff2a6d !important;
    stroke: #ff2a6d !important;
    transform: scale(1.15);
}

@keyframes ytHeartPop {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(0.9); }
    80% { transform: scale(1.18); }
    100% { transform: scale(1.15); }
}

.yt-pill-btn.heart-pop svg {
    animation: ytHeartPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* --------------------------------------------------------------------------
   5. DEDICATED DESCRIPTION CARD
   -------------------------------------------------------------------------- */
.yt-description-card {
    border-radius: 20px !important;
    padding: 16px 20px !important;
    margin-bottom: 18px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

[data-theme="light"] .yt-description-card {
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 6px 18px rgba(65, 50, 35, 0.05), inset 0 1px 2px #ffffff !important;
}

[data-theme="dark"] .yt-description-card {
    background: #111726 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.yt-desc-header {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(65, 50, 35, 0.07);
    flex-wrap: wrap;
}

[data-theme="light"] .yt-desc-header { color: #6b5e54; }

[data-theme="dark"] .yt-desc-header {
    color: #8e9bb5;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.yt-desc-header .sep {
    opacity: 0.5;
}

.yt-desc-content {
    font-size: 13.5px;
    line-height: 1.65;
    word-break: break-word;
}

[data-theme="light"] .yt-desc-content { color: #4a3d33; }
[data-theme="dark"] .yt-desc-content { color: #cbd5e1; }

.yt-desc-content a {
    color: var(--primary, #ea6e56);
    text-decoration: underline;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. MODERN YOUTUBE / TIKTOK STYLE COMMENTS SECTION
   -------------------------------------------------------------------------- */
.yt-comments-box {
    border-radius: 22px !important;
    padding: 22px !important;
    margin-top: 16px;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

[data-theme="light"] .yt-comments-box {
    background: #ffffff !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 8px 24px rgba(65, 50, 35, 0.06), inset 0 2px 3px #ffffff !important;
}

[data-theme="dark"] .yt-comments-box {
    background: #111726 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.yt-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid rgba(65, 50, 35, 0.06);
}

[data-theme="dark"] .yt-comments-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.yt-comments-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yt-comments-heading {
    font-family: var(--font-heading, 'Outfit');
    font-size: 16.5px;
    font-weight: 800;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] .yt-comments-heading { color: #2d2621 !important; }
[data-theme="dark"] .yt-comments-heading { color: #f0f3fc !important; }

.yt-comments-count-badge {
    background: rgba(234, 110, 86, 0.12);
    color: #ea6e56;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

[data-theme="dark"] .yt-comments-count-badge {
    background: rgba(5, 217, 232, 0.15);
    color: #05d9e8;
}

.yt-comments-subhint {
    font-size: 11.5px;
    color: var(--text-dim, #887a70);
}

/* Comment Form */
.yt-comment-form {
    margin-bottom: 24px;
}

.yt-add-comment-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.yt-add-comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(234, 110, 86, 0.15), rgba(247, 141, 120, 0.25));
    border: 1.5px solid rgba(234, 110, 86, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.yt-add-comment-inputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yt-input-author,
.yt-textarea-comment {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.yt-input-author {
    padding: 10px 14px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}

.yt-textarea-comment {
    padding: 10px 14px !important;
    border-radius: 14px !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    min-height: 60px;
    resize: vertical;
}

/* Light Theme: Inputs */
[data-theme="light"] .yt-input-author,
[data-theme="light"] .yt-textarea-comment {
    background: #ffffff !important;
    border: 1.5px solid #e5dcd1 !important;
    color: #2d2621 !important;
    box-shadow: 0 2px 6px rgba(65, 50, 35, 0.04) !important;
}

[data-theme="light"] .yt-input-author:focus,
[data-theme="light"] .yt-textarea-comment:focus {
    border-color: #ea6e56 !important;
    box-shadow: 0 0 0 3px rgba(234, 110, 86, 0.15) !important;
}

/* Dark Theme: Inputs */
[data-theme="dark"] .yt-input-author,
[data-theme="dark"] .yt-textarea-comment {
    background: #151c2e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f0f3fc !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .yt-input-author:focus,
[data-theme="dark"] .yt-textarea-comment:focus {
    border-color: #05d9e8 !important;
    box-shadow: 0 0 0 3px rgba(5, 217, 232, 0.2) !important;
}

.yt-comment-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 2px;
}

.yt-btn-cancel {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--text-dim, #887a70);
    transition: all 0.15s ease;
}

.yt-btn-cancel:hover { color: #2d2621; }
[data-theme="dark"] .yt-btn-cancel:hover { color: #ffffff; }

.yt-btn-post {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .yt-btn-post {
    background: linear-gradient(180deg, #f78d78, #ea6e56) !important;
    color: #ffffff !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 3px 10px rgba(234, 110, 86, 0.35) !important;
}

[data-theme="light"] .yt-btn-post:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(234, 110, 86, 0.45) !important;
}

[data-theme="dark"] .yt-btn-post {
    background: linear-gradient(135deg, #ff2a6d 0%, #a855f7 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 3px 12px rgba(255, 42, 109, 0.35) !important;
}

[data-theme="dark"] .yt-btn-post:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(255, 42, 109, 0.5) !important;
}

/* Comments List */
.comments-empty-state {
    text-align: center;
    padding: 26px 16px;
    border-radius: 18px;
    margin: 8px 0;
}

[data-theme="light"] .comments-empty-state {
    background: #f7f2eb;
    border: 1.5px dashed rgba(65, 50, 35, 0.12);
}

[data-theme="dark"] .comments-empty-state {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.empty-bubble-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.empty-bubble-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 2px;
}

[data-theme="light"] .empty-bubble-title { color: #2d2621; }
[data-theme="dark"] .empty-bubble-title { color: #f0f3fc; }

.empty-bubble-desc {
    font-size: 12px;
    color: var(--text-dim, #887a70);
}

.yt-comment-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

[data-theme="light"] .yt-comment-item {
    background: #f7f2eb !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(65, 50, 35, 0.04) !important;
}

[data-theme="dark"] .yt-comment-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.yt-comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ea6e56, #f78d78);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

[data-theme="dark"] .yt-comment-avatar {
    background: linear-gradient(135deg, #05d9e8, #7928ca);
}

.yt-comment-body {
    flex: 1;
    min-width: 0;
}

.yt-comment-author-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.yt-comment-author {
    font-size: 13px;
    font-weight: 800;
}

[data-theme="light"] .yt-comment-author { color: #2d2621 !important; }
[data-theme="dark"] .yt-comment-author { color: #f0f3fc !important; }

.yt-comment-time {
    font-size: 11px;
    color: var(--text-dim, #887a70);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.yt-comment-text {
    font-size: 13px;
    line-height: 1.55;
    word-break: break-word;
}

[data-theme="light"] .yt-comment-text { color: #4a3d33 !important; }
[data-theme="dark"] .yt-comment-text { color: #cbd5e1 !important; }

/* --------------------------------------------------------------------------
   7. SIDEBAR UP NEXT
   -------------------------------------------------------------------------- */
.yt-sidebar-heading {
    font-family: var(--font-heading, 'Outfit');
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

[data-theme="light"] .yt-sidebar-heading { color: #2d2621; }
[data-theme="dark"] .yt-sidebar-heading { color: #f0f3fc; }

.yt-sidebar-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px !important;
    border-radius: 16px !important;
    text-decoration: none;
    margin-bottom: 10px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

[data-theme="light"] .yt-sidebar-card {
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 12px rgba(65, 50, 35, 0.05) !important;
}

[data-theme="light"] .yt-sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(65, 50, 35, 0.1) !important;
}

[data-theme="dark"] .yt-sidebar-card {
    background: #111726 !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .yt-sidebar-card:hover {
    transform: translateY(-2px);
    border-color: rgba(5, 217, 232, 0.4) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
}

.yt-sidebar-thumb {
    width: 108px;
    height: 66px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1d1726, #2d243a);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.yt-sidebar-thumb img,
.yt-sidebar-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yt-sidebar-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(10, 8, 14, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    font-variant-numeric: tabular-nums;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.yt-sidebar-info {
    flex: 1;
    min-width: 0;
}

.yt-sidebar-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 3px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="light"] .yt-sidebar-title { color: #2d2621 !important; }
[data-theme="dark"] .yt-sidebar-title { color: #f0f3fc !important; }

.yt-sidebar-meta {
    font-size: 11px;
    color: var(--text-dim, #887a70);
    margin-bottom: 2px;
}

.yt-sidebar-datetime {
    font-size: 10.5px;
    color: var(--text-dim, #887a70);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE SYSTEM (TABLETS & PHONES)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
    .yt-watch-layout,
    .watch-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 10px !important;
        margin-bottom: 30px !important;
    }

    .yt-player-box {
        border-radius: 16px !important;
        max-height: 58vh !important;
        min-height: 200px !important;
    }

    .yt-player-box video,
    #animeShortPlayer {
        max-height: 58vh !important;
    }

    .full-watch-action-box {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px 18px !important;
        gap: 14px !important;
    }

    .action-cta-col {
        align-items: stretch !important;
        width: 100% !important;
    }

    .btn-watch-full {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }

    .btn-watch-smartlink {
        width: 100% !important;
        justify-content: center !important;
    }

    .btn-watch-tutorial {
        width: fit-content !important;
        max-width: 100% !important;
    }

    .yt-meta-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .yt-channel-info {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .yt-channel-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        min-width: 0 !important;
    }

    .yt-subscribe-btn {
        height: 34px !important;
        padding: 0 14px !important;
        font-size: 13px !important;
    }

    .yt-action-pills {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .yt-pill-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 8px 6px !important;
        font-size: 11.5px !important;
    }
}

@media (max-width: 640px) {
    .watch-page-container {
        padding: 0 10px !important;
        margin-top: 8px !important;
        margin-bottom: 20px !important;
    }

    .yt-video-title {
        font-size: 17.5px !important;
        line-height: 1.35 !important;
        margin: 10px 0 8px 0 !important;
    }

    .full-watch-action-box {
        padding: 14px !important;
        border-radius: 18px !important;
    }

    .action-icon-badge {
        width: 38px !important;
        height: 38px !important;
    }

    .action-heading-wrap h3 {
        font-size: 14.5px !important;
    }

    .yt-comments-box {
        padding: 16px 14px !important;
        border-radius: 18px !important;
    }

    .yt-add-comment-row {
        gap: 10px !important;
    }

    .yt-add-comment-avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }

    .yt-input-author {
        font-size: 13px !important;
        padding: 8px 12px !important;
    }

    .yt-textarea-comment {
        font-size: 13px !important;
        padding: 9px 12px !important;
        min-height: 52px !important;
    }

    .yt-btn-post {
        padding: 7px 16px !important;
        font-size: 12px !important;
    }
}

