.appInfo .button {
    color: #fff;
}

.modalBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out 350ms;
    background-color: rgba(0, 0, 0, 0.5);
}
.modalBg.visible {
    opacity: 1;
    visibility: visible;
}

.modalBox {
    position: absolute;
    z-index: 99999;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
}
.modalBox .window {
    background-color: #fff;
    margin: 0 auto;
    max-width: 460px;
    position: relative;
    border-radius: 5px;
}
.modalBox .window .title {
    padding: 30px 15px 10px;
    text-align: center;
    font-size: 24px;
    line-height: 26px;
}
.modalBox .window p {
    padding: 0 15px 20px;
    font-size: 16px;
    line-height: 22px;
}
.modalBox .window .buttons {
    padding: 0 15px 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

iframe {
    border-radius: 0px;
    -webkit-border-radius: 0px;
}

.popupCnt .middle {
    padding: 120px 0 0;
}

.modalBox {
    top: 40%;
}

.escortData .inputWithSelect {
    width: 100%;
}

.escortData .costs select {
    width: 100px;
}

#photoEdit .middle {
    padding: 30px 0 0;
}

.small{
    font-size: 12px;
}

.profileImages img {
    width: auto;
    height: 100%;
}

.profileImages .type1 {
    width: auto;
}

.profileImages.mobile {
    padding: 16px 10px;
    display: block;
}

.advancedSearch {
    padding: 40px 90px 22px 20px;
}

.advancedSearch .oneBlock {
    padding: 0 0 20px;
}

.pages{
    padding-top:30px;
}

.pages h2 {
    font-weight: 700;
    font-size: 37px;
    line-height: 44px;
    margin: 0 0 30px;
}

.pages p {
    margin: 0 0 20px;
}

.pages strong {
    font-weight: bolder;
}

.galleryContent .galleryType3 .image {
    width: 100%;
    margin: 0 2% 20px 0;
}

.profileImages.mobile a {
    padding: 0 10px;
}

.profileImages.mobile .video img {
    height: 200px;
    cursor: hand;
    cursor: pointer;
}

.cursor{
    cursor: hand;
    cursor: pointer;
}

.photoBlur {
    margin: 0 auto;
    text-align: center;
    display: table;
    width:480px;
}

.photoBlur.hidden {
    display: none;
}
.photoBlur input {
    display: none;
}
.photoBlur .editArea {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.photoBlur .editArea .playground {
    position: relative;
    cursor: default !important;
    width: 460px !important;
    display: block;
}

.photoBlur .cell {
    padding: 0 10px;
}
.photoBlur .buttons {
    margin: 0 auto;
    width: auto;
}
@media only screen and (max-width: 989px) {
    .photoBlur .buttons {
        width: 100%;
    }
    .photoBlur .buttons .cell {
        padding: 10px 0;
        display: block;
    }
    .advancedSearch {
        padding: 73px 15px 20px;
        width: 100%;
        z-index: 999;
    }

    .logins .inputBlock input{
        font-size: 16px;
    }
}
.photoBlur .tools {
    padding: 24px 0 31px;
    text-align: center;
}

.photoBlur .tools img {
    margin: 0 auto;
}
.photoBlur .tools .type {
    padding: 3px 0 0;
    color: #575756;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
}

/* ===== Real-time position (RTP) — header icon + pulse + modal ===== */
/* Header icon: white by default, yellow + pulsing ring while active. Reuses the base .icon sizing. */
.icon.rtp {
    position: relative;
    background-image: url('/static/site/images/rtp_white.svg');
}
.icon.rtp.rtp-active {
    background-image: url('/static/site/images/rtp_yellow.svg');
}
.icon.rtp::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
}
.icon.rtp.rtp-active::after {
    opacity: 1;
    background: rgba(253, 200, 0, .28);
    box-shadow: 0 0 0 0 rgba(253, 200, 0, .85);
    animation: rtpPulse 1.4s ease-out infinite;
}
@keyframes rtpPulse {
    0%   { box-shadow: 0 0 0 0 rgba(253, 200, 0, .85); }
    70%  { box-shadow: 0 0 0 24px rgba(253, 200, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(253, 200, 0, 0); }
}
/* Mobile: match the other header icons (26x26 at the md breakpoint) */
@media only screen and (max-width: 989px) {
    .mainNavigations .icon.rtp {
        width: 26px;
        height: 26px;
        margin-right: 25px;
    }
}

/* The (i) info marker in the "real time position" profile section is clickable. */
.textWithToggle .info {
    cursor: pointer;
}

/* RTP modal body (rendered into the shared #modalText via modal_open). */
.rtpBig {
    margin: 22px auto 6px;
    text-align: center;
    font-weight: 700;
    color: #E62C3C;
    font-size: 44px;
    line-height: 48px;
    font-variant-numeric: tabular-nums;
}
.rtpBig small {
    display: block;
    margin: 4px 0 0;
    color: #C6C6C6;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    text-transform: lowercase;
}
.rtpModalToggle {
    display: flex;
    justify-content: center;
    margin: 22px 0 4px;
}

/* Live marker highlight on the /search/map (escort.live) — same pulsing yellow effect as the header icon.
   Applied directly on the marker img so it does not depend on any wrapper sizing. */
.mapMarkerIcon.rtpLiveMarker {
    border: 3px solid #FDC800;
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(253, 200, 0, .85);
    animation: rtpPulse 1.4s ease-out infinite;
}

/* Cover-as-map on the escort profile — keep the cover band height for the map container */
#rtpCoverMap {
    min-height: 250px;
}

