/* JuicyHo — Juicy Fruit-inspired shared visual system */
:root {
    --bg: #f3f6fb;
    --bg-soft: #f8faff;
    --surface: #ffffff;
    --surface-2: #f7f9fd;
    --surface-3: #ffef8a;
    --text: #173568;
    --text-soft: #4c5e7f;
    --text-dim: #78849a;
    --accent: #d92d35;
    --accent-strong: #b91f2b;
    --accent-soft: rgba(217, 45, 53, .14);
    --lime: #ffffff;
    --brand-blue: #173f80;
    --brand-red: #d92d35;
    --border: rgba(23, 53, 104, .12);
    --border-strong: rgba(23, 53, 104, .22);
    --shadow-sm: 0 8px 24px rgba(39, 54, 88, .10);
    --shadow-lg: 0 24px 64px rgba(39, 54, 88, .16);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --page: 1600px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open #head_bar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(23, 63, 128, .72);
    outline-offset: 3px;
}

img,
video {
    max-width: 100%;
}

.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;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--accent);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Header */
.site-header {
    position: relative;
    z-index: 100;
}

#head_bar {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    width: 100%;
    height: var(--header-height);
    margin: 0;
    color: var(--text);
    background: rgba(23, 70, 143, .98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px) saturate(140%);
    transition: background .2s ease, box-shadow .2s ease, transform .3s ease;
}

#head_bar.is-scrolled {
    background: rgba(16, 55, 117, .99);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
}

.header-shell {
    display: flex;
    align-items: center;
    width: min(100% - 40px, var(--page));
    height: 100%;
    margin: 0 auto;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--brand-blue);
    background: linear-gradient(135deg, #ffffff, #fff9d7);
    border-radius: 10px 10px 10px 3px;
    box-shadow: 0 8px 20px rgba(23, 63, 128, .13);
    font-size: 17px;
    font-weight: 950;
}

.title_start {
    position: static;
    display: inline;
    margin: 0;
    color: var(--brand-blue);
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -.7px;
}

.title_start span {
    color: var(--brand-red);
}

#head_bar .title_start {
    color: #ffd51f;
}

#head_bar .title_start span {
    color: #ffffff;
}

#head_bar .brand-mark {
    color: #ffd51f;
    background: rgba(9, 42, 96, .72);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 8px 20px rgba(8, 30, 72, .20);
}

#head_bar #hamburger-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .22);
}

#searchbar {
    flex: 1 1 340px;
    width: auto;
    max-width: 440px;
    height: auto;
    margin: 0;
    padding: 0;
}

@media (min-width: 961px) {
    #head_bar .nav-box .nav_link > a,
    #head_bar .header-login,
    #head_bar .header-icon {
        color: rgba(255, 255, 255, .82);
    }

    #head_bar .nav-box .nav_link > a:hover,
    #head_bar .nav-box .nav_link > a.is-active,
    #head_bar .header-login:hover,
    #head_bar .header-icon:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, .11);
    }

    #head_bar .nav-box .nav_link > a.is-active .icon-menu {
        color: #ffd51f;
    }

    #head_bar .icon-menu {
        color: rgba(255, 255, 255, .60);
    }

    #head_bar .header-icon {
        background: rgba(255, 255, 255, .10);
        border-color: rgba(255, 255, 255, .20);
    }
}

.header-search-row #search_form {
    position: relative;
    display: flex;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    border-radius: 10px;
    transition: box-shadow .2s ease;
}

.header-search-row #search_form:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .42);
}

.header-search-row #search_input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    outline: 0;
    font-size: 16px;
}

.header-search-row #search_input::placeholder {
    color: var(--text-dim);
}

.header-search-row #filter-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex: 0 0 auto;
    width: auto;
    min-width: 98px;
    height: 44px;
    padding: 0 30px 0 11px;
    margin: 0;
    color: var(--text-soft);
    background-color: #fffbea;
    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 fill='none' stroke='%23173f80' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 11px;
    border: 1px solid var(--border-strong);
    border-right: 0;
    border-radius: 0;
    font-size: 14px;
    cursor: pointer;
}

.header-search-row #filter-btn option {
    color: var(--text);
    background: var(--surface-2);
}

