/* =========================================================
   VIDEO PAGE
========================================================= */

.video-page {
    width: 100%;
}

.video-card {
    background: #0d0d0d;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s, background .2s;
}

.video-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-card-link:link,
.video-card-link:visited,
.video-card-link:hover,
.video-card-link:active {
    color: inherit;
    text-decoration: none;
}

.video-card:hover {
    transform: translateY(-3px);
    background: #141414;
}

.share-btn .check-icon {
    display: none;
}

.share-btn.copied .share-icon {
    display: none;
}

.share-btn.copied .check-icon {
    display: block;
}

.share-btn.copied {
    color: #22c55e;
}


/* =========================================================
   PLAYER
========================================================= */

.video-player-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #000;

    border-radius: 12px;

    overflow: hidden;

    border: 1px solid #1c1c1c;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, .35);
}

.video-iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}

.main-video {
    width: 100%;

    aspect-ratio: 16 / 9;

    display: block;

    background: #000;
}

/* =========================================================
   PREMIUM INTRO
========================================================= */

.premium-intro-wrapper {
    position: relative;
    background: #000;
}


/* PREMIUM HLS ALANI */

.premium-hls-container {
    position: relative;

    width: 100%;
    height: 100%;

    z-index: 1;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


/* INTRO */

.premium-intro-wrapper .video-intro {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 20;

    background: #000;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* INTRO VIDEO */

.premium-intro-wrapper .intro-video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    background: #000;
}


/* INTRO BİTTİKTEN SONRA */

.premium-intro-wrapper.intro-finished
.premium-hls-container {

    opacity: 1;

    visibility: visible;
}


/* INTRO KAPANDI */

.premium-intro-wrapper.intro-finished
.video-intro {

    display: none;
}


/* PREMIUM HLS VIDEO */

.premium-hls-container .premium-video {

    width: 100%;
    height: 100%;

    display: block;

    background: #000;

    object-fit: contain;
}


/* =========================================================
   VIDEO INTRO
========================================================= */

.intro-player-wrapper {
    position: relative;
    background: #000;
}


/* INTRO ALANI */

.video-intro {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 20;

    background: #000;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* INTRO VIDEO */

.intro-video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    background: #000;
}


/* ASIL VIDEO */

.real-video-player {
    position: relative;

    width: 100%;
    height: 100%;

    z-index: 1;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


/* INTRO BİTİNCE */

.intro-player-wrapper.intro-finished
.real-video-player {

    opacity: 1;

    visibility: visible;
}


/* INTRO KAPANINCA */

.intro-player-wrapper.intro-finished
.video-intro {

    display: none;
}


/* INTROYU GEÇ */

.intro-skip-btn {

    position: absolute;

    right: 16px;
    bottom: 16px;

    z-index: 25;

    padding: 9px 14px;

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 6px;

    background: rgba(0,0,0,.75);

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition:
        background .2s ease,
        border-color .2s ease;
}


.intro-skip-btn:hover {

    background: rgba(229,9,20,.9);

    border-color: rgba(229,9,20,.9);
}

/* =========================================================
   INTRO START SCREEN
========================================================= */

.intro-start-screen {

    position: absolute;

    inset: 0;

    z-index: 30;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(0, 0, 0, .30);

    backdrop-filter:
        blur(2px);

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


/* BAŞLAT BUTONU */

.intro-start-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 190px;

    padding: 14px 22px;

    border: 1px solid
        rgba(255,255,255,.15);

    border-radius: 8px;

    background:
        rgba(229, 9, 20, .95);

    color: #fff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 35px
        rgba(0,0,0,.45);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.intro-start-btn:hover {

    background:
        #f20d18;

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 40px
        rgba(0,0,0,.55);
}


.intro-start-btn:active {

    transform:
        translateY(0);
}


/* PLAY İKONU */

.intro-start-icon {

    font-size: 16px;

    line-height: 1;
}


/* BAŞLADIKTAN SONRA BUTON KAYBOLUR */

.intro-start-screen.hidden {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


/* =========================================================
   PREMIUM PLYR
========================================================= */

.video-player-wrapper .plyr {

    --plyr-color-main: #e50914;
    --plyr-video-control-color: #fff;
    --plyr-video-control-color-hover: #fff;

    --plyr-control-icon-size: 18px;
    --plyr-control-spacing: 10px;
    --plyr-control-radius: 7px;

    --plyr-font-family: 'Inter', sans-serif;

    width: 100%;

    height: 100%;

    border-radius: 12px;
}

.video-player-wrapper .plyr__video-wrapper {
    background: #000;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;

    display: block;

    background: #000;
}


/* PREMIUM VIDEO */

.premium-video {
    width: 100%;
    height: 100%;

    display: block;

    background: #000;

    object-fit: contain;
}


/* BÜYÜK PLAY */

.video-player-wrapper .plyr__control--overlaid {

    width: 64px;
    height: 64px;

    background: #e50914;

    border: 0;

    border-radius: 100%;

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    left: 50%;
    top: 50%;

    opacity: .9;

    padding: 15px;

    position: absolute;

    transform: translate(-50%, -50%);

    transition: .3s;

    z-index: 2;
}

.video-player-wrapper .plyr__control--overlaid svg {
    left: 8px;

    position: relative;
}


/* KONTROLLER */

.video-player-wrapper .plyr--video .plyr__controls {

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .96),
            rgba(0, 0, 0, .72),
            transparent
        );

    padding: 35px 14px 12px;
}


/* PROGRESS */

.video-player-wrapper .plyr__progress input[type="range"] {
    color: #e50914;
}

.video-player-wrapper .plyr__progress__buffer {
    background: rgba(255, 255, 255, .16);
}


/* KONTROL BUTONLARI */

.video-player-wrapper .plyr__controls button {

    color: #ddd;

    transition:
        color .15s ease,
        background .15s ease;
}

.video-player-wrapper .plyr__controls button:hover {

    color: white;

    background:
        rgba(255, 255, 255, .08);
}


/* AYARLAR MENÜSÜ */

.video-player-wrapper .plyr__menu__container {

    background: #111;

    border: 1px solid #292929;

    border-radius: 9px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .55);
}

.video-player-wrapper
.plyr__menu__container
.plyr__control {

    color: #bbb;
}

.video-player-wrapper
.plyr__menu__container
.plyr__control:hover {

    background: #1d1d1d;

    color: white;
}


/* =========================================================
   HATA
========================================================= */

.video-player-error {

    display: none;

    position: absolute;

    inset: 0;

    padding: 50px 20px;

    background: #0d0d0d;

    text-align: center;

    color: #888;

    font-size: 14px;

    align-items: center;
    justify-content: center;

    flex-direction: column;
}

.video-player-error strong {

    display: block;

    margin-bottom: 7px;

    color: #ddd;

    font-size: 17px;
}


/* =========================================================
   SOURCE SELECTOR
========================================================= */

.source-selector {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 12px;
}

.source-btn {

    background: #151515;

    border: 1px solid #292929;

    color: #888;

    padding: 8px 14px;

    border-radius: 7px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

.source-btn:hover {

    background: #202020;

    color: white;
}

.source-btn.active {

    background: var(--red);

    border-color: var(--red);

    color: white;
}

.source-btn.active:hover {

    background: var(--red-hover);
}


/* PREMIUM SOURCE */

.premium-source-selector {

    margin-top: 12px;
}

.premium-source-selector .source-btn {

    background: var(--red);

    border-color: var(--red);

    color: #fff;

    cursor: default;
}

.premium-source-selector .source-btn:hover {

    background: var(--red);

    border-color: var(--red);

    color: #fff;

    transform: none;
}


/* =========================================================
   HEADER
========================================================= */

.video-header {
    padding-top: 20px;
}

.video-title {

    margin: 0 0 9px;

    color: white;

    font-size: 25px;

    line-height: 1.3;

    font-weight: 800;

    letter-spacing: -0.03em;
}

.video-stats {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #777;

    font-size: 13px;
}


/* =========================================================
   ACTIONS
========================================================= */

.video-actions {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 6px;

    margin-top: -24px;

    padding-bottom: 10px;

    border-bottom: 1px solid #202020;
}

.video-action-btn {

    width: 34px;
    height: 32px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: #161616;

    border: 1px solid #242424;

    color: #888;

    border-radius: 7px;

    font-family: inherit;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .15s ease;
}

.video-action-btn:hover {

    background: #202020;

    color: #fff;

    border-color: #333;

    transform: translateY(-1px);
}

.video-action-btn svg {

    width: 16px;
    height: 16px;

    display: block;
}


/* BEĞENİLDİ */

.video-action-btn.liked {

    color: #e50914;

    border-color:
        rgba(229, 9, 20, .35);

    background:
        rgba(229, 9, 20, .08);
}

.video-action-btn.liked:hover {

    color: #ff3943;

    border-color:
        rgba(229, 9, 20, .5);

    background:
        rgba(229, 9, 20, .14);
}

.video-action-btn span:first-child {
    font-size: 16px;
}


/* =========================================================
   CHANNEL
========================================================= */

.video-channel {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 20px 0;

    border-bottom: 1px solid #202020;
}

.channel-avatar {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #e50914,
            #750006
        );

    color: white;

    font-size: 18px;

    font-weight: 800;

    text-decoration: none;
}

.channel-avatar:has(img) {

    background: transparent;

    border: none;

    padding: 0;
}

.channel-avatar img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;
}

