/*
Theme Name: OC Cam
Description: Cam recording site — dark theme
Version: 0.4.0
Text Domain: oc-cam
*/

:root {
    --bg: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-header: #121212;
    --text: #e0e0e0;
    --text-dim: #888;
    --accent: #0030f0;
    --accent-hover: #4464ff;
    --border: #2a2a2a;
    --radius: 8px;
    --gap: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* === Header ============================================================ */
.site-header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.site-header-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 var(--gap);
    display: flex; align-items: center; height: 56px; gap: 24px;
}
.site-logo { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; font-size: 18px; font-weight: 700; color: var(--text); }
.site-logo-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.site-logo:hover { color: var(--accent); }
.nav-menu { display: flex; gap: 16px; list-style: none; }
.nav-menu a { color: var(--text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-menu a:hover { color: var(--text); }
.nav-menu .active { color: var(--accent); }
.nav-menu li.is-bongacams > a,
.nav-menu a.is-bongacams,
.nav-menu a[href*="/platform/bongacams/"] { color: #9D2239; }
.nav-menu li.is-bongacams > a:hover,
.nav-menu a.is-bongacams:hover,
.nav-menu a[href*="/platform/bongacams/"]:hover { color: #c63a58; }
.overshorts-link,
.lang-switch {
    flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--accent);
    border-radius: var(--radius); color: #fff; background: var(--accent);
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.overshorts-link:hover { background: var(--accent-hover); color: #fff; border-color: var(--accent-hover); }
.lang-switch {
    min-width: 48px;
    text-align: center;
    background: transparent;
    color: var(--text-dim);
    border-color: var(--border);
}
.lang-switch:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border-color: var(--accent);
}

/* === Container ========================================================= */
.site-main { max-width: 1400px; margin: 0 auto; padding: var(--gap); }

/* === Video Grid ========================================================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--gap);
}
.video-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.15s;
}
.video-card:hover { transform: scale(1.02); }
.video-card-main { display: block; color: inherit; }
.video-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #090909;
}
.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}
.video-card-thumb.is-portrait {
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 209, 188, 0.20), transparent 32%),
        radial-gradient(circle at 84% 22%, rgba(255, 196, 170, 0.18), transparent 30%),
        radial-gradient(circle at 50% 52%, rgba(255, 236, 228, 0.10), transparent 56%),
        linear-gradient(135deg, rgba(18, 12, 12, 0.72) 0%, rgba(70, 38, 34, 0.42) 18%, rgba(118, 77, 67, 0.28) 36%, rgba(140, 100, 88, 0.20) 50%, rgba(118, 77, 67, 0.28) 68%, rgba(70, 38, 34, 0.46) 84%, rgba(18, 12, 12, 0.72) 100%);
}
.video-card-thumb.is-portrait::before,
.video-card-thumb.is-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.video-card-thumb.is-portrait::before {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.10) 18%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.10) 82%, rgba(0, 0, 0, 0.58) 100%),
        radial-gradient(circle at 50% 52%, rgba(255, 230, 218, 0.08), transparent 64%);
    z-index: 0;
}
.video-card-thumb.is-portrait::after {
    background:
        linear-gradient(225deg, rgba(0, 0, 0, 0.18), transparent 56%),
        linear-gradient(45deg, rgba(255, 225, 212, 0.08), transparent 44%);
    z-index: 2;
}
.video-card-thumb.is-portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
.duration-badge {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.75); color: #fff;
    padding: 2px 6px; border-radius: 4px; font-size: 12px;
    z-index: 3;
}
.video-card-title {
    font-size: 13px; line-height: 1.4; padding: 10px 12px 6px;
    font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
}
.video-card a:hover .video-card-title { color: var(--text); }
.video-card-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 0 12px 12px; font-size: 11px; color: var(--text-dim); }
.video-card-views { margin-left: auto; }
.card-model-name { color: #b8b8b8; }
.meta-model-name { color: var(--accent); text-decoration: underline; font-size: 16px; font-weight: 600; }
.meta-model-name:hover { color: var(--accent-hover); }
.platform-badge {
    display: inline-block; padding: 1px 6px; border-radius: 3px;
    background: var(--accent); color: #fff; font-size: 10px;
    text-transform: uppercase;
}
.platform-badge[href*="/platform/bongacams/"] {
    background: transparent;
    color: #9D2239;
    border: 1px solid #9D2239;
}

/* === Model page ========================================================= */
.model-header {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 12px 16px; margin-bottom: 14px;
    display: flex; gap: 14px; align-items: center;
}
.model-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--accent);
    flex: 0 0 auto;
}
.model-avatar-placeholder, .model-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #1e2f82, #68236d); color: #fff; font-weight: 700; }
.model-info h1 { font-size: 20px; margin-bottom: 3px; }
.model-info p { color: var(--text-dim); font-size: 12px; line-height: 1.4; max-width: 760px; }
.model-stats { margin-top: 8px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; color: var(--text-dim); font-size: 11px; }
.model-stats > span:not(.platform-badge) { padding: 5px 9px; background: var(--bg); border-radius: 6px; }

/* === Model tag filters =================================================== */
.model-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--gap); }
.filter-chip {
    display: inline-block; padding: 5px 12px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-dim); font-size: 12px; white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.filter-chip:hover { color: var(--text); border-color: var(--accent); }