/* Live-position pin on the cover map — design red (#E62C3C) with a pulsing ring */
.rtpMapPin {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #E62C3C;
    border: 2px solid #fff;
    box-shadow: 0 0 0 0 rgba(230, 44, 60, .7);
    animation: rtpPulseRed 1.4s ease-out infinite;
}
@keyframes rtpPulseRed {
    0%   { box-shadow: 0 0 0 0 rgba(230, 44, 60, .7); }
    70%  { box-shadow: 0 0 0 22px rgba(230, 44, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 44, 60, 0); }
}
.photoBlur .tools .toolType {
    cursor: pointer;
}
.photoBlur .tools .toolType:hover {
    opacity: 0.8;
}
.photoBlur .tools .cell {
    vertical-align: top;
}
.photoBlur .sliderTool {
    padding: 40px 0 60px;

}

.photoBlur .sliderTool .side {
    width: 22px;
    padding: 0 0 2px;
    vertical-align: bottom;
}
.photoBlur .sliderTool .minus,
.photoBlur .sliderTool .plus {
    width: 20px;
    height: 20px;
    display: block;
}
.photoBlur .sliderTool .minus:hover,
.photoBlur .sliderTool .plus:hover {
    opacity: 0.8;
}
.photoBlur .sliderTool .plus {
    margin: 0 0 0 2px;
    background: url("../images/range_plus.svg") no-repeat center center;
}
.photoBlur .sliderTool .minus {
    background: url("../images/range_minus.svg") no-repeat center center;
}
.photoBlur .irs--flat .irs-bar {
    background-color: #be1622;
    height: 5px;
}
.photoBlur .irs--flat .irs-line {
    background-color: #575756;
    height: 5px;
}
.photoBlur .irs--flat .irs-handle {
    width: 15px;
    height: 15px;
    top: 20px;
    background-color: #e62c3c;
    cursor: pointer;
    border-radius: 999px;
    -webkit-border-radius: 999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.24);
}
.photoBlur .irs--flat .irs-handle i {
    display: none;
}

.searchLine {
    display: block;
}

.window a{
    color: #575756;
}

.sidebarMenu .profileIMG img {
    box-shadow: 0 0px 0px rgb(0 0 0);
}

.hideOnDesktopCustom{
    display: none;
}

.hideOnMobileCustom{
    display: block;
}

@media only screen and (max-width: 989px) {
    .hideOnDesktopCustom{
        display: block;
    }

    .hideOnMobileCustom{
        display: none;
    }
    }

.escortData .label, .escortData .timeCheck {
    font-size: 12px;
    }

@media only screen and (max-width: 300px){
    .searchLine .searchBlock {
        width: 260px;
        }
    }

/* Search map escort markers — content node of an AdvancedMarkerElement
   (replaces the legacy gmap3 marker icon).

   The marker PNG is already a finished circle: UsersGallery::generateMapOverlays()
   masks the photo with mask.png and composites overlay_active/inactive.png on top,
   so the white ring, the drop shadow and the online dot are baked into the image —
   and the circle is inset from the canvas edge. A CSS border/border-radius here
   therefore drew a SECOND white ring at the box edge with a few-pixel gap in
   between; hence only sizing is left to CSS. */
