:root {
    --vw-bg: #121212;
    --vw-card: rgba(255, 255, 255, 0.028);
    --vw-card-2: rgba(255, 255, 255, 0.04);
    --vw-line: rgba(255, 255, 255, 0.08);
    --vw-line-strong: rgba(255, 255, 255, 0.14);
    --vw-text: #e8e8e8;
    --vw-muted: #a7a7a7;
    --vw-accent: #d26a4d;
    --vw-accent-dark: #8a3d2f;
    --vw-green: #2ea44f;
    --vw-blue: #24a1de;
    --vw-radius: 18px;
    --vw-radius-sm: 12px;
    --vw-shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.18);
    --vw-shadow-md: 0 16px 38px rgba(0, 0, 0, 0.25);
    --vw-transition: 0.25s ease;
}

/* Общий layout */
.container-videowatch {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: start;
}

.video-section-videowatch {
    min-width: 0;
    margin-right: 0;
    border-right: 1px solid var(--vw-line);
    padding-right: 10px;
}

.related-section-videowatch {
    position: sticky;
    top: 14px;
    padding: 0;
    border-left: 0;
    background: transparent;
}

/* Хлебные крошки */
.folder-top-videowatch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    padding-bottom: 10px;
    color: var(--vw-muted);
    font-size: 13px;
    line-height: 1.45;
    border-bottom: 1px solid var(--vw-line);
}

.folder-top-videowatch a {
    color: var(--vw-text);
    text-decoration: none;
}

.folder-top-videowatch a:hover {
    color: var(--vw-accent);
}

.folder-path-videowatch {
    min-width: 0;
}

/* Кнопка добавления файла */
.add-file-clip {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 30px;
    padding: 6px 12px;
    margin: 0;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(46, 164, 79, 0.95), rgba(35, 134, 63, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Видео */
.video-wrapper-videowatch {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    background: #050505;
    border: 1px solid var(--vw-line);
    box-shadow: var(--vw-shadow-md);
}

.video-wrapper-videowatch iframe,
iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Информационный блок */
.video-info-videowatch {
    margin-top: 18px;
}

.video-format-videowatch {
    position: relative;
    overflow: hidden;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.016));
    border: 1px solid var(--vw-line);
    border-radius: 22px;
    box-shadow: var(--vw-shadow-sm);
}

.video-format-videowatch::before {
    content: '';
    position: absolute;
    top: -55%;
    left: -45%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 48%,
            #ffffff07 48%,
            #ffffff07 52%,
            transparent 52%);
    transform: rotate(25deg);
    pointer-events: none;
}

.video-format-videowatch>* {
    position: relative;
    z-index: 1;
}

.video-title-row-videowatch {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.video-kicker-videowatch {
    display: inline-block;
    margin-bottom: 6px;
    color: antiquewhite;
    font-size: 12px;
}

.video-title-videowatch {
    margin: 0;
    color: #fff;
    font-size: clamp(18px, 2.5vw, 26px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.video-style-tag {
    margin-bottom: 10px;
    background: linear-gradient(135deg, #9b3713 0%, #831a07 100%);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    border: none;
    font-size: 12px;
    color: #fff;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.2);
}

/* Альбомный блок */
.container-videowatch-block {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;

    margin: 18px 0;
    padding: 14px;

    border-radius: 16px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.065);
}

/* Обложка */
.image-videowatch-block {
    width: 92px;
    height: 92px;
    margin: 0;

    overflow: hidden;
    border-radius: 14px;
    background: #080808;
    border: 1px solid var(--vw-line);
}

.image-videowatch-block img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.telegram-player-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    width: 100%;
    min-width: 0;
}

.album-info-videowatch-block,
.telegram-player-grid>a:first-child {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.album-info-videowatch-block small,
.telegram-player-grid>a:first-child small {
    color: antiquewhite !important;
    font-size: 12px !important;
}

.text1-videowatch-block {
    margin-top: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.text2-videowatch-block {
    margin-top: 3px;
    color: var(--vw-muted);
    font-size: 13px;
    line-height: 1.35;
}

/* Telegram */
.telegram-link-videowatch {
    flex-shrink: 0;
    color: inherit;
    text-decoration: none;
    max-width: 100%;
    min-width: 0;
}

.telegram-player-videowatch {
    min-width: 210px;
    max-width: 100%;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 10px;
    align-items: center;

    padding: 10px 12px;

    color: #fff;
    text-decoration: none;

    border-radius: 15px;
    background:
        linear-gradient(180deg, rgba(36, 161, 222, 0.20), rgba(36, 161, 222, 0.08));

    border: 1px solid rgba(36, 161, 222, 0.26);
    box-shadow: none;

    transition:
        transform var(--vw-transition),
        border-color var(--vw-transition),
        background var(--vw-transition);
}

.telegram-player-videowatch>i {
    color: var(--vw-blue);
    font-size: 24px;
}

.telegram-player-videowatch:hover {
    background:
        linear-gradient(180deg, rgba(36, 161, 222, 0.27), rgba(36, 161, 222, 0.11));
    border-color: rgba(36, 161, 222, 0.42);
}

/* Текст внутри Telegram */
.player-info {
    display: flex;
    flex-direction: column;
    gap: 2px;

    min-width: 0;
    overflow: hidden;
}

.player-info span:first-child {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.track-count {
    color: var(--vw-muted);
    font-size: 12px;
}

.play-button {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

/* Описание */
.video-description-videowatch {
    margin: 0;
    color: #c6c6c6;
    font-size: 14px;
    line-height: 1.75;
}

/* Views */
.views-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin: 18px 0 0 auto;
    padding: 0;
}

.views-sep {
    display: none;
}

.views-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    color: var(--vw-text);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    white-space: nowrap;
    transition:
        transform var(--vw-transition),
        border-color var(--vw-transition),
        background var(--vw-transition);
}

.views-pill:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--vw-line-strong);
}

.views-ico {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .86);
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
}

.views-num {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--vw-text);
    font-size: 14px;
    font-weight: 800;
}