#search-btn {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    color: #ffffff;
    background: var(--accent);
    border: 0;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    transition: background .18s ease;
}

#search-btn i {
    display: block;
    margin: 0;
    line-height: 1;
}

#search-btn:hover {
    background: var(--accent-strong);
}

.header-search-row .search-autocomplete {
    top: calc(100% + 4px);
    padding: 5px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.header-search-row .search-autocomplete li {
    padding: 10px 11px;
    color: var(--text-soft);
    border: 0;
    border-radius: 7px;
}

.header-search-row .search-autocomplete li:hover {
    color: var(--text);
    background: var(--accent-soft);
}

#hamburger-btn {
    display: none;
    position: static;
    width: 42px;
    height: 42px;
    padding: 10px;
    margin: 0;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    cursor: pointer;
}

#hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: currentColor;
    border-radius: 2px;
}

.nav-box {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
}

.nav-box > ul {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-box .nav_link {
    margin: 0;
}

.nav-box .nav_link > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 10px;
    color: var(--text-soft);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
    transition: color .18s ease, background .18s ease;
}

.nav-box .nav_link > a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
}

.nav-box .nav_link > a.is-active {
    color: var(--text);
    background: var(--accent-soft);
}

.nav-box .nav_link > a.is-active .icon-menu {
    color: var(--accent);
}

.icon-menu {
    margin: 0;
    color: var(--text-dim);
    font-size: 12px;
}

.menu-heading,
.menu-account,
.partner-links,
#nav-break,
.menu-backdrop {
    display: none;
}

#top-nav-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin: 0;
}

.header-login,
.header-icon {
    padding: 8px 4px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
}

.header-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
}

.top-btns {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    color: var(--brand-blue);
    background: #ffffff;
    border: 1px solid rgba(23, 63, 128, .14);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 850;
    transition: transform .18s ease, box-shadow .18s ease;
}

.top-btns:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23, 63, 128, .16);
}

.buy-membership {
    color: var(--brand-blue);
    background: #ffffff;
}

/* Main layout */
.site-main {
    min-height: 72vh;
    padding-top: var(--header-height);
}

#all_content,
#content-box,
#comment-section,
#more-content-header,
.site-main > .grid-container {
    width: min(100% - 40px, var(--page));
    margin-right: auto;
    margin-left: auto;
}

#all_content {
    padding: 38px 0 60px;
    margin-top: 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#main_content {
    width: 100%;
    height: auto;
}

#top-space,
#top-space2 {
    display: none;
    margin: 0;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
.section-title,
#page-title,
#section-title {
    margin: 0 0 18px;
    color: var(--text);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 850;
    letter-spacing: -1.4px;
    line-height: 1.08;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 62px;
    font-size: clamp(24px, 2.6vw, 36px);
}

.section-title a {
    color: inherit;
    font-size: inherit;
}

.title-link a::after {
    content: "View all  →";
    margin-left: 16px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0;
    vertical-align: middle;
}

/* Home hero */
.discover-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    min-height: 380px;
    margin-bottom: 46px;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(255, 214, 10, .26), transparent 48%),
        linear-gradient(145deg, #ffffff, #fffbea 72%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.discover-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -55%;
    width: 54%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 214, 10, .32), transparent 64%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(34px, 6vw, 76px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--lime);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 214, 10, .16);
}

.discover-hero h1 {
    max-width: 700px;
    margin-bottom: 18px;
    font-size: clamp(40px, 5.5vw, 78px);
    letter-spacing: -3.5px;
}

.discover-hero h1 em {
    color: var(--accent);
    font-style: normal;
}

.discover-hero p {
    max-width: 560px;
    margin: 0 0 28px;
    color: var(--text-soft);
    font-size: clamp(15px, 1.5vw, 18px);
}

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

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
}

.primary-action {
    color: #ffffff;
    background: var(--accent);
    box-shadow: 0 14px 30px rgba(23, 63, 128, .14);
}

.secondary-action {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border-strong);
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 34px 40px 34px 0;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hero-stat i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 12px;
}

.hero-stat strong,
.hero-stat span {
    display: block;
}

.hero-stat strong {
    font-size: 15px;
}

.hero-stat span {
    color: var(--text-dim);
    font-size: 12px;
}