.mapMarkerIcon {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: cover;
    cursor: pointer;
    }

/* ===== /profile gallery — cover picture + corner-icon visibility ===== */

/* Profile-picture box stays compact now that it is the only box in the first row
   (the cover moved to its own row below — overrides .galleryType1 .box:last-child). */
.galleryContent .galleryBox .galleryType1 .box.pbox {
    width: 36%;
    margin: 0 2% 0 0;
    }
@media only screen and (max-width: 989px) {
    .galleryContent .galleryBox .galleryType1 .box.pbox {
        width: 100%;
        margin: 0;
        }
    }

/* Cover picture: own full-width row under the profile picture. The box keeps the
   cover image's 1439:250 aspect ratio so the whole image is shown (no odd crop),
   and scales responsively (width 100% → height follows the ratio).
   Padding sits BELOW the row (like every other galleryType row) so the gap above
   (from galleryType1's own bottom padding) and below are both a uniform 20px. */
.galleryContent .galleryBox .galleryType1.coverRow {
    padding: 0 0 20px;
    }
.galleryContent .galleryBox .galleryType1.coverRow .box.cbox {
    width: 100%;
    margin: 0;
    }
.galleryContent .galleryBox .galleryType1.coverRow .image {
    width: 100%;
    max-width: none;
    margin: 0;
    }
.galleryContent .galleryBox .galleryType1.coverRow .cover {
    width: 100%;
    height: auto;
    max-width: none;
    aspect-ratio: 1439 / 250;
    margin: 0;
    background-size: cover;
    background-position: center;
    }

/* Corner action icons: the delete (X) icon matches the edit icon's colour
   (#C6C6C6 — the X svg is recoloured via a CSS mask) and is the same size /
   on the same line as the edit icon (both 20×20 at top:20). */
.galleryContent .icon.delete {
    width: 20px;
    height: 20px;
    top: 20px;
    right: 20px;
    background: #C6C6C6;
    -webkit-mask: url("../images/x_delete.svg") no-repeat center center;
    mask: url("../images/x_delete.svg") no-repeat center center;
    -webkit-mask-size: contain;
    mask-size: contain;
    }
.galleryContent .icon.delete:hover {
    background: #E62C3C;   /* red on hover keeps the "delete" affordance */
    }

/* Modern Places Autocomplete (PlaceAutocompleteElement) — match the legacy
   plain-input design. The element renders its own widget (input + magnifier +
   clear button + predictions) in shadow DOM with a default DARK theme; we force
   a light scheme + transparent host (kills the dark box), hide the built-in
   icons (the layout already has its own search button / dropdown chevron), and
   restyle the input + predictions to the site palette. */
.pacElement {
    display: block;
    width: 100%;
    background: transparent;
    color-scheme: light;
    font-family: 'Cabin Condensed', sans-serif;
    /* kill the component's default container chrome (dark/black frame, padding
       and the Material ~48px min-height) so only our styled input shows */
    border: 0;
    outline: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    min-height: 0;
    }
/* the focus ring renders as the residual black frame — drop it (the input's
   own border is the focus affordance) */
.pacElement::part(focus-ring) {
    display: none;
    }
/* hide the built-in magnifier + clear icons (JS also sets the
   no-input-icon / no-clear-button attributes as the primary mechanism) */
.pacElement::part(input-icon),
.pacElement::part(clear-icon) {
    display: none;
    }
/* base input look — light, bordered pill (shared by all sites).
   The component ships a Material text field (~48px tall) whose internal rules
   win over plain ::part() styles, so the vertical sizing uses !important and
   zeroes the Material min-height / vertical padding / line-height. */
.pacElement::part(input) {
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    border: solid 1px #C6C6C6;
    border-radius: 999px;
    color: #575756;
    font-family: 'Cabin Condensed', sans-serif;
    font-weight: 400;
    box-shadow: none;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    }
/* header search bar (.searchLine input — 25px / 16px) */
.searchLine .input .pacElement::part(input) {
    height: 25px !important;
    line-height: 25px !important;
    font-size: 16px;
    padding-left: 12px !important;
    padding-right: 22px !important;
    }
/* map search + profile + trips (.inputBlock input / .locateMe input — 24px / 12px) */
.inputBlock .pacElement::part(input),
.locateMe .locate .pacElement::part(input),
.tripData .inputBlock.locate .pacElement::part(input) {
    height: 34px !important;
    line-height: 34px !important;
    font-size: 12px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    }

