/* ===========================================================================
   ОТТЕПЕЛЬ
   ===========================================================================
   Сайт называется «Сосульки», а выглядел как любой другой каталог: чёрный фон
   и малиновый во всём — в рамках, заголовках, ссылках, подложках. Когда акцент
   стоит везде, он не значит ничего, и отличить сайт от десятка соседних
   по вкладке невозможно.
   Теперь роли разведены:
     лёд   — интерфейс: заголовки, ссылки, рамки, статусы;
     тепло — только то, что можно нажать, и цена.
   Отсюда и температура анкеты: от ледяной к раскалённой. ------------------- */

:root {
    --bg-dark: #07070C;
    --bg-card: #0E0E15;
    --bg-card-deep: #0B0B12;
    --bg-raised: #14141E;

    --text-main: #ECEFF5;
    /* Было rgba(255,209,220,.58) — на грани читаемости.
       Сплошной цвет даёт предсказуемый контраст 6.4:1. */
    --text-muted: #96A1B5;

    --ice: #CFE7FF;
    --ice-dim: #8FA8C4;
    --ice-deep: #6E86A6;

    --heat: #FF2D6F;
    --heat-soft: #FF6B96;
    --heat-warm: #FF9A3C;

    /* Старые имена оставлены: на них завязана вся существующая разметка.
       Меняется только то, на что они указывают. */
    --accent-deep: var(--heat);
    --accent-hot: var(--heat-soft);
    --accent-lip: #FFD1DC;
    --gold: var(--ice);
    --gold-hover: #FFFFFF;

    --milk: rgba(255, 255, 255, 0.62);
    --milk-dim: rgba(255, 255, 255, 0.45);
    --red: #c0392b;
    --red-hover: #e74c3c;

    --input-bg: #12121B;
    --border-color: rgba(207, 231, 255, 0.16);
    --border-strong: rgba(207, 231, 255, 0.32);

    /* Три радиуса вместо восьми (было 3/4/8/10/12/14/16/999). */
    --r-sm: 6px;
    --r-md: 14px;
    --r-pill: 999px;

    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.55);
    --shadow-pop: 0 18px 50px rgba(0, 0, 0, 0.65);
}

html {
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 100% 45% at 50% -8%, rgba(143, 168, 196, 0.16), transparent 52%),
        radial-gradient(circle at 8% 82%, rgba(207, 231, 255, 0.05) 0%, transparent 38%),
        radial-gradient(circle at 94% 28%, rgba(255, 45, 111, 0.05) 0%, transparent 36%),
        radial-gradient(circle at 42% 58%, rgba(255, 255, 255, 0.025) 0%, transparent 30%);
    background-size: 200px 200px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    opacity: 0.42;
    mix-blend-mode: normal;
}

body.has-mobile-bottom-nav {
    padding-bottom: 0;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold-hover);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: var(--bg-card);
    border-bottom: 2px solid var(--gold);
    padding: 15px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    text-transform: none;
    letter-spacing: 0.04em;
    font-family: "Cormorant Garamond", Georgia, serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.logo-mark {
    color: var(--ice, #cfe8ff);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(255, 209, 220, 0.35));
}
.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.country-selector select {
    background: #1c0a14;
    color: var(--gold);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    outline: none;
    font-size: 13px;
}
.mobile-fav-btn {
    display: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* User Actions */
.btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

.btn-gold {
    background: linear-gradient(180deg, var(--accent-deep) 0%, #b0105e 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(180deg, var(--accent-hot) 0%, var(--accent-deep) 100%);
    color: #0A000A;
    text-shadow: none;
}

.btn-outline {
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--accent-deep);
    color: #fff;
}

/* Ticker */
.ticker-wrap {
    background: #050005;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 20, 147, 0.25);
    padding: 6px 0;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    min-height: 48px;
}

.ticker-wrap:hover .ticker-scroll {
    animation-play-state: paused;
}

.ticker {
    display: flex;
    width: max-content;
}

.ticker-scroll {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    animation: ticker-loop 50s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 4rem;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-right: 1px solid #333;
}

.ticker-label {
    background: var(--accent-deep);
    color: #fff;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 13px;
    margin-right: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.ticker-label--leaders {
    background: linear-gradient(90deg, #FF1493, #FF69B4);
    color: #fff;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.2);
}

.leader-item .ticker-count {
    color: var(--gold);
    font-size: 14px;
    margin-left: 5px;
}

.leader-ticker .ticker-item {
    border-right: 1px solid rgba(90, 30, 60, 0.55);
}

.ticker-item:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

.ticker-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.4);
}

.ticker-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a0a14;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    font-size: 24px;
}

.ticker-city {
    color: var(--gold);
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.ticker-name {
    font-weight: 700;
}

.ticker-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ticker-top {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.ticker-price {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    opacity: 0.9;
}

.card-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    margin: 8px 0;
}

@keyframes ticker-loop {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-scroll {
        animation: none !important;
    }
    .profile-card,
    .card-img {
        transition: none !important;
    }
    .profile-card:hover {
        transform: none !important;
        animation: none !important;
    }
    .profile-card:hover .card-img-wrap::after {
        opacity: 0.35;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .ticker-wrap {
        padding: 10px 0;
    }

    .leader-ticker {
        padding: 8px 0;
    }

    .ticker-item {
        padding: 0 1.25rem;
        font-size: 14px;
        gap: 10px;
    }

    .ticker-avatar,
    .ticker-avatar-placeholder {
        width: 38px;
        height: 38px;
    }

}

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 20, 20, 0.92);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 10060;
    white-space: nowrap;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .toast {
        bottom: calc(var(--mobile-nav-h) + 14px + env(safe-area-inset-bottom, 0px));
    }
}

.toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --mobile-nav-h: 64px;
    }

    body {
        padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: var(--mobile-nav-h);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(10, 0, 10, 0.94);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 10050;
    }

    .mobile-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #888;
        font-size: 11px;
        padding: 8px 6px;
        text-decoration: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: color .2s;
    }

    .mobile-bottom-nav__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        color: var(--gold);
        opacity: 0.5;
    }
    .mobile-bottom-nav__icon svg {
        width: 22px;
        height: 22px;
    }

    .mobile-bottom-nav__label {
        font-weight: 600;
        letter-spacing: 0.2px;
    }

    .mobile-bottom-nav__item:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-bottom-nav__item--active .mobile-bottom-nav__icon {
        opacity: 1;
    }
    .mobile-bottom-nav__item--active .mobile-bottom-nav__label {
        color: var(--gold);
    }
}

/* Hero / City Selection */
.hero {
    text-align: center;
    padding: 28px 20px 12px;
    background: radial-gradient(circle at center, #2a1524 0%, #0A000A 100%);
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
}

.home-bot-promo {
    margin: 16px auto 0;
    max-width: 560px;
    padding: 14px 14px;
    border: 1px solid rgba(255, 105, 180, 0.45);
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(28, 8, 22, 0.96) 0%, rgba(10, 0, 10, 0.98) 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 0 18px rgba(255, 20, 147, 0.05);
}

.home-bot-promo__title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.home-bot-promo__text {
    color: #cfcfcf;
    font-size: .98rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.home-bot-promo__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(420px, 100%);
    max-width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #2ecc71;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(46, 204, 113, 0.85);
    box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.2), 0 10px 22px rgba(46, 204, 113, 0.26);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.home-bot-promo__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.35), 0 12px 26px rgba(46, 204, 113, 0.34);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.city-card {
    background: var(--bg-card);
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: center;
}

.city-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(255,105,180,0.06);
}

.city-count {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 400;
}

/* ── Popular cities title ── */
.popular-cities__title {
    color: var(--gold);
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.popular-cities__title svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    stroke: var(--gold);
    flex-shrink: 0;
}