.views-main-num {
    color: antiquewhite;
}

.views-label {
    padding: 2px 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .10);
}

.views-sub {
    color: var(--vw-muted);
    font-size: 12px;
    font-weight: 500;
    opacity: 1;
}

.views-pill--yt .views-label {
    background: rgba(255, 0, 0, .16);
    border-color: rgba(255, 0, 0, .24);
}

.views-pill--site .views-label {
    background: rgba(0, 194, 255, .14);
    border-color: rgba(0, 194, 255, .24);
}

/* Lyrics */
.micro-green-btn-div {
    margin: 16px 0;
}

.micro-green-btn,
.preset,
#submitForm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 13px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    cursor: pointer;
    transition:
        transform var(--vw-transition),
        background var(--vw-transition),
        border-color var(--vw-transition);
}

.micro-green-btn:hover,
.preset:hover,
#submitForm:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.18);
}

.lyrics-content {
    display: none;
    margin: 16px 0;
    padding: 20px;
    color: var(--vw-text);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.016));
    border: 1px solid var(--vw-line);
    box-shadow: var(--vw-shadow-sm);
}

.lyrics-content h3 {
    margin: 0 0 14px;
    color: #fff;
}

.lyrics-content p {
    margin: 0;
    color: #d2d2d2;
    line-height: 1.75;
}

/* Add file */
.add-file-clip-content {
    display: none;
    margin: 16px 0;
    padding: 20px;
    color: var(--vw-text);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.016));
    border: 1px solid var(--vw-line);
    box-shadow: var(--vw-shadow-sm);
}

.add-file-title-videowatch {
    margin-bottom: 14px;
    color: var(--vw-muted);
    font-size: 13px;
    line-height: 1.6;
}

.preset-comments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.clear-add-file-clip-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}

.clear-add-file-clip-content input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--vw-line);
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
}

/* Ссылки скачивания */
.download-links-videowatch {
    margin: 16px 0;
    padding: 20px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.016));
    border: 1px solid var(--vw-line);
    box-shadow: var(--vw-shadow-sm);
}

.top-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
    padding: 0 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: 0;
    border-bottom: 1px solid var(--vw-line);
}

.archive-links {
    flex: 1;
    min-width: 0;
    text-align: left;
    border-right: 0;
}

.archive-links span {
    color: antiquewhite;
}

.comments {
    flex: none;
    color: var(--vw-muted);
    text-align: right;
}

.anim {
    margin: 10px 0 0 0;
    text-align: center;
}

.link-list-videowatch {
    display: grid;
    gap: 8px;
}

.link-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    animation: fadeIn 0.4s ease-out;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.065);
    transition:
        transform var(--vw-transition),
        background var(--vw-transition),
        border-color var(--vw-transition);
}

.link-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--vw-line-strong);
}

.link-item a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.link-item a:hover {
    color: #fff;
    transform: none;
}

.link-item a b:first-child {
    color: var(--vw-muted) !important;
}