/* "Locate me" busy spinner — shown while geolocation + reverse-geocode run
   (search sidebar .getLocation, profile + trips locate spans). Toggled via the
   .geoLoading class by geoLocate() in functions.js. */
@keyframes geoSpin { to { transform: rotate(360deg); } }

.getLocation.geoLoading,
.locateMe .locate span.geoLoading,
.tripData .inputBlock.locate span.geoLoading {
    pointer-events: none;
    }
/* big red round button: fade the white glyph and spin a white ring over it */
.getLocation.geoLoading:before { opacity: .25; }
.getLocation.geoLoading:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: solid 2px rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 999px;
    animation: geoSpin 0.7s linear infinite;
    }
/* small locate spans (profile + trips): swap the locate glyph for a dark ring */
.locateMe .locate span.geoLoading,
.tripData .inputBlock.locate span.geoLoading {
    background-image: none;
    }
.locateMe .locate span.geoLoading:after,
.tripData .inputBlock.locate span.geoLoading:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: solid 2px rgba(0, 0, 0, 0.2);
    border-top-color: #E62C3C;
    border-radius: 999px;
    animation: geoSpin 0.7s linear infinite;
    }

/* predictions dropdown — match the site palette */
.pacElement::part(prediction-list) {
    background: #fff;
    border: solid 1px #C6C6C6;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.24);
    padding: 4px 0;
    margin-top: 4px;
    overflow: hidden;
    }
.pacElement::part(prediction-item) {
    padding: 6px 12px;
    color: #575756;
    font-family: 'Cabin Condensed', sans-serif;
    font-size: 13px;
    }
.pacElement::part(prediction-item):hover,
.pacElement::part(prediction-item-selected) {
    background: #f4f4f4;
    }
.pacElement::part(prediction-item-main-text) {
    color: #575756;
    }
.pacElement::part(prediction-item-secondary-text) {
    color: #C6C6C6;
    }
.pacElement::part(prediction-item-match) {
    font-weight: 600;
    color: #E62C3C;
    }

/* ---- 2FA verification code inputs + resend (Google Authenticator + email) ---- */
/* Widen the code field container — the default .inputBlock is far too narrow for a
   large 6-digit code, so the digits overflow. Center it within the popup / form. */
.authPopup .block .inputBlock,
.logins.tfa .inputBlock {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    }

/* Make the OTP/code field large and easy to read (popups + login challenge). */
.authPopup .block .inputBlock input,
.logins.tfa .inputBlock input {
    width: 100%;
    box-sizing: border-box;
    height: 58px;
    font-size: 26px;
    letter-spacing: 6px;
    text-align: center;
    font-weight: 700;
    }

/* Resend link: place it centered under the input instead of crammed to the edge. */
.authPopup .block .links,
.logins.tfa .oneLine .links {
    display: block;
    float: none;
    text-align: center;
    margin-top: 14px;
    }
.authPopup .block .links a,
.logins.tfa .oneLine .links a {
    float: none;
    display: inline-block;
    margin: 4px 10px;
    }

/* Disabled state during the 60s resend cooldown (the countdown text shows the seconds). */
.authPopup .block .links a.cooldown,
.logins.tfa .oneLine .links a.cooldown {
    opacity: .45;
    pointer-events: none;
    cursor: default;
    }

/* Content image blur — toggled from /admin/settings/general (Setting 'image_blur') */
body.img-blur img { filter: blur(8px); }
/* keep site chrome (header nav, footer logo/socials) sharp */
body.img-blur .fixedHeader img,
body.img-blur .headerSelectors img,
body.img-blur #mainFooter img { filter: none; }

/* ---- /profile/escorts: state label on escort cards (pending invite / profile not completed) ---- */
.ourEscorts .card .inviteState {
    text-align: center;
    color: #575756;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    padding: 10px 0 6px;
    }
.ourEscorts .card .inviteState.pending {
    color: #E62C3C;
    }
/* card title may be a long email address (profileless escort) — don't let it break the card */
.ourEscorts .card h3 {
    overflow-wrap: break-word;
    }

/* ===== Error / 404 page (views/site/error.php) =====
   Big "4 [pin] 4" typography: the animated map pin doubles as the middle zero
   of the HTTP code — on-brand for a location-based directory. */
.errorPage {
    padding: 40px 0 90px;
    text-align: center;
    }
