:root {
    --bg: #0a0a0f;
    --surface: #14141f;
    --surface-2: #1c1f2b;
    --accent: #8b5cf6;
    --accent-2: #a855f7;
    --text: #ffffff;
    --muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --ease: 0.3s ease;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "logo nav"
        "search search";
    align-items: center;
    gap: 10px 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo {
    grid-area: logo;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.14em;
    background: linear-gradient(110deg, #8b5cf6 0%, #c084fc 55%, #e879f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    grid-area: nav;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    overflow-x: auto;
}

.nav a {
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    transition: color var(--ease), background var(--ease);
}

.nav a:hover {
    color: var(--text);
}

.nav a.active {
    color: var(--text);
    background: var(--surface-2);
}

.search {
    grid-area: search;
    position: relative;
}

.search input {
    width: 100%;
    height: 42px;
    padding: 0 18px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    outline: none;
    font-size: 14px;
    transition: border-color var(--ease), background var(--ease);
}

.search input::placeholder {
    color: var(--muted);
}

.search input:focus {
    border-color: var(--accent);
    background: var(--surface-2);
}

.suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 70vh;
    overflow-y: auto;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.suggestion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 10px;
    transition: background var(--ease);
}

.suggestion:hover,
.suggestion:focus-visible {
    background: var(--surface-2);
    outline: none;
}

.suggestion img {
    width: 38px;
    height: 56px;
    flex: none;
    border-radius: 6px;
    object-fit: cover;
    background: var(--surface-2);
}

.suggestion-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.suggestion-meta {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.suggestions-empty {
    padding: 14px;
    font-size: 14px;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 26px;
    border-radius: 100px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), opacity var(--ease);
}

.btn:active {
    transform: scale(0.98);
}

.btn[disabled] {
    opacity: 0.4;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.32);
}

.btn-primary:hover {
    box-shadow: 0 14px 34px rgba(168, 85, 247, 0.45);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost.is-active {
    border-color: var(--accent);
    color: #d8c4ff;
    background: rgba(139, 92, 246, 0.14);
}

.btn-small {
    height: 38px;
    padding: 0 18px;
    font-size: 14px;
}

.link-btn {
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 600;
}

.link-btn:hover {
    text-decoration: underline;
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(700px 320px at 12% 0%, rgba(139, 92, 246, 0.22), transparent 70%),
        radial-gradient(520px 260px at 92% 100%, rgba(168, 85, 247, 0.12), transparent 70%),
        var(--bg);
}

.hero-inner {
    padding-top: 56px;
    padding-bottom: 56px;
}

.hero-kicker {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-2);
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(32px, 6vw, 60px);
    font-weight: 800;
}

.hero-text {
    max-width: 560px;
    margin-top: 18px;
    font-size: 16px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.carousels {
    padding: 36px 0 56px;
}

.carousel {
    margin-bottom: 40px;
}

.carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.carousel-head h2 {
    font-size: 20px;
    font-weight: 700;
}

.carousel-controls {
    display: none;
    gap: 8px;
}

.carousel-controls button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 16px;
    transition: background var(--ease), border-color var(--ease);
}

.carousel-controls button:hover {
    background: var(--surface-2);
    border-color: var(--accent);
}

.row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 2px 18px;
    margin: -6px -2px 0;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.row::-webkit-scrollbar {
    display: none;
}

.row .card {
    flex: 0 0 148px;
    scroll-snap-align: start;
}

.card {
    display: block;
    position: relative;
    min-width: 0;
}

.card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-2);
    transition: transform var(--ease), box-shadow var(--ease);
}

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

.card:hover .card-poster,
.card:focus-visible .card-poster {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(168, 85, 247, 0.45);
}

.card:focus-visible {
    outline: none;
}

