/* ==========================================================================
   CamsDB — site styles
   Same palette as the current site, modernised layout and components.
   ========================================================================== */

:root {
    /* Brand palette (unchanged from resources/sass/_settings.scss) */
    --brand: #f20744;
    --brand-hover: #d8063c;
    --brand-soft: rgba(242, 7, 68, .10);
    --brand-glow: rgba(242, 7, 68, .35);
    --live: #3adb76;
    --live-soft: rgba(58, 219, 118, .16);

    --ink-950: #141415;   /* header, sidebar, footer */
    --ink-900: #1c1c1e;
    --ink-850: #232326;
    --ink-800: #333;      /* raised dark surfaces */
    --ink-500: #616161;   /* secondary text */
    --ink-400: #8a8a8f;
    --line: #e7e7ea;
    --line-dark: rgba(255, 255, 255, .08);
    --bg: #fafafa;        /* page background */
    --surface: #fff;
    --text: #141415;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(20, 20, 21, .06);
    --shadow: 0 1px 2px rgba(20, 20, 21, .04), 0 6px 18px rgba(20, 20, 21, .07);
    --shadow-lg: 0 2px 6px rgba(20, 20, 21, .06), 0 18px 40px rgba(20, 20, 21, .14);

    --header-h: 64px;
    --side-w: 272px;
    --gutter: clamp(16px, 2.2vw, 28px);

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 15px; height: 15px; }
body.is-locked { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 16px;
    border: 1px solid transparent; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 600; white-space: nowrap;
    background: var(--surface); color: var(--text);
    transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px var(--brand-glow); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: #fff; border-color: var(--line-dark); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border-color: var(--line); background: var(--surface); }
.btn-outline:hover { border-color: var(--text); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }

/* ---------- Pills / tags ---------- */
.tag {
    display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
    border-radius: var(--radius-pill); background: #f1f1f3; color: var(--ink-500);
    font-size: 12px; font-weight: 500; transition: background .2s, color .2s;
}
.tag:hover { background: var(--brand-soft); color: var(--brand); }
.tag-brand { background: var(--brand-soft); color: var(--brand); }

.status {
    display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
    border-radius: var(--radius-pill); font-size: 12px; font-weight: 600;
    background: rgba(20, 20, 21, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-400); }
.status-live::before { background: var(--live); box-shadow: 0 0 0 0 var(--live); animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(58, 219, 118, .6); }
    70% { box-shadow: 0 0 0 7px rgba(58, 219, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(58, 219, 118, 0); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    background: rgba(20, 20, 21, .92);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line-dark);
    color: #fff;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; padding: 0 var(--gutter); }
.header-logo img { height: 22px; width: auto; }

.gender-nav { display: flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .05); }
.gender-nav a {
    display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .72);
    transition: background .2s, color .2s;
}
.gender-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.gender-nav a.is-current { background: var(--brand); color: #fff; }

.header-search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.header-search input {
    width: 100%; height: 40px; padding: 0 16px 0 40px;
    border: 1px solid var(--line-dark); border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .06); color: #fff; outline: none;
    transition: background .2s, border-color .2s;
}
.header-search input::placeholder { color: rgba(255, 255, 255, .45); }
.header-search input:focus { background: rgba(255, 255, 255, .1); border-color: rgba(242, 7, 68, .7); }
.header-search .icon { position: absolute; left: 14px; top: 11px; color: rgba(255, 255, 255, .5); }

.live-count { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .65); white-space: nowrap; }
.live-count strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 2s infinite; }

.burger { display: none; margin-left: auto; }

/* ==========================================================================
   Layout
   ========================================================================== */
.layout { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.content { padding: 28px var(--gutter) 56px; min-width: 0; }
.container { max-width: 1360px; margin: 0 auto; padding: 28px var(--gutter) 56px; }

/* ---------- Sidebar filters ---------- */
.side {
    position: sticky; top: var(--header-h); align-self: start;
    height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--ink-950); color: rgba(255, 255, 255, .85);
    padding: 20px 14px 32px; border-right: 1px solid var(--line-dark);
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent;
}
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 14px; }
.side-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.side-close { display: none; }