#site-promotion {
    display: none;
}

/* Advertising surfaces */
#top-dirty-stuff,
#top-dirty-stuff2,
#mid-dirty-stuff,
#dirty-stuff,
#dirty-stuff2 {
    min-height: 0;
    margin: 0 auto 26px;
    overflow: hidden;
    text-align: center;
    background: transparent;
}

#top-dirty-stuff video,
#top-dirty-stuff2 video,
#mid-dirty-stuff video,
#dirty-stuff video,
#dirty-stuff2 video {
    position: static;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Filters */
.video-filter-section {
    display: flex;
    width: 100%;
    margin: 0 0 26px;
    padding: 0 0 6px;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
}

.video-filter-section::-webkit-scrollbar {
    display: none;
}

.gallery-list-filters {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.gallery-list-filters::-webkit-scrollbar {
    display: none;
}

.gallery-list-filters .filter-link {
    flex: 0 0 auto;
}

.filter-link,
.dp-link.filter-link,
#video-filter-btn,
.dropdown > button,
.request-section,
.content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 16px;
    color: var(--text-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.filter-link:hover,
.dp-link.filter-link:hover,
#video-filter-btn:hover,
.dropdown > button:hover,
.content-btn:hover {
    color: var(--text);
    background: var(--surface-3);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.views-filter-btn::after,
.dropdown > button::after {
    content: "⌄";
    margin-left: 7px;
    color: var(--accent);
}

.dropdown {
    position: relative;
    margin: 0 0 24px;
}

.dropdown-options,
.views-dropdown {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    width: max-content;
    min-width: 180px;
    max-width: min(300px, calc(100vw - 40px));
    padding: 8px;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 13px;
    box-shadow: var(--shadow-lg);
}

.dropdown-options.is-open,
.views-dropdown.is-open,
.dropdown:hover .dropdown-options {
    display: grid;
}

.dropdown-options a {
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    color: var(--text-soft);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    text-align: left;
}

.dropdown-options a:hover {
    width: 100%;
    color: var(--text);
    background: rgba(255, 255, 255, .06);
}

/* Content cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 30px 16px;
}

.grid-container.gallery-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
}

.gallery-list-grid .grid-item > a > img {
    aspect-ratio: 3 / 4;
    object-position: 50% 30%;
}

#all_content .grid-container.models-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
}

#all_content .models-grid .video-preview-container {
    aspect-ratio: 3 / 4;
}

@media (max-width: 1180px) {
    .grid-container.gallery-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }

    #all_content .grid-container.models-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }
}

@media (max-width: 700px) {
    .grid-container.gallery-list-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    #all_content .grid-container.models-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

.grid-item {
    position: relative;
    min-width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.grid-item > a {
    display: block;
}

.grid-item img,
.grid-item .thumbnail,
.grid-item > a > img,
.video-preview-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    object-fit: cover;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.grid-item img,
.grid-item .thumbnail,
.grid-item > a > img {
    aspect-ratio: 16 / 10;
}

.video-preview-container {
    position: relative;
    aspect-ratio: 16 / 10;
}

.grid-container:has(.video-preview-container) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
}

@media (max-width: 1180px) {
    .grid-container:has(.video-preview-container) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 20px;
    }
}

@media (max-width: 700px) {
    .grid-container:has(.video-preview-container) {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

.grid-item .video-preview-container,
.grid-item > a > img {
    border: 0;
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
    box-shadow: none;
}

.video-preview-container img,
.video-preview-container .thumbnail,
.video-preview-container .video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: inherit;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
}

.grid-item:hover img,
.grid-item:hover .thumbnail {
    transform: scale(1.035);
}

.video-preview {
    display: none;
}

.video-preview-container:hover .thumbnail {
    display: block;
    opacity: 0;
}

.video-preview-container:hover .video-preview {
    display: block;
}

.video-time-container {
    position: static;
}

.video-time {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 10px;
    left: auto;
    padding: 4px 7px;
    color: #fff;
    background: rgba(8, 6, 11, .78);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    backdrop-filter: blur(5px);
}

.video_title {
    display: -webkit-box;
    margin: 12px 0 4px;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    font-weight: 720;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.grid-item .video_title {
    margin-right: 12px;
    margin-left: 12px;
}

.video_title a,
.video_title a:link,
.video_title a:visited {
    color: inherit;
}

.video-data,
.media-count,
.media-data {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--text-dim);
}

.video-data {
    position: static;
}

.grid-item .video-data {
    padding: 0 12px 12px;
}

.video-views,
.video-likes {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.video-data i,
.media-data i {
    position: static;
    margin: 0;
    color: var(--text-dim);
    font-size: 11px;
}

.data-item,
.media-data p {
    margin: 0;
    color: inherit;
    font-size: 12px;
}

#gallery-section {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.more-content-item img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--surface-2);
}

/* Alphabet index */
.letters-container {
    display: flex;
    width: 100%;
    margin: -8px 0 30px;
    padding: 12px;
    gap: 4px;
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    scrollbar-width: none;
}

.letter {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    color: var(--text-soft);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.letter:hover {
    color: #150d12;
    background: var(--lime);
}

#grid-container-tags {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.grid-item-tags p {
    width: 100%;
    margin: 0;
    padding: 13px 16px;
    color: var(--text-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    font-size: 13px;
    transition: color .18s ease, background .18s ease;
}

.grid-item-tags p:hover {
    color: var(--text);
    background: var(--surface-2);
}

/* Profiles */
#profile-section {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 26px;
    background: linear-gradient(120deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

#profile-photo {
    position: static;
    width: 132px;
    height: 132px;
    flex: 0 0 auto;
    margin: 0;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

#model-info {
    display: block;
    margin: 0;
}

#model-info h1 {
    margin-bottom: 8px;
}

#follow-btn {
    width: auto;
    max-width: 260px;
    margin-top: 14px;
}

.model-page .model-hero {
    gap: 36px;
    padding: 36px;
}

.model-page .model-avatar-ring {
    width: 190px;
    height: 190px;
}

.model-page .model-hero-info {
    padding: 4px 0;
}

@media (min-width: 1024px) {
    .model-page .model-avatar-ring {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 639px) {
    .model-page .model-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 0;
    }

    .model-page .model-avatar-ring {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .model-page .model-hero-info {
        padding: 24px 20px 26px;
    }
}

.follow-btn-active,
#follow-btn button {
    min-height: 42px;
    padding: 0 18px;
    color: #ffffff;
    background: var(--accent);
    border: 0;
    border-radius: 11px;
    font-weight: 800;
}

#line-br {
    height: 1px;
    margin: 28px 0;
    border: 0;
    background: var(--border);
}

#content-filter {
    position: static;
    display: flex;
    margin: 0 0 26px;
    gap: 8px;
}