.channel-info {

    display: flex;

    flex-direction: column;

    min-width: 0;
}

.channel-name {

    color: white;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;
}

.channel-name:hover {
    color: var(--red);
}

.channel-videos {

    margin-top: 3px;

    color: #666;

    font-size: 11px;
}


/* CHANNEL BUTTON */

.channel-btn {

    margin-left: auto;

    border: 0;

    border-radius: 7px;

    padding: 9px 14px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    text-decoration: none;

    transition: .2s;
}

.channel-follow {

    background: var(--red);

    color: white;
}

.channel-follow:hover {
    background: var(--red-hover);
}

.channel-edit {

    background: #1a1a1a;

    border: 1px solid #292929;

    color: #ddd;
}

.channel-edit:hover {

    background: #242424;

    color: white;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.video-description {

    margin-top: 18px;

    padding: 18px;

    background: #0d0d0d;

    border: 1px solid #1d1d1d;

    border-radius: 9px;
}

.video-description p {

    margin: 0;

    color: #aaa;

    font-size: 13px;

    line-height: 1.7;
}

.video-description .empty-description {
    color: #666;
}


/* =========================================================
   COMMENTS
========================================================= */

.comments-section {
    margin-top: 35px;
}

.comments-header {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;
}

.comments-header h2 {

    margin: 0;

    color: white;

    font-size: 20px;
}

.comments-header span {

    color: #666;

    font-size: 12px;
}


/* COMMENT FORM */

.comment-form {

    display: flex;

    align-items: flex-start;

    gap: 12px;
}

.comment-avatar {

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    overflow: hidden;

    background: #1d1d1d;

    border: 1px solid #292929;

    color: #aaa;

    font-size: 13px;

    font-weight: 700;
}

.comment-avatar:has(img) {

    background: transparent;

    border: none;

    padding: 0;
}

.comment-avatar img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;
}