.link-item a strong,
.link-item a b:last-child {
    color: antiquewhite !important;
}

.delete-link-videowatch,
#deleteLink {
    color: var(--vw-accent) !important;
    cursor: pointer;
    font-size: 12px !important;
    text-decoration: none;
}

.link-item span {
    grid-column: 1 / -1;
    color: var(--vw-muted);
    font-size: 12px;
    font-style: italic;
}

.downloads {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    padding: 9px 12px;
    color: var(--vw-muted);
    border: 1px solid var(--vw-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.026);
}

.downloads__label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--vw-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.downloads__count {
    min-width: 26px;
    width: auto;
    height: 26px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    border-radius: 999px;
    background: antiquewhite;
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: none;
}

/* Ошибки */
.berrors {
    margin: 0;
    padding: 14px 16px;
    color: #f0caca;
    font-size: 13px;
    line-height: 1.6;
    border-radius: 14px;
    background: rgba(180, 55, 55, 0.10);
    border: 1px solid rgba(255, 90, 90, 0.18);
}

/* Метаданные + спасибо */
.video-meta-thanks-videowatch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 16px 0 0 0;
    padding: 16px;
    border-top: 1px solid var(--vw-line);
}

.thanks-list {
    margin: 0;
    padding: 0;
    color: var(--vw-muted);
    font-size: 13px;
    line-height: 1.6;
    border: 0;
}

.thanks-list user,
.thanks-list b {
    color: var(--vw-accent);
    font-weight: 800;
}

.viewed-num-videowatch {
    color: antiquewhite;
}

.meta-dot-videowatch {
    color: rgba(255, 255, 255, 0.35);
    margin: 0 4px;
}

.button-thanks {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    float: none;
    margin: 0;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: linear-gradient(180deg, #2ea44f, #23863f);
    box-shadow: var(--vw-shadow-sm);
    cursor: pointer;
    transition:
        transform var(--vw-transition),
        filter var(--vw-transition);
}

.button-thanks:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    background: linear-gradient(180deg, #2ea44f, #23863f);
    box-shadow: var(--vw-shadow-sm);
}

.button-thanks::before {
    display: none;
}

.button-thanks a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

/* Ещё клипы */
.video-preview-container-videowatch-more {
    padding: 20px;
    font-size: 13px;
    border-top: 1px solid var(--vw-line);
}

.video-preview-container-videowatch-more h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 20px;
}

.video-previews-videowatch-more {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 14px;
}

.video-preview-videowatch-more {
    text-align: left;
}

.video-preview-videowatch-more a {
    display: block;
    text-decoration: none;
    text-align: center;
}

.video-preview-videowatch-more img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    border-radius: 14px;
    filter: brightness(0.86);
    border: 1px solid var(--vw-line);
    box-shadow: none;
    cursor: pointer;
    transition:
        transform var(--vw-transition),
        filter var(--vw-transition),
        border-color var(--vw-transition);
}

.video-preview-videowatch-more:hover img {
    transform: translateY(-2px);
    filter: brightness(1);
    border-color: var(--vw-line-strong);
}

.video-preview-videowatch-more p {
    margin: 8px 0 0;
    color: var(--vw-muted);
    font-size: 13px;
    line-height: 1.35;
}

/* Правый блок — без общего фона */
.related-list-videowatch {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-content-videowatch {
    margin: 0;
    color: var(--vw-muted);
}

.related-content-videowatch small {
    color: var(--vw-muted);
    font-size: 12px;
}

.related-content-videowatch span {
    color: antiquewhite;
}

.related-content-videowatch b {
    display: block;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.25;
}

.related-title-block-videowatch {
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border-bottom: 1px solid var(--vw-line);
}

.related-bio-box-videowatch {
    padding: 16px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.016));
    border: 1px solid var(--vw-line);
    box-shadow: var(--vw-shadow-sm);
}

.related-bio-logo-videowatch {
    margin: 12px 0;
    padding: 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--vw-line);
}

.related-bio-logo-videowatch img,
.related-bio-box-videowatch img {
    width: 100%;
    max-height: 120px;
    display: block;
    object-fit: contain;
}

.related-bio-box-videowatch small {
    display: block;
    color: var(--vw-muted);
    font-size: 12px;
    line-height: 1.65;
}

.related-bio-link-videowatch {
    padding-top: 12px;
    font-size: 12px;
    text-align: center;
}

.related-bio-link-videowatch .sect-link {
    margin-left: 0 !important;
}