.errorPage .bigCode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 2vw, 18px);
    padding: 30px 0 10px;
    user-select: none;
    }
/* fallback layout for codes without a middle zero: pin above, full code below */
.errorPage .bigCode.stacked {
    flex-direction: column;
    }
.errorPage .digit {
    font-size: clamp(120px, 26vw, 210px);
    line-height: .9;
    font-weight: 700;
    color: #575756;
    }
.errorPage .pinWrap {
    width: clamp(96px, 20vw, 170px);
    }
.errorPage .pinWrap svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;   /* the pin bounces above / the "?" floats above the viewBox */
    }
.errorPage h2 {
    font-weight: 700;
    font-size: 37px;
    line-height: 44px;
    margin: 6px 0 12px;
    }
.errorPage p {
    color: #575756;
    max-width: 560px;
    margin: 0 auto 34px;
    }
.errorPage .buttonsRow {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    }
.errorPage .buttonsRow .button {
    margin: 0;
    }
/* secondary (ghost) pill button — red outline on the white page background */
.errorPage .button.ghost {
    background-color: transparent;
    color: #E62C3C;
    box-shadow: none;
    }
.errorPage .button.ghost:hover {
    background-color: #E62C3C;
    color: #fff;
    }

/* --- pin animations --- */
/* bounce with squash & stretch, then rest for the remainder of the cycle */
.errorPage .errPin {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: errPinBounce 3.2s ease-in-out infinite;
    }
@keyframes errPinBounce {
    0%, 45%, 100% { transform: translateY(0) scale(1, 1); }
    8%            { transform: translateY(0) scale(1.05, .93); }
    20%           { transform: translateY(-30px) scale(.97, 1.05); }
    32%           { transform: translateY(0) scale(1, 1); }
    36%           { transform: translateY(0) scale(1.07, .91); }
    }
/* ground shadow shrinks while the pin is in the air */
.errorPage .errShadow {
    fill: #575756;
    opacity: .15;
    transform-box: fill-box;
    transform-origin: center;
    animation: errShadowPulse 3.2s ease-in-out infinite;
    }
@keyframes errShadowPulse {
    0%, 45%, 100% { transform: scale(1); opacity: .15; }
    8%            { transform: scale(1.06); opacity: .17; }
    20%           { transform: scale(.7); opacity: .07; }
    32%           { transform: scale(1); opacity: .15; }
    36%           { transform: scale(1.08); opacity: .18; }
    }
/* the eyes look around... */
.errorPage .errEyes {
    animation: errLook 7s ease-in-out infinite;
    }
@keyframes errLook {
    0%, 22%, 78%, 100% { transform: translateX(0); }
    30%, 44%           { transform: translateX(-7px); }
    52%, 68%           { transform: translateX(7px); }
    }
/* ...and blink now and then */
.errorPage .errEye {
    transform-box: fill-box;
    transform-origin: center;
    animation: errBlink 4.6s linear infinite;
    }
@keyframes errBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    93%, 96%      { transform: scaleY(.1); }
    }
/* lost little question marks floating up around the pin */
.errorPage .errQ {
    font: 700 34px 'Cabin Condensed', sans-serif;
    fill: #C6C6C6;
    opacity: 0;
    animation: errFloat 5s ease-in-out infinite;
    }
.errorPage .errQ.q2 {
    animation-delay: 2.5s;
    }
@keyframes errFloat {
    0%, 50% { opacity: 0; transform: translateY(8px); }
    60%     { opacity: 1; }
    85%     { opacity: .6; }
    100%    { opacity: 0; transform: translateY(-20px); }
    }
/* accessibility: no motion for users who opted out */
@media (prefers-reduced-motion: reduce) {
    .errorPage .errPin,
    .errorPage .errShadow,
    .errorPage .errEyes,
    .errorPage .errEye,
    .errorPage .errQ {
        animation: none;
        }
    }

@media only screen and (max-width: 989px) {
    .errorPage h2 {
        font-size: 28px;
        line-height: 34px;
        }
    }

/* ===== /profile/credits — pricing plan boxes ===== */

/* Desktop: the base .oneBox rule has no bottom margin, so with 4+ packages the
   wrapped row touched the one above. Give every box the site-standard 20px
   vertical gap, and trim the container's bottom padding so the space below the
   last row stays the original 24px (4px + the box's own 20px margin).
   Mobile (<=989px) already handles this via its own margin-bottom rules. */
