.mobile-video-page,
.mobile-video-detail {
    min-height: 100vh;
    background: #f5f7fb;
    padding-bottom: 72px;
    color: #172033;
}

.mobile-video-hero {
    padding: 22px 16px 14px;
    background: #ffffff;
    border-bottom: 1px solid #e1e7f0;
}

.mobile-video-hero h1,
.mobile-video-info h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
}

.mobile-video-hero p,
.mobile-video-info p,
.mobile-video-body p {
    color: #5c667a;
    line-height: 1.55;
    margin: 0;
}

.mobile-video-description-rich a {
    color: #0f766e;
    font-weight: 700;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.mobile-video-relation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.mobile-video-relation-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
    background: #eef2f7;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-video-relation-tag.tag-product {
    color: #075985;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.mobile-video-relation-tag.tag-category {
    color: #166534;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.mobile-video-relation-tag.tag-department {
    color: #7c2d12;
    background: #ffedd5;
    border-color: #fed7aa;
}

.mobile-video-list {
    display: grid;
    gap: 14px;
    padding: 14px;
}

.mobile-video-card {
    display: block;
    background: #ffffff;
    border: 1px solid #dde4ef;
    border-radius: 8px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.mobile-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #101827;
}

.mobile-video-thumb video,
.mobile-video-thumb iframe,
.mobile-player-shell video,
.mobile-video-embed-frame {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}

.mobile-video-thumb span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 42px;
    background: rgba(0, 0, 0, .18);
}

.mobile-video-platform-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: grid;
    place-items: center;
    gap: 6px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #101827, #164e63);
    font-weight: 700;
}

.mobile-video-platform-placeholder i {
    font-size: 30px;
}

.mobile-video-platform-link {
    aspect-ratio: 16 / 9;
    text-decoration: none;
}

.mobile-video-thumb iframe {
    pointer-events: none;
}

.mobile-video-body {
    padding: 14px;
}

.mobile-video-body h2 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.mobile-video-empty {
    margin: 18px;
    padding: 34px 18px;
    text-align: center;
    background: #fff;
    border: 1px dashed #b9c4d6;
    border-radius: 8px;
    color: #667085;
}

.mobile-player-shell {
    position: relative;
    background: #050914;
}

.mobile-player-shell video,
.mobile-video-embed-frame {
    aspect-ratio: 16 / 9;
}

.mobile-barrage-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.barrage-item {
    position: absolute;
    right: -80%;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
    animation: mobile-barrage-move 6s linear forwards;
}

@keyframes mobile-barrage-move {
    from { transform: translateX(0); }
    to { transform: translateX(-180vw); }
}

.mobile-video-info,
.mobile-panel,
.mobile-more-videos {
    margin: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid #dde4ef;
    border-radius: 8px;
}

.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-panel-header h2,
.mobile-more-videos h2 {
    margin: 0;
    font-size: 18px;
}

.mobile-barrage-form,
.mobile-comment-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.mobile-barrage-form {
    grid-template-columns: 1fr 48px 72px;
}

.mobile-barrage-form input,
.mobile-comment-form input,
.mobile-comment-form textarea {
    min-width: 0;
    border: 1px solid #ccd6e5;
    border-radius: 6px;
    padding: 10px;
    outline: none;
}

.mobile-barrage-form button,
.mobile-comment-form button {
    border: 0;
    border-radius: 6px;
    background: #0f766e;
    color: #fff;
    font-weight: 600;
}

.mobile-comment-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.comment-item {
    border-top: 1px solid #ecf0f6;
    padding-top: 10px;
}

.comment-item strong {
    display: block;
}

.comment-item p {
    color: #4d5870;
    margin: 6px 0;
    line-height: 1.55;
}

.comment-item span {
    color: #8a95a8;
    font-size: 12px;
}

.mobile-more-videos {
    display: grid;
    gap: 8px;
}

.mobile-more-videos a {
    color: #0f766e;
    text-decoration: none;
    padding-top: 8px;
    border-top: 1px solid #ecf0f6;
}
