/* XVideos Style - Dark Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.4;
}

.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #000000;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 12px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #ff6500;
    text-decoration: none;
    letter-spacing: -1px;
}

/* Search Form */
.search-form {
    flex: 1;
    max-width: 600px;
    display: flex;
    gap: 8px;
}

.search-form input {
    flex: 1;
    padding: 8px 15px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 14px;
}

.search-form input:focus {
    outline: none;
    border-color: #ff6500;
    background: #333;
}

.search-form button {
    padding: 8px 20px;
    background: #ff6500;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.search-form button:hover {
    background: #ff7a1f;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.language-switcher::-webkit-scrollbar {
    height: 4px;
}

.language-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 5px 8px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 999px;
    color: #cfcfcf;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    flex: 0 0 auto;
}

.language-link:hover {
    color: #fff;
    background: #343434;
    border-color: #4b4b4b;
}

.language-link.active {
    background: #ff6500;
    border-color: #ff6500;
    color: #fff;
}

.language-flag {
    font-size: 13px;
    line-height: 1;
}

.language-code {
    line-height: 1;
    white-space: nowrap;
}

.mode-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: #131313;
    border: 1px solid #2a2a2a;
    flex: 0 0 auto;
}

.mode-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: #cfcfcf;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.mode-link:hover {
    color: #fff;
    background: #2f2f2f;
}

.mode-link.active {
    background: #ff6500;
    color: #fff;
}

/* Teen Categories Navigation */
.categories-nav {
    background-color: #0f0f0f;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
}

.categories-nav .container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.alsoporn-inline-spots {
    padding: 16px 0 8px;
}

.alsoporn-inline-spots--top {
    padding-top: 12px;
}

.alsoporn-inline-spots__grid {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    justify-content: center;
    gap: 16px;
}

.alsoporn-inline-spots__item {
    width: 300px;
    height: 250px;
    overflow: hidden;
}

.alsoporn-inline-spots__frame {
    display: block;
    width: 300px;
    height: 250px;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

.cat-link {
    display: inline-block;
    background: #2a2a2a;
    color: #e0e0e0 !important;
    padding: 6px 14px;
    border-radius: 3px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: normal;
    transition: all 0.2s ease;
}

.cat-link:hover {
    background: #ff6500;
    color: white !important;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

h1 {
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 24px;
    font-weight: normal;
}

/* Video Grid - XVideos style 5 columns */
.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 12px;
    margin-bottom: 20px;
}

.video-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: opacity 0.2s;
}

.video-card:hover {
    opacity: 0.85;
}

.video-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #0a0a0a;
    overflow: hidden;
    border-radius: 4px;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: bold;
}

.video-info {
    padding: 8px 0;
}

.video-info h3 {
    font-size: 14px;
    margin-bottom: 4px;
    color: #e0e0e0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    font-weight: normal;
    min-height: 36px;
}

.video-info h3:hover {
    color: #ff6500;
}

.meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #999;
}

.meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Video Page */
.video-page h1 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: normal;
}

.video-player {
    background: #000;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.video-player iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.video-details {
    background: #0f0f0f;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #2a2a2a;
}

.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.stats strong {
    color: #e0e0e0;
}

.tags {
    margin: 15px 0;
}

.tags h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: normal;
    color: #e0e0e0;
}

.tag {
    display: inline-block;
    background: #2a2a2a;
    color: #e0e0e0;
    padding: 5px 12px;
    border-radius: 3px;
    margin: 3px;
    text-decoration: none;
    font-size: 12px;
    transition: background 0.2s;
}

.tag:hover {
    background: #ff6500;
    color: white;
}

.cta-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.cta-button {
    display: inline-block;
    background: #ff6500;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #ff7a1f;
}

/* Pagination - XVideos style */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    background: #2a2a2a;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 13px;
    border-radius: 3px;
    transition: background 0.2s;
}

.page-num:hover {
    background: #3a3a3a;
}

.page-num.active {
    background: #ff6500;
    color: white;
    font-weight: bold;
}

.page-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #ff6500;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-radius: 3px;
    transition: background 0.2s;
    margin-left: 4px;
}

.page-next:hover {
    background: #ff7a1f;
}

.page-ellipsis {
    color: #999;
    font-size: 13px;
    padding: 0 5px;
}

/* Footer */
footer {
    background: #000000;
    color: #666;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #2a2a2a;
    font-size: 12px;
}

.footer-description {
    max-width: 900px;
    margin: 0 auto 20px auto;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    text-align: left;
    line-height: 1.7;
}

.footer-description p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

.footer-description p + p {
    margin-top: 14px;
}

/* Stats Page */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #0f0f0f;
    color: white;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #2a2a2a;
}

.stat-card h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #ff6500;
}

.stat-card p {
    color: #999;
    font-size: 14px;
}

.stats-section {
    background: #0f0f0f;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #2a2a2a;
}