.filter-group { border-radius: var(--radius-sm); }
.filter-group + .filter-group { margin-top: 2px; }
.filter-group summary {
    list-style: none; display: flex; align-items: center; gap: 10px;
    height: 42px; padding: 0 10px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500; cursor: pointer; user-select: none;
    transition: background .2s;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary:hover { background: rgba(255, 255, 255, .05); }
.filter-group summary .icon { color: rgba(255, 255, 255, .45); }
.filter-group summary .chev { margin-left: auto; transition: transform .25s var(--ease); }
.filter-group[open] summary .chev { transform: rotate(180deg); }
.filter-group[open] summary { color: #fff; }
.filter-count { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--brand); }
.filter-count + .chev { margin-left: 6px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 10px 14px; }
.filter-chips a {
    height: 30px; display: inline-flex; align-items: center; padding: 0 12px;
    border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px; color: rgba(255, 255, 255, .75);
    transition: border-color .2s, background .2s, color .2s;
}
.filter-chips a:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.filter-chips a.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

.side-promo {
    margin: 18px 4px 0; padding: 16px; border-radius: var(--radius);
    background: linear-gradient(140deg, rgba(242, 7, 68, .25), rgba(242, 7, 68, .05)); border: 1px solid rgba(242, 7, 68, .3);
}
.side-promo strong { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.side-promo p { margin: 0 0 12px; font-size: 13px; color: rgba(255, 255, 255, .65); }

/* ---------- Page heading / toolbar ---------- */
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.page-head .sub { margin-top: 4px; color: var(--ink-500); font-size: 14px; }
.page-head .sub strong { color: var(--text); }
.toolbar { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.select {
    height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23616161' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none; font-size: 14px; font-weight: 500; cursor: pointer;
}
.filters-toggle { display: none; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.active-filters .tag { height: 30px; padding: 0 8px 0 12px; gap: 4px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.active-filters .tag .icon { width: 14px; height: 14px; }
.active-filters .clear { font-size: 13px; color: var(--ink-500); text-decoration: underline; text-underline-offset: 3px; }

.quick-tags { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 22px; scrollbar-width: none; }
.quick-tags::-webkit-scrollbar { display: none; }
.quick-tags a {
    flex: none; height: 34px; display: inline-flex; align-items: center; padding: 0 14px;
    border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line);
    font-size: 13px; font-weight: 500; color: var(--ink-500); transition: border-color .2s, color .2s;
}
.quick-tags a:hover, .quick-tags a.is-current { border-color: var(--text); color: var(--text); }

/* ==========================================================================
   Model grid + tile
   ========================================================================== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }

.tile {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-900); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-media::after {
    content: ''; position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(to top, rgba(20, 20, 21, .7), transparent); pointer-events: none;
}
.tile-media .status { position: absolute; top: 10px; left: 10px; z-index: 1; }
.tile-site {
    position: absolute; top: 10px; right: 10px; z-index: 1;
    height: 24px; padding: 4px 8px; border-radius: var(--radius-pill);
    background: rgba(20, 20, 21, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tile-site img { height: 16px; width: auto; max-width: 92px; object-fit: contain; }
.tile-viewers {
    position: absolute; left: 12px; bottom: 10px; z-index: 1;
    display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #fff;
}
.tile-play {
    position: absolute; inset: 0; margin: auto; z-index: 1; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; background: var(--brand); color: #fff;
    box-shadow: 0 10px 30px -6px var(--brand-glow);
    opacity: 0; transform: scale(.85); transition: opacity .25s, transform .3s var(--ease);
}
.tile-play .icon { fill: currentColor; stroke: none; margin-left: 3px; }
.tile:hover .tile-play { opacity: 1; transform: scale(1); }
.tile.is-offline .tile-media img { filter: grayscale(.7) brightness(.8); }

.tile-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile-title { display: flex; align-items: center; gap: 8px; }
.tile-title h3 { font-size: 15px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-title .age { font-size: 13px; color: var(--ink-400); font-weight: 500; }
.tile-title .gender { margin-left: auto; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.tile-subject {
    margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em;
}
.tile-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 4px; }

/* Promo tile (replaces banner-rooms-first / second) */
.tile-promo {
    justify-content: flex-end; min-height: 100%; padding: 22px; color: #fff;
    background: radial-gradient(120% 90% at 100% 0%, rgba(242, 7, 68, .9), rgba(242, 7, 68, 0) 60%), var(--ink-950);
}
.tile-promo .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.tile-promo h3 { font-size: 24px; font-weight: 800; margin: 6px 0 8px; }
.tile-promo p { margin: 0 0 16px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.tile-promo .btn { align-self: flex-start; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--ink-500);
    transition: background .2s, color .2s;
}
.pagination a:hover { background: #efeff1; color: var(--text); }
.pagination .is-current { background: var(--text); color: #fff; }
.pagination .gap { min-width: 20px; padding: 0; }
.pagination .step { border: 1px solid var(--line); background: var(--surface); gap: 6px; }

/* ==========================================================================
   Room page
   ========================================================================== */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-400); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .icon { width: 14px; height: 14px; }

.room { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.player-card { background: var(--ink-950); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 50%); }
.player-overlay .play {
    width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
    background: var(--brand); color: #fff; box-shadow: 0 16px 40px -8px var(--brand-glow); transition: transform .3s var(--ease);
}
.player-overlay .play:hover { transform: scale(1.08); }
.player-overlay .play .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.player .status { position: absolute; top: 14px; left: 14px; }
.player .player-viewers { left: auto; right: 14px; }
.player-viewers::before { display: none; }
.player-bar { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: #fff; flex-wrap: wrap; }
.player-bar .subject { flex: 1; min-width: 220px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.player-bar .subject a { color: #ff5d86; }

.profile-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.profile-top { display: flex; align-items: center; gap: 14px; }
.avatar { position: relative; width: 72px; height: 72px; flex: none; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--brand), #ff7aa0); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); }
.avatar .dot { position: absolute; right: 3px; bottom: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--live); border: 3px solid var(--surface); }
.profile-name { font-size: 22px; font-weight: 800; word-break: break-all; }
.profile-alias { font-size: 13px; color: var(--ink-400); }
.profile-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.profile-meta div { background: #f5f5f7; border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.profile-meta strong { display: block; font-size: 15px; }
.profile-meta span { font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.profile-site { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius); background: var(--ink-950); margin-bottom: 14px; }
.profile-site img { height: 20px; width: auto; }
.profile-site span { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12px; color: rgba(255, 255, 255, .6); }
.profile-about { font-size: 14px; color: var(--ink-500); margin: 16px 0 0; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); margin: 20px 0 10px; }
.also-on { display: grid; gap: 8px; }
.also-on a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.also-on a:hover { border-color: var(--brand); }
.also-on .logo { height: 28px; padding: 6px 8px; border-radius: 6px; background: var(--ink-950); }
.also-on .logo img { height: 16px; width: auto; max-width: 90px; object-fit: contain; }
.also-on .name { font-size: 14px; font-weight: 600; }
.also-on .icon { margin-left: auto; color: var(--ink-400); }

.room-details { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 24px; }
.card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.card h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.info-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.info-row dt { font-size: 13px; color: var(--ink-400); font-weight: 500; padding-top: 3px; }
.info-row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 500; }
.offer-card { color: #fff; background: radial-gradient(120% 100% at 100% 0%, rgba(242, 7, 68, .55), transparent 60%), var(--ink-950); }
.offer-card img { height: 26px; width: auto; margin-bottom: 14px; }
.offer-card p { color: rgba(255, 255, 255, .72); font-size: 14px; margin: 0 0 18px; }

.section-head { display: flex; align-items: center; justify-content: space-between; margin: 40px 0 16px; }
.section-head h2 { font-size: 22px; font-weight: 800; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink-950); color: rgba(255, 255, 255, .6); padding: 48px var(--gutter) 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; max-width: 1360px; margin: 0 auto; }
.footer-logo img { height: 22px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer-bottom { max-width: 1360px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.badge-18 { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--brand); color: #fff; font-weight: 800; font-size: 12px; }

/* ==========================================================================
   Age gate + mobile drawer
   ========================================================================== */
.age-gate {
    position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px;
    background: rgba(20, 20, 21, .7); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.age-gate.is-open { display: grid; animation: fade .3s var(--ease); }
.age-gate-box { width: min(460px, 100%); background: var(--ink-900); color: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.age-gate .badge-18 { width: 64px; height: 64px; font-size: 20px; margin: 0 auto 16px; border-width: 3px; }
.age-gate h2 { font-size: 22px; margin-bottom: 10px; }
.age-gate p { color: rgba(255, 255, 255, .65); font-size: 14px; margin: 0 0 22px; }
.age-gate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(20, 20, 21, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(340px, 88vw);
    background: var(--ink-950); color: #fff; padding: 18px; transform: translateX(100%); transition: transform .35s var(--ease);
    display: flex; flex-direction: column; gap: 18px;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-radius: var(--radius); font-weight: 600; color: rgba(255, 255, 255, .8); }
.mobile-menu nav a.is-current { background: var(--brand); color: #fff; }
.mobile-menu .header-search { max-width: none; margin: 0; flex: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
    .room, .room-details { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1100px) {
    .header .gender-nav, .header .header-search, .header .btn-become { display: none; }
    .burger { display: inline-flex; }
    .live-count { margin-left: auto; }
    .burger { margin-left: 0; }

    .layout { grid-template-columns: minmax(0, 1fr); }
    .side {
        position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: min(320px, 88vw); height: auto;
        transform: translateX(-100%); transition: transform .35s var(--ease); border-right: 0;
    }
    .side.is-open { transform: none; }
    .side-close { display: inline-flex; }
    .filters-toggle { display: inline-flex; }

    .room, .room-details { grid-template-columns: minmax(0, 1fr); }
    .profile-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    :root { --header-h: 58px; }
    body { font-size: 14px; }
    .content, .container { padding-top: 20px; }
    .live-count span { display: none; }
    .page-head { align-items: stretch; }
    .toolbar { margin-left: 0; width: 100%; }
    .toolbar .select { flex: 1; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .tile-body { padding: 10px 10px 12px; }
    .tile-subject, .tile-tags { display: none; }
    .tile-title h3 { font-size: 14px; }
    .tile-title .gender { display: none; }
    .tile-site { top: auto; bottom: 8px; right: 8px; height: 20px; padding: 4px 7px; }
    .tile-site img { height: 12px; max-width: 58px; }
    .tile-viewers { left: 10px; bottom: 9px; }
    .tile-media .status { top: 8px; left: 8px; }
    .tile-play { display: none; }
    .tile-promo { padding: 16px; }
    .tile-promo h3 { font-size: 18px; }
    .tile-promo p { display: none; }
    .info-list { grid-template-columns: 1fr; }
    .info-row { grid-template-columns: 110px 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .player-bar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Site components (beyond the static prototype)
   ========================================================================== */

/* Banner tiles from parts/banner-rooms-* keep their affiliate creatives */
.tile-banner { display: block; min-height: 260px; background: var(--ink-950) center / contain no-repeat; }


/* Offline player */
.player.is-offline img { filter: grayscale(.6) blur(6px) brightness(.55); transform: scale(1.06); }
.player-offline { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: #fff; }
.player-offline strong { display: block; font-size: 22px; margin-bottom: 6px; }
.player-offline p { margin: 0 0 16px; color: rgba(255, 255, 255, .75); }
.status-offline-note { font-size: 13px; color: var(--ink-400); }
.avatar.is-offline .dot { background: var(--ink-400); }
.avatar.is-offline img { filter: grayscale(.6); }

/* Simple page container + prose for content pages */
.page { max-width: 880px; }
.page-narrow { max-width: 520px; margin: 0 auto; }
.prose { font-size: 15px; color: #2b2b2e; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin: 1.6em 0 .6em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Forms */
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.input, .textarea {
    width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); outline: none; transition: border-color .2s, box-shadow .2s;
}
.textarea { height: 150px; padding: 12px 14px; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input.is-invalid, .textarea.is-invalid { border-color: var(--brand); }
.field-error { display: block; margin-top: 6px; font-size: 13px; color: var(--brand); font-weight: 500; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.link { color: var(--brand); font-weight: 600; font-size: 14px; }
.alert { padding: 14px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 500; }
.alert-success { background: var(--live-soft); color: #1d7a44; }
.alert-note { background: #f5f5f7; color: var(--ink-500); }
.alert-note strong { color: var(--text); display: block; margin-bottom: 4px; }

/* Search */
.search-hero { display: grid; gap: 16px; margin-bottom: 28px; }
.search-box { display: flex; gap: 10px; }
.search-box .input { height: 52px; border-radius: var(--radius-pill); padding: 0 20px; font-size: 16px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.segmented a {
    height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; border-radius: var(--radius-pill);
    border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-500);
}
.segmented a.is-current { background: var(--text); border-color: var(--text); color: #fff; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag-cloud .tag { height: 32px; padding: 0 14px; font-size: 13px; }
.subhead { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.empty { text-align: center; padding: 56px 20px; color: var(--ink-500); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.empty strong { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }

/* A–Z */
.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.letters a {
    height: 44px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--surface);
    border: 1px solid var(--line); font-weight: 700; font-size: 15px; transition: background .2s, color .2s, border-color .2s;
}
.letters a:hover { border-color: var(--brand); color: var(--brand); }
.letters a.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.letters-group + .letters-group { margin-top: 28px; }
.letters-group h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 12px; }
.name-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 24px; }
.name-list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow .2s; min-width: 0; }
.name-list a:hover { box-shadow: var(--shadow); }
.name-list img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.name-list .is-offline img { filter: grayscale(.8); opacity: .7; }
.name-list span { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.name-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; margin-left: auto; }

/* Become a model */
.model-sites { display: grid; gap: 14px; margin-top: 20px; }
.model-site { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.model-site-logo { height: 64px; border-radius: var(--radius); background: var(--ink-950); display: grid; place-items: center; padding: 14px; }
.model-site-logo img { max-height: 30px; width: auto; }
.model-site h3 { font-size: 17px; margin-bottom: 4px; }
.model-site .desc { font-size: 14px; color: var(--ink-500); }
.model-site .pros { font-size: 13px; color: var(--ink-500); margin-top: 8px; }
.model-site .pros ul { margin: 0; padding-left: 18px; }

/* Redirect screens */
.redirecting { min-height: 50vh; display: grid; place-items: center; text-align: center; }
.spinner { width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%; border: 4px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.redirecting p { color: var(--ink-500); }

/* Error page */
.error-page { text-align: center; padding: 72px 20px; }
.error-page .code { font-size: 96px; font-weight: 800; letter-spacing: -.04em; color: var(--brand); line-height: 1; }
.error-page h1 { font-size: 26px; margin: 10px 0 8px; }
.error-page p { color: var(--ink-500); margin: 0 0 22px; }

@media (max-width: 640px) {
    .model-site { grid-template-columns: 1fr; }
    .search-box { flex-direction: column; }
    .letters { grid-template-columns: repeat(7, 1fr); }
}

/* Embedded StripchatPlayer fills the player frame */
.player-embed { position: absolute; inset: 0; }
.player-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Homepage + listing intros
   ========================================================================== */
.section { margin-top: 44px; }
.section-head .sub { font-size: 14px; color: var(--ink-500); margin-top: 4px; }
.section .section-head { margin: 0 0 16px; align-items: flex-end; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cat-card {
    position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--radius);
    background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid transparent; overflow: hidden;
    transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.cat-card::after { content: ''; position: absolute; right: -24px; top: -24px; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-soft); }
.cat-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card strong { font-size: 15px; font-weight: 700; }
.cat-card span { font-size: 13px; color: var(--ink-500); }
.cat-card .live-dot { position: absolute; top: 16px; right: 16px; z-index: 1; }

.site-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.site-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius-lg); color: #fff; background: var(--ink-950); transition: transform .2s var(--ease); }
.site-card:hover { transform: translateY(-3px); }
.site-card img { height: 26px; width: auto; max-width: 150px; object-fit: contain; object-position: left; }
.site-card div { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: rgba(255, 255, 255, .7); }
.site-card strong { color: #fff; font-size: 18px; }

.country-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.country-chips a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color .2s; }
.country-chips a:hover { border-color: var(--text); }
.country-chips .flag { font-size: 18px; line-height: 1; }
.country-chips small { color: var(--ink-400); font-variant-numeric: tabular-nums; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; color: var(--ink-500); }

.seo-block { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; margin-top: 48px; align-items: start; }
.seo-block .prose { color: var(--ink-500); font-size: 14px; }
.seo-block .prose h2 { color: var(--text); font-size: 20px; margin: 0 0 10px; }
.seo-block .prose h3 { color: var(--text); font-size: 15px; margin: 18px 0 6px; }
.faq h2 { font-size: 20px; margin-bottom: 10px; }
.faq details { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 16px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .25s var(--ease); color: var(--ink-400); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 16px 16px; font-size: 14px; color: var(--ink-500); }

/* Intro on gender and tag pages */
.listing-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 18px 20px; margin-bottom: 20px; }
.listing-intro p { margin: 0; font-size: 14px; color: var(--ink-500); max-width: 820px; }
.intro-stats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.intro-stat { padding: 8px 12px; border-radius: var(--radius-sm); background: #f5f5f7; text-align: center; min-width: 92px; }
.intro-stat strong { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.intro-stat span { font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.chip-row-label { font-size: 13px; font-weight: 600; color: var(--ink-500); margin-right: 4px; }
.chip-row .tag small { margin-left: 5px; color: var(--ink-400); }

@media (max-width: 1100px) {
    .seo-block { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .steps { grid-template-columns: 1fr; }
    .listing-intro { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
    .listing-intro p { font-size: 13px; }
    .intro-stats { justify-content: flex-start; flex-wrap: nowrap; }
    .intro-stat { flex: 1; min-width: 0; padding: 6px 8px; }
    .intro-stat span { font-size: 10px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