.badge {
    position: absolute;
    top: 8px;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(10, 10, 15, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.badge-rating {
    left: 8px;
    color: #fbbf24;
}

.badge-type {
    right: 8px;
    color: #d8c4ff;
}

.badge-age {
    top: auto;
    bottom: 8px;
    left: 8px;
    color: #fff;
}

.browse {
    padding-top: 28px;
}

.browse-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    min-width: 0;
}

.browse-label {
    flex: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.chips {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chips.wrap {
    flex-wrap: wrap;
    overflow: visible;
}

.genre-chips {
    margin-bottom: 18px;
}

.chip-link {
    flex: none;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 13px;
    font-weight: 500;
    transition: border-color var(--ease), background var(--ease);
}

.chip-link:hover,
.chip-link.active {
    border-color: var(--accent);
    background: rgba(139, 92, 246, 0.16);
}

@media (min-width: 768px) {
    .browse-row {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .browse-label {
        width: 72px;
    }
}

.card-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.85);
    font-size: 18px;
    line-height: 1;
    opacity: 0;
    transition: opacity var(--ease), background var(--ease);
}

.card:hover .card-remove,
.card-remove:focus-visible {
    opacity: 1;
}

.card-remove:hover {
    background: var(--accent);
}

.card-info {
    padding: 10px 2px 0;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.card-meta {
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.card-progress {
    color: var(--accent-2);
    font-weight: 600;
}

.skeleton {
    flex: 0 0 148px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
    background-size: 220% 100%;
    animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
    from {
        background-position: 120% 0;
    }
    to {
        background-position: -120% 0;
    }
}

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

.grid .skeleton {
    flex: none;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 32px 0 20px;
}

.page-head h1 {
    font-size: 30px;
    font-weight: 800;
}

.catalog {
    padding-bottom: 56px;
}

.catalog-layout {
    display: grid;
    gap: 24px;
}

.filters {
    display: none;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.filters.open {
    display: block;
}

.field {
    margin-bottom: 18px;
    border: 0;
    min-width: 0;
}

.field legend,
.field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.segmented {
    display: flex;
    padding: 3px;
    border-radius: 100px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.segmented label {
    flex: 1;
}

.segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented span {
    display: block;
    padding: 7px 4px;
    border-radius: 100px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: background var(--ease), color var(--ease);
}

.segmented input:checked + span {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #fff;
}

.segmented input:focus-visible + span {
    outline: 2px solid var(--accent-2);
    outline-offset: 1px;
}

.range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.filters input[type="number"],
.filters select {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg);
    outline: none;
    font-size: 14px;
    transition: border-color var(--ease);
}

.filters select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239ca3af' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.filters option {
    background: var(--surface);
}

.filters input:focus,
.filters select:focus {
    border-color: var(--accent);
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

.filter-actions .btn {
    padding: 0 12px;
    height: 42px;
}

.results-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 32px;
    margin-bottom: 16px;
}

.chip {
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.16);
    border: 1px solid rgba(139, 92, 246, 0.4);
    font-size: 13px;
    transition: background var(--ease);
}

.chip:hover {
    background: rgba(139, 92, 246, 0.3);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}

.pagination button,
.pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 14px;
    font-weight: 500;
}

.pagination button {
    transition: background var(--ease), border-color var(--ease);
}

.pagination button:hover:not([disabled]) {
    border-color: var(--accent);
    background: var(--surface-2);
}

.pagination button.current {
    border-color: transparent;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.pagination button[disabled] {
    opacity: 0.35;
    cursor: default;
}

.pagination span {
    border-color: transparent;
    background: none;
    color: var(--muted);
}

.empty {
    max-width: 440px;
    margin: 80px auto;
    text-align: center;
}

.empty h1,
.empty h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty p {
    margin-bottom: 24px;
    color: var(--muted);
}

.movie-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.movie-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(2px);
    transform: scale(1.04);
}

.movie-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.5) 0%, rgba(10, 10, 15, 0.92) 78%, var(--bg) 100%);
}

.movie-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 36px;
}

.movie-poster {
    width: 200px;
    margin: 0 auto;
}

.movie-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
    background: var(--surface-2);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
}

.movie-info h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
}

.movie-original {
    margin-top: 6px;
    font-size: 16px;
    color: var(--muted);
}

.ratings {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.rating {
    display: flex;
    flex-direction: column;
    min-width: 108px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(20, 20, 31, 0.8);
    border: 1px solid var(--border);
}

.rating-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.rating-kp .rating-value {
    color: #fb923c;
}

.rating-imdb .rating-value {
    color: #fbbf24;
}

.rating-label {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin-top: 18px;
    list-style: none;
    font-size: 14px;
    color: var(--muted);
}

.meta li + li::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 12px;
    border-radius: 50%;
    background: var(--accent);
    vertical-align: middle;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
    transition: border-color var(--ease), background var(--ease);
}

.tag:hover {
    border-color: var(--accent);
    background: rgba(139, 92, 246, 0.14);
}

.movie-description {
    max-width: 720px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #d1d5db;
}

.movie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.player-section {
    margin-top: 32px;
    scroll-margin-top: 90px;
}

.player-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.player-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    border: 1px solid var(--border);
}

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

.similar {
    padding: 44px 0 64px;
}

.similar h2 {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 10, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 640px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    outline: none;
    animation: rise 0.3s ease;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.modal-dialog h2 {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 700;
}

.picker {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 14px;
}

.picker-col h3 {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.picker-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
    border-radius: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    scrollbar-width: thin;
    scrollbar-color: var(--surface-2) transparent;
}

.pick {
    padding: 9px 14px;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    color: var(--muted);
    transition: background var(--ease), color var(--ease);
}

.pick:hover {
    background: var(--surface-2);
    color: var(--text);
}

.pick.active {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.site-footer {
    margin-top: auto;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-logo {
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--text);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 200;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 100px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.error-note {
    padding: 32px 0;
    color: var(--muted);
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header-inner {
        grid-template-columns: auto auto 1fr;
        grid-template-areas: "logo nav search";
        gap: 24px;
    }

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

    .search {
        max-width: 420px;
        justify-self: end;
        width: 100%;
    }

    .hero-inner {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .row .card,
    .skeleton {
        flex-basis: 170px;
    }

    .carousel-controls {
        display: flex;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 26px 18px;
    }

    .movie-hero-inner {
        grid-template-columns: 240px 1fr;
        gap: 40px;
        padding-top: 52px;
        padding-bottom: 56px;
    }

    .movie-poster {
        width: 100%;
        margin: 0;
    }
}

@media (min-width: 968px) {
    .catalog-layout {
        grid-template-columns: 270px 1fr;
        gap: 32px;
        align-items: start;
    }

    .filters {
        display: block;
        position: sticky;
        top: 88px;
    }

    .filters-toggle {
        display: none;
    }

    .row .card,
    .skeleton {
        flex-basis: 184px;
    }

    .movie-hero-inner {
        grid-template-columns: 300px 1fr;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 32px;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    }

    .row .card,
    .skeleton {
        flex-basis: 196px;
    }

    .movie-hero-inner {
        grid-template-columns: 340px 1fr;
    }
}

@media (max-width: 520px) {
    .picker {
        grid-template-columns: 1fr;
    }

    .picker-list {
        max-height: 200px;
    }

    .player-bar .btn {
        padding: 0 12px;
        font-size: 13px;
    }

    .site-footer .container {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