/* ── Popular cities grid — desktop 4 columns ── */
.popular-cities__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* ── Popular city card ── */
.city-card.popular {
    background: linear-gradient(135deg, #140812 0%, #1a0a12 100%);
    border-color: rgba(255,105,180,0.2);
    position: relative;
    overflow: hidden;
    padding: 20px;
    text-align: left;
}
.city-card.popular::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,105,180,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.city-card.popular:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: linear-gradient(135deg, #1f0c16 0%, #12000f 100%);
    box-shadow: 0 4px 20px rgba(255,105,180,0.1);
}

/* ── City card inner elements ── */
.city-card__name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    position: relative;
}
.city-card__badge {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    background: rgba(255,105,180,0.12);
    border: 1px solid rgba(255,105,180,0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    position: relative;
}

/* ── Hot cities (top-3) ── */
.city-card--hot {
    background: linear-gradient(135deg, #240818 0%, #0f000c 60%, #180510 100%) !important;
    border-color: rgba(255,105,180,0.35);
    box-shadow: 0 0 20px rgba(255,105,180,0.06);
}
.city-card--hot .city-card__name {
    font-size: 19px;
}
.city-card--hot .city-card__badge {
    background: rgba(255,105,180,0.18);
    border-color: rgba(255,105,180,0.3);
}
.city-card--hot:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 25px rgba(255,105,180,0.15);
}

/* ── Pulse indicator (hot cities) ── */
.city-card__pulse {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 6px rgba(255,105,180,0.6);
    animation: city-pulse 2s ease-in-out infinite;
}
@keyframes city-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
}

.demand-strip {
    margin: 12px 0 16px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 105, 180, 0.35);
    border-radius: 10px;
    background: rgba(255, 105, 180, 0.07);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    color: #f0e5b8;
}
.demand-strip__score {
    color: var(--gold);
    font-weight: 700;
}
.demand-strip__label {
    color: #fff;
    font-size: 13px;
}

.intent-hero {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    background: #1a1a1a;
}

.entity-city-card {
    margin: 0 0 20px;
    padding: 14px;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    background: linear-gradient(180deg, #181818 0%, #141414 100%);
}
.entity-city-card h2 {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 1.1rem;
}
.entity-city-card p {
    margin: 0 0 10px;
    color: #d6d6d6;
}
.entity-city-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.entity-city-card__list span {
    width: 100%;
    color: #9b9b9b;
    font-size: 13px;
}
.entity-city-card__list a {
    border: 1px solid #383838;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    color: #eee;
    text-decoration: none;
}
.intent-link-chip--hidden {
    display: none !important;
}
.intent-links-toggle-btn {
    border: 1px dashed #555;
    background: transparent;
    color: var(--gold);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.intent-links-toggle-btn:hover {
    border-color: var(--gold);
    background: rgba(255, 105, 180, 0.08);
}
.entity-city-card__tips {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #bdbdbd;
}

.intent-faq {
    margin-top: 28px;
    padding: 14px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #171717;
}
.intent-faq h2 {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 1.05rem;
}
.intent-faq details {
    border-top: 1px solid #2c2c2c;
    padding: 10px 0;
}
.intent-faq details:first-of-type {
    border-top: 0;
}
.intent-faq summary {
    cursor: pointer;
    color: #f2f2f2;
    font-weight: 600;
}
.intent-faq p {
    margin: 8px 0 0;
    color: #bfbfbf;
}

.catalog-bot-cta {
    margin: 10px 0 14px;
    border: 1px solid rgba(255, 105, 180, 0.45);
    border-radius: 4px;
    background: linear-gradient(180deg, #160410 0%, #0c0009 100%);
    padding: 12px 14px;
    box-shadow: inset 0 0 20px rgba(255, 105, 180, 0.06);
}
.catalog-bot-cta__title {
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 4px;
}
.catalog-bot-cta__text {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.4;
}
.catalog-bot-cta__actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.catalog-bot-cta__btn {
    display: inline-block;
    text-decoration: none;
    background: var(--accent-deep);
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), inset 0 0 10px rgba(255, 255, 255, 0.12);
}
.catalog-bot-cta__link {
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
}

/* Forms */
.auth-box {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Premium Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #bbb;
    font-size: 14px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid rgba(255, 20, 147, 0.22);
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold);
    background: #2a2a2a;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Custom Checkboxes & Radios */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Dashboard Grids */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.premium-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.premium-card h3 {
    color: var(--gold);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

/* Service Items */
.service-item {
    background: #252525;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: border-color 0.3s;
}

.service-item:hover {
    border-color: #555;
}

.service-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

.service-item span {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}

.service-item input[type="number"] {
    background: #1a1a1a !important;
    border: 1px solid #444;
    color: #fff !important;
    font-size: 14px;
    padding: 8px;
    margin-top: 5px;
}

.service-item input[type="number"]:focus {
    border-color: var(--gold);
}

.dashboard-services-wrap {
    max-height: 620px;
    overflow: auto;
    padding-right: 4px;
}

.dashboard-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

/* Profile Cards Positioning & Layout */
@keyframes card-wet-shake {
    0%, 100% { transform: translateY(4px) rotate(0deg); }
    20% { transform: translateY(3px) rotate(-0.45deg); }
    40% { transform: translateY(5px) rotate(0.38deg); }
    60% { transform: translateY(4px) rotate(-0.28deg); }
    80% { transform: translateY(4px) rotate(0.22deg); }
}

.profile-card {
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(255, 20, 147, 0.42);
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow:
        8px 10px 0 rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 105, 180, 0.38),
        inset 0 0 22px rgba(255, 209, 220, 0.06);
}

.profile-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        10px 14px 0 rgba(0, 0, 0, 0.42),
        0 0 30px rgba(255, 20, 147, 0.48),
        inset 0 0 0 1px rgba(255, 255, 255, 0.22),
        inset 0 0 34px rgba(255, 255, 255, 0.08);
}

.profile-card--recommended {
    border-color: rgba(255, 105, 180, 0.38);
}

.profile-card--similar {
    border-color: rgba(255, 105, 180, 0.24);
    background: rgba(18, 0, 14, 0.72);
}

/* Колонка меток на фото: основные сверху, «вкусовая» всегда снизу стека, всё слева */
.card-badges-stack {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 58px);
    pointer-events: none;
}

.card-flavor-badge {
    flex-shrink: 0;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 209, 220, 0.30) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.5),
        inset 0 0 12px rgba(255, 105, 180, 0.32);
    line-height: 1.2;
    text-align: left;
    pointer-events: none;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

.card-img-wrap {
    flex: 1 1 auto;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 240px;
    max-height: 420px;
    height: auto;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    overflow: hidden;
}

.card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.5) 0%, transparent 3px),
        radial-gradient(circle at 74% 36%, rgba(255, 255, 255, 0.38) 0%, transparent 2px),
        radial-gradient(circle at 46% 58%, rgba(255, 255, 255, 0.3) 0%, transparent 2.5px),
        radial-gradient(circle at 86% 68%, rgba(255, 209, 220, 0.45) 0%, transparent 2px),
        radial-gradient(ellipse 130% 28% at 50% 2%, rgba(255, 255, 255, 0.12), transparent 58%);
    mix-blend-mode: screen;
}

.profile-card:hover .card-img-wrap::after {
    opacity: 1;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.45s ease, filter 0.35s ease;
}

.profile-card:hover .card-img {
    transform: scale(1.04);
    filter: brightness(1.07) contrast(1.04) saturate(1.12);
}

.card-verified {
    position: relative;
    flex-shrink: 0;
    background: rgba(46, 204, 113, 0.30);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-featured {
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(255,106,0,0.30), rgba(255,179,0,0.30));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #1a0000;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 3px;
    letter-spacing: 0.3px;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(255, 200, 0, 0.4);
    animation: featured-pulse 2.4s ease-in-out infinite;
}

@keyframes featured-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 140, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.2); }
    50%       { box-shadow: 0 0 18px rgba(255, 180, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.45), inset 0 0 10px rgba(255, 255, 255, 0.25); }
}