.filter-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* === Sort dropdown ======================================================= */
.oc-sort { display: flex; justify-content: flex-end; margin-bottom: var(--gap); }
.oc-sort-select {
    background: var(--bg-card); color: var(--text);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 7px 10px; font-size: 13px; cursor: pointer;
}
.oc-sort-select:focus { outline: none; border-color: var(--accent); }

.video-feed-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 18px 0 14px; padding-top: 14px;
    border-top: 1px solid var(--border);
}
.video-feed-toolbar h2 { font-size: 19px; }
.video-feed-toolbar .oc-sort { margin: 0; }

/* === Single video ======================================================= */
.oc-video-wrapper,
.oc-video-poster {
    margin: 0 auto;
}
.oc-video-wrapper video {
    display: block; margin: 0 auto;
    object-fit: contain;
}
.single-video-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 342px; gap: 24px;
}
.single-video-main { min-width: 0; }
.single-video-meta { background: var(--bg-card); border-radius: var(--radius); padding: 20px; }
.single-video-meta h2 { font-size: 16px; margin-bottom: 12px; }
.single-video-meta dl { font-size: 13px; }
.single-video-meta dt { color: var(--text-dim); margin-top: 12px; font-weight: 600; }
.single-video-meta dd { margin-top: 2px; }

/* === Click-to-play video cover =========================================== */
.oc-click-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.oc-click-video-cover { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.oc-click-video-frames { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 100%; }
.oc-click-video-frames img { width: 100%; height: 100%; object-fit: cover; }
.oc-click-video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%; border: none;
    background: var(--accent); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.oc-click-video-play:hover { background: var(--accent-hover); }
.oc-click-video-frame { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; }

/* === Recommended videos ================================================== */
.recommended { margin-top: 32px; }
.recommended-title { font-size: 18px; margin-bottom: 16px; }

/* === OverShorts ========================================================== */
.overshorts-template .site-main {
    max-width: none; padding: 0;
}
.overshorts-template .site-footer { display: none; }
.overshorts-shell {
    position: relative; height: calc(100svh - 56px);
    overflow: hidden; background: #050505;
}
.overshorts-topbar {
    position: absolute; z-index: 4; top: 14px; left: 50%;
    transform: translateX(-50%);
    width: min(620px, calc(100% - 20px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff; pointer-events: none;
}
.overshorts-topbar a, .overshorts-topbar button { pointer-events: auto; }
.overshorts-head {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-self: center;
    width: 100%;
}
.overshorts-head-line,
.overshorts-head-row {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}
.overshorts-back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: 0 0 auto;
    border-radius: 50%; background: rgba(0,0,0,.42); color: #fff;
    font-size: 24px; line-height: 1;
    transform: none;
    pointer-events: auto;
}
.overshorts-back span {
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}
.overshorts-back:hover { background: rgba(0,0,0,.6); color: #fff; }
.overshorts-title {
    font-size: 17px; margin: 0;
    white-space: nowrap;
}
.overshorts-filter {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 6px;
    width: fit-content;
    max-width: calc(100% - 96px);
    margin: 0 auto;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(0,0,0,.28);
    backdrop-filter: blur(8px);
    pointer-events: auto;
    min-width: 0;
}
.overshorts-filter-button {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.72);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    white-space: normal;
    min-width: 0;
    min-height: 34px;
    text-align: center;
}
.overshorts-filter-button:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
}
.overshorts-filter-button.is-active {
    background: rgba(255,255,255,.14);
    color: #fff;
}
.overshorts-feed {
    height: 100%; overflow-y: auto; scroll-snap-type: y mandatory;
    scrollbar-width: none; overscroll-behavior-y: contain;
}
.overshorts-feed::-webkit-scrollbar { display: none; }
.overshort-card {
    position: relative; width: min(620px, 100vw); height: 100%;
    margin: 0 auto; scroll-snap-align: start; scroll-snap-stop: always;
    overflow: hidden; background: #000;
}
.overshort-card.is-horizontal {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 209, 188, 0.20), transparent 32%),
        radial-gradient(circle at 82% 22%, rgba(255, 196, 170, 0.18), transparent 30%),
        radial-gradient(circle at 50% 52%, rgba(255, 236, 228, 0.10), transparent 56%),
        linear-gradient(135deg, rgba(18, 12, 12, 0.72) 0%, rgba(70, 38, 34, 0.42) 18%, rgba(118, 77, 67, 0.28) 36%, rgba(140, 100, 88, 0.20) 50%, rgba(118, 77, 67, 0.28) 68%, rgba(70, 38, 34, 0.46) 84%, rgba(18, 12, 12, 0.72) 100%);
}
.overshort-card.is-vertical {
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 209, 188, 0.20), transparent 28%),
        radial-gradient(circle at 50% 88%, rgba(255, 196, 170, 0.18), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255, 236, 228, 0.10), transparent 56%),
        linear-gradient(180deg, rgba(18, 12, 12, 0.72) 0%, rgba(70, 38, 34, 0.42) 16%, rgba(118, 77, 67, 0.28) 34%, rgba(140, 100, 88, 0.20) 50%, rgba(118, 77, 67, 0.28) 68%, rgba(70, 38, 34, 0.46) 84%, rgba(18, 12, 12, 0.72) 100%);
}
.overshort-card.is-horizontal::before,
.overshort-card.is-horizontal::after,
.overshort-card.is-vertical::before,
.overshort-card.is-vertical::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.overshort-card.is-horizontal::before {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.10) 18%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.10) 82%, rgba(0, 0, 0, 0.58) 100%),
        radial-gradient(circle at 50% 52%, rgba(255, 230, 218, 0.08), transparent 64%);
    z-index: 0;
}
.overshort-card.is-horizontal::after {
    background:
        linear-gradient(225deg, rgba(0, 0, 0, 0.18), transparent 56%),
        linear-gradient(45deg, rgba(255, 225, 212, 0.08), transparent 44%);
    z-index: 2;
}
.overshort-card.is-vertical::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.10) 16%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.10) 84%, rgba(0, 0, 0, 0.50) 100%),
        radial-gradient(circle at 50% 18%, rgba(255, 230, 218, 0.10), transparent 40%),
        radial-gradient(circle at 50% 82%, rgba(255, 225, 212, 0.08), transparent 40%);
    z-index: 0;
}
.overshort-card.is-vertical::after {
    background:
        linear-gradient(180deg, rgba(255, 225, 212, 0.08), transparent 18%, transparent 82%, rgba(255, 225, 212, 0.08) 100%);
    z-index: 2;
}
.overshort-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: contain; background: #000;
}
.overshort-card.is-horizontal .overshort-video,
.overshort-card.is-vertical .overshort-video {
    background: transparent;
}
.overshort-gradient {
    position: absolute; inset: auto 0 0; height: 42%;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0));
    pointer-events: none;
}
/* Центральная кнопка воспроизведения — видна только на паузе. */
.overshort-play {
    position: absolute; z-index: 3; top: 50%; left: 50%;
    width: 58px; height: 58px; transform: translate(-50%, -50%);
    border: 0; border-radius: 50%; background: rgba(0,0,0,.42);
    color: #fff; cursor: pointer; font-size: 25px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .15s ease, background .15s ease;
}
.overshort-play-icon {
    display: inline-block;
    transform: translateX(1px);
}
.overshort-play-spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,.32);
    border-top-color: #fff;
    border-radius: 50%;
    animation: overshort-spin .8s linear infinite;
}
.overshort-card.is-playing .overshort-play,
.overshort-card.is-loading .overshort-play {
    background: rgba(0,0,0,.28);
}
.overshort-card.is-playing .overshort-play-icon,
.overshort-card.is-loading .overshort-play-icon {
    display: none;
}
.overshort-card.is-loading .overshort-play-spinner {
    display: inline-block;
}
.overshort-card.is-playing .overshort-play {
    opacity: 0;
    pointer-events: none;
}
@keyframes overshort-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.overshort-sound {
    position: absolute; z-index: 3; right: 14px; bottom: 22px;
    width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%; background: rgba(0,0,0,.42); color: #fff;
    cursor: pointer; font-size: 19px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
}
/* Приглушаем цветные эмодзи звука: делаем их монохромными и менее яркими. */
.overshort-sound [data-overshort-sound-icon] {
    display: inline-flex;
    filter: grayscale(1) brightness(1.4);
    opacity: 0.72;
}
.overshort-sound:hover { background: rgba(255,255,255,.16); }
.overshort-sound.is-on { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.12); }
.overshort-info {
    position: absolute; z-index: 2; left: 18px; right: 68px; bottom: 22px;
    color: #fff;
}
.overshort-model { display: inline-block; margin-bottom: 8px; color: #fff; font-weight: 700; }
.overshort-model:hover { color: #fff; }
.overshort-info h2 {
    max-width: 100%; margin-bottom: 10px; font-size: 17px; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.overshort-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.72); }
.overshort-meta a:not(.platform-badge) { color: rgba(255,255,255,.86); text-decoration: underline; }
/* Видео без прямой ссылки — карточка-заглушка со ссылкой на страницу видео. */
.overshort-fallback {
    position: absolute; inset: 0; z-index: 1; display: flex;
    align-items: center; justify-content: center; padding: 24px;
    color: #fff; text-align: center; text-decoration: underline;
}
.overshort-fallback img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: .45;
}
.overshort-fallback span { position: relative; z-index: 1; font-weight: 700; }
.overshorts-loader {
    position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%);
    margin: 0; padding: 6px 12px; border-radius: 20px;
    background: rgba(0,0,0,.6); color: #fff; font-size: 12px; pointer-events: none;
}
.overshorts-empty { height: 100%; display: flex; align-items: center; justify-content: center; }
.overshorts-empty .empty-state { background: #141414; }
.overshorts-controls {
    position: absolute; z-index: 5; right: max(18px, calc((100vw - 620px) / 2 - 74px)); top: calc(50% - 18px);
    transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px;
}
.overshorts-controls button {
    width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
    cursor: pointer; font-size: 22px;
}
.overshorts-controls button:hover { background: rgba(255,255,255,.18); }
.overshorts-empty {
    min-height: 100%;
    padding: 88px 16px 24px;
}

@media (min-width: 769px) {
    .overshorts-head-line {
        justify-content: center;
    }
    .overshorts-back {
        position: absolute;
        left: calc(-44px - 12px);
        top: 50%;
        transform: translateY(-50%);
    }
    .overshort-video {
        top: 0;
        right: 0;
        left: 0;
        bottom: 116px;
        height: calc(100% - 116px);
    }
    .overshort-gradient {
        display: none;
    }
    .overshort-info {
        left: 18px;
        right: auto;
        bottom: 48px;
        text-align: left;
    }
    .overshort-sound {
        left: auto;
        right: 18px;
        bottom: 48px;
    }
    .overshorts-shell[data-overshorts-filter="horizontal"] .overshort-card {
        width: calc(100vw - 20px);
    }
    .overshorts-shell[data-overshorts-filter="horizontal"] .overshorts-controls {
        right: 18px;
    }
    .overshorts-shell[data-overshorts-filter="horizontal"] .overshorts-topbar {
        width: min(100vw - 20px, 900px);
    }
}

/* === Pagination ========================================================= */
.pagination { margin-top: var(--gap); text-align: center; }
.pagination a, .pagination span { display: inline-block; padding: 6px 12px; margin: 0 2px; border-radius: 4px; }
.pagination a { background: var(--bg-card); }
.pagination .current { background: var(--accent); color: #fff; }

/* === Age gate overlay =================================================== */
.age-not-verified > *:not(.age-notice):not(.overshorts-promo) {
    filter: blur(12px);
    pointer-events: none;
    user-select: none;
}
.age-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 760px; margin: auto; background: #181818; border: 1px solid var(--border); box-shadow: 0 12px 40px rgba(0,0,0,.6); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.age-notice[hidden] { display: none; }
.age-notice div { display: flex; gap: 10px; align-items: center; }
.age-notice strong { color: #fff; background: #b4122c; padding: 5px 7px; border-radius: 5px; }
.age-notice span { color: var(--text-dim); }
.age-notice button, .primary-button, .models-search button { background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); padding: 9px 14px; cursor: pointer; white-space: nowrap; }
.age-notice button:hover, .primary-button:hover, .models-search button:hover { background: var(--accent-hover); color: #fff; }

.overshorts-promo {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.66);
}
.overshorts-promo[hidden] { display: none; }
.overshorts-promo-card {
    position: relative;
    width: min(100%, 560px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
    padding: 22px 22px 20px;
}
.overshorts-promo-card h2 { margin: 6px 0 10px; font-size: 26px; line-height: 1.15; }
.overshorts-promo-card p { margin: 0; color: var(--text-dim); line-height: 1.55; }
.overshorts-promo-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.overshorts-promo-open { text-decoration: none; }
.overshorts-promo-close {
    border: 0;
    background: rgba(255,255,255,.08);
    color: var(--text);
}
.overshorts-promo-close:hover {
    background: rgba(255,255,255,.14);
}
.overshorts-promo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
}

/* === Responsive ========================================================= */
@media (max-width: 768px) {
    :root { --gap: 12px; }

    /* Header — one row: logo + nav, search below */
    .site-header-inner {
        flex-wrap: wrap; height: auto; gap: 8px;
        padding: 10px var(--gap);
    }
    .site-logo { margin-right: 0; gap: 6px; font-size: 16px; white-space: nowrap; }
    .site-logo-mark { width: 27px; height: 27px; }

    /* Nav inline next to logo */
    .nav-menu {
        flex-wrap: wrap; gap: 10px;
    }
    .nav-menu a { font-size: 12px; }
    .overshorts-link,
    .lang-switch { padding: 5px 8px; font-size: 11px; }

    /* Search below on its own row */
    .oc-search-wrap { margin-left: 0; width: 100%; }
    .oc-search-box { width: 100%; }
    .oc-search-input { width: 100%; }
    .oc-search-dropdown {
        min-width: 0; left: 0; right: 0;
    }

    /* Video grid */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .video-card-title { font-size: 12px; }
    .video-card-info { padding: 8px 10px; }
    .duration-badge { font-size: 10px; padding: 1px 5px; }
    .video-card-meta { font-size: 10px; gap: 4px; }
    .platform-badge { font-size: 9px; padding: 1px 5px; }

    /* Single video — compact metadata, then recommendations on mobile. */
    .watch-page { display: flex; flex-direction: column; }
    .single-video-layout { display: contents; }
    .single-video-main { order: 1; }
    .single-video-meta {
        order: 2; margin-top: 6px; padding: 8px 10px;
        border: 1px solid var(--border);
    }
    .recommended { order: 3; margin-top: 4px; }
    .video-neighbors { order: 4; }
    .watch-header { padding: 10px 0 4px; }
    .watch-header .eyebrow, .watch-content,
    .watch-byline time, .watch-byline > span { display: none; }
    .watch-header h1 { margin: 0 0 6px; font-size: 18px; }
    .watch-byline { gap: 6px; }
    .recommended .section-heading { margin: 10px 0 8px; }
    .recommended .section-heading h2 { font-size: 16px; }
    .single-video-meta > h2 { margin-bottom: 5px; font-size: 13px; }
    .single-video-meta dl {
        display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: 6px; row-gap: 2px; font-size: 10px; line-height: 1.3;
    }
    .single-video-meta dt { margin-top: 0; }
    .single-video-meta dd { margin-top: 0; }
    .single-video-meta dd a { padding: 0; font-size: inherit; }
    .single-video-meta .video-tags { margin-top: 6px; }
    .single-video-meta .video-tags h2 { margin-bottom: 4px; font-size: 12px; }
    .single-video-meta .video-tags a {
        margin: 0 3px 3px 0; padding: 2px 5px;
        font-size: 9px; line-height: 1.25;
    }
    /* Model header — stack */
    .model-header {
        flex-direction: column; text-align: center;
        padding: 16px; gap: 12px;
    }
    .model-avatar { width: 80px; height: 80px; }
    .model-info h1 { font-size: 18px; }

    .overshorts-shell { height: 100svh; }
    .overshorts-template .site-header { display: none; }
    .overshorts-topbar {
        top: 10px;
        width: calc(100% - 20px);
    }
    .overshorts-head {
        gap: 6px;
    }
    .overshorts-head-row {
        gap: 6px;
        align-items: center;
    }
    .overshorts-filter {
        width: calc(100% - 56px);
        max-width: none;
        grid-auto-flow: initial;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px;
        padding: 4px 6px;
    }
    .overshorts-filter-button {
        padding: 6px 4px;
        font-size: 9px;
        line-height: 1.1;
        min-height: 30px;
    }
    .overshorts-back {
        width: 44px;
        height: 44px;
        font-size: 24px;
        display: grid;
        place-items: center;
        transform: translateY(-4px);
    }
    .overshorts-back span {
        transform: none;
    }
    .overshort-card { width: 100vw; }
    .overshort-info { left: 14px; right: 62px; bottom: 16px; }
    .overshort-sound { right: 12px; bottom: 16px; }
    .overshorts-controls { display: none; }

    /* Age gate */
    .age-gate p { font-size: 16px; }
    .age-gate button { padding: 10px 36px; font-size: 14px; }

    /* Footer */
    footer { padding: 20px 10px; font-size: 11px; }
}

/* ======================================================================== */
/* Phone size (< 480px) */
/* ======================================================================== */
@media (max-width: 480px) {
    :root { --gap: 8px; }

    body { font-size: 13px; }

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

    .site-header-inner { padding: 8px var(--gap); }
    .site-logo { font-size: 16px; }

    .oc-search-input { font-size: 16px; } /* prevent iOS zoom on focus */
    .oc-search-box { padding: 4px 12px; border-radius: var(--radius); }

    .pagination a, .pagination span { padding: 4px 8px; font-size: 12px; }
}

/* === Search typeahead =================================================== */
.oc-search-wrap {
    margin-left: auto; position: relative;
}
.oc-search-box {
    display: flex; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 0 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.oc-search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,48,240,0.15);
}
.oc-search-icon {
    color: var(--text-dim); font-size: 14px; margin-right: 6px; flex-shrink: 0;
}
.oc-search-input {
    background: transparent; border: none; color: var(--text);
    padding: 7px 0; width: 180px; font-size: 13px; outline: none;
}
.oc-search-input::placeholder { color: var(--text-dim); }
.oc-search-dropdown {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); min-width: 320px; max-height: 400px;
    overflow-y: auto; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.oc-search-dropdown.open { display: block; }
.oc-search-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; font-size: 13px; color: var(--text);
    text-decoration: none; cursor: pointer; border-bottom: 1px solid var(--border);
}
.oc-search-item:last-child { border-bottom: none; }
.oc-search-item:hover, .oc-search-item.active {
    background: rgba(0,48,240,0.08);
}
.oc-search-avatar {
    width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
    border: 1px solid var(--border); flex-shrink: 0;
}
.oc-search-name { flex: 1; font-weight: 500; }
.oc-search-count {
    font-size: 11px; color: var(--text-dim); flex-shrink: 0;
    background: var(--bg); padding: 2px 8px; border-radius: 10px;
}
.oc-search-empty {
    padding: 14px; font-size: 13px; color: var(--text-dim); text-align: center;
}