.content-btn.active {
    color: #160d12;
    background: var(--lime);
}

/* Video detail */
#content-box {
    padding-top: 28px;
}

#video-box {
    width: 100%;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

#video-box video,
#video-id,
#video-onpage,
#video-id_fluid_controls_container {
    position: relative;
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: min(76vh, 900px);
    margin: 0;
    object-fit: contain;
    background: #000;
}

@media (min-width: 701px) {
    #video-box .fluid_video_wrapper:not(.fake-fs) {
        height: min(76vh, 900px) !important;
        max-height: min(76vh, 900px) !important;
        background: #000;
    }

    #video-box .fluid_video_wrapper:not(.fake-fs) video {
        width: 100% !important;
        height: 100% !important;
        max-height: none;
        object-fit: contain;
        object-position: center center;
    }
}

#misc-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 18px 0 0;
    padding: 24px;
    gap: 10px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

#page_video_title {
    margin: 0;
    color: var(--text);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 820;
    line-height: 1.2;
}

#social-btns {
    grid-column: 2;
    grid-row: 1;
}

.social-btns {
    display: flex;
    padding: 0;
    margin: 0;
    gap: 7px;
    list-style: none;
}

.social-btns li {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0;
    color: var(--text-soft);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 11px;
    cursor: pointer;
}

#video-details,
#description {
    grid-column: 1 / -1;
}

.video-data-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 7px;
    list-style: none;
}

.video-data-section > p {
    position: static;
    margin: 0 3px 0 0;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.video-data-item {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    margin: 0;
    color: var(--text-soft);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1;
}

.video-data-item p {
    margin: 0;
}

#description {
    color: var(--text-soft);
    font-size: 14px;
}