.comment-input-wrapper {

    display: flex;

    flex: 1;

    gap: 8px;
}

.comment-input {

    flex: 1;

    height: 40px;

    background: #0d0d0d;

    border: 1px solid #292929;

    border-radius: 7px;

    color: white;

    padding: 0 12px;

    outline: none;

    font-family: inherit;

    font-size: 12px;

    transition: .2s;
}

.comment-input:focus {
    border-color: var(--red);
}

.comment-input::placeholder {
    color: #555;
}

.comment-submit {

    height: 40px;

    padding: 0 14px;

    border: 0;

    border-radius: 7px;

    background: var(--red);

    color: white;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;
}

.comment-submit:hover {
    background: var(--red-hover);
}


/* EMPTY COMMENTS */

.empty-comments {

    padding: 50px 20px;

    text-align: center;
}

.empty-comments-icon {

    font-size: 30px;

    opacity: .5;

    margin-bottom: 10px;
}

.empty-comments h3 {

    margin: 0 0 5px;

    color: #aaa;

    font-size: 15px;
}

.empty-comments p {

    margin: 0;

    color: #555;

    font-size: 12px;
}


/* COMMENTS LIST */

.comments-list {
    margin-top: 30px;
}

.comment-item {
    margin-bottom: 28px;
}

.comment-main {

    display: flex;

    align-items: flex-start;

    gap: 12px;
}

