:root {
    color-scheme: dark;
    --bg: #110811;
    --bg-soft: #1b0e1d;
    --panel: #241126;
    --panel-2: #2e1630;
    --text: #fff7fb;
    --muted: #c9aeba;
    --brand: #e72f73;
    --brand-2: #ff8a2b;
    --border: rgba(255,255,255,.12);
    --shadow: 0 20px 60px rgba(0,0,0,.35);
    --radius: 22px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(231,47,115,.28), transparent 28rem),
        radial-gradient(circle at top right, rgba(255,138,43,.2), transparent 24rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img, video { max-width: 100%; display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(17,8,17,.78);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem max(1rem, calc((100vw - var(--max)) / 2));
}
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; letter-spacing: .02em; }
.brand__mark {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .8rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 24px rgba(231,47,115,.25);
}
.nav { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-end; }
.nav a { color: var(--muted); padding: .55rem .75rem; border-radius: 999px; }
.nav a:hover { background: rgba(255,255,255,.08); color: var(--text); }

main { width: 100%; padding-bottom: 3rem; }
.hero, .page-title, .profile, .section, .content-block, .notice {
    width: min(var(--max), calc(100vw - 2rem));
    margin: 0 auto;
}
.hero {
    padding: 5.5rem 0 2.5rem;
    min-height: 36rem;
    display: grid;
    align-items: center;
}
.hero__content { max-width: 760px; }
.eyebrow {
    color: #ffb1cf;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem;
    font-weight: 800;
    margin: 0 0 .8rem;
}
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 5.7rem); letter-spacing: -.06em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.035em; }
h3 { font-size: 1.08rem; letter-spacing: -.02em; }
.hero p, .page-title p, .lead { color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.2rem); max-width: 760px; }
.hero__actions, .profile__actions, .age-gate__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: .72rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255,255,255,.06);
    font-weight: 800;
    cursor: pointer;
}
.button:hover { background: rgba(255,255,255,.1); }
.button--primary { border: 0; background: linear-gradient(135deg, var(--brand), #a6114f); }
.button--primary:hover { filter: brightness(1.08); }

.section { padding: 2rem 0; }
.section--dark { padding: 2.5rem 0; }
.section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.section__header a { color: #ffb1cf; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.card {
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.035));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.media { position: relative; aspect-ratio: 4 / 3; background: var(--panel); overflow: hidden; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.media:hover img { transform: scale(1.04); }
.badge {
    position: absolute;
    left: .75rem;
    top: .75rem;
    display: inline-flex;
    border-radius: 999px;
    padding: .28rem .6rem;
    background: rgba(141,0,52,.9);
    border: 1px solid rgba(255,255,255,.16);
    font-size: .78rem;
    font-weight: 900;
}
.badge--orange { background: rgba(255,133,0,.95); color: #170800; }
.card__body { padding: 1rem; display: grid; gap: .8rem; }
.card__body p { color: var(--muted); margin: 0; font-size: .95rem; }
.card .button { width: 100%; }
.muted { color: var(--muted); font-size: .88rem; }
.empty { color: var(--muted); grid-column: 1 / -1; }

.page-title { padding: 4rem 0 1rem; }
.profile {
    padding: 4rem 0 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr);
    gap: 2rem;
    align-items: center;
}
.profile__image {
    border: 1px solid var(--border);
    border-radius: 32px;
    overflow: hidden;
    background: var(--panel);
    box-shadow: var(--shadow);
}
.profile__image img { width: 100%; max-height: 620px; object-fit: contain; }
.notice, .content-block {
    margin-top: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,.05);
    padding: 1.2rem;
}
.content-block { max-width: 880px; }
.content-block p, .notice p { color: var(--muted); }
code { background: rgba(255,255,255,.09); border-radius: .4rem; padding: .1rem .28rem; }

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(12px);
}
.age-gate[hidden] { display: none; }
.age-gate__panel {
    width: min(560px, 100%);
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(180deg, #2a1230, #160b18);
    box-shadow: var(--shadow);
    padding: 1.4rem;
}
.age-gate__panel h1 { font-size: clamp(2rem, 7vw, 3.8rem); }
.age-gate__panel p { color: var(--muted); }

.c4profile video { display: none; }
.c4profile:hover video { display: block; }
.c4profile:hover img { display: none; }

.footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    padding: 2rem max(1rem, calc((100vw - var(--max)) / 2));
}
.footer p { margin: .3rem 0; }
.footer a { color: #ffb1cf; }

@media (max-width: 980px) {
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .profile { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .site-header { position: static; align-items: flex-start; flex-direction: column; }
    .nav { justify-content: flex-start; }
    .hero { min-height: auto; padding-top: 3rem; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .grid { grid-template-columns: 1fr; }
    .section__header { align-items: flex-start; flex-direction: column; }
}

.card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}
.card__actions .button { width: 100%; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
    color: var(--muted);
    margin: 0 0 1rem;
    font-size: .92rem;
}
.breadcrumbs a { color: #ffb1cf; font-weight: 800; }
.breadcrumbs strong { color: var(--text); }

.locations {
    width: min(var(--max), calc(100vw - 2rem));
    margin: 0 auto;
    padding: 2rem 0;
}
.locations__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.locations__header p { margin: .35rem 0 0; max-width: 760px; }
.location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.location-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.058), rgba(255,255,255,.032));
    box-shadow: var(--shadow);
    padding: 1rem;
}
.location-card--active {
    border-color: rgba(255,177,207,.62);
    background: linear-gradient(180deg, rgba(231,47,115,.15), rgba(255,255,255,.035));
}
.location-card__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: .85rem;
    font-size: 1.05rem;
    font-weight: 900;
}
.location-card__title strong {
    min-width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255,255,255,.09);
    color: #ffb1cf;
    font-size: .86rem;
}
.city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.city-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .38rem .56rem;
    background: rgba(255,255,255,.055);
    color: var(--muted);
    font-size: .9rem;
    font-weight: 750;
}
.city-chip:hover,
.city-chip--active {
    background: rgba(231,47,115,.18);
    color: var(--text);
}
.city-chip span {
    color: #ffb1cf;
    font-weight: 900;
}
.more-link {
    display: inline-flex;
    margin-top: .8rem;
    color: #ffb1cf;
    font-weight: 850;
}

@media (max-width: 980px) {
    .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .locations__header { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .location-grid { grid-template-columns: 1fr; }
    .card__actions { grid-template-columns: 1fr; }
}


/* Defensive centering for dynamic location/listing pages. */
main > .locations,
main > .section,
main > .page-title,
main > .profile,
main > .notice {
    width: min(var(--max), calc(100vw - 2rem));
    margin-left: auto;
    margin-right: auto;
}

/* v20260630b defensive layout patch: keep dynamic location sections inside the same centered shell as listings. */
main > .hero,
main > .page-title,
main > .profile,
main > .section,
main > .content-block,
main > .notice,
main > .locations {
    width: min(var(--max), calc(100vw - 2rem));
    max-width: var(--max);
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-title + .locations {
    padding-top: .75rem;
}

.locations,
.location-grid,
.location-card,
.city-chips {
    min-width: 0;
}