#comment-section {
    margin-top: 32px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

#comment-section h4 {
    margin: 0 0 16px;
    font-size: 20px;
}

#comment-block textarea,
textarea,
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    color: var(--text);
    background: var(--bg-soft);
    border: 1px solid var(--border-strong);
    border-radius: 11px;
}

#comment-block textarea {
    min-height: 110px;
    resize: vertical;
}

#comment-btn,
#sign-in-btn,
#request-btn,
#submit-btn,
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 10px;
    padding: 0 18px;
    color: #ffffff;
    background: var(--accent);
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

.comment {
    margin-top: 14px;
    padding: 14px 16px;
    background: var(--surface-2);
    border-radius: 11px;
}

.comment p {
    margin: 0;
}

.comment-username {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

#more-content-header {
    display: block;
    margin-top: 48px;
    margin-bottom: 18px;
    font-size: 26px;
}

/* Keep the player dominant on the watch page. The site-wide cards are
   intentionally large, so supporting UI here uses a quieter, denser scale. */
#content-box #misc-content {
    margin-top: 14px;
    padding: 16px 18px;
    gap: 8px 18px;
}

#content-box #page_video_title {
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.25;
}

#content-box .social-btns li {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    color: #ffffff;
    background: var(--brand-blue);
    border-color: rgba(9, 42, 96, .42);
    box-shadow: 0 5px 14px rgba(9, 42, 96, .18);
    font-size: 15px;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

#content-box .social-btns li:hover,
#content-box .social-btns li:focus-within {
    background: #0e326c;
    box-shadow: 0 7px 18px rgba(9, 42, 96, .28);
    transform: translateY(-1px);
}

#content-box .social-btns li i,
#content-box .social-btns li a {
    color: #ffffff !important;
}

#content-box .social-btns #like-btn[style] {
    color: #ffffff !important;
    background: var(--brand-red);
    border-color: var(--brand-red);
}

#content-box .video-data-section {
    gap: 6px;
    margin-top: 5px;
}

#content-box .video-data-section > p {
    font-size: 11px;
}

#content-box .video-data-item {
    min-height: 26px;
    padding: 0 8px;
    font-size: 12px;
}

#content-box .video-data-item.video-model-pill {
    gap: 6px;
    min-height: 36px;
    padding: 2px 10px 2px 2px;
    font-size: 13px;
}

#content-box .video-model-pill-avatar {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
}

#content-box #description {
    font-size: 12px;
}

#content-box #description h3 {
    margin: 10px 0 4px;
    font-size: 14px;
}

#content-box #comment-section {
    margin-top: 24px;
    padding: 18px;
}

#content-box #comment-section h4 {
    margin-bottom: 12px;
    font-size: 17px;
}

#content-box #comment-block textarea {
    min-height: 84px;
    font-size: 13px;
}

#content-box .comment {
    padding: 11px 13px;
    font-size: 13px;
}

#content-box #more-content-header {
    margin-top: 34px;
    margin-bottom: 14px;
    font-size: 20px;
}

#content-box > .grid-container:has(.video-preview-container) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 14px;
}

#content-box > .grid-container .video_title {
    font-size: 12px;
}

#content-box > .grid-container .video-data {
    gap: 9px;
    font-size: 11px;
}

@media (max-width: 1180px) {
    #content-box > .grid-container:has(.video-preview-container) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    #content-box > .grid-container:has(.video-preview-container) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 10px;
    }
}

/* Forms and utility pages */
#request-section,
.request-section {
    color: var(--text);
}

form label {
    color: var(--text-soft);
}

form select {
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 9px;
}

#checkout-container {
    width: min(100%, 780px);
    margin: 40px auto;
    padding: 30px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.data-headings,
#checkout-container a {
    color: var(--text);
}

#buy {
    color: #ffffff;
    background: var(--accent);
}

/* Authentication */
.auth-page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 12% 20%, rgba(232, 190, 50, .14), transparent 28rem),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .82), transparent 28rem),
        var(--bg);
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 48px, 1260px);
    min-height: 82px;
    margin: 0 auto;
}

.auth-back {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
}