/* Related Video Preview Cards */
.related-item-videowatch {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.related-item-videowatch:hover {
    background: transparent;
    transform: none;
}

.related-link-videowatch {
    position: relative;
    display: block;
    min-height: 140px;
    padding: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .105);
    border-radius: 14px;
    background: #151820;
    transition: border-color var(--vw-transition), box-shadow var(--vw-transition);
}

.related-link-videowatch:hover {
    transform: none;
    border-color: rgba(255, 123, 56, .45);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

.related-link-videowatch::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to top, rgba(0, 0, 0, .96), rgba(0, 0, 0, .50) 45%, rgba(0, 0, 0, .10) 74%, transparent),
        radial-gradient(circle at 72% 18%, rgba(255, 123, 56, .18), transparent 32%);
    pointer-events: none;
}

.related-link-videowatch::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62%;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--vw-transition);
    pointer-events: none;
}

.related-link-videowatch:hover::before {
    opacity: 1;
}

.related-thumbnail-videowatch {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    background: #000;
    filter: brightness(.88);
    transition: filter var(--vw-transition), transform var(--vw-transition);
}

.related-title-wrap-videowatch {
    max-width: 100%;
    min-height: 45px;
}

.related-link-videowatch:hover .related-thumbnail-videowatch {
    filter: brightness(1);
}

.related-info-videowatch {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    width: auto;
    min-width: 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    align-items: end;
}

.related-title-videowatch {
    display: -webkit-box !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    min-height: 50px;
    margin: 0;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .56);

    color: #fff;
    font-size: 11px;
    font-weight: 100;
    line-height: 1.25;

    overflow: hidden !important;
    text-overflow: ellipsis;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.related-title-videowatch:hover {
    color: #fff;
}

.related-meta-videowatch {
    min-width: 92px;
    max-width: 135px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.related-channel-videowatch,
.related-date-videowatch {
    display: block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 4px 7px;
    border-radius: 7px;
    background: rgba(0, 0, 0, .46);
    color: #cfd3dc;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-channel-videowatch span {
    color: antiquewhite;
    font-weight: 900;
}

.related-date-videowatch {
    color: var(--vw-muted);
}

.female-vocal-p {
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 3px 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.15;
    border-radius: 999px;
    background: rgba(46, 164, 79, .88);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .24);
    white-space: nowrap;
}

.related-empty-videowatch {
    color: var(--vw-muted);
    font-size: 13px;
}

/* Нижний список благодарностей */
.thanks-list-bottom-videowatch {
    max-width: 1500px;
    margin: 20px auto 0;
    padding: 16px 18px;
    color: var(--vw-muted);
    font-size: 13px;
    line-height: 1.6;
    border-top: 1px solid var(--vw-line);
}

.thanks-list-bottom-videowatch .fal {
    color: var(--vw-accent);
    margin-right: 6px;
}

.thanks-list-bottom-videowatch b {
    color: antiquewhite;
}

/* Кнопки справа в хлебных крошках */
.folder-actions-videowatch {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Кнопка "Сделать шире" */
.wide-video-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 30px;
    padding: 6px 12px;

    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));

    cursor: pointer;

    transition:
        transform var(--vw-transition),
        background var(--vw-transition),
        border-color var(--vw-transition),
        color var(--vw-transition);
}

.wide-video-btn:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(180deg, rgba(210, 106, 77, 0.22), rgba(210, 106, 77, 0.08));
    border-color: rgba(210, 106, 77, 0.35);
}

.wide-video-btn i {
    font-size: 12px;
    opacity: 0.9;
}

/* Широкий режим */
.container-videowatch.is-wide-videowatch {
    grid-template-columns: 1fr;
}

/* Видео занимает всю ширину */
.container-videowatch.is-wide-videowatch .video-section-videowatch {
    width: 100%;
    min-width: 0;
    margin-right: 0;
}

/* Правый блок уходит вниз */
.container-videowatch.is-wide-videowatch .related-section-videowatch {
    position: static;
    width: 100%;
    margin-top: 4px;
    padding: 0;
    border-left: 0;
}

/* В широком режиме рекомендации становятся сеткой */
.container-videowatch.is-wide-videowatch .related-link-videowatch {
    min-height: 230px;
}

/* Биография справа в широком режиме занимает всю ширину */
.container-videowatch.is-wide-videowatch .related-bio-box-videowatch {
    grid-column: 1 / -1;
}

/* Заголовки секций в широком режиме */
.container-videowatch.is-wide-videowatch .related-title-block-videowatch {
    grid-column: 1 / -1;
}