.stats-section h2 {
    margin-bottom: 15px;
    color: #e0e0e0;
    font-size: 18px;
    font-weight: normal;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #2a2a2a;
    font-size: 13px;
}

table th {
    background: #000000;
    color: #ff6500;
    font-weight: normal;
}

table td {
    color: #e0e0e0;
}

table tr:hover {
    background: #1a1a1a;
}

/* Responsive */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 10px;
    }

    .search-form {
        max-width: 100%;
    }

    .nav-links,
    .language-switcher {
        justify-content: flex-start;
        width: 100%;
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 8px;
    }

    .video-player iframe {
        height: 300px;
    }

    .categories-nav .container {
        justify-content: flex-start;
    }

    .alsoporn-inline-spots {
        padding: 14px 0 4px;
    }

    .alsoporn-inline-spots--top {
        display: none;
    }

    .alsoporn-inline-spots__grid {
        grid-template-columns: 300px;
        gap: 0;
    }

    .alsoporn-inline-spots__item:nth-child(n+2) {
        display: none;
    }
    
    h1 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo {
        font-size: 22px;
    }

    .language-link {
        min-height: 28px;
        padding: 4px 7px;
        font-size: 10px;
        gap: 4px;
    }

    .language-flag {
        font-size: 11px;
    }
}

.is-hidden {
    display: none !important;
}

.video-card__primary {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 101, 0, 0.9);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.video-badge--ghost {
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.video-badge--fresh {
    background: rgba(26, 167, 109, 0.92);
}

.video-card__watched {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.82);
    color: #f4f4f4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.video-card.is-watched .video-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.14) 100%);
    pointer-events: none;
}

.video-card__progress-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.video-card__progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 101, 0, 0.96) 0%, rgba(255, 146, 41, 0.96) 100%);
}

.video-card.is-filtered-hidden {
    display: none !important;
}

.video-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.video-actions .video-action {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.video-action--primary {
    background: rgba(255, 101, 0, 0.16);
    border-color: rgba(255, 101, 0, 0.38);
    color: #fff !important;
}

.video-action--secondary {
    background: #232323;
    border-color: #343434;
    color: #d8d8d8 !important;
}

.video-action--primary:hover,
.video-action--secondary:hover {
    opacity: 1;
}

.video-grid--compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 12px;
}

.discovery-section {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background: #111;
}

.discovery-dock {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.listing-toolbar--compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    padding: 7px 10px;
    gap: 6px 12px;
}

.discovery-section--recent {
    background: #101010;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 8px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.discovery-section--recent .section-heading {
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.section-heading h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.section-heading p {
    margin: 5px 0 0;
    color: #9a9a9a;
    font-size: 13px;
    line-height: 1.5;
}

.discovery-section--recent .section-heading h2 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b5b5b5;
}

.discovery-section--recent .section-heading p {
    display: none;
}

.toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toolbar-label {
    color: #b5b5b5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.listing-toolbar--compact .toolbar-group {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px 8px;
    min-width: 0;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #232323;
    border: 1px solid #363636;
    color: #d7d7d7;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.listing-toolbar--compact .chip-list {
    gap: 4px 5px;
}

.listing-toolbar--compact .filter-chip {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
}

.filter-chip:hover {
    background: #2c2c2c;
    border-color: #4a4a4a;
    color: #fff;
}

.filter-chip.active {
    background: rgba(255, 101, 0, 0.16);
    border-color: rgba(255, 101, 0, 0.42);
    color: #fff;
}

.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #1f1f1f;
    border: 1px solid #343434;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.section-link:hover {
    background: #292929;
    color: #fff;
}

