/*
Theme Name: Like By Victoria
Theme URI: https://example.com/likebyvictoria
Author: Like By Victoria
Author URI: https://example.com
Description: Custom WordPress theme template for reels-style category browsing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: likebyvictoria
*/

@import url("assets/css/reels-template.css");

:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --ink: #171717;
    --muted: #6b6b6b;
    --accent: #cb102b;
    --accent-strong: #aa0e24;
    --line: #e9e9e9;
    --radius-lg: 22px;
    --radius-md: 16px;
    --card-width: 225px;
    --card-height: 400px;
    --results-grid-gap: 10px;
    --results-columns: 2;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    background: var(--accent);
    scrollbar-gutter: stable;
}

body {
    font-family: "Lato", "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-shell {
    width: min(1200px, 100% - 24px);
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.layout,
.explore-view,
.results-view,
.reel-detail-view,
.category-lane {
    background: #fff;
}

.sticky-stack {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    overflow: hidden;
}

.site-header {
    background: #fff;
    padding: 16px;
    animation: revealDown 420ms ease;
    display: flex;
    justify-content: center;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.brand {
    font-family: "Dancing Script", cursive;
    font-size: 1.2rem;
    letter-spacing: 0.4px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.ghost-link {
    text-decoration: none;
    color: var(--ink);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    font-weight: 600;
    font-size: 0.82rem;
}

.header-hint {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.layout {
    margin-top: 4px;
    margin-bottom: 100px;
    display: grid;
    gap: 18px;
    flex: 1 0 auto;
    align-content: start;
}

.controls-panel {
    background: #fff;
    padding: 12px;
    animation: revealDown 520ms ease;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.search-form input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    font-size: 0.95rem;
    outline: none;
}

.search-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(203, 16, 43, 0.14);
}

.search-form button {
    border: 0;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    min-height: 44px;
}

.search-icon-btn {
    width: 44px;
    min-width: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.search-form button:hover {
    background: var(--accent-strong);
}

.search-suggestions {
    margin-top: 6px;
    display: none;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.search-suggestions.is-open {
    display: block;
}

.search-suggestion-item {
    width: 100%;
    border: 0;
    background: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.search-suggestion-item + .search-suggestion-item {
    border-top: 1px solid #f1f1f1;
}

.search-suggestion-item:hover {
    background: #faf7f7;
}

.search-suggestion-label {
    color: #1f1f1f;
    font-weight: 600;
}

.search-suggestion-type {
    color: #686868;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.tags-strip {
    margin-top: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.tags-strip-fade {
    position: relative;
    margin-top: 10px;
    overflow: hidden;
}

.tags-strip::-webkit-scrollbar {
    width: none;
    height: none;
}

.tags-strip::-webkit-scrollbar-thumb {
    background: #ccb79f;
    border-radius: 999px;
}

.tag-pill {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 8px 13px;
    background: #fff;
    text-transform: capitalize;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.tag-pill.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(120deg, var(--accent-strong), var(--accent));
}

.explore-view {
    display: grid;
    gap: 22px;
}

.category-lane {
    padding: 0;
    overflow: scroll;
    animation: revealUp 400ms ease both;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-lane::-webkit-scrollbar {
    display: none;
}

.category-lane:nth-child(2) {
    animation-delay: 80ms;
}

.category-lane:nth-child(3) {
    animation-delay: 120ms;
}

.category-lane:nth-child(4) {
    animation-delay: 180ms;
}

.lane-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.lane-head h2 {
    margin: 0;
    font-family: "Dancing Script", cursive;
    font-weight: 700;
    font-size: 1.6rem;
    margin-left: 10px;
}

.lane-open {
    display: inline-block;
    border: 0;
    background: #f3f3f3;
    color: #2d2d2d;
    border-radius: 999px;
    padding: 7px 11px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.lane-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lane-nav {
    display: none;
    align-items: center;
    gap: 6px;
}

.lane-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    background: #fff;
    color: #2d2d2d;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lane-arrow:hover {
    border-color: #bfbfbf;
    background: #f8f8f8;
}

.lane-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.lane-nav.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.lane-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overscroll-behavior-x: auto;
    overscroll-behavior-y: auto;
    scroll-snap-type: x mandatory;
    touch-action: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lane-track::-webkit-scrollbar {
    display: none;
}

.lane-track.is-dragging,
.results-list.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.reel-card {
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    padding: 14px;
    flex: 0 0 var(--card-width);
    width: var(--card-width);
    height: var(--card-height);
    border: 0;
    display: grid;
    align-content: end;
    gap: 7px;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 -92px 68px rgba(0, 0, 0, 0.36);
}

.reel-card-link {
    display: block;
    flex: 0 0 var(--card-width);
    width: var(--card-width);
    text-decoration: none;
    color: inherit;
}

.reel-card-link .reel-card {
    width: 100%;
}

.reel-card-link[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.82;
}

.reel-see-more-card {
    background: linear-gradient(160deg, #f4f4f4, #ececec);
    color: #2b2b2b;
    box-shadow: inset 0 0 0 1px #dddddd;
    align-content: center;
    text-align: center;
}

.reel-see-more-card h3 {
    color: #1f1f1f !important;
    text-shadow: none !important;
}

.reel-see-more-card p {
    color: #000 !important;
    text-shadow: none !important;
}

.reel-see-more-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin: 0 auto;
    margin-bottom: 6px;
    color: white;
    background: #aa0e24;
}

.reel-reduction-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent-strong), var(--accent));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    padding: 6px 11px;
    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(170, 14, 36, 0.38);
}

.reel-card.has-image {
    background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 56%, rgba(0, 0, 0, 0.64) 100%),
        var(--card-image);
}

.reel-card h3 {
    margin: 0;
    font-size: 1.07rem;
    line-height: 0.8;
    color: #fff;
}

.reel-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.chip {
    display: inline-block;
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(23, 18, 15, 0.14);
    font-size: 0.72rem;
    padding: 5px 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.results-view {
    background: #fff;
    padding: 12px;
    animation: revealUp 300ms ease;
    overflow: hidden;
}

.reel-detail-view {
    background: #fff;
    padding: 12px;
    animation: revealUp 320ms ease;
    overflow: hidden;
}

.reel-detail-head {
    margin-bottom: 12px;
}

.reel-detail-grid {
    display: grid;
    gap: 14px;
}

.reel-detail-media {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.reel-detail-media-link {
    display: block;
    position: relative;
    width: 100%;
    height: clamp(560px, 78svh, 760px);
    min-height: 560px;
    color: inherit;
    text-decoration: none;
}

.reel-detail-media-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(14, 14, 14, 0.24);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.reel-detail-media-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 240ms ease;
}

.reel-detail-media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
}

.reel-detail-play {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(20, 20, 20, 0.66);
    color: #fff;
    font-size: 1.2rem;
    backdrop-filter: blur(2px);
}

.reel-detail-media-label {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 220ms ease, transform 220ms ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.reel-detail-media-link:hover::after,
.reel-detail-media-link:focus-visible::after {
    opacity: 1;
}

.reel-detail-media-link:hover .reel-detail-media-thumb,
.reel-detail-media-link:focus-visible .reel-detail-media-thumb {
    filter: blur(2px) brightness(0.6);
}

.reel-detail-media-link:hover .reel-detail-media-label,
.reel-detail-media-link:focus-visible .reel-detail-media-label {
    opacity: 1;
    transform: translateY(0);
}

.reel-detail-content {
    display: grid;
    gap: 10px;
    align-content: start;
    height: fit-content;
}

.reel-detail-content h1 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.reel-detail-subtitle {
    margin: 0;
    color: #4d4d4d;
    font-size: 1.02rem;
    font-weight: 700;
}

.reel-detail-description {
    margin: 0;
    color: #2a2a2a;
    line-height: 1.6;
    white-space: normal;
    margin-top: 10px;
}

.reel-detail-map {
    margin-top: 10px;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    background: #f6f6f6;
}

.reel-detail-map iframe {
    width: 100%;
    height: 240px;
    border: 0;
    display: block;
}

.reel-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;

}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    color: #1f1f1f;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.meta-pill-icon {
    font-size: 0.82em;
    line-height: 1;
}

.meta-pill-distance {
    font-size: 0.82em;
    font-weight: 600;
    color: #5a5a5a;
}

.meta-pill-tag {
    background: rgba(203, 16, 43, 0.12);
    border-color: rgba(203, 16, 43, 0.36);
    color: #830a1b;
}

.meta-pill-reduction {
    background: linear-gradient(120deg, var(--accent-strong), var(--accent));
    border-color: transparent;
    color: #fff;
}

.meta-pill-distance-trigger {
    cursor: pointer;
    border-color: rgba(23, 23, 23, 0.16);
    background: #fff;
}

.meta-pill-distance-trigger:disabled {
    opacity: 0.65;
    cursor: wait;
}

.reel-reduction-pill-inline {
    position: static;
    width: fit-content;
}

.reel-suggestions-section {
    margin-top: 18px;
}

.reel-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.reel-suggestions-list .reel-card-link {
    width: 194px;
    flex: 0 0 auto;
    justify-self: center;
}

.reel-suggestions-list .reel-card {
    width: 100%;
    height: 344px;
}

@media (max-width: 719px) {
    .reel-suggestions-list {
        justify-content: stretch;
        gap: 12px;
    }

    .reel-suggestions-list .reel-card-link {
        width: 100%;
        flex: 1 1 100%;
    }

    .reel-suggestions-list .reel-card {
        height: auto;
        aspect-ratio: 9 / 16;
    }
}

.reel-suggestions-head {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 60px;
}

#results-view {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#results-view .results-shell {
    width: min(100%, calc((var(--card-width) * var(--results-columns)) + (var(--results-grid-gap) * (var(--results-columns) - 1))));
    margin-inline: auto;
}

#results-view .results-head,
#results-view .results-list {
    width: 100%;
}

#results-view .results-head {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.results-label {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.results-title {
    margin: 1px 0 0;
    font-family: "Dancing Script", cursive;
    font-weight: 700;
    font-size: 1.6rem;
    text-transform: capitalize;
}