.comment-content {

    flex: 1;

    min-width: 0;
}

.comment-top {

    display: flex;

    align-items: center;

    gap: 8px;
}

.comment-username {

    color: #ddd;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}

.comment-username:hover {
    color: white;
}

.comment-date {

    color: #555;

    font-size: 10px;
}

.comment-text {

    margin: 6px 0 8px;

    color: #aaa;

    font-size: 12px;

    line-height: 1.6;

    word-break: break-word;
}

.comment-actions {

    display: flex;

    align-items: center;

    gap: 12px;
}

.comment-actions form {
    margin: 0;
}

.comment-action {

    padding: 0;

    background: transparent;

    border: 0;

    color: #666;

    font-family: inherit;

    font-size: 10px;

    font-weight: 600;

    cursor: pointer;

    transition: color .2s ease;
}

.comment-action:hover {
    color: #ccc;
}

.delete-action:hover {
    color: #e50914;
}


/* REPLIES */

.replies {

    margin-top: 18px;

    margin-left: 50px;

    padding-left: 16px;

    border-left: 1px solid #252525;
}

.reply-item {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 18px;
}


/* REPLY FORM */

.reply-form {

    display: none;

    align-items: flex-start;

    gap: 10px;

    margin-top: 15px;

    margin-left: 50px;
}

.reply-form.active {
    display: flex;
}

.reply-input-wrapper {

    display: flex;

    flex: 1;

    gap: 8px;
}

.small-avatar {

    width: 30px;
    height: 30px;

    flex-shrink: 0;

    font-size: 10px;
}

.small-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    display: block;
}


/* LOGIN */

.comment-login-message {

    padding: 15px;

    background: #0d0d0d;

    border: 1px solid #202020;

    border-radius: 8px;

    color: #666;

    font-size: 12px;
}

.comment-login-message a {

    color: #aaa;

    font-weight: 600;

    text-decoration: none;
}

.comment-login-message a:hover {
    color: white;
}


/* DELETED */

.deleted-comment {

    margin: 6px 0 8px;

    color: #555;

    font-size: 12px;

    font-style: italic;
}


/* =========================================================
   RECOMMENDED VIDEOS
========================================================= */

.recommended-section {

    position: sticky;

    top: 90px;

    width: 100%;
}

.recommended-header {

    display: flex;

    align-items: center;

    margin-bottom: 16px;
}

.recommended-header h2 {

    margin: 0;

    color: white;

    font-size: 18px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: -0.02em;
}

.video-card-link {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    width: 100%;

    padding: 6px;

    margin-bottom: 8px;

    border-radius: 9px;

    background: transparent;

    color: inherit;

    text-decoration: none;

    transition:
        background .18s ease,
        transform .18s ease;
}

.video-card-link:hover {

    background: #151515;

    color: inherit;

    transform: translateX(2px);
}

.recommended-thumbnail {

    position: relative;

    width: 145px;

    flex: 0 0 145px;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #181818;

    border-radius: 7px;

    border: 1px solid #202020;
}

.recommended-thumbnail img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .25s ease;
}

.video-card-link:hover
.recommended-thumbnail img {

    transform: scale(1.04);
}

.recommended-duration {

    position: absolute;

    right: 5px;
    bottom: 5px;

    padding: 3px 5px;

    background: rgba(0, 0, 0, .88);

    color: white;

    border-radius: 4px;

    font-size: 9px;

    font-weight: 700;

    line-height: 1;
}

.recommended-info {

    display: flex;

    flex-direction: column;

    min-width: 0;

    padding: 2px 2px 2px 0;
}

