.ytv-page {
    padding: 110px 0 60px;
    background: #0a0d13;
    min-height: 100vh;
}

.ytv-page .wrapper.ytv-layout {
    max-width: 2000px;
    padding: 0 20px;
}

.ytv-layout {
    display: grid;
    grid-template-columns: minmax(0, 66fr) minmax(460px, 34fr);
    gap: 15px;
    align-items: start;
}

.ytv-main {
    min-width: 0;
    max-width: 100%;
}

.ytv-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ytv-player-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ytv-title {
    margin: 18px 0 10px;
    color: #fff;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ytv-company {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.ytv-company-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #d5dbea;
    font-size: 15px;
    line-height: 1.5;
}

.ytv-company-row + .ytv-company-row {
    margin-top: 4px;
}

.ytv-company-label {
    display: inline-block;
    width: 78px;
    color: #9ea8bc;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: justify;
    text-align-last: justify;
}

.ytv-company-label::after {
    content: '';
    display: inline-block;
    width: 100%;
}

.ytv-company-value {
    color: #e7ecf8;
    word-break: break-all;
}

.ytv-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #a8afbd;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.ytv-side {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-right: 0;
    height: auto;
    max-height: none;
    overflow: visible;
}

.ytv-side h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.ytv-related-list {
    display: grid;
    gap: 20px;
}

.ytv-related-item {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 20px;
    text-decoration: none;
    color: #fff;
    align-items: start;
}

.ytv-related-thumb {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.ytv-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ytv-related-title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    margin: 0 0 6px;
    word-break: break-word;
}

.ytv-related-meta {
    color: #a8afbd;
    font-size: 15px;
    line-height: 1.4;
}

.ytv-comments {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ytv-comments h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.ytv-comment-form,
.ytv-reply-form {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.ytv-comment-textarea {
    width: 100%;
    resize: vertical;
    min-height: 68px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    padding: 10px 12px;
    box-sizing: border-box;
    outline: none;
}

.ytv-comment-submit {
    justify-self: end;
    min-width: 90px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: #4f46e5;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.ytv-comment-login,
.ytv-comment-empty {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #a8afbd;
    margin-bottom: 12px;
}

.ytv-comment-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ytv-comment-login-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ytv-comment-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ytv-comment-login-btn.is-secondary {
    background: #374151;
}

.ytv-comment-list {
    display: grid;
    gap: 12px;
}

.ytv-comment-item {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.ytv-comment-item > header,
.ytv-comment-reply > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #9ea8bc;
    font-size: 13px;
    margin-bottom: 6px;
}

.ytv-comment-item > header strong,
.ytv-comment-reply > header strong {
    color: #fff;
    font-size: 14px;
}

.ytv-comment-content {
    color: #e6ebf6;
    font-size: 15px;
    line-height: 1.55;
    word-break: break-word;
}

.ytv-comment-reply {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.12);
    border: 1px solid rgba(79, 70, 229, 0.25);
}

@media (max-width: 1280px) {
    .ytv-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ytv-main {
        max-width: 100%;
    }

    .ytv-side {
        margin-right: 0;
        max-height: none;
    }

    .ytv-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .ytv-page {
        padding-top: 90px;
    }

    .ytv-title {
        font-size: 24px;
    }

    .ytv-related-item {
        grid-template-columns: 148px minmax(0, 1fr);
    }
}
