* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #0b1220;
    color: #e8edf7;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #93c5fd;
}

.site-header {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.site-header__ad {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0 0;
    text-align: center;
    line-height: 1.45;
}

.site-header__ad img,
.site-header__ad iframe,
.site-header__ad ins {
    max-width: 100%;
    vertical-align: middle;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.site-header__inner--brand {
    display: flex;
    align-items: center;
}

.site-header__inner--row {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 12px;
}

.site-header__inner--row .site-brand {
    flex: 0 1 auto;
    min-width: 0;
}

.site-header__inner--row .site-logo {
    display: block;
}

.site-header__inner--row .site-logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}

.site-search {
    display: flex;
    align-items: stretch;
    flex: 1 1 0;
    min-width: 0;
    max-width: 420px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.site-search:focus-within {
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.18);
}

.site-search__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 10px 9px 12px;
    border: none;
    background: transparent;
    color: #f1f5f9;
    font-size: 0.92rem;
    font-family: inherit;
}

.site-search__input::placeholder {
    color: #64748b;
}

.site-search__input:focus {
    outline: none;
}

.site-search__submit {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    padding: 0;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(99, 102, 241, 0.2);
    color: #c7d2fe;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-search__submit:hover {
    background: rgba(99, 102, 241, 0.38);
    color: #fff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-page-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #f1f5f9;
}

.search-results-meta {
    font-size: 0.92rem;
    color: #94a3b8;
    margin-bottom: 18px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #93c5fd;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.pagination__link:hover {
    border-color: rgba(99, 102, 241, 0.45);
    background: rgba(99, 102, 241, 0.12);
}

.pagination__link--nav {
    min-width: auto;
    padding-left: 14px;
    padding-right: 14px;
}

.pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
    background: rgba(99, 102, 241, 0.35);
    border: 1px solid rgba(99, 102, 241, 0.55);
}

.pagination__ellipsis {
    padding: 0 4px;
    color: #64748b;
    font-weight: 600;
    user-select: none;
}

.pagination__muted {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    cursor: not-allowed;
}

.pagination__meta {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 12px;
}

@media (max-width: 560px) {
    .site-header {
        padding: 10px 12px;
    }

    .site-header__inner--row .site-brand {
        max-width: 40%;
    }

    .site-header__inner--row .site-logo {
        font-size: 0.95rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header__inner--row .site-logo-img {
        max-height: 32px;
        max-width: 100%;
    }

    .site-search {
        flex: 0 1 auto;
        min-width: 0;
        max-width: min(188px, 52vw);
        border-radius: 8px;
    }

    .site-search__input {
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    .site-search__input::placeholder {
        font-size: 0.78rem;
    }

    .site-search__submit {
        width: 36px;
    }

    .site-search__submit svg {
        width: 16px;
        height: 16px;
    }
}

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.site-logo {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: #f8fafc;
    text-decoration: none;
}

.site-logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}

.main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px 32px;
    width: 100%;
}

.empty-msg {
    text-align: center;
    color: #94a3b8;
    padding: 40px 12px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card__thumb-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

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

.video-duration-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(0, 0, 0, 0.82);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.card__title {
    display: block;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}

.site-footer {
    padding: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer--watch {
    padding: 14px 14px 18px;
}

.watch-footer-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #e8edf7;
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.15s ease;
}

.watch-footer-home:hover {
    color: #fff;
    border-color: rgba(99, 102, 241, 0.55);
    background: linear-gradient(165deg, rgba(49, 46, 129, 0.45), rgba(30, 41, 59, 0.95));
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
    transform: translateY(-1px);
}

.watch-footer-home:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4), 0 2px 12px rgba(0, 0, 0, 0.22);
}

.watch-footer-home__icon {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    opacity: 0.95;
}

.watch {
    max-width: 880px;
}

.watch-article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
}

.watch-ad-post-header {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

.watch-ad-slot--center {
    margin: 0 auto 16px;
    max-width: 728px;
    text-align: center;
    line-height: 1.5;
}

.watch-ad-slot--center img,
.watch-ad-slot--center iframe,
.watch-ad-slot--center ins {
    max-width: 100%;
    vertical-align: middle;
}

.watch-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.25;
}