.back-btn {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

#results-view .results-list {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(var(--results-columns), minmax(0, var(--card-width)));
    justify-content: center;
    align-content: flex-start;
    gap: var(--results-grid-gap);
}

#results-view .results-list .reel-card-link {
    width: 100%;
    min-width: 0;
    flex: initial;
}

#results-view .results-list .reel-card {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    min-height: 0;
}

.empty-state {
    margin: 0;
    border: 1px dashed #ddd;
    border-radius: var(--radius-md);
    background: #fff;
    padding: 20px;
    text-align: center;
    color: #534539;
    font-weight: 600;
}

.tone-a { background-image: linear-gradient(145deg, #f6d0b7, #fef0cc); }
.tone-b { background-image: linear-gradient(145deg, #bde8d0, #e8f9eb); }
.tone-c { background-image: linear-gradient(145deg, #cde2f8, #eef5ff); }
.tone-d { background-image: linear-gradient(145deg, #f7d6df, #ffedf2); }
.tone-e { background-image: linear-gradient(145deg, #ffe6ae, #fff7df); }
.tone-f { background-image: linear-gradient(145deg, #d8d2ff, #f2eeff); }
.tone-g { background-image: linear-gradient(145deg, #ffd2c2, #ffefe8); }
.tone-h { background-image: linear-gradient(145deg, #d2f0ec, #ebfffc); }

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

.logo {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.surprise-cta-wrap {
    display: flex;
    justify-content: center;
    padding: 4px 12px 18px;
    margin-bottom: 100px;
}

.surprise-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(170, 14, 36, 0.3);
    background: linear-gradient(120deg, var(--accent-strong), var(--accent));
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 22px rgba(170, 14, 36, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.surprise-cta-icon {
    width: 0.95em;
    height: 0.95em;
    flex-shrink: 0;
}

.surprise-cta-btn:hover {
    box-shadow: 0 14px 28px rgba(170, 14, 36, 0.3);
}

.surprise-cta-btn:focus-visible {
    outline: 2px solid rgba(170, 14, 36, 0.38);
    outline-offset: 2px;
}

.site-footer {
    margin-top: auto;
    background: var(--accent);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 22px;
    border-radius: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 20px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    min-height: 210px;
}

.footer-top-row {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.footer-brand-corner {
    pointer-events: none;
}

.footer-social-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.16);
}

.footer-social-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
}

.footer-social-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.footer-brand-image {
    width: 100px;
    height: auto;
    display: block;
    margin-top: -2px;
    opacity: 0.98;
}

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

.footer-copy {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
    opacity: 0.96;
}

.footer-links a:hover {
    text-decoration: underline;
}

.legal-content {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.legal-content h2 {
    margin: 12px 0 0;
    font-size: 1.02rem;
}

.legal-content p {
    margin: 0;
    color: #2f2f2f;
    line-height: 1.55;
}

@keyframes revealDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 479px) {
    :root {
        --card-width: clamp(124px, calc((100vw - 52px) / 2), 148px);
        --card-height: calc(var(--card-width) * 16 / 9);
        --results-grid-gap: 8px;
    }

    .app-shell {
        width: min(1200px, 100% - 24px);
    }

    .site-header,
    .controls-panel,
    .results-view {
        padding-left: 10px;
        padding-right: 10px;
    }

    .search-form {
        grid-template-columns: 1fr auto;
    }

    .search-icon-btn {
        width: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 12px;

        .search-icon-btn i {
            font-size: 16px;
            line-height: 1;
        }
    }

    .tags-strip {
        padding-left: 2px;
        padding-right: 2px;
    }

    .tags-strip-fade::before,
    .tags-strip-fade::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 4px;
        width: 18px;
        pointer-events: none;
        z-index: 2;
        opacity: 0;
        transition: opacity 180ms ease;
    }

    .tags-strip-fade::before {
        left: -0.5px;
        background: linear-gradient(90deg, #fff 0%, #fff 24%, rgba(255, 255, 255, 0));
    }

    .tags-strip-fade::after {
        right: -0.5px;
        background: linear-gradient(270deg, #fff 0%, #fff 24%, rgba(255, 255, 255, 0));
    }

    .tags-strip-fade.has-left::before {
        opacity: 1;
    }

    .tags-strip-fade.has-right::after {
        opacity: 1;
    }

    .lane-track {
        scrollbar-width: none;
    }

    .reel-detail-media-link {
        height: clamp(580px, 80svh, 780px);
        min-height: 580px;
    }

    .lane-track::-webkit-scrollbar {
        display: none;
    }

    #results-view .results-shell {
        width: 100%;
    }

    #results-view .results-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    #results-view .results-list .reel-card-link {
        width: 100%;
    }

    #results-view .results-list .reel-card {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
    }

    .site-footer {
        min-height: 178px;
        gap: 16px;
    }

    .footer-brand-image {
        width: clamp(82px, 28vw, 118px);
    }
}

@media (min-width: 560px) {
    :root {
        --card-width: 205px;
        --card-height: 364px;
        --results-grid-gap: 12px;
        --results-columns: 2;
    }
}

@media (min-width: 700px) {
    :root {
        --results-columns: 3;
    }
}

@media (min-width: 720px) {
    :root {
        --card-width: 225px;
        --card-height: 400px;
    }

    .app-shell {
        width: min(1220px, 100% - 30px);
        margin-top: 0;
        overflow: visible;
    }

    .site-header,
    .controls-panel,
    .results-view {
        padding: 16px;
    }

    .search-form {
        grid-template-columns: 1fr auto;
    }

    .lane-nav {
        display: inline-flex;
    }

    .lane-track {
        cursor: grab;
    }

    #results-view .results-list {
        gap: 12px;
    }

    .reel-detail-grid {
        grid-template-columns: minmax(320px, 38%) 1fr;
        gap: 18px;
        align-items: stretch;
    }

    .reel-detail-content {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .reel-detail-map {
        margin-top: auto;
    }

    .reel-detail-view {
        padding: 16px;
    }

    .reel-detail-media {
        position: sticky;
        top: 106px;
    }

    .reel-detail-media-link {
        height: clamp(620px, 82vh, 860px);
        min-height: 620px;
    }

    .reel-detail-map iframe {
        height: 280px;
    }

    .reel-suggestions-list .reel-card-link {
        width: 212px;
    }

    .reel-suggestions-list .reel-card {
        height: 376px;
    }
}

@media (min-width: 1120px) {
    :root {
        --results-columns: 4;
    }
}

@media (min-width: 1024px) {
    :root {
        --card-width: 238px;
        --card-height: 423px;
    }
}