.auth-back:hover {
    color: var(--text);
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
    align-items: center;
    width: min(100% - 48px, 1180px);
    margin: auto;
    padding: 54px 0 80px;
    gap: clamp(50px, 10vw, 140px);
}

.auth-intro h1 {
    max-width: 650px;
    margin-bottom: 22px;
    font-size: clamp(46px, 6vw, 80px);
    letter-spacing: -4px;
}

.auth-intro > p {
    max-width: 530px;
    color: var(--text-soft);
    font-size: 18px;
}

.auth-benefits {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 10px;
}

.auth-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.auth-benefits i {
    color: var(--accent);
}

.auth-card {
    padding: clamp(25px, 4vw, 42px);
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.auth-form-shell,
.auth-card #login-box {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
    background: transparent;
    border-radius: 0;
}

.auth-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.auth-card h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.auth-helper {
    margin: 0 0 26px;
    color: var(--text-dim);
    font-size: 13px;
}

.auth-card #form-box {
    padding: 0;
}

.auth-card #form-box p {
    margin: 0 0 16px;
}

.auth-card #form-box label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 750;
}

.auth-card #form-box input:not([type="submit"]):not([type="hidden"]) {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    color: var(--text);
    background: var(--bg-soft);
    border: 1px solid var(--border-strong);
    border-radius: 11px;
}

.auth-card #submit-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    color: #ffffff;
    background: var(--accent);
    border: 0;
    border-radius: 11px;
    font-weight: 850;
    cursor: pointer;
}

.auth-card .helptext,
.auth-card ul.errorlist {
    color: var(--text-dim);
    font-size: 11px;
}

.auth-card ul.errorlist {
    padding: 9px 12px;
    color: #a61f2b;
    background: rgba(217, 45, 53, .1);
    border-radius: 9px;
    list-style: none;
}

.auth-card #sign-options {
    display: block;
    margin: 22px 0 0;
    color: var(--text-dim);
    font-size: 13px;
    text-align: center;
}

.auth-card #sign-options a {
    color: var(--brand-blue);
    font-weight: 800;
}

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    width: min(100% - 48px, 1260px);
    margin: 0 auto;
    padding: 20px 0 28px;
    color: var(--text-dim);
    font-size: 11px;
}

.auth-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.auth-footer a {
    color: var(--brand-blue);
    font-weight: 750;
}

#pop-box {
    z-index: 200;
    padding: 12px 18px;
    color: var(--text);
    background: var(--surface-3);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Pagination */
.pagination {
    width: min(100% - 40px, var(--page));
    margin: 48px auto 30px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.pagination > .step-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    gap: 6px;
    list-style: none;
}

.pagination > .step-links > li.step-links {
    display: block;
    margin: 0;
    font-size: inherit;
    line-height: 1;
    list-style: none;
}

.step-links a,
.step-links .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    height: auto;
    padding: 9px 12px !important;
    color: var(--text-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1 !important;
    text-align: center;
    box-sizing: border-box;
}

.step-links.active .page-link {
    color: #ffffff;
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 850;
}

/* Footer */
.site-footer {
    margin-top: 50px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.footer-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: min(100% - 40px, var(--page));
    margin: 0 auto;
    padding: 46px 0;
    gap: 10px 30px;
}

.footer-brand {
    font-size: 18px;
    font-weight: 850;
}

.footer-shell p {
    margin: 0;
    color: var(--text-dim);
    font-size: 13px;
}

.footer-shell nav {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.footer-shell nav a {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 650;
}

.footer-shell nav a:hover {
    color: var(--accent);
}

.footer-shell small {
    grid-column: 1 / -1;
    margin-top: 28px;
    padding-top: 18px;
    color: var(--text-dim);
    border-top: 1px solid var(--border);
    font-size: 11px;
}

#space {
    display: none;
}