/* Активное состояние кнопки */
.container-videowatch.is-wide-videowatch .wide-video-btn {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(210, 106, 77, 0.95), rgba(138, 61, 47, 0.95));
    border-color: rgba(255, 255, 255, 0.16);
}

.wide-video-btn .icon-compress,
.wide-video-btn .text-compress {
    display: none;
}

.container-videowatch.is-wide-videowatch .wide-video-btn .icon-expand,
.container-videowatch.is-wide-videowatch .wide-video-btn .text-expand {
    display: none;
}

.container-videowatch.is-wide-videowatch .wide-video-btn .icon-compress,
.container-videowatch.is-wide-videowatch .wide-video-btn .text-compress {
    display: inline-block;
}

/* Небольшая плавность перестроения */
.container-videowatch,
.video-section-videowatch,
.related-section-videowatch {
    transition:
        grid-template-columns 0.35s ease,
        width 0.35s ease,
        margin 0.35s ease,
        transform 0.35s ease,
        opacity 0.25s ease;
}

/* Блок после окончания YouTube-видео */
.video-ended-next-videowatch {
    position: absolute;
    inset: 0;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background:
        radial-gradient(circle at top left, rgba(210, 106, 77, 0.22), transparent 36%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.92), rgba(5, 5, 5, 0.96));

    backdrop-filter: blur(8px);

    transition:
        opacity var(--vw-transition),
        visibility var(--vw-transition);
}

.video-ended-next-videowatch.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-ended-next-inner-videowatch {
    width: min(820px, 100%);
    max-height: 100%;
    overflow: auto;

    padding: 22px;

    color: var(--vw-text);

    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));

    border: 1px solid var(--vw-line-strong);
    box-shadow: var(--vw-shadow-md);
}

.video-ended-next-head-videowatch {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 16px;
    padding-bottom: 14px;

    border-bottom: 1px solid var(--vw-line);
}

.video-ended-next-head-videowatch small {
    display: block;
    margin-bottom: 5px;

    color: antiquewhite;
    font-size: 12px;
    font-weight: 700;
}

.video-ended-next-head-videowatch h3 {
    margin: 0;

    color: #fff;
    font-size: clamp(18px, 2.4vw, 26px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.video-ended-replay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 34px;
    padding: 8px 13px;

    flex-shrink: 0;

    color: #fff;
    font-size: 12px;
    font-weight: 800;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);

    background:
        linear-gradient(180deg, rgba(210, 106, 77, 0.95), rgba(138, 61, 47, 0.95));

    cursor: pointer;

    transition:
        transform var(--vw-transition),
        filter var(--vw-transition),
        border-color var(--vw-transition);
}

.video-ended-replay-btn:hover {
    filter: brightness(1.05);
    border-color: rgba(255, 255, 255, 0.18);
}

.video-ended-next-grid-videowatch {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.video-ended-next-item-videowatch {
    display: block;

    min-width: 0;

    color: inherit;
    text-decoration: none;

    padding: 9px;

    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);

    transition:
        transform var(--vw-transition),
        background var(--vw-transition),
        border-color var(--vw-transition);
}

.video-ended-next-item-videowatch:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--vw-line-strong);
}

.video-ended-next-thumb-videowatch {
    position: relative;

    display: block;
    overflow: hidden;

    aspect-ratio: 16 / 10;

    border-radius: 12px;
    background: #050505;
    border: 1px solid var(--vw-line);
}

.video-ended-next-thumb-videowatch img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    filter: brightness(0.78);

    transition:
        transform var(--vw-transition),
        filter var(--vw-transition);
}

.video-ended-next-item-videowatch:hover img {
    filter: brightness(1);
}

.video-ended-next-play-videowatch {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    border-radius: 50%;
    background: rgba(0, 0, 0, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.14);

    transform: translate(-50%, -50%);

    transition:
        background var(--vw-transition),
        transform var(--vw-transition);
}

.video-ended-next-item-videowatch:hover .video-ended-next-play-videowatch {
    background: rgba(210, 106, 77, 0.86);
}

.video-ended-next-play-videowatch i {
    margin-left: 2px;
    font-size: 13px;
}

.video-ended-next-title-videowatch {
    display: -webkit-box;

    margin-top: 8px;

    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;

    overflow: hidden;
    text-overflow: ellipsis;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    text-align: center;
}

.video-ended-next-empty-videowatch {
    grid-column: 1 / -1;

    padding: 14px 16px;

    color: var(--vw-muted);
    font-size: 13px;
    line-height: 1.6;

    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--vw-line);
}