.filter-chip--button {
    cursor: pointer;
    font-family: inherit;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.trust-strip--inline {
    margin-bottom: 12px;
}

.trust-strip--video {
    margin-bottom: 14px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #171717;
    border: 1px solid #2d2d2d;
    color: #cfcfcf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.video-meta-resume {
    color: #ffa761;
    font-weight: 600;
}

.discovery-section--recent [data-recent-grid],
.discovery-section--recent [data-resume-grid] {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-bottom: 0;
    scrollbar-width: thin;
}

.discovery-section--recent [data-recent-grid] .video-card,
.discovery-section--recent [data-resume-grid] .video-card {
    flex: 0 0 128px;
}

.discovery-section--recent [data-recent-grid] .video-actions,
.discovery-section--recent [data-resume-grid] .video-actions {
    display: none;
}

.discovery-section--recent [data-recent-grid] .video-info,
.discovery-section--recent [data-resume-grid] .video-info {
    padding: 3px 0 0;
}

.discovery-section--recent [data-recent-grid] .video-info h3,
.discovery-section--recent [data-resume-grid] .video-info h3 {
    min-height: 0;
    margin-bottom: 1px;
    font-size: 11px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.discovery-section--recent [data-recent-grid] .meta,
.discovery-section--recent [data-resume-grid] .meta {
    gap: 5px;
    font-size: 9px;
}

@media (max-width: 992px) {
    .video-grid--compact {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-heading {
        flex-direction: column;
    }

    .discovery-section--recent,
    .listing-toolbar--compact {
        padding: 8px 10px;
    }

    .listing-toolbar--compact .toolbar-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

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

@media (max-width: 480px) {
    .video-grid--compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .discovery-section--recent [data-recent-grid] .video-card,
    .discovery-section--recent [data-resume-grid] .video-card {
        flex-basis: 140px;
    }

    .video-badges {
        top: 6px;
        left: 6px;
        gap: 4px;
    }

    .video-badge,
    .video-card__watched {
        min-height: 20px;
        padding: 0 7px;
        font-size: 9px;
    }
}

/* Phase 2 watch/mobile refresh */
.watch-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-intro {
    padding: 14px 16px;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background:
        radial-gradient(circle at top right, rgba(255, 101, 0, 0.12), transparent 32%),
        linear-gradient(180deg, #121212 0%, #0d0d0d 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-intro__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    align-items: end;
}

.page-intro__copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.page-intro__rail {
    display: grid;
    gap: 6px;
    align-content: end;
    justify-items: start;
    min-width: 0;
}

.page-intro__eyebrow {
    margin: 0;
    color: #ff9d5c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-intro h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
}

.page-intro__summary {
    margin: 0;
    max-width: 720px;
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.watch-shell .video-page {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-intro--watch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    align-items: end;
}

.page-intro--watch .page-intro__content {
    display: block;
}

.page-intro--watch .trust-strip {
    justify-content: flex-end;
}

.video-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.video-page__main,
.video-page__side {
    min-width: 0;
}

.video-page__side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.video-page__action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.video-page__action-bar .cta-button {
    display: inline-flex;
    flex: 1 1 220px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    text-align: center;
}

.video-page__next-card,
.video-page__browse-strip,
.video-page__details-surface {
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #101010;
}

.video-page__next-card,
.video-page__browse-strip {
    padding: 14px;
}

.video-page__next-label {
    margin: 0 0 10px;
    color: #ff9d5c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.video-page__next-preview {
    display: grid;
    gap: 12px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.video-page__next-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #0a0a0a;
    margin-bottom: 12px;
}

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

.video-page__next-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.video-page__next-copy h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.24;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-page__next-copy p {
    margin: 0;
    color: #9a9a9a;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.video-page__next-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.video-page__next-actions .video-action {
    min-height: 40px;
    border-radius: 8px;
}

.video-page__details-surface {
    overflow: hidden;
}

.video-page__details-surface .video-details {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.video-player {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1f1f1f;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.video-player iframe {
    display: block;
    width: 100%;
    min-height: 300px;
    height: auto;
    aspect-ratio: 16 / 9;
}

.stats {
    flex-wrap: wrap;
    gap: 10px;
}

.stats span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: #171717;
    border: 1px solid #313131;
}

.search-form input,
.search-form button {
    min-height: 40px;
}

.search-form input {
    font-size: 16px;
}

.categories-nav .container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 3px;
    scrollbar-width: thin;
}

.cat-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    white-space: nowrap;
}

.watch-shell .video-card {
    border: 1px solid #282828;
    border-radius: 12px;
    background: #101010;
    overflow: hidden;
}

.watch-shell .video-thumbnail {
    border-radius: 0;
}

.watch-shell .video-info {
    padding: 10px 10px 0;
}

.watch-shell .video-actions {
    padding: 0 10px 10px;
    margin-top: 0;
}

.watch-shell .video-actions .video-action {
    min-height: 40px;
    border-radius: 8px;
}

@media (max-width: 1080px) {
    .discovery-dock {
        grid-template-columns: 1fr;
    }

    .page-intro__content,
    .page-intro--watch {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .page-intro--watch .trust-strip {
        justify-content: flex-start;
    }

    .video-page__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-intro {
        padding: 13px 14px;
    }

    .page-intro h1 {
        font-size: 22px;
    }

    .page-intro__summary {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .listing-toolbar--compact {
        grid-template-columns: 1fr;
    }

    .video-page__action-bar .cta-button {
        flex-basis: 100%;
    }

    .video-page__next-actions {
        flex-wrap: wrap;
    }

    .video-page__next-actions .video-action {
        flex: 1 1 140px;
    }
}

@media (max-width: 480px) {
    .watch-shell {
        gap: 12px;
    }

    .page-intro {
        padding: 12px;
        border-radius: 10px;
    }

    .page-intro h1 {
        font-size: 20px;
    }

    .page-intro__eyebrow {
        font-size: 9px;
    }

    .video-page__next-card,
    .video-page__browse-strip {
        padding: 12px;
    }

    .discovery-section--recent [data-recent-grid] .video-card,
    .discovery-section--recent [data-resume-grid] .video-card {
        flex-basis: 140px;
    }
}
