
/* WTK STAGE 14A-R1: unified website styling */

.watch-language-bar {
    background: #f3edff;
    border-bottom: 1px solid #e4d8fa;
}

.watch-language-inner {
    max-width: 1250px;
    margin: auto;
    padding: 12px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.wtk-watch-page nav a[aria-current="page"] {
    color: var(--purple);
    border-bottom: 3px solid var(--purple);
}

.watch-main {
    min-height: 65vh;
}

.watch-intro {
    padding: 34px 28px;
    border-radius: 24px;
    margin-bottom: 24px;
    background: linear-gradient(
        120deg, #e9dfff, #d9efff, #ddf5d3
    );
}

.watch-intro h1 {
    margin: 8px 0;
    font-size: clamp(30px, 5vw, 48px);
}

.watch-section .filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.watch-section input,
.watch-section select,
.watch-language-inner select {
    font: inherit;
    padding: 12px 18px;
    border: 2px solid #d8c8f2;
    border-radius: 14px;
    background: white;
    color: var(--ink);
    max-width: 100%;
}

.watch-section input {
    flex: 1;
    min-width: 180px;
}

.watch-section .catalog {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.watch-section .tile {
    border: 1px solid #eee5d5;
    border-radius: 20px;
    background: white;
    padding: 12px;
    color: var(--ink);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    box-shadow: 0 5px 18px #76539b12;
}

.watch-section .tile:hover {
    border-color: var(--purple);
    box-shadow: 0 8px 24px #76539b25;
}

.watch-section .tile img,
.watch-section .thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.watch-section .thumbnail {
    display: grid;
    place-items: center;
    background: #e9dfff;
    color: var(--purple);
    font-size: 48px;
}

.watch-section .tile small {
    color: #49734c;
}

.watch-section #player {
    background: #29203d;
    color: white;
    padding: 20px;
    border-radius: 22px;
    margin: 20px 0;
}

.watch-section video {
    display: block;
    width: 100%;
    max-height: 70vh;
    background: black;
    border-radius: 12px;
}

.watch-section #close,
.watch-section #resumeButton {
    border: 0;
    border-radius: 24px;
    background: var(--purple);
    color: white;
    padding: 12px 20px;
    margin-top: 12px;
}

.watch-section #empty {
    padding: 40px 20px;
    text-align: center;
    border: 2px dashed #d8c8f2;
    border-radius: 20px;
    background: white;
}

.wtk-watch-page footer {
    padding: 28px;
    text-align: center;
}

.wtk-watch-page [hidden] {
    display: none !important;
}

@media(max-width: 650px) {
    .watch-section .catalog {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .watch-section .tile {
        padding: 8px;
    }

    .watch-language-inner {
        padding: 10px 16px;
    }

    .watch-section .filters > * {
        width: 100%;
    }
}