.col-left {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .video-wrapper-videowatch::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 65px;

        background: rgba(0, 0, 0, 1);

        z-index: 3;
        pointer-events: none;

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.25s ease 5s,
            visibility 0s linear 5.25s;
    }

    .video-wrapper-videowatch.is-video-not-started::after {
        opacity: 1;
        visibility: visible;

        transition:
            opacity 0.25s ease 0s,
            visibility 0s linear 0s;
    }

    .video-wrapper-videowatch:not(.is-video-force-hide):hover::after {
        opacity: 1;
        visibility: visible;

        transition:
            opacity 0.25s ease 0s,
            visibility 0s linear 0s;
    }

    .video-wrapper-videowatch.is-video-force-hide::after,
    .video-wrapper-videowatch.is-video-force-hide:hover::after {
        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.25s ease 0s,
            visibility 0s linear 0.25s;
    }
}

/* Мобилка */
@media (max-width: 1180px) {
    .container-videowatch {
        grid-template-columns: 1fr;
    }

    .related-section-videowatch {
        position: static;
    }

    .wide-video-btn {
        display: none;
    }

    .container-videowatch.is-wide-videowatch .related-list-videowatch {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {

    .folder-actions-videowatch {
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .container-videowatch {
        gap: 18px;
    }

    .folder-top-videowatch {
        display: block;
        padding: 12px;
    }

    .add-file-clip {
        margin-top: 10px;
    }

    .video-format-videowatch,
    .download-links-videowatch,
    .add-file-clip-content,
    .lyrics-content,
    .video-meta-thanks-videowatch,
    .video-preview-container-videowatch-more,
    .thanks-list-bottom-videowatch {
        padding: 16px;
        border-radius: 18px;
    }

    .video-title-row-videowatch {
        display: block;
    }

    .container-videowatch-block {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        grid-template-areas:
            "cover info"
            "telegram telegram";
        gap: 12px;

        padding: 14px;
        align-items: center;
    }

    .image-videowatch-block {
        grid-area: cover;

        width: 76px;
        height: 76px;
    }

    .telegram-player-grid {
        display: contents !important;
    }

    .album-info-videowatch-block,
    .telegram-player-grid>a:first-child {
        grid-area: info;

        min-width: 0;
        align-self: center;
    }

    .telegram-link-videowatch {
        grid-area: telegram;

        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-top: 2px;
        box-sizing: border-box;
    }

    .telegram-player-videowatch {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;

        grid-template-columns: 34px minmax(0, 1fr) 34px;
    }

    .telegram-player-videowatch .player-info {
        min-width: 0;
        overflow: hidden;
    }

    .telegram-player-videowatch .player-info span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .text1-videowatch-block {
        font-size: 15px;
    }

    .text2-videowatch-block {
        font-size: 12px;
    }

    .views-bar {
        justify-content: flex-start;
    }

    .clear-add-file-clip-content {
        grid-template-columns: 1fr;
    }

    .top-block {
        display: block;
    }

    .comments {
        margin-top: 6px;
        text-align: left;
    }

    .link-item {
        grid-template-columns: 1fr;
    }

    .video-meta-thanks-videowatch {
        display: block;
    }

    .button-thanks {
        display: inline-block;
        margin-top: 12px;
    }

    .video-previews-videowatch-more {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-link-videowatch {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .related-thumbnail-videowatch {
        width: 108px;
        height: 68px;
    }

    .video-ended-next-videowatch {
        padding: 12px;
    }

    .video-ended-next-inner-videowatch {
        padding: 16px;
        border-radius: 18px;
    }

    .video-ended-next-head-videowatch {
        display: block;
    }

    .video-ended-replay-btn {
        margin-top: 12px;
    }

    .video-ended-next-grid-videowatch {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-thumbnail-videowatch {
        width: 100%;
        height: 100%;
    }

    .related-info-videowatch {
        left: 9px;
        right: 9px;
        bottom: 9px;
        gap: 7px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .related-info-videowatch {
        left: 9px;
        right: 9px;
        bottom: 9px;
        gap: 7px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .related-title-videowatch {
        padding: 5px 7px;
        font-size: 12px;
    }

    .related-meta-videowatch {
        min-width: 78px;
        max-width: 115px;
        gap: 4px;
    }

    .female-vocal-p {
        padding: 3px 7px;
        font-size: 9px;
    }

    .related-channel-videowatch,
    .related-date-videowatch {
        padding: 3px 6px;
        font-size: 10px;
    }
}