@media (max-width: 1180px) {
    .header-shell {
        gap: 14px;
    }

    .nav-box .nav_link > a {
        padding: 0 8px;
    }

    .nav-box .icon-menu {
        display: none;
    }

    .grid-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    :root {
        --header-height: 68px;
    }

    .header-shell {
        width: min(100% - 28px, var(--page));
    }

    #searchbar {
        max-width: none;
    }

    #top-nav-bar,
    .nav-box {
        display: none;
    }

    #hamburger-btn {
        display: block;
        flex: 0 0 auto;
    }

    .nav-box {
        position: fixed;
        z-index: 130;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        width: min(390px, 90vw);
        height: 100dvh;
        padding: 22px;
        overflow-y: auto;
        background: #ffffff;
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility .28s;
    }

    .nav-box.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .menu-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: 850;
    }

    .menu-close {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        color: var(--text);
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 10px;
        cursor: pointer;
    }

    .nav-box > ul {
        display: grid;
        gap: 4px;
    }

    .nav-box .nav_link > a {
        display: flex;
        min-height: 48px;
        padding: 0 13px;
        font-size: 15px;
    }

    .nav-box .icon-menu {
        display: inline-block;
        width: 18px;
        color: var(--accent);
        font-size: 14px;
        text-align: center;
    }

    #nav-break {
        display: block;
        height: 1px;
        margin: 10px 0;
        background: var(--border);
    }

    .menu-account {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: auto;
        padding: 16px 0;
        border-top: 1px solid var(--border);
    }

    .menu-account > div {
        display: grid;
        flex: 1;
        line-height: 1.25;
    }

    .menu-account small,
    .partner-links span {
        color: var(--text-dim);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .7px;
    }

    .account-avatar {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        color: #ffffff;
        background: var(--accent);
        border-radius: 50%;
        font-weight: 850;
    }

    .member-link,
    #nav-register {
        padding: 8px 12px;
        color: #160d12;
        background: var(--lime);
        border-radius: 9px;
        font-size: 12px;
        font-weight: 850;
    }

    .logout-link {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        color: var(--text-soft);
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 9px;
    }

    #nav-login {
        flex: 1;
        padding: 8px 12px;
        color: var(--text);
        background: var(--surface-2);
        border-radius: 9px;
        text-align: center;
        font-size: 13px;
        font-weight: 750;
    }

    .partner-links {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding-top: 14px;
        gap: 6px 12px;
        border-top: 1px solid var(--border);
    }

    .partner-links span {
        width: 100%;
    }

    .partner-links a {
        color: var(--text-soft);
        font-size: 11px;
    }

    .menu-backdrop {
        position: fixed;
        z-index: 90;
        inset: 0;
        display: block;
        background: rgba(0, 0, 0, .62);
        opacity: 0;
        visibility: hidden;
        backdrop-filter: blur(4px);
        transition: opacity .25s ease, visibility .25s;
    }

    .menu-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .discover-hero {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 34px 34px;
    }

    .hero-stat {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-layout {
        grid-template-columns: 1fr;
        max-width: 580px;
        gap: 34px;
    }

    .auth-intro h1 {
        font-size: clamp(42px, 10vw, 62px);
    }
}