.recommended-info h3 {

    margin: 0 0 7px;

    color: #e5e5e5;

    font-size: 13px;

    line-height: 1.4;

    font-weight: 650;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: color .18s ease;
}

.video-card-link:hover
.recommended-info h3 {

    color: white;
}

.recommended-author {

    margin-bottom: 4px;

    color: #777;

    font-size: 10px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.recommended-meta {

    color: #555;

    font-size: 10px;

    line-height: 1.4;
}


/* =========================================================
   VIDEO TAGS
========================================================= */

.video-tags {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 14px;
}

.video-tag {

    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    background: #151515;

    border: 1px solid #292929;

    border-radius: 6px;

    color: #999;

    font-size: 10px;

    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.video-tag:hover {

    background:
        rgba(229, 9, 20, .08);

    border-color:
        rgba(229, 9, 20, .35);

    color: #fff;
}

.actor-tag {
    background: #356b45;
    color: #ffffff;
}

.actor-tag:hover {
    background: #244a30 !important;
    border-color: transparent !important;
}



/* =========================================================
   ALERTS
========================================================= */

.alert-message {

    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    margin-bottom: 20px;

    padding: 12px 15px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 600;

    animation:
        alertFadeIn .2s ease;
}

.alert-success {

    background:
        rgba(34, 197, 94, .08);

    border:
        1px solid rgba(34, 197, 94, .2);

    color: #7ee2a8;
}

.alert-error {

    background:
        rgba(229, 9, 20, .08);

    border:
        1px solid rgba(229, 9, 20, .2);

    color: #ff7b82;
}

.alert-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 20px;
    height: 20px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .06);

    font-size: 11px;

    font-weight: 800;
}