.card-vip {
    position: relative;
    flex-shrink: 0;
    background: rgba(255, 105, 180, 0.30);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #0A000A;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.25);
}

.card-customer-pick {
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(173,32,128,0.30), rgba(255,20,147,0.30));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.12);
    letter-spacing: 0.2px;
}

.card-hot {
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(229,57,53,0.30), rgba(255,111,0,0.30));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(229, 57, 53, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.2px;
}

.card-newcomer {
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(21,101,192,0.30), rgba(66,165,245,0.30));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(66, 165, 245, 0.4), 0 2px 6px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.2px;
}

.profile-card--featured {
    border-color: rgba(255, 191, 0, 0.95);
    box-shadow:
        8px 10px 0 rgba(60, 30, 0, 0.5),
        0 0 28px rgba(255, 170, 0, 0.55),
        0 0 10px rgba(255, 210, 80, 0.35),
        inset 0 0 0 1px rgba(255, 220, 120, 0.45);
}
.profile-card--featured:hover {
    border-color: #ffd24a;
    box-shadow:
        10px 14px 0 rgba(60, 30, 0, 0.38),
        0 0 38px rgba(255, 190, 0, 0.72),
        inset 0 0 0 1px rgba(255, 240, 180, 0.55);
}
.profile-card--featured .card-img {
    transition: opacity 0.5s ease;
}
.profile-card--vip {
    border-color: rgba(255, 105, 180, 0.88);
    box-shadow:
        8px 10px 0 rgba(0, 0, 0, 0.55),
        0 0 18px rgba(255, 105, 180, 0.4),
        inset 0 0 0 1px rgba(255, 160, 200, 0.32);
}
.profile-card--vip:hover {
    border-color: rgba(255, 145, 205, 0.95);
    box-shadow:
        10px 14px 0 rgba(0, 0, 0, 0.42),
        0 0 26px rgba(255, 20, 147, 0.5),
        inset 0 0 0 1px rgba(255, 180, 210, 0.4);
}

.profile-card-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, #160410 0%, #0a0008 100%);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card-name {
    margin: 0;
    font-size: 17px;
    color: var(--gold);
    font-weight: 700;
    line-height: 1.2;
}

.card-name a {
    color: var(--gold);
    text-decoration: none;
}

.card-age {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: -2px;
}

.card-meta i,
.card-meta span.icon {
    color: var(--gold);
    font-size: 14px;
}

.card-price {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.card-price::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    margin-top: 6px;
    border-radius: 1px;
}

/* Card Photo Overlay */
.card-img-wrap-outer { position: relative; }
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 12px 10px;
    background: linear-gradient(0deg, rgba(10,0,10,0.92) 0%, rgba(255,20,147,0.12) 45%, transparent 100%);
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.card-overlay__name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.card-overlay__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}
.card-overlay__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-overlay__views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    justify-self: end;
    flex-shrink: 0;
}
.card-overlay__views svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}
.profile-card-content--compact {
    padding: 10px 14px !important;
    gap: 6px !important;
}

/* Skeleton Loader */
.skeleton-img {
    background: linear-gradient(90deg, #160810 25%, #2a1520 50%, #160810 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-deep);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.back-to-top--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent-hot);
    color: #0A000A;
}
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 768px) {
    .back-to-top {
        bottom: calc(var(--mobile-nav-h) + 16px + env(safe-area-inset-bottom, 0px));
        right: 14px;
        width: 40px;
        height: 40px;
    }
}

/* Sticky Contacts — Profile Mobile */
.profile-sticky-contacts {
    display: none;
}
@media (max-width: 768px) {
    .profile-sticky-contacts {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10049;
        background: rgba(18,18,18,0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255,105,180,0.15);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }
    .mobile-bottom-nav--hidden {
        display: none !important;
    }
    body:has(.profile-sticky-contacts) {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    }
    body:has(.profile-sticky-contacts) .back-to-top {
        bottom: calc(62px + 12px + env(safe-area-inset-bottom, 0px));
    }
    .profile-sticky-contacts .btn {
        flex: 1;
        text-align: center;
        padding: 10px 6px;
        font-size: 13px;
        border-radius: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .profile-sticky-contacts .btn svg {
        vertical-align: -2px;
        margin-right: 4px;
    }
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.photo-item {
    aspect-ratio: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.photo-item:hover {
    border-color: var(--gold);
}

.photo-item.photo-item-uploading {
    border: 2px dashed var(--gold);
    opacity: 0.8;
}

.photo-upload-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border: 3px solid rgba(255, 105, 180, 0.3);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(192, 57, 43, 0.9);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    border: none;
    z-index: 5;
    transition: all 0.2s;
}

.photo-delete:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

.photo-add-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #252525;
    color: #aaa;
    border: 2px dashed #444;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    aspect-ratio: 1;
}

.photo-add-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: #2a2a2a;
}

/* Upload Overlay */
.upload-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.upload-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 105, 180, 0.1);
    border-left-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Favorites System */
.btn-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
    font-size: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-fav:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--gold);
}