@media only screen and (min-width: 990px) {
    .planBoxes .oneBox {
        margin-bottom: 20px;
        }
    .planBoxes {
        padding-bottom: 4px;
        }
    }

/* ===== /search/map — infowindow card corner icons =====

   The map bubble's chrome is stripped to transparent (style.min.css .gm-style-iw-c),
   so Google's own close button floated detached above the card, right on top of the
   favourite star. The card now carries its own close X (see AjaxController::actionSearchescorts),
   the star moves to the opposite corner. Scoped to .cards.layout2.fixedWidth — the map
   card is the only user of that combination, so the shared list / favourites cards are
   untouched. Offsets mirror the .addToFav rules in style.min.css (incl. the 989px step). */
.cards.layout2.fixedWidth .addToFav {
    left: 8px;
    right: auto;
    }
.cards.layout2.fixedWidth .closeCard {
    position: absolute;
    top: 17px;
    right: 8px;
    width: 35px;
    height: 34px;
    z-index: 11;
    cursor: pointer;
    background: url("../images/close.svg") no-repeat center center;
    }
@media only screen and (max-width: 989px) {
    .cards.layout2.fixedWidth .closeCard {
        top: 8px;
        width: 21px;
        height: 21px;
        background-size: 21px auto;
        }
    }

/* Fallback: search.js disables the InfoWindow header (headerDisabled), this hides the
   stock close button should an older Maps API build ignore that option. */
.gm-style-iw button.gm-ui-hover-effect {
    display: none !important;
    }

/* The (i) marker on the paid "Top of page" label (profile header + agency escort cards) opens a
   modal explaining what the feature does and what it costs per day — same affordance as the RTP
   #rtpInfo marker. The profile header row is a narrow inline column, so an inline price line
   there wrapped onto four lines and pushed the row apart. */
.topOfPageInfo {
    cursor: pointer;
    }

/* ------------------------------------------------------------------------------------------
   Video upload + playback (profile gallery / public escort profile)
   ------------------------------------------------------------------------------------------ */

/* Limits shown under the video upload slot. The values are rendered server-side from
   UsersVideos::maxUploadBytes(), so they always match what PHP actually accepts. */
.uploadHint {
    clear: both;
    padding: 8px 0 0;
    max-width: 320px;
    font-size: 12px;
    line-height: 16px;
    color: #8a8a8a;
    }

/* lightGallery video slide. The slide size itself comes from the data-lg-size attribute (the
   real pixel size of the stored file), these rules only make sure a portrait video can never
   overflow a phone viewport and that the letterboxing around it stays black instead of
   showing the backdrop through the player. */
.lg-outer .lg-video-cont {
    max-width: 100% !important;
    max-height: 100% !important;
    }

/* NOTE: do NOT force a width here — lightGallery writes the computed width AND height inline
   (fitted to the viewport from data-lg-size), so overriding only one of them breaks the ratio. */
.lg-outer .lg-video-object {
    background: #000;
    border-radius: 6px;
    }

/* ------------------------------------------------------------------------------------------
   Profile user id (ID#278) — shown on every /profile-family page
   ------------------------------------------------------------------------------------------ */

/* Desktop sidebar: small id line pulled up right under the big "Profile" heading
   (the heading itself carries a 60px bottom padding, hence the negative margin). */
.agencyLayout .sidebar .profileUserId {
    margin: -55px 0 0;
    padding: 0 0 40px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #575756;
    }

/* Mobile: small id line under the menu pill, right-aligned (inside .selections, after the
   dropdown — keeping the .selected + .dropdown sibling pair intact for the open/close CSS). */
.mobileMenu .mobileUserId {
    text-align: right;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: #575756;
    padding: 6px 15px 0;
    }

/* --------------------------------------------------------------------------------------------
   Instant-save switches ("Saved" flash)
   The availability / profile status / top of page switches write on click (no Save button), so
   the click needs its own confirmation. Absolutely positioned on purpose: the flash must not move
   the profile header row, which is a narrow inline column.
   -------------------------------------------------------------------------------------------- */
.toggleBox {
    position: relative;
    }

.toggleBox .switchSaved {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 14px;
    text-align: center;
    color: #95C11F;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity ease-in-out 200ms;
    }

.toggleBox .switchSaved.visible {
    opacity: 1;
    visibility: visible;
    }