@keyframes alertFadeIn {

    from {

        opacity: 0;

        transform:
            translateY(-5px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .recommended-section {

        position: static;

        margin-top: 10px;
    }

    .video-card-link {
        max-width: 700px;
    }

    .recommended-thumbnail {

        width: 180px;

        flex-basis: 180px;
    }

    .recommended-info h3 {
        font-size: 14px;
    }

    .recommended-author,
    .recommended-meta {
        font-size: 11px;
    }

}

@media (max-width: 600px) {

    .video-player-wrapper {
        border-radius: 8px;
    }

    .video-player-wrapper .plyr {
        border-radius: 8px;
    }

    .video-player-wrapper .plyr__control--overlaid {

        width: 54px;
        height: 54px;
    }

    .video-player-wrapper
    .plyr--video
    .plyr__controls {

        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        padding:
            28px 8px 8px;
    }


    /* PLAY */

    .video-player-wrapper
    .plyr__controls >
    [data-plyr="play"] {

        order: 1;

        flex: 0 0 auto;

        margin: 0 !important;

        transform:
            translateX(-13px);
    }


    /* PROGRESS */

    .video-player-wrapper
    .plyr__controls >
    .plyr__progress {

        order: 2;

        flex: 0 0 auto;

        min-width: 0;

        width: 65%;

        margin: 0 !important;

        padding: 0 !important;

        transform: none;
    }


    /* DİĞER */

    .video-player-wrapper
    .plyr__controls > *:not(
        [data-plyr="play"]
    ):not(
        .plyr__progress
    ) {

        order: 3;

        flex: 0 0 auto;
    }


    /* SES */

    .video-player-wrapper
    .plyr__volume {

        margin-top: 4px;

        margin-left: 0;

        margin-right: auto;
    }


    /* PLAY SVG */

    .video-player-wrapper
    .plyr__control--overlaid svg {

        left: 4px;
    }


    /* TITLE */

    .video-title {
        font-size: 20px;
    }


    /* =========================================================
    TAGS
    ========================================================= */

    .video-tags {
        display: flex;

        flex-wrap: wrap;

        width: 100%;

        max-width: 100%;

        gap: 6px;

        margin-bottom: 12px;

        overflow: visible;
    }

    .video-tag {
        flex: 0 0 auto;

        max-width: 100%;

        font-size: 10px;

        line-height: 1.3;

        padding:
            5px 8px;

        white-space: nowrap;
    }


    /* =========================================================
    ACTIONS
    ========================================================= */

    .video-actions {
        display: flex !important;

        align-items: center;

        justify-content: flex-start !important;

        flex-wrap: nowrap !important;

        width: 100% !important;
        max-width: 100% !important;

        gap: 8px;

        overflow-x: auto;
        overflow-y: hidden;

        padding:
            4px 2px 14px;

        margin-top: 4px;

        box-sizing: border-box;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .video-actions::-webkit-scrollbar {
        display: none;
    }


    /* Butonların küçülmesini engelle */

    .video-action-btn {
        display: inline-flex;

        align-items: center;

        justify-content: center;

        flex: 0 0 auto !important;

        min-width: max-content;

        white-space: nowrap;

        padding:
            8px 12px;

        font-size: 11px;

        box-sizing: border-box;
    }


    /* CHANNEL */

    .video-channel {
        gap: 10px;
    }

    .channel-avatar {

        width: 42px;
        height: 42px;

        font-size: 15px;
    }

    .channel-btn {

        padding:
            8px 10px;

        font-size: 10px;
    }


    /* =========================================================
    COMMENTS - MOBILE
    ========================================================= */

    .comments-section {
        display: block !important;

        width: 100% !important;
        max-width: none !important;

        margin-top: 30px;

        overflow: visible !important;
    }


    /* Başlık */

    .comments-header {
        width: 100% !important;

        display: flex;

        align-items: center;

        gap: 8px;

        margin-bottom: 18px;
    }


    /* =========================================================
    COMMENT FORM
    ========================================================= */

    .comment-form {
        display: flex !important;

        align-items: flex-start !important;

        width: 100% !important;
        max-width: none !important;

        gap: 10px;

        margin: 0 !important;
    }


    /* Avatar */

    .comment-form .comment-avatar {
        display: flex;

        width: 38px !important;
        height: 38px !important;

        min-width: 38px !important;
        max-width: 38px !important;

        flex: 0 0 38px !important;
    }


    /* Input alanının ana wrapper'ı */

    .comment-form .comment-input-wrapper {
        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        width: 100% !important;
        max-width: none !important;

        min-width: 0 !important;

        flex: 1 1 auto !important;

        gap: 9px;
    }


    /* ASIL YORUM KUTUSU */

    .comment-form .comment-input {
        display: block !important;

        width: 100% !important;
        max-width: none !important;

        min-width: 0 !important;

        height: 48px !important;

        padding: 0 14px !important;

        box-sizing: border-box !important;

        font-size: 14px !important;

        flex: none !important;
    }


    /* Gönder */

    .comment-form .comment-submit {
        display: block !important;

        align-self: flex-end !important;

        width: auto !important;

        min-width: 82px !important;

        height: 40px !important;

        padding: 0 16px !important;

        flex: none !important;

        font-size: 12px !important;
    }


    /* =========================================================
    COMMENT LIST
    ========================================================= */

    .comments-list {
        width: 100% !important;

        max-width: none !important;

        margin-top: 28px;
    }

    .comment-item {
        width: 100% !important;

        max-width: none !important;

        margin-bottom: 25px;
    }

    .comment-main {
        display: flex;

        align-items: flex-start;

        width: 100% !important;

        max-width: none !important;

        gap: 10px;
    }

    .comment-main > .comment-avatar {
        width: 36px !important;
        height: 36px !important;

        min-width: 36px !important;

        flex: 0 0 36px !important;
    }

    .comment-content {
        width: 100% !important;

        min-width: 0 !important;

        flex: 1 1 auto !important;
    }

    .comment-text {
        width: 100% !important;

        font-size: 12px;

        line-height: 1.6;

        overflow-wrap: anywhere;

        word-break: break-word;
    }


    /* =========================================================
    REPLIES
    ========================================================= */

    .replies {
        width: calc(100% - 15px) !important;

        max-width: none !important;

        margin-left: 15px !important;

        padding-left: 10px !important;
    }

    .reply-form {
        display: none;

        align-items: flex-start;

        width: calc(100% - 15px) !important;
        max-width: none !important;

        margin-top: 14px;

        margin-left: 15px !important;

        gap: 9px;

        box-sizing: border-box;
    }

    .reply-form.active {
        display: flex;
    }


    /* Reply avatar */

    .reply-form .small-avatar {
        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;

        max-width: 34px !important;

        flex: 0 0 34px !important;
    }


    /* Input + gönder alanı */

    .reply-form .reply-input-wrapper {
        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        width: 100% !important;
        max-width: none !important;

        min-width: 0 !important;

        flex: 1 1 auto !important;

        gap: 8px;
    }


    /* Reply input */

    .reply-form .reply-input-wrapper .comment-input {
        display: block !important;

        width: 100% !important;
        max-width: none !important;

        min-width: 0 !important;

        height: 44px !important;

        padding: 0 13px !important;

        font-size: 13px !important;

        box-sizing: border-box !important;

        flex: none !important;
    }


    /* Reply gönder butonu */

    .reply-form .reply-input-wrapper .comment-submit {
        display: block !important;

        align-self: flex-end !important;

        width: auto !important;

        min-width: 72px !important;

        height: 38px !important;

        padding: 0 14px !important;

        font-size: 11px !important;

        flex: none !important;
    }


    /* =========================================================
       RECOMMENDED
    ========================================================= */

    .recommended-section {
        margin-top: 5px;
    }

    .recommended-header {
        margin-bottom: 12px;
    }

    .recommended-header h2 {
        font-size: 17px;
    }

    .video-card-link {

        gap: 10px;

        padding: 5px;

        margin-bottom: 6px;
    }

    .recommended-thumbnail {

        width: 130px;

        flex-basis: 130px;

        border-radius: 6px;
    }

    .recommended-info h3 {

        margin-bottom: 5px;

        font-size: 12px;

        line-height: 1.35;
    }

    .recommended-author,
    .recommended-meta {
        font-size: 9px;
    }

    .recommended-duration {

        right: 4px;
        bottom: 4px;

        font-size: 8px;
    }

}


/* =========================================================
   PREMIUM ERROR
========================================================= */

#premiumPlayer .video-player-error {

    display: none;

    position: absolute;

    inset: 0;

    align-items: center;

    justify-content: center;

    flex-direction: column;
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    /* -----------------------------------------------------
       MAIN COMMENT FORM
    ----------------------------------------------------- */

    .comment-form {
        gap: 7px;
    }


    .comment-form > .comment-avatar {
        width: 31px;
        height: 31px;

        flex-basis: 31px;
    }


    .comment-input-wrapper {
        flex-direction: column;

        gap: 6px;
    }


    .comment-input {
        height: 37px;
    }


    .comment-submit {
        align-self: flex-end;

        height: 35px;

        padding: 0 12px;
    }


    /* -----------------------------------------------------
       COMMENTS
    ----------------------------------------------------- */

    .comment-main {
        gap: 7px;
    }


    .comment-main > .comment-avatar {
        width: 31px;
        height: 31px;

        flex-basis: 31px;
    }


    .comment-top {
        gap: 4px 6px;
    }


    .comment-username {
        max-width: 140px;
    }


    .comment-date {
        font-size: 8px;
    }


    .comment-text {
        font-size: 11px;
    }


    /* -----------------------------------------------------
       REPLIES
    ----------------------------------------------------- */

    .replies {
        margin-left: 12px;

        padding-left: 8px;

        width: calc(100% - 12px);
    }


    .reply-form {
        margin-left: 12px;

        width: calc(100% - 12px);
    }


    .reply-input-wrapper {
        flex-direction: column;

        gap: 6px;
    }


    .reply-input-wrapper .comment-submit {
        align-self: flex-end;
    }

    .video-tags {
        gap: 5px;

        margin-bottom: 10px;
    }

    .video-tag {
        font-size: 9px;

        padding:
            4px 7px;
    }

    .video-actions {
        gap: 6px;

        padding-bottom: 12px;
    }

    .video-action-btn {
        padding:
            7px 10px;

        font-size: 10px;
    }
}