.player-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* Fake embedded video player — aspect matches thumbnail image (JS); 16:9 fallback */
.fake-player {
    position: relative;
    width: 100%;
    max-width: 100%;
    max-height: min(85vh, 960px);
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    color: #fff;
    cursor: pointer;
    outline: none;
}

.fake-player:focus-visible {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.65);
}

.fake-player__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.fake-player__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fake-player__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}

.fake-player__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.fake-player.is-loading .fake-player__center {
    opacity: 0;
    transform: scale(0.92);
}

.fake-player__play-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 3px solid rgba(255, 255, 255, 0.95);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.fake-player__play-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #fff;
    margin-left: 6px;
}

.fake-player__chrome {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.5));
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.fake-player__time {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.fake-player__track {
    flex: 1;
    min-width: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.fake-player__progress {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #38bdf8);
    transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fake-player__chrome-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
}

.fake-player__ico {
    display: flex;
    opacity: 0.9;
}

.fake-player__views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.fake-player__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    z-index: 5;
    pointer-events: none;
}

.fake-player.is-loading .fake-player__loading {
    pointer-events: auto;
}

.fake-player__loading[hidden] {
    display: none !important;
}

.fake-player__spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: #38bdf8;
    border-right-color: #6366f1;
    animation: fake-player-spin 0.85s linear infinite;
}

@keyframes fake-player-spin {
    to {
        transform: rotate(360deg);
    }
}

.fake-player.is-loading .fake-player__chrome {
    opacity: 0.85;
}

.watch-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.watch-actions .btn-primary,
.watch-actions .btn-server2 {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.watch-actions .btn-primary {
    animation: watch-btn-glow-primary 2.5s ease-in-out infinite;
}

.watch-actions .btn-server2 {
    animation: watch-btn-glow-server2 2.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .watch-actions .btn-primary,
    .watch-actions .btn-server2 {
        animation: none;
    }
}

@keyframes watch-btn-glow-primary {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.35), 0 4px 14px rgba(0, 0, 0, 0.25);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 20px 4px rgba(56, 189, 248, 0.45), 0 6px 18px rgba(99, 102, 241, 0.35);
        filter: brightness(1.06);
    }
}

@keyframes watch-btn-glow-server2 {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 22px 5px rgba(251, 191, 36, 0.55), 0 6px 16px rgba(245, 158, 11, 0.25);
    }
}

.btn-server2 {
    padding: 12px 18px;
    border-radius: 10px;
    border: 2px solid #f59e0b;
    background: linear-gradient(165deg, rgba(30, 20, 8, 0.95) 0%, rgba(69, 40, 6, 0.92) 100%);
    color: #fde68a;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.btn-server2:hover {
    background: linear-gradient(165deg, rgba(55, 35, 10, 0.98) 0%, rgba(90, 55, 12, 0.95) 100%);
    border-color: #fbbf24;
    color: #fffbeb;
}

.btn {
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #0ea5e9);
    color: #fff;
    width: 100%;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.btn-ghost:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.article-body {
    margin-top: 22px;
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.article-body p {
    margin-bottom: 14px;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
    color: #e2e8f0;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.25em 0 0.5em;
}

.article-body h1:first-child,
.article-body h2:first-child,
.article-body h3:first-child,
.article-body h4:first-child {
    margin-top: 0;
}

.article-body h1 {
    font-size: 1.5rem;
}

.article-body h2 {
    font-size: 1.3rem;
}

.article-body h3 {
    font-size: 1.15rem;
}

.article-body h4 {
    font-size: 1.05rem;
}

.article-body ul,
.article-body ol {
    margin: 0 0 14px 1.25em;
    padding-left: 0.25em;
}

.article-body li {
    margin-bottom: 0.35em;
}

.article-body blockquote {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-left: 3px solid rgba(99, 102, 241, 0.55);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 8px 8px 0;
    color: #b8c5df;
}

.article-body a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: #bfdbfe;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin: 0 0 14px;
}

.article-body th,
.article-body td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 10px;
    text-align: left;
}

.article-body th {
    background: rgba(0, 0, 0, 0.25);
    font-weight: 600;
    color: #e2e8f0;
}