/* === SEO landing pages and navigation ==================================== */
.breadcrumbs { margin: 2px 0 14px; color: var(--text-dim); font-size: 12px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: 6px; color: #555; }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--text); }

.archive-hero { margin-bottom: 14px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px; background: radial-gradient(circle at 90% 0%, rgba(0,48,240,.2), transparent 40%), var(--bg-card); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.archive-hero.compact { padding: 14px 18px; }
.archive-hero h1 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.15; margin: 2px 0 6px; }
.archive-hero.compact h1 { font-size: clamp(21px, 2.1vw, 26px); }
.archive-hero p { max-width: 900px; color: var(--text-dim); font-size: 13px; line-height: 1.4; }
.home-hero p strong { color: var(--text); font-weight: 600; }
.home-hero, .platform-hero { margin-bottom: 14px; padding: 14px 18px; }
.home-hero h1, .platform-hero h1 { margin: 2px 0 6px; font-size: clamp(22px, 2.3vw, 28px); }
.home-hero p, .platform-hero p { max-width: 900px; font-size: 13px; line-height: 1.4; }
.home-hero .primary-button { padding: 8px 12px; font-size: 13px; }
.eyebrow { color: #8ea4ff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.primary-button { display: inline-block; }
.discovery-section { margin-bottom: 22px; }
.section-heading { margin: 22px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h2 { font-size: 19px; }
.entity-list { display: flex; gap: 8px; flex-wrap: wrap; }
.entity-chip { min-width: 150px; padding: 9px 12px; display: flex; justify-content: space-between; gap: 10px; color: var(--text); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.entity-chip:hover { border-color: var(--accent); color: var(--text); }
.entity-chip small { color: var(--text-dim); white-space: nowrap; }

@media (min-width: 769px) {
    .home-popular-models .entity-list {
        display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto;
        padding-bottom: 3px; scrollbar-width: thin;
    }
    .home-popular-models .entity-chip {
        display: block; flex: 1 0 max-content; min-width: max-content; padding: 8px 10px;
        text-align: center;
    }
    .home-popular-models .entity-chip > span {
        display: block; white-space: nowrap; line-height: 1.25;
    }
    .home-popular-models .entity-chip small {
        display: block;
        margin-top: 2px;
        font-size: 11px;
    }
}

/* === Model directory ===================================================== */
.models-search { max-width: 620px; margin: 0 0 14px; }
.models-search label { display: block; margin-bottom: 6px; color: var(--text-dim); font-size: 12px; }
.models-search > div { display: flex; gap: 8px; }
.models-search-autocomplete { position: relative; flex: 1; min-width: 0; }
.models-search input { width: 100%; padding: 10px 12px; background: var(--bg-card); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); }
.models-search .oc-search-dropdown { left: 0; right: auto; width: 100%; min-width: 0; }
.alphabet-nav { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; }
.alphabet-nav a { width: 32px; height: 32px; display: grid; place-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 5px; color: var(--text-dim); }
.alphabet-nav a:hover { color: #fff; border-color: var(--accent); }
.model-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.model-directory-card { background: var(--bg-card); border: 1px solid transparent; border-radius: var(--radius); }
.model-directory-card:hover { border-color: var(--accent); }
.model-directory-card a { padding: 10px; display: flex; align-items: center; gap: 12px; color: var(--text); }
.model-directory-card img, .model-placeholder { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.model-directory-card strong, .model-directory-card small { display: block; overflow-wrap: anywhere; }
.model-directory-card small { margin-top: 3px; color: var(--text-dim); }
.empty-state { padding: 40px 20px; text-align: center; color: var(--text-dim); background: var(--bg-card); border-radius: var(--radius); }
.empty-state h2 { margin-bottom: 6px; color: var(--text); }
.content-page { max-width: 900px; margin: 0 auto; padding: 26px 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
.content-page h1 { margin: 4px 0 20px; font-size: clamp(24px, 4vw, 36px); }
.content-page-body { color: #c4c4c4; font-size: 15px; line-height: 1.7; }
.content-page-body > * + * { margin-top: 14px; }

/* === Watch page ========================================================== */
.watch-page { min-width: 0; }
.primary-video { width: 100%; background: #000; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; aspect-ratio: var(--video-ratio, 16/9); }
.primary-video video, .primary-video iframe { width: 100%; height: 100%; max-height: 78vh; border: 0; object-fit: contain; background: #000; }
.primary-video > .fluid_video_wrapper { width: 100% !important; height: 100% !important; max-width: 100%; background: #000; }
.primary-video > .fluid_video_wrapper video { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain; }
.primary-video.is-portrait { width: min(100%, var(--portrait-player-width, 54vh)); margin-inline: auto; }
.primary-video.is-portrait video, .primary-video.is-portrait iframe { max-height: none; }
.unavailable-video { width: 100%; height: 100%; position: relative; display: grid; place-items: center; }
.unavailable-video img { width: 100%; height: 100%; object-fit: contain; opacity: .45; }
.unavailable-video strong { position: absolute; padding: 10px 14px; background: rgba(0,0,0,.8); border-radius: var(--radius); }
.watch-header { padding: 18px 0 8px; }
.watch-header h1 { margin: 4px 0 10px; font-size: clamp(21px, 3vw, 30px); line-height: 1.25; }
.watch-byline { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; color: var(--text-dim); font-size: 12px; }
.watch-description { display: none; margin-top: 15px; color: #b7b7b7; max-width: 900px; }
.watch-content { margin-top: 15px; }
.video-tags { margin-top: 22px; }
.video-tags h2 { margin-bottom: 9px; }
.video-tags a { display: inline-block; margin: 0 5px 6px 0; padding: 4px 8px; color: var(--text-dim); background: var(--bg); border: 1px solid var(--border); border-radius: 5px; font-size: 12px; }
.video-tags a:hover { color: #fff; border-color: var(--accent); }
.video-neighbors { margin: 22px 0; padding: 13px 16px; display: flex; justify-content: space-between; gap: 12px; background: var(--bg-card); border-radius: var(--radius); }

/* === Advertising ======================================================== */
.oc-ad-slot {
    position: relative; min-width: 0; min-height: 250px;
    box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.oc-ad-frame { display: block; width: 300px; max-width: 100%; height: 250px; border: 0; background: transparent; }
.oc-ad-slot--watch { width: 302px; max-width: 100%; margin: 18px auto 0; }
.oc-ad-slot--recommendations {
    width: 100%; max-width: 100%;
}

@media (max-width: 768px) {
    .oc-ad-slot--watch { display: none; }
    .oc-ad-slot--recommendations {
        grid-column: 1 / -1;
        width: 100%; justify-self: stretch;
    }
    .oc-ad-slot--feed {
        grid-column: 1 / -1;
        width: 100%; justify-self: stretch;
    }
}

/* === Footer ============================================================== */
.site-footer { max-width: 1400px; margin: 28px auto 0; padding: 28px 16px; border-top: 1px solid var(--border); text-align: center; color: var(--text-dim); font-size: 12px; }
.site-footer nav { margin-bottom: 12px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.site-footer nav a { color: var(--text-dim); }
.site-footer nav a:hover { color: var(--text); }
.site-footer p strong { color: #e06476; margin-right: 5px; }

@media (max-width: 768px) {
    .archive-hero { margin-bottom: 10px; padding: 12px 14px; align-items: flex-start; flex-direction: column; }
    .archive-hero h1, .archive-hero.compact h1 { font-size: 21px; }
    .primary-button { width: 100%; text-align: center; }
    .model-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .age-notice { align-items: stretch; flex-direction: column; }
    .age-notice button { width: 100%; }
    .video-neighbors { font-size: 12px; }

    /* Content-first mobile archives: show videos within the first viewport. */
    .home-hero, .platform-hero {
        margin-bottom: 10px; padding: 10px 12px;
        border-radius: 8px; gap: 0;
    }
    .home-hero .eyebrow, .platform-hero .eyebrow,
    .home-hero .primary-button {
        display: none;
    }
    .home-hero h1, .platform-hero h1 {
        margin: 0; font-size: 21px; line-height: 1.2;
    }
    .home-hero p, .platform-hero p {
        display: block; margin-top: 6px;
        overflow: visible; overflow-wrap: anywhere; hyphens: auto;
        font-size: 12px; line-height: 1.4;
    }
    .home-popular-models { display: block; margin-bottom: 10px; }
    .home-popular-models .section-heading { margin: 8px 0 6px; }
    .home-popular-models .section-heading h2 { font-size: 15px; }
    .home-popular-models .section-heading > a { font-size: 11px; }
    .home-popular-models .entity-list {
        flex-wrap: nowrap; gap: 6px; overflow-x: auto;
        padding-bottom: 3px; scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .home-popular-models .entity-list::-webkit-scrollbar { display: none; }
    .home-popular-models .entity-chip {
        min-width: 132px; padding: 6px 8px;
        font-size: 11px; border-radius: 6px;
    }
.home-popular-models .entity-chip small { font-size: 9px; }
    .model-filters {
        flex-wrap: nowrap; gap: 6px; overflow-x: auto;
        margin: 0 0 6px; padding-bottom: 2px;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .model-filters::-webkit-scrollbar { display: none; }
    .filter-chip { padding: 4px 8px; font-size: 11px; }
    .home-tags-heading { margin: 8px 0 6px; }
    .archive-tags-heading { margin: 8px 0 6px; }
    .home-tags-heading h2, .archive-tags-heading h2 { font-size: 15px; }
    .oc-sort { margin-bottom: 8px; }
    .video-feed-toolbar { margin: 10px 0 8px; padding-top: 9px; }
    .video-feed-toolbar h2 { font-size: 15px; }
    .video-feed-toolbar .oc-sort-select { padding: 5px 8px; font-size: 11px; }
}

@media (max-width: 480px) {
    .model-directory-grid { grid-template-columns: 1fr; }
    .model-directory-card img, .model-placeholder { width: 48px; height: 48px; }
    .archive-hero { padding: 10px 12px; }
    .entity-chip { flex: 1 1 100%; }
    .watch-header h1 { font-size: 20px; }
}

/* === Phone landscape =================================================== */
@media (max-width: 900px) and (orientation: landscape) {
    :root { --gap: 10px; }

    .overshorts-template .site-header {
        display: none;
    }
    .overshorts-template .site-main {
        padding: 0;
    }

    .site-header-inner {
        flex-wrap: nowrap;
        height: 52px;
        gap: 10px;
        padding: 0 12px;
    }
    .site-logo {
        font-size: 16px;
        white-space: nowrap;
    }
    .site-logo-mark { width: 26px; height: 26px; }
    .nav-menu {
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .nav-menu::-webkit-scrollbar { display: none; }
    .nav-menu a { font-size: 11px; }
    .overshorts-link,
    .lang-switch {
        padding: 5px 8px;
        font-size: 11px;
    }
    .oc-search-wrap {
        margin-left: auto;
        flex: 0 1 230px;
        min-width: 180px;
    }
    .oc-search-box { width: 100%; }
    .oc-search-input { width: 100%; }
    .oc-search-dropdown { min-width: 260px; }

    .site-main { padding: 12px; }

    .archive-hero,
    .home-hero,
    .platform-hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
        margin-bottom: 10px;
    }
    .archive-hero h1,
    .archive-hero.compact h1,
    .home-hero h1,
    .platform-hero h1 {
        font-size: 20px;
    }
    .archive-hero p,
    .home-hero p,
    .platform-hero p {
        font-size: 12px;
        line-height: 1.35;
    }
    .home-hero .primary-button {
        width: auto;
        flex: 0 0 auto;
    }

    .section-heading {
        margin: 16px 0 10px;
        align-items: center;
    }
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .entity-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .entity-list::-webkit-scrollbar { display: none; }
    .entity-chip { min-width: 132px; }
    .model-header {
        flex-direction: row;
        text-align: left;
        padding: 14px 16px;
        gap: 12px;
    }
    .model-avatar { width: 72px; height: 72px; }
    .model-info h1 { font-size: 18px; }
    .model-info p { max-width: 100%; }
    .model-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .model-filters::-webkit-scrollbar { display: none; }

    .watch-page { display: block; }
    .single-video-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 18px;
        align-items: start;
    }
    .single-video-main { min-width: 0; }
    .single-video-meta { padding: 16px; }
    .watch-header { padding-top: 14px; }
    .watch-header h1 { font-size: 18px; }
    .watch-description { max-width: 100%; }
    .recommended { margin-top: 24px; }
    .recommended .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .video-neighbors { margin: 18px 0; }

    .oc-sort {
        margin-bottom: 10px;
        justify-content: flex-end;
    }
    .video-feed-toolbar {
        margin: 14px 0 10px;
        padding-top: 10px;
    }
    .video-feed-toolbar h2 { font-size: 16px; }

    .overshorts-shell { height: 100svh; }
    .overshorts-topbar {
        top: 8px;
        left: 8px;
        right: auto;
        transform: none;
        width: min(330px, calc(100% - 16px));
    }
    .overshorts-head-row {
        display: flex;
        width: 100%;
        margin-top: 0;
        gap: 8px;
        align-items: center;
        justify-content: flex-start;
    }
    .overshorts-title {
        text-align: left;
        line-height: 1.1;
        margin: 0;
    }
    .overshorts-head {
        width: 100%;
        align-items: flex-start;
        gap: 4px;
    }
    .overshorts-head-line {
        justify-content: flex-start;
        gap: 8px;
    }
    .overshorts-filter {
        width: fit-content;
        max-width: 100%;
        margin: 0;
        padding: 4px 10px;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: 1fr;
        gap: 4px;
        justify-self: start;
        border-radius: 10px;
        align-self: flex-start;
    }
    .overshorts-filter-button {
        width: 100%;
        min-height: 28px;
        padding: 6px 8px;
        font-size: 10px;
        white-space: nowrap;
    }
    .overshorts-back {
        position: static;
        width: 30px;
        height: 30px;
        transform: none;
        margin: 0;
        font-size: 0;
    }
    .overshorts-back span {
        font-size: 22px;
        line-height: 1;
        transform: translateY(-1px);
    }
    .overshorts-shell:not([data-overshorts-filter="horizontal"]) .overshort-video {
        bottom: 88px;
        height: calc(100% - 88px);
    }
    .overshorts-shell:not([data-overshorts-filter="horizontal"]) .overshort-info {
        bottom: 12px;
    }
    .overshorts-shell:not([data-overshorts-filter="horizontal"]) .overshort-sound {
        bottom: 12px;
    }
    .overshort-info {
        left: 12px;
        right: 58px;
    }
    .overshort-sound {
        right: 12px;
    }
    .overshorts-shell[data-overshorts-filter="horizontal"] .overshort-card {
        width: calc(100vw - 12px);
    }
    .overshorts-shell[data-overshorts-filter="horizontal"] .overshort-video {
        bottom: 0;
        height: 100%;
    }
    .overshorts-shell[data-overshorts-filter="horizontal"] .overshort-gradient {
        display: block;
        height: 34%;
    }
    .overshorts-shell[data-overshorts-filter="horizontal"] .overshort-info {
        left: 12px;
        right: 56px;
        bottom: 14px;
    }
    .overshorts-shell[data-overshorts-filter="horizontal"] .overshort-sound {
        right: 12px;
        bottom: 14px;
    }
}