@media (max-width: 700px) {
    :root {
        --header-height: 122px;
    }

    .header-shell {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 54px 52px;
        align-content: center;
        gap: 4px 12px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
    }

    #hamburger-btn {
        grid-column: 2;
        grid-row: 1;
    }

    #searchbar {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .header-search-row #search_form {
        height: 44px;
        min-height: 44px;
    }

    #all_content,
    #content-box,
    #comment-section,
    #more-content-header,
    .site-main > .grid-container,
    .pagination,
    .footer-shell {
        width: min(100% - 24px, var(--page));
    }

    #all_content {
        padding-top: 20px;
    }

    h1,
    #section-title,
    #page-title {
        font-size: 30px;
    }

    .discover-hero {
        min-height: 0;
        margin-bottom: 34px;
        border-radius: 19px;
    }

    .hero-copy {
        padding: 34px 24px 24px;
    }

    .discover-hero h1 {
        font-size: clamp(39px, 13vw, 58px);
        letter-spacing: -2.5px;
    }

    .hero-actions {
        width: 100%;
    }

    .primary-action,
    .secondary-action {
        flex: 1 1 auto;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        padding: 0 16px 16px;
        gap: 8px;
    }

    .hero-stat {
        flex-direction: row;
        padding: 13px;
    }

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

    .grid-item img,
    .grid-item .thumbnail,
    .grid-item > a > img,
    .video-preview-container {
        border-radius: 12px;
    }

    .video_title {
        margin-top: 8px;
        font-size: 12px;
    }

    .video-data,
    .media-count,
    .media-data {
        gap: 8px;
    }

    .video-time {
        top: 7px;
        right: 7px;
    }

    #grid-container-tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #profile-section {
        align-items: flex-start;
        padding: 18px;
        gap: 15px;
        border-radius: 18px;
    }

    #profile-photo {
        width: 88px;
        height: 88px;
    }

    #model-info h1 {
        font-size: 24px;
    }

    #video-box {
        width: calc(100% + 24px);
        margin-left: -12px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    #misc-content {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    #social-btns {
        grid-column: 1;
        grid-row: auto;
    }

    .social-btns {
        overflow-x: auto;
    }

    #comment-section {
        padding: 18px;
    }

    .footer-shell {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        padding: 34px 0;
    }

    .footer-shell nav {
        justify-content: flex-start;
        margin-top: 14px;
        gap: 10px 18px;
    }

    .footer-shell small {
        width: 100%;
    }

    .auth-header,
    .auth-layout,
    .auth-footer {
        width: min(100% - 28px, 580px);
    }

    .auth-header {
        min-height: 70px;
    }

    .auth-back {
        font-size: 0;
    }

    .auth-back span {
        font-size: 22px;
    }

    .auth-layout {
        padding: 32px 0 54px;
    }

    .auth-intro h1 {
        font-size: 43px;
        letter-spacing: -2.5px;
    }

    .auth-intro > p {
        font-size: 15px;
    }

    .auth-benefits {
        display: none;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 18px;
    }
}

/* Reference feature parity: keep account/library actions in the header and
   the primary destinations in a mobile quick-navigation row. The base
   stylesheet already owns the button visuals; these rules adapt that markup
   to JuicyHo's fixed, responsive header shell. */
.header-shell .header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    margin-left: auto;
    order: 3;
}

.header-shell .header-actions .header-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .20);
}

.header-shell .header-actions .header-btn:hover,
.header-shell .header-actions .header-user-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .18);
}

.header-shell .header-actions .header-upload-btn {
    color: #ffd51f;
}

.header-shell .header-actions .header-username {
    color: #ffffff;
}

.header-shell .header-actions .header-user-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.header-shell .header-actions .header-user-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 9px;
    color: rgba(255, 255, 255, .86);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.header-shell .header-actions .header-user-links i {
    color: #ffd51f;
}

.site-header > .nav-bottom {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: block;
    background: rgba(9, 42, 96, .98);
    border-color: rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px) saturate(140%);
    transition: transform .3s ease;
}

@media (max-width: 799px) {
    .site-header.is-collapsed #head_bar {
        transform: translateY(-100%);
    }

    .site-header.is-collapsed > .nav-bottom {
        transform: translateY(calc(-1 * var(--header-height)));
    }
}

.site-header > .nav-bottom a {
    color: rgba(255, 255, 255, .88);
}

.site-header > .nav-bottom a:hover {
    color: #ffd51f;
}

@media (min-width: 1024px) {
    .site-header > .nav-bottom {
        display: none;
    }
}

@media (max-width: 1180px) and (min-width: 961px) {
    .header-shell .header-actions .header-user-links span {
        display: none;
    }

    .header-shell .header-actions .header-user-links a {
        width: 36px;
        padding: 0;
        justify-content: center;
    }

    .header-shell .header-actions .header-username {
        display: none;
    }
}

@media (max-width: 1023px) {
    .site-main {
        padding-top: calc(var(--header-height) + 43px);
    }

    .header-shell .header-actions .header-user-links,
    .header-shell .header-actions .header-username {
        display: none;
    }
}

@media (max-width: 700px) {
    .header-shell {
        grid-template-columns: 1fr auto auto;
    }

    .header-shell .header-actions {
        grid-column: 2;
        grid-row: 1;
        margin-left: 0;
    }

    #hamburger-btn {
        grid-column: 3;
        grid-row: 1;
    }

    .header-shell .header-actions .header-user-btn {
        display: none;
    }
}

@media (max-width: 390px) {
    .title_start {
        font-size: 19px;
    }

    .brand-mark {
        width: 31px;
        height: 31px;
    }

    .hero-actions {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