.card-views {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.card-views .icon {
    font-size: 14px;
}

.btn-fav.active {
    background: var(--accent-deep);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-fav.active i,
.btn-fav.active span {
    animation: heartPulse 0.3s ease;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.fav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.fav-count {
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    position: absolute;
    top: -5px;
    right: -10px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
}

.fav-count.active {
    opacity: 1;
    transform: scale(1);
}

.profile-contact-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-large {
    font-size: 1.1rem;
    padding: 12px 25px;
}

.profile-fav-wrap {
    margin-top: 15px;
}

.btn-fav-large {
    position: relative;
    bottom: auto;
    right: auto;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #222;
    border: 1px solid #444;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-fav-large:hover {
    border-color: var(--gold);
}

.btn-fav-large.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Profile Page */
.profile-page {
    margin-top: 30px;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

/* Catalog: кнопка "Фильтры" и чипы (на мобильных кнопка видна) */
.catalog-filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 12px;
}
.catalog-filters-count {
    background: rgba(0,0,0,0.2);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 13px;
}
.catalog-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.catalog-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-main);
    text-decoration: none;
}
.catalog-filter-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.catalog-filters-close {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
}
.catalog-filters-close:hover {
    background: var(--gold);
    color: #000;
}

.profile-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.profile-interactions-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.premium-form {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .profile-layout {
        flex-direction: column;
        gap: 30px;
    }

    .profile-interactions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    /* Header Mobile: compact, no duplicate nav */
    header {
        padding: 8px 0;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-hide {
        display: none !important;
    }

    .nav-flex {
        flex-direction: row;
        gap: 8px;
        text-align: left;
        align-items: center;
    }

    .logo {
        font-size: 18px;
        letter-spacing: 0.04em;
        flex-shrink: 0;
    }

    .user-actions {
        display: flex;
        gap: 6px;
        margin-left: auto;
        width: auto;
        align-items: center;
    }

    .country-selector {
        flex: 0 1 110px;
        min-width: 0;
    }

    .mobile-fav-btn {
        display: inline-flex;
        position: relative;
    }
    .mobile-fav-btn .fav-count {
        position: absolute;
        top: -6px;
        right: -8px;
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        border-radius: 99px;
        background: var(--accent-deep);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .country-selector select {
        width: 100%;
        padding: 8px 6px;
        font-size: 12px;
    }

    .user-actions .btn {
        flex: 1;
        text-align: center;
        padding: 8px 4px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Catalog Mobile Layout */
    .catalog-container {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .catalog-filters-toggle {
        display: inline-flex;
    }

    .catalog-container aside,
    .catalog-filters {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        max-height: 80vh;
        overflow: auto;
        z-index: 10070;
        transform: translateY(110%);
        transition: transform .28s ease;
        border-radius: 16px 16px 0 0 !important;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box;
    }
    .catalog-filters.is-open {
        transform: translateY(0);
    }
    .catalog-filters-close {
        display: block;
    }

    /* Grid Adjustments */
    .profiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        gap: 15px !important;
    }

    .card-img-wrap {
        min-height: 200px !important;
        max-height: 360px;
        aspect-ratio: 3 / 4;
        height: auto !important;
    }

    /* Dashboard grids */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-services-wrap {
        max-height: 480px;
    }

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

    .service-item {
        padding: 10px;
    }

    .service-item span {
        font-size: 13px;
    }

    .service-item label {
        margin-bottom: 8px;
        gap: 8px;
    }

    .service-item input[type="number"] {
        font-size: 12px;
        padding: 6px;
    }

    .premium-card {
        padding: 20px;
    }

    .hero h1 {
        font-size: 1.45rem;
    }

    .home-bot-promo {
        max-width: 100%;
        margin-top: 12px;
        padding: 12px;
        border-radius: 12px;
    }

    .home-bot-promo__title {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .home-bot-promo__text {
        font-size: .92rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .home-bot-promo__btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 42px;
        font-size: .95rem;
        border-radius: 10px;
    }

    .catalog-bot-cta {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .catalog-bot-cta__title {
        font-size: 15px;
    }

    .catalog-bot-cta__text {
        font-size: 13px;
    }

    .catalog-bot-cta__btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .city-grid {
        gap: 8px;
    }

    /* Base city-card mobile fallback */
    .city-card {
        padding: 12px 15px;
        font-size: 14px;
        text-align: center;
        box-sizing: border-box;
    }

    .city-card:hover {
        transform: none;
    }

    /* Popular cities: 2-column grid (all visible) */
    .popular-cities__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
    }

    .city-card.popular {
        padding: 12px;
        text-align: left;
    }
    .city-card__name {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .city-card--hot .city-card__name {
        font-size: 14px;
    }
    .city-card__badge {
        margin-top: 5px;
        padding: 2px 7px;
        font-size: 10px;
    }
    .city-card__pulse {
        width: 6px;
        height: 6px;
        top: 8px;
        right: 8px;
    }

    .demand-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .entity-city-card {
        padding: 12px;
    }
    .intent-faq {
        padding: 12px;
    }

    /* Accordion cities: 2-column grid */
    .all-countries-accordion .city-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .all-countries-accordion .city-card {
        padding: 10px 12px;
        font-size: 14px;
        text-align: center;
        width: auto;
    }

    /* Profile Mobile Fixes */
    .profile-contact-actions {
        flex-direction: column;
        gap: 10px;
    }

    .profile-contact-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .profile-fav-wrap {
        margin-top: 10px;
    }

    .btn-fav-large {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    user-select: none;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    transition: opacity 0.2s ease;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10002;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10003;
    transition: all 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }
}

@media (max-width: 768px) {
    .lightbox-nav {
        display: none;
        /* Swipe only on small mobile */
    }

    .lightbox-counter {
        bottom: 20px;
    }
}

.photo-main-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 105, 180, 0.9);
    color: #000;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    padding: 3px;
    pointer-events: none;
    z-index: 5;
}

.photo-set-main {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    padding: 0;
    z-index: 6;
}

.photo-set-main:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.1);
}

/* ===== UX overhaul ===== */
h1, h2, .section-title, .section-kicker {
    font-family: "Cormorant Garamond", Georgia, serif;
}
.section-title { color: var(--gold); text-align: center; margin: 0 0 22px; font-size: 1.8rem; }
.section-kicker {
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .4px;
    margin: 8px 0 14px;
}
.hero__sub { color: var(--text-muted); margin: 0 0 18px; }
.home-feed { margin-top: 28px; }
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.empty-state { text-align: center; color: #888; padding: 40px 16px; background: var(--bg-card); border-radius: 12px; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--border-color); background: transparent; color: var(--gold); cursor: pointer;
}
.icon-btn.is-on { background: rgba(255,20,147,.18); }
.incognito-toggle { color: var(--ice-dim); }
html.is-incognito .card-overlay__name,
html.is-incognito .profile-head h1,
html.is-incognito .logo span { filter: blur(7px); }
html.is-night body::before {
    opacity: .62;
}
/* Раньше иней со ВСЕХ карточек сходил разом, стоило прокрутить 80 пикселей.
   Теперь тает у каждой отдельно, когда она попадает в поле зрения
   (класс is-thawed, см. main.js) — поэтому общее правило убрано. */
.sudo-bar {
    background: #9b59b6; color: #fff; padding: 8px; text-align: center; font-weight: 700;
    position: sticky; top: 0; z-index: 10000; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-color);
    color: var(--text-main); background: var(--bg-card); font-size: 13px; text-decoration: none; cursor: pointer;
}
.chip.is-active, .chip:hover { border-color: var(--gold); color: var(--gold); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.range-row { display: flex; gap: 6px; }
.range-row .form-control { width: 50%; }
.check-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.muted { color: #888; }
.pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; margin-left: 6px; }
.pill--ok { background: rgba(46,204,113,.3); }
.pill--vip { background: rgba(255,105,180,.3); color: #0A000A; }
.pill--featured {
    background: linear-gradient(90deg, rgba(255,191,0,.45), rgba(255,170,0,.35));
    color: #1a0000;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.45);
}
.pill--online { background: rgba(46,204,113,.45); }

.profile-card::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none; z-index: 8; border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(232,244,255,.12), transparent 28%),
        radial-gradient(circle at 80% 8%, rgba(255,255,255,.18), transparent 22%);
    opacity: .45;
    mix-blend-mode: screen;
    transition: opacity .35s;
}
.profile-card:hover::before, .profile-card:active::before { opacity: 0; }
.card-online { background: rgba(46,204,113,.45); color: #fff; padding: 3px 10px; font-size: 10px; font-weight: 800; border-radius: 3px; }
.card-flavor-badge--guest { background: linear-gradient(135deg, rgba(185,28,28,.35), rgba(239,68,68,.3)); color: #fff; }
.card-flavor-badge--tour { background: linear-gradient(135deg, rgba(15,118,110,.3), rgba(20,184,166,.3)); color: #fff; }
.btn-compare {
    position: absolute; top: 50px; right: 10px; z-index: 10;
    width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
    background: rgba(10,0,10,.55); color: #fff; cursor: pointer; font-size: 16px; line-height: 1;
}
.btn-compare.is-on { background: var(--accent-deep); }
.card-photo-dots {
    position: absolute; left: 0; right: 0; bottom: 52px; z-index: 6;
    display: flex; justify-content: center; gap: 4px; pointer-events: none;
}
.card-photo-dots i {
    width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.35);
}
.card-temp {
    display: block; height: 2px; margin-top: 6px; border-radius: 2px;
    background: linear-gradient(90deg, var(--ice-dim), transparent);
}
.card-temp--warm { background: linear-gradient(90deg, #ffb347, var(--accent-hot)); }
.card-temp--hot { background: linear-gradient(90deg, var(--accent-deep), #fff); box-shadow: 0 0 8px rgba(255,20,147,.6); }
.profile-card--icicle { border-color: var(--ice-dim); box-shadow: 0 0 24px rgba(184,212,232,.18); }
.profile-card--available { border-color: rgba(46,204,113,.55); }
.profile-card--featured.profile-card--available {
    border-color: rgba(255, 191, 0, 0.95);
}
.profile-card--vip.profile-card--available {
    border-color: rgba(255, 105, 180, 0.88);
}
.catalog-shelf { margin: 0 0 26px; }
.catalog-shelf--top .section-kicker { color: #ffbf3a; text-shadow: 0 0 12px rgba(255, 191, 0, 0.35); }
.catalog-shelf--vip .section-kicker { color: #ff69b4; }
.feed-mode .profiles-grid#catalogGrid { grid-template-columns: 1fr !important; }
.feed-mode #catalogGrid .card-img-wrap { max-height: none; min-height: 70vh; }

.catalog-page { margin-top: 18px; }
.catalog-container { display: flex; gap: 30px; }
.catalog-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 10px; }
.catalog-toolbar h1 { margin: 0; font-size: 1.45rem; color: var(--gold); }
.catalog-toolbar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-intro { color: #ccc; font-size: 15px; margin: 0 0 12px; }
.catalog-sort, .catalog-service-chips, .night-block { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.night-block { align-items: center; padding: 8px 10px; border: 1px solid rgba(255,20,147,.25); border-radius: 12px; background: rgba(255,20,147,.06); }
.catalog-filters { position: relative; width: 250px; flex-shrink: 0; background: var(--bg-card); padding: 20px; border-radius: 8px; height: fit-content; }
.catalog-filters-backdrop { display: none; }
.catalog-main { flex-grow: 1; min-width: 0; }
.catalog-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 12px 14px; background: #181018; border: 1px solid #2b2b2b; border-radius: 10px; }
.catalog-extra { margin-top: 36px; padding-top: 24px; border-top: 1px solid #2b2b2b; }
.filters-reset { display: block; text-align: center; margin-top: 10px; font-size: .9rem; }
.icicle-of-day { margin-bottom: 22px; }
.icicle-of-day__grid { max-width: 360px; }
.district-map { margin-top: 36px; }
.district-map__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.district-pin {
    padding: 18px 12px; text-align: center; border-radius: 14px;
    border: 1px solid var(--ice-dim); color: var(--ice); background: linear-gradient(180deg, rgba(184,212,232,.12), rgba(10,0,10,.8));
}
.recent-strip { margin: 8px 0 16px; }
.recent-strip__row { display: flex; gap: 10px; overflow: auto; padding-bottom: 6px; }
.recent-mini { width: 72px; flex-shrink: 0; text-align: center; color: #ddd; font-size: 11px; text-decoration: none; }
.recent-mini img { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 4px; border: 1px solid var(--border-color); }

.site-footer { border-top: 1px solid #333; margin-top: 60px; padding: 30px 0 20px; }
.footer-bot { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; padding: 14px; border: 1px solid var(--border-color); border-radius: 12px; }
.footer-bot__title { color: #fff; font-weight: 800; }
.footer-bot__text { color: #aaa; font-size: 13px; }
.footer-row { margin-bottom: 12px; color: #888; font-size: 13px; }
.footer-row a { color: #888; }
.footer-label { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-right: 6px; }
.footer-copy { border-top: 1px solid #222; padding-top: 15px; color: #555; font-size: 11px; }
.footer-copy p { margin: 0 0 8px; }

.all-countries-accordion { margin-top: 28px; text-align: left; }
.all-countries-accordion__title { color: #666; font-size: 1rem; margin-bottom: 16px; text-transform: uppercase; }
.country-accordion-item { margin-bottom: 10px; border: 1px solid #333; border-radius: 8px; overflow: hidden; background: #1a1a1a; }
.accordion-header { padding: 15px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #222; }
.accordion-header:hover { background: #2a2a2a; }
.accordion-content .city-grid { padding: 16px; }
.country-accordion-item.active .accordion-content { max-height: none; padding: 0 20px 20px; }
.seo-block-wrap { margin: 50px 0 30px; }
.seo-block { background: #1a1a1a; border-radius: 12px; padding: 30px; border: 1px solid #222; color: #888; font-size: 14px; line-height: 1.8; }
.seo-block h2 { color: var(--gold); font-size: 1.2rem; margin-top: 0; }

.profile-gallery { flex: 1; min-width: 280px; max-width: 500px; }
.profile-gallery__main { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid #333; aspect-ratio: 3/4; background: #11000d; }
.profile-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; cursor: pointer; }
.profile-gallery__img.is-active { opacity: 1; z-index: 1; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 24px; cursor: pointer;
}
.gallery-prev { left: 8px; } .gallery-next { right: 8px; }
.gallery-counter { position: absolute; bottom: 10px; right: 10px; z-index: 3; background: rgba(0,0,0,.5); color: #fff; padding: 3px 8px; border-radius: 999px; font-size: 12px; }
.profile-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.profile-thumb { border: 1px solid #333; padding: 0; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.profile-thumb.is-active { border-color: var(--gold); }
.profile-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.profile-info { flex: 2; min-width: 280px; }
.profile-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.profile-head h1 { margin: 0; color: var(--gold); font-size: 1.8rem; }
.profile-head__meta { margin-top: 6px; color: #ccc; }
.profile-price-hero { font-size: 1.3rem; font-weight: 800; color: var(--gold); text-align: right; }
.profile-price-hero small { display: block; font-size: 12px; color: #aaa; font-weight: 500; }
.profile-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.btn-large { padding: 12px 18px; }
.btn-tg { border-color: #0088cc !important; color: #0088cc !important; }
.btn-wa { background: #25d366 !important; color: #fff !important; border: none; }
.profile-fav-wrap { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.profile-params-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--bg-card); padding: 16px; border-radius: 8px; }
.profile-params-grid__full { grid-column: span 2; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.price-table td { padding: 10px 0; border-bottom: 1px solid #333; }
.price-table td:last-child { text-align: right; font-weight: 700; }
.profile-about { background: var(--bg-card); padding: 16px; border-radius: 8px; line-height: 1.6; }
.service-chip { background: #2a1520; padding: 5px 10px; border-radius: 4px; font-size: 14px; color: #fff; border: 1px solid transparent; text-decoration: none; }
a.service-chip { border-color: var(--gold); }
.similar-block { margin-top: 40px; }
.review-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.review-card { background: var(--bg-card); padding: 14px; border-radius: 8px; border: 1px solid #333; }
.review-card__head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.review-reply { margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--gold); }
.star-picker { display: flex; gap: 4px; margin-bottom: 10px; }
.star-btn { background: none; border: none; color: #555; font-size: 22px; cursor: pointer; }
.star-btn.is-on { color: var(--gold); }
.compact-form { padding: 16px; }
.profile-page h2 { color: var(--gold); font-size: 1.2rem; margin-top: 28px; }

.warn-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.78); z-index: 99999; display: none; align-items: center; justify-content: center; padding: 16px; }
.warn-overlay.is-open { display: flex; }
.warn-overlay[hidden] { display: none !important; }
.warn-overlay__panel {
    background: #120814; border: 1px solid var(--ice-dim); border-radius: 14px; max-width: 460px; width: 100%; padding: 24px;
    box-shadow: 0 0 40px rgba(184,212,232,.18);
}
.warn-overlay__title { color: var(--ice); font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; font-family: "Cormorant Garamond", Georgia, serif; }
.warn-overlay__strong { color: #fff; font-weight: 700; }

.compare-tray {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 10055; display: flex; align-items: center; gap: 10px;
    background: rgba(18,0,14,.94); border: 1px solid var(--border-color); border-radius: 14px; padding: 8px 10px;
    max-width: calc(100vw - 16px);
}
.compare-tray[hidden] { display: none !important; }
.compare-tray__items { display: flex; gap: 8px; }
.compare-tray__items img { width: 36px; height: 48px; object-fit: cover; border-radius: 6px; }
.compare-modal { position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 10080; display: flex; align-items: center; justify-content: center; padding: 16px; }
.compare-modal[hidden] { display: none !important; }
.compare-modal__panel { background: #12000f; border: 1px solid var(--border-color); border-radius: 14px; max-width: 900px; width: 100%; max-height: 90vh; overflow: auto; padding: 20px; position: relative; }
.compare-modal__close { position: absolute; top: 8px; right: 10px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }
.compare-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.compare-col { background: #1a0a14; border-radius: 10px; padding: 10px; text-align: center; }
.compare-col img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }

.fate-overlay, .stories-overlay, .panic-overlay, .exit-intent, .more-sheet {
    position: fixed; inset: 0; z-index: 10085; background: rgba(0,0,0,.82);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.fate-overlay[hidden], .stories-overlay[hidden], .panic-overlay[hidden], .exit-intent[hidden], .more-sheet[hidden] { display: none !important; }
.fate-overlay { flex-direction: column; }
.fate-overlay__card { max-width: 360px; width: 100%; }
.fate-overlay__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.stories-overlay { flex-direction: column; background: #000; }
.stories-bar { display: flex; gap: 4px; width: min(420px, 100%); }
.stories-bar i { flex: 1; height: 3px; background: rgba(255,255,255,.25); }
.stories-bar i.is-on { background: #fff; }
.stories-img { max-height: 78vh; max-width: 100%; object-fit: contain; margin-top: 12px; }
.stories-meta { color: #fff; margin-top: 10px; }
.panic-overlay { background: #0b1a28; }
.panic-overlay__box { text-align: center; color: #d9ecff; }
.panic-overlay__temp { font-size: 4rem; font-family: "Cormorant Garamond", Georgia, serif; }
.exit-intent__panel { background: #12000f; border: 1px solid var(--gold); border-radius: 14px; padding: 20px; max-width: 720px; width: 100%; position: relative; }
.exit-intent__close { position: absolute; top: 8px; right: 10px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }
.exit-intent__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.more-sheet { align-items: flex-end; }
.more-sheet__panel {
    background: #12000f; border-radius: 16px 16px 0 0; width: 100%; max-width: 520px; padding: 18px 16px 28px;
    display: flex; flex-direction: column; gap: 8px;
}
.more-sheet__panel a, .more-sheet__panel button {
    background: #1a0a14; border: 1px solid #333; color: #fff; padding: 12px; border-radius: 10px; text-align: left; font-size: 15px; cursor: pointer; text-decoration: none;
}
.more-sheet__close { align-self: flex-end; width: 36px; background: none; border: none; color: #fff; font-size: 24px; }

.dash-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dash-step-panel { display: none; }
.dash-step-panel.is-active { display: block; }
.dash-status { margin-top: 0; border: none; font-size: 1.2rem; }
.dash-status--off { color: #e67e22; }
.dash-status--on { color: var(--gold); }
.available-box { margin-top: 16px; }
.favorites-page { margin-top: 36px; min-height: 50vh; }
.fav-folders { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

@media (max-width: 768px) {
    .profiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    .catalog-filters-backdrop.is-on {
        display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 10065;
    }
    .compare-tray { bottom: calc(var(--mobile-nav-h, 64px) + 10px + env(safe-area-inset-bottom, 0px)); }
    .exit-intent__grid { grid-template-columns: 1fr; }
    .catalog-toolbar h1 { font-size: 1.2rem; }
    .compare-table { grid-template-columns: 1fr; }
}

/* ===========================================================================
   ОТТЕПЕЛЬ — слой поверх старых правил
   ===========================================================================
   Лежит в конце файла осознанно: перебивает точечные легаси-значения,
   не переписывая полторы тысячи строк выше.
   -------------------------------------------------------------------------- */

/* --- Легаси-серые ---------------------------------------------------------
   #1a1a1a, #222, #333, #2b2b2b и #555 остались от исходного шаблона.
   Они выпадали из темы (сайт малиновый, а блоки нейтрально-серые),
   а #555 на тёмном фоне давал контраст 2.6:1 — текст копирайта
   физически не читался.                                                     */

.seo-block,
.country-accordion-item,
.catalog-pager,
.review-card,
.compare-col,
.more-sheet__panel a,
.more-sheet__panel button {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.accordion-header { background: var(--bg-raised); }
.accordion-header:hover { background: #1B1B27; }

.seo-block,
.footer-row,
.footer-row a,
.muted,
.catalog-intro {
    color: var(--text-muted);
}

.footer-copy { color: var(--ice-deep); border-top-color: var(--border-color); }
.site-footer { border-top-color: var(--border-color); }
.catalog-extra,
.price-table td,
.profile-gallery__main,
.profile-thumb { border-color: var(--border-color); }
.all-countries-accordion__title { color: var(--ice-dim); }
.star-btn { color: var(--ice-deep); }
.empty-state {
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
}

/* --- Радиусы: три вместо восьми ------------------------------------------ */
.btn, .form-control, .service-chip, .card-online,
.card-vip, .card-featured, .card-hot, .card-newcomer,
.card-customer-pick, .card-verified, .card-flavor-badge { border-radius: var(--r-sm); }

.profile-card, .catalog-filters, .seo-block, .review-card, .empty-state,
.compare-tray, .compare-modal__panel, .warn-overlay__panel, .district-pin,
.country-accordion-item, .catalog-pager, .footer-bot, .city-card { border-radius: var(--r-md); }

.chip, .pill, .catalog-filter-chip { border-radius: var(--r-pill); }

/* --- Шапка ---------------------------------------------------------------
   На странице города высотой 10 000 пикселей уйти в избранное или сменить
   город можно было только прокруткой в самый верх. На мобильных для этого
   есть нижняя панель, на десктопе не было ничего.                           */
header {
    background: rgba(14, 14, 21, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 900;
}

.logo { color: var(--ice); letter-spacing: 0.02em; }
.logo-mark { color: var(--ice); filter: drop-shadow(0 0 8px rgba(207, 231, 255, 0.45)); }

/* --- Кнопки --------------------------------------------------------------
   .btn-gold при наведении менял белый текст на чёрный — резкая инверсия,
   которая читается как сбой отрисовки. Теперь меняется только светимость.   */
.btn { border-radius: var(--r-sm); }

.btn-gold {
    background: linear-gradient(180deg, var(--heat-soft) 0%, var(--heat) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 45, 111, 0.28);
}
.btn-gold:hover {
    background: linear-gradient(180deg, #FF87AB 0%, var(--heat-soft) 100%);
    color: #fff;
    text-shadow: none;
    box-shadow: 0 8px 24px rgba(255, 45, 111, 0.42);
}
.btn-gold.is-empty {
    background: var(--bg-raised);
    color: var(--text-muted);
    box-shadow: none;
}

.btn-outline { border-color: var(--border-strong); color: var(--ice); }
.btn-outline:hover { background: rgba(207, 231, 255, 0.1); color: #fff; border-color: var(--ice); }

/* --- Панель инструментов каталога ---------------------------------------- */
.catalog-toolbar__actions { gap: 8px; }

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* 44px по высоте — минимальная цель для пальца. Было 28-38. */
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .2s, background .2s, color .2s;
}
.tool-btn:hover { border-color: var(--border-strong); color: var(--ice); }
.tool-btn svg { flex-shrink: 0; opacity: .75; }
.tool-btn--primary { border-color: var(--border-strong); color: var(--ice); }

/* «Свободна сейчас» — единственный зелёный элемент интерфейса.
   Зелёный здесь не украшение: он отвечает на главный вопрос посетителя. */
.tool-btn--live .tool-btn__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, .18);
    animation: live-pulse 2.6s ease-in-out infinite;
}
.tool-btn--live.is-active {
    border-color: rgba(46, 204, 113, .65);
    background: rgba(46, 204, 113, .12);
    color: #7ee2a8;
}
@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(46, 204, 113, .18); }
    50%      { box-shadow: 0 0 0 6px rgba(46, 204, 113, .05); }
}

.catalog-filters-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: var(--r-pill);
    background: var(--heat); color: #fff;
    font-size: 11px; font-weight: 800;
}

/* --- Витрина -------------------------------------------------------------
   Заменила три вертикальные полки: «Сосулька дня» (444px), «ТОП» (335px)
   и «VIP» (1525px). Вместе они отодвигали первую карточку каталога
   на 3298 пикселей — почти четыре экрана на телефоне.                       */
.catalog-showcase { margin: 0 0 22px; }

.catalog-showcase__kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ice);
    margin-bottom: 10px;
}
.catalog-showcase__kicker::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-strong), transparent);
}

/* Никакой боковой прокрутки — ни на телефоне, ни на десктопе.
   Замер живой страницы Алматы на экране 1280: в ленте 15 платных карточек,
   в колонку шириной 880 пикселей помещались четыре, остальные 2144 пикселя
   уезжали вправо. Человек платит за то, что его видно, а видно было четверых.
   Сетка переносит карточки на следующий ряд: показаны все. */
.catalog-showcase__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 2px;
}

.profile-card--showcase {
    width: auto;
}
.profile-card--showcase .card-img-wrap { min-height: 0; max-height: none; }
.profile-card--showcase .profile-card-content { display: none; }
.profile-card--showcase .btn-compare { display: none; }
.profile-card--showcase .card-overlay { padding: 24px 8px 8px; }
.profile-card--showcase .card-overlay__name { font-size: 13px; }
.profile-card--showcase .card-overlay__price { font-size: 12px; }
.profile-card--showcase .card-overlay__views { display: none; }

/* Жёсткая ширина карточки витрины больше не нужна: колонки задаёт сетка,
   и карточки сами заполняют строку без остатка на любой ширине экрана. */

/* --- Карточка ------------------------------------------------------------
   Раньше на карточке одновременно работали: жёсткая тень 8px 10px 0,
   внутреннее свечение, блик ::before, искры ::after при наведении, зум
   и фильтр brightness/contrast/saturate. Шесть эффектов на 46 элементах —
   это и визуальный шум, и заметные подтормаживания прокрутки на Android.    */
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.profile-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-pop);
}
/* Фильтр цвета при наведении убран: он заставлял браузер перерисовывать
   картинку целиком, а разницу видел только тот, у кого есть мышь. */
.profile-card:hover .card-img { transform: scale(1.03); filter: none; }
.profile-card:hover .card-img-wrap::after { opacity: 0; }

.profile-card-content { background: transparent; }
.card-overlay {
    background: linear-gradient(0deg, rgba(7, 7, 12, .94) 0%, rgba(7, 7, 12, .55) 42%, transparent 100%);
}
.card-overlay__name { color: #fff; }
/* Цена — единственное тёплое пятно на карточке. */
.card-overlay__price { color: var(--heat-soft); font-weight: 700; }

.profile-card--featured {
    border-color: rgba(255, 154, 60, .75);
    box-shadow: var(--shadow-card), 0 0 22px rgba(255, 154, 60, .22);
}
.profile-card--featured:hover { border-color: var(--heat-warm); }
.profile-card--vip {
    border-color: rgba(255, 107, 150, .6);
    box-shadow: var(--shadow-card), 0 0 20px rgba(255, 45, 111, .18);
}
.profile-card--icicle {
    border-color: var(--ice-dim);
    box-shadow: var(--shadow-card), 0 0 24px rgba(207, 231, 255, .16);
}
.profile-card--available { border-color: rgba(46, 204, 113, .5); }

/* Метки: спокойные плашки одного семейства вместо пяти разных заливок. */
.card-featured, .card-vip, .card-online, .card-verified,
.card-newcomer, .card-hot, .card-customer-pick, .card-flavor-badge {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    padding: 3px 9px;
    box-shadow: none;
    text-shadow: none;
}
.card-featured {
    background: rgba(255, 154, 60, .22);
    color: #FFD9AE;
    /* Вечная пульсация в поле зрения отвлекала от самих фотографий
       и держала композитор браузера включённым постоянно. */
    animation: none;
}
.card-vip      { background: rgba(255, 45, 111, .22); color: #FFC2D5; }
.card-online   { background: rgba(46, 204, 113, .22); color: #9BEFC0; }
.card-verified { background: rgba(207, 231, 255, .16); color: var(--ice); }
.card-newcomer { background: rgba(110, 134, 166, .25); color: var(--ice); }

/* --- Температура ---------------------------------------------------------
   Полоска .card-temp была почти не видна. Делаем из неё несущий элемент:
   он показывает, насколько анкета живая прямо сейчас.                       */
.card-temp { height: 3px; border-radius: var(--r-pill); opacity: .9; }
.card-temp--ice  { background: linear-gradient(90deg, var(--ice-dim), transparent); }
.card-temp--warm { background: linear-gradient(90deg, var(--heat-warm), rgba(255, 154, 60, 0)); }
.card-temp--hot  {
    background: linear-gradient(90deg, var(--heat), var(--heat-soft));
    box-shadow: 0 0 10px rgba(255, 45, 111, .5);
}

/* --- Иней ----------------------------------------------------------------
   Карточка выходит из-под наледи, когда попадает в поле зрения.
   Микронаграда за прокрутку: листание перестаёт быть нейтральным действием
   и начинает что-то давать.                                                 */
.profile-card::before {
    content: '';
    position: absolute; inset: 0; z-index: 8;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(207, 231, 255, .22), rgba(207, 231, 255, .04) 42%, transparent 70%),
        radial-gradient(circle at 78% 12%, rgba(255, 255, 255, .22), transparent 26%);
    opacity: .85;
    mix-blend-mode: screen;
    transition: opacity .55s ease;
}
.profile-card.is-thawed::before,
.profile-card:hover::before { opacity: 0; }

/* --- Читаемость и доступность ------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--ice);
    outline-offset: 2px;
    border-radius: 4px;
}

.btn-compare {
    /* Было 28×28 — вдвое меньше минимальной цели для пальца. */
    width: 44px; height: 44px;
    top: 44px; right: 6px;
    border-radius: var(--r-pill);
    background: rgba(7, 7, 12, .55);
    border-color: rgba(255, 255, 255, .2);
    font-size: 18px;
}
.icon-btn { width: 44px; height: 44px; border-radius: var(--r-sm); }
.card-photo-dots i { width: 6px; height: 6px; }
.card-photo-dots i.is-on { background: #fff; }

/* Уважение к системной настройке «меньше движения»: бегущая строка,
   пульсации и таяние отключаются целиком. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .ticker-scroll { animation: none !important; }
    .profile-card::before { opacity: 0; }
}

/* --- Ночь ---------------------------------------------------------------
   Класс is-night ставился с 22:00, но менял только прозрачность фона.
   Ночью сайтом пользуются иначе, и выглядеть он должен иначе.               */
html.is-night {
    --bg-dark: #04040A;
    --heat: #FF3D79;
    --ice: #DCEBFF;
}
html.is-night body::before { opacity: .55; }

@media (max-width: 768px) {
    /* --- НИКАКОЙ ГОРИЗОНТАЛЬНОЙ ПРОКРУТКИ -------------------------------
       Боковая прокрутка на телефоне — это спрятанный контент: пальцем её
       замечают не все, а те, кто заметил, всё равно листают вслепую и
       теряют вертикальную прокрутку. Всё, что не влезло, переносится
       на следующую строку. */

    body { overflow-x: hidden; }

    .catalog-toolbar__actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        overflow: visible;
        gap: 6px;
    }
    .tool-btn { min-height: 40px; font-size: 12.5px; padding: 0 12px; }

    /* На узком экране — ровно три в ряд, чтобы карточка не съёживалась
       до нечитаемой. Все платные показаны, сколько бы их ни было. */
    .catalog-showcase__row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 0;
    }
    .profile-card--showcase { flex: none; width: auto; }

    /* Полоски «недавно смотрели» и «вы смотрели» — тоже переносом. */
    .recent-strip__row,
    .resume-strip__row {
        flex-wrap: wrap;
        overflow: visible;
        gap: 8px;
    }
    .recent-mini { width: 64px; }
    .recent-mini img { width: 64px; height: 84px; }
    .recent-mini:nth-child(n + 9) { display: none; }
    .resume-strip__row a { flex: 0 0 64px; width: 64px; }
    .resume-strip__row img { width: 64px; height: 84px; }
    .resume-strip__row a:nth-child(n + 9) { display: none; }

    /* Длинные таблицы и блоки кода прокручиваются внутри себя,
       а не тянут за собой всю страницу. */
    .price-table,
    .compare-table,
    .admin-cron-url { max-width: 100%; }
    .admin-cron-url { overflow-wrap: anywhere; }
    /* Бегущая строка съедала 48px первого экрана до того, как человек
       увидел хоть одну фотографию. */
    .ticker-wrap { min-height: 36px; }
    .ticker-item { padding: 0 2rem; }

    /* Размытие под липкой шапкой — самый дорогой эффект на странице:
       браузер пересчитывает его на каждый кадр прокрутки поверх ленты
       из полусотни фотографий. На слабых Android это заметно пальцем.
       Там, где шапка и так узкая, сплошная заливка ничем не хуже. */
    header {
        background: var(--bg-card);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* --- Поиск ---------------------------------------------------------------
   Единый слой для всех экранов: на телефоне это лист во весь экран,
   на десктопе — панель под шапкой.                                          */
.search-overlay {
    position: fixed; inset: 0; z-index: 10090;
    background: rgba(4, 4, 10, .82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}
.search-overlay[hidden] { display: none !important; }

.search-overlay__panel {
    width: 100%;
    max-width: 620px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--r-md) var(--r-md);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
}

.search-overlay__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    color: var(--ice-dim);
}

.search-overlay__input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 16px; /* меньше 16px — и iOS зумит страницу при фокусе */
    padding: 8px 0;
}
.search-overlay__input::placeholder { color: var(--ice-deep); }

.search-overlay__close {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); font-size: 28px; line-height: 1;
    width: 44px; height: 44px;
}

.search-overlay__results { overflow-y: auto; padding: 8px 0 16px; }
.search-overlay__hint { color: var(--text-muted); padding: 18px 16px; margin: 0; font-size: 14px; }

.search-group { padding: 6px 0; }
.search-group__label {
    padding: 6px 16px;
    color: var(--ice-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    min-height: 44px;
    color: var(--text-main);
    text-decoration: none;
}
.search-item:hover, .search-item:focus-visible { background: rgba(207, 231, 255, .07); color: var(--ice); }
.search-item img { width: 34px; height: 44px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; }
.search-item__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-item__note { color: var(--text-muted); font-size: 12px; flex-shrink: 0; }

/* --- Предложение на выходе -----------------------------------------------
   Стили .exit-intent лежали в файле с самого начала, но JS к ним никто
   не написал — блок не показывался ни разу. Теперь он живой и предлагает
   не «останьтесь», а забрать отобранное с собой.                            */
.exit-intent__panel {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
}
.exit-intent__title { color: var(--ice); font-size: 1.25rem; margin: 0 0 6px; font-family: "Cormorant Garamond", Georgia, serif; }
.exit-intent__text { color: var(--text-muted); margin: 0 0 14px; }
.exit-intent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.exit-intent__grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-sm); display: block; }

/* --- Предупреждение о предоплате -----------------------------------------
   Было модальным окном, которое перехватывало КАЖДОЕ первое нажатие
   на «Позвонить» — то есть вставало ровно поперёк главного действия сайта.
   Теперь это постоянная строчка рядом с кнопками: видно всегда,
   не мешает никогда.                                                        */
.prepay-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 154, 60, .35);
    border-radius: var(--r-sm);
    background: rgba(255, 154, 60, .08);
    color: #FFD9AE;
    font-size: 13px;
    line-height: 1.35;
}
.prepay-note svg { flex-shrink: 0; opacity: .9; }

.profile-report {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--ice-deep);
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
}
.profile-report:hover { color: var(--ice-dim); }

.report-sheet {
    position: fixed; inset: 0; z-index: 10090;
    background: rgba(4, 4, 10, .8);
    display: flex; align-items: flex-end; justify-content: center;
    padding: 0;
}
.report-sheet[hidden] { display: none !important; }
.report-sheet__panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--r-md) var(--r-md) 0 0;
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom, 0px));
}
.report-sheet__panel h3 { margin: 0 0 14px; color: var(--ice); font-size: 1.15rem; }
.report-sheet__close {
    position: absolute; top: 6px; right: 8px;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); font-size: 26px; line-height: 1;
}
.report-sheet__options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.report-sheet__options label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--r-sm);
    background: var(--bg-raised);
    color: var(--text-main);
    font-size: 15px;
    cursor: pointer;
}
.report-sheet__options label:hover { border-color: var(--border-strong); color: var(--ice); }
.report-sheet__options input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--heat); }

.report-sheet textarea { width: 100%; box-sizing: border-box; margin-bottom: 12px; }

.report-sheet__evidence {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px dashed rgba(255, 154, 60, .45);
    border-radius: var(--r-sm);
    background: rgba(255, 154, 60, .07);
}
.report-sheet__evidence[hidden] { display: none !important; }
.report-sheet__file {
    display: flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 10px 14px; cursor: pointer;
    border: 1px solid var(--border-strong); border-radius: var(--r-sm);
    background: var(--bg-card); color: var(--ice); font-size: 14px; font-weight: 600;
    overflow-wrap: anywhere; text-align: center;
}
.report-sheet__file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.report-sheet__note { color: #FFD9AE; font-size: 12.5px; line-height: 1.45; margin: 10px 0 0; }

.report-sheet__error {
    margin-bottom: 12px; padding: 10px 12px;
    border-radius: var(--r-sm);
    background: rgba(255, 45, 111, .12);
    border: 1px solid rgba(255, 45, 111, .4);
    color: #FFC2D5; font-size: 13.5px;
}
.report-sheet__error[hidden] { display: none !important; }

@media (min-width: 600px) {
    .report-sheet { align-items: center; padding: 16px; }
    .report-sheet__panel { border-radius: var(--r-md); }
}

/* --- Города на главной ---------------------------------------------------
   Плитки были набраны жёстко заданными малиновыми градиентами (#140812,
   #240818, rgba(255,105,180,...)) мимо всех переменных — при смене палитры
   они остались бы единственным розовым пятном на ледяной странице.          */
.city-card.popular {
    background: linear-gradient(135deg, #10101A 0%, var(--bg-card) 100%);
    border-color: var(--border-color);
    padding: 18px;
}
.city-card.popular::before {
    background: radial-gradient(circle, rgba(207, 231, 255, .07) 0%, transparent 70%);
}
.city-card.popular:hover {
    border-color: var(--border-strong);
    background: linear-gradient(135deg, #161622 0%, var(--bg-card) 100%);
    box-shadow: var(--shadow-card);
}

.city-card__badge {
    background: rgba(207, 231, 255, .1);
    border-color: var(--border-color);
    color: var(--ice-dim);
}

/* Топ-3 города — единственные «тёплые» плитки: там больше всего анкет,
   и это единственное, что здесь стоит подсветить. */
.city-card--hot {
    background: linear-gradient(135deg, #1A0F16 0%, var(--bg-card) 60%, #14101A 100%) !important;
    border-color: rgba(255, 45, 111, .3);
    box-shadow: none;
}
.city-card--hot .city-card__badge {
    background: rgba(255, 45, 111, .14);
    border-color: rgba(255, 45, 111, .25);
    color: var(--heat-soft);
}
.city-card--hot:hover {
    border-color: rgba(255, 45, 111, .55);
    box-shadow: 0 4px 24px rgba(255, 45, 111, .12);
}
.city-card__pulse { background: var(--heat); box-shadow: 0 0 8px rgba(255, 45, 111, .7); }

.demand-strip {
    border-color: var(--border-color);
    background: rgba(207, 231, 255, .05);
    border-radius: var(--r-md);
    color: var(--ice-dim);
}

/* --- «Вчера вы смотрели» -------------------------------------------------
   Единственная причина вернуться на сайт завтра — незаконченное дело.
   Список берётся из localStorage, никаких запросов к базе не добавляет.    */
.resume-strip {
    margin: 0 0 8px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
    background: var(--bg-card);
}
.resume-strip__title {
    color: var(--ice);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
}
.resume-strip__row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.resume-strip__row a {
    flex: 0 0 76px;
    width: 76px;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    text-decoration: none;
}
.resume-strip__row img {
    width: 76px; height: 100px;
    object-fit: cover;
    border-radius: var(--r-sm);
    display: block;
    margin-bottom: 5px;
    border: 1px solid var(--border-color);
}