.article-body pre {
    margin: 0 0 14px;
    padding: 12px 14px;
    overflow-x: auto;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
}

.article-body code {
    font-size: 0.9em;
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 6px;
    border-radius: 4px;
}

.article-body pre code {
    padding: 0;
    background: none;
}

/* Quill output on public watch page */
.article-body .ql-align-center {
    text-align: center;
}

.article-body .ql-align-right {
    text-align: right;
}

.article-body .ql-align-justify {
    text-align: justify;
}

.article-body .ql-indent-1 {
    padding-left: 3em;
}

.article-body .ql-indent-2 {
    padding-left: 6em;
}

.article-body .ql-indent-3 {
    padding-left: 9em;
}

.article-body .ql-size-small {
    font-size: 0.85em;
}

.article-body .ql-size-large {
    font-size: 1.35em;
}

.article-body .ql-size-huge {
    font-size: 1.75em;
}

.article-body .ql-font-serif {
    font-family: Georgia, "Times New Roman", serif;
}

.article-body .ql-font-monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.watch-latest {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.watch-latest__heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #e2e8f0;
}

.watch-latest__strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scroll-padding: 4px;
    -webkit-overflow-scrolling: touch;
}

.watch-latest__strip::-webkit-scrollbar {
    height: 7px;
}

.watch-latest__strip::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.watch-latest__strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 4px;
}

.watch-latest__card {
    flex: 0 0 min(46%, 200px);
    min-width: 150px;
    max-width: 200px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.watch-latest__card:hover {
    border-color: rgba(99, 102, 241, 0.45);
    transform: translateY(-2px);
}

.watch-latest__thumb-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0a0a;
}

.watch-latest__thumb-wrap .video-duration-badge {
    right: 4px;
    bottom: 4px;
    padding: 2px 5px;
    font-size: 0.64rem;
}

.watch-latest__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.watch-latest__title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: #e8edf7;
    padding: 0 10px 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Promo landing (/video): clean column, no watch-article card --- */
.main.landing-page {
    max-width: 720px;
}

.landing-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.landing-title {
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #f1f5ff;
    text-align: center;
}

.landing-ad--inline {
    margin: 0 0 16px;
    line-height: 1.5;
    text-align: center;
}

.landing-ad--inline img,
.landing-ad--inline iframe,
.landing-ad--inline ins {
    max-width: 100%;
    vertical-align: middle;
}

.landing-player-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.landing-actions.watch-actions {
    margin-top: 18px;
}

.landing-latest.watch-latest {
    margin-top: 32px;
}

.landing-page__empty {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

/* --- Landing index (/video list): dense grid (2+ cols) --- */
.main.landing-page--index {
    max-width: 1200px;
}

.landing-index {
    width: 100%;
}

.landing-index__title {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 800;
    margin: 0 0 8px;
    color: #f1f5ff;
    text-align: center;
    letter-spacing: -0.02em;
}

.landing-index__lead {
    margin: 0 0 18px;
    text-align: center;
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.45;
}

.landing-index__empty {
    margin-top: 8px;
}

.landing-index__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 10px;
}

.landing-index__item {
    min-width: 0;
}

@media (min-width: 700px) {
    .landing-index__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 14px;
    }
}

@media (min-width: 1024px) {
    .landing-index__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.landing-index-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 10px 12px;
    border-radius: 12px;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.landing-index-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
}

.landing-index-card__media {
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a;
    line-height: 0;
}

.landing-index-card__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.landing-index-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.landing-index-card__heading {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 2.6em;
}

.landing-index-card__title {
    color: #93c5fd;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-index-card__title:hover {
    color: #bfdbfe;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-index-card__url-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.landing-index-card__url {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 0.62rem;
    font-weight: 500;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 5px 7px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-index-card__copy {
    width: 100%;
    padding: 7px 10px;
    font-size: 0.76rem;
    font-weight: 600;
}

.landing-index-card__copy.is-copied {
    border-color: rgba(34, 197, 94, 0.55);
    color: #86efac;
}

@media (min-width: 900px) {
    .landing-index-card__heading {
        font-size: 0.88rem;
        min-height: 0;
    }

    .landing-index-card__url {
        font-size: 0.68rem;
    }
}

