[x-cloak] {
    display: none !important;
}

/* Ken Burns hero */
@keyframes ken-burns {
    0% {
        transform: scale(1.05) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-1%, -1%);
    }
}

.animate-ken-burns {
    animation: ken-burns 24s ease-in-out infinite alternate;
}

/* Category cards entrance */
.category-card {
    animation: fade-up 0.6s ease-out both;
}

.category-tile {
    display: block;
    isolation: isolate;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Masonry */
.masonry-grid {
    column-count: 2;
    column-gap: 1rem;
}

@media (min-width: 640px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        column-count: 4;
    }
}

.masonry-item {
    display: inline-block;
    width: 100%;
}

.photo-grid-card {
    cursor: pointer;
}

.photo-overlay {
    pointer-events: none;
}

.photo-overlay .pointer-events-auto {
    pointer-events: auto;
}

.masonry-item--tall img {
    min-height: 320px;
    object-fit: cover;
}

.masonry-item--wide img {
    min-height: 220px;
    object-fit: cover;
}

/* Photographer portfolio */
.portfolio-filter-chip {
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid rgba(15, 15, 15, 0.1);
    background: #fff;
    color: rgba(15, 15, 15, 0.65);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.dark .portfolio-filter-chip {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
}

.portfolio-filter-chip:hover {
    border-color: rgba(110, 110, 110, 0.35);
    color: #6E6E6E;
}

.portfolio-filter-chip--active {
    background: #0f0f0f;
    border-color: #0f0f0f;
    color: #fff;
}

.dark .portfolio-filter-chip--active {
    background: #fff;
    border-color: #fff;
    color: #0f0f0f;
}

/* Work interests (my account + profile) */
.work-interest-chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid rgba(15, 15, 15, 0.1);
    background: #fff;
    color: rgba(15, 15, 15, 0.65);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    user-select: none;
}

.dark .work-interest-chip {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
}

.work-interest-chip:hover {
    border-color: rgba(110, 110, 110, 0.35);
    color: #6E6E6E;
}

.work-interest-chip:has(input:checked) {
    background: #0f0f0f;
    border-color: #0f0f0f;
    color: #fff;
}

.dark .work-interest-chip:has(input:checked) {
    background: #fff;
    border-color: #fff;
    color: #0f0f0f;
}

.profile-interest-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    background: rgba(110, 110, 110, 0.1);
    color: #525252;
    border: 1px solid rgba(110, 110, 110, 0.2);
}

.dark .profile-interest-pill {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.25);
}

.profile-interest-pill--compact {
    padding: 0.2rem 0.6rem;
    font-size: 0.6875rem;
}

.profile-interest-pill--more {
    background: rgba(15, 15, 15, 0.06);
    color: rgba(15, 15, 15, 0.55);
    border-color: rgba(15, 15, 15, 0.08);
}

.dark .profile-interest-pill--more {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Photographer reviews */
.review-rating-preview {
    letter-spacing: 0.08em;
}

.review-rating-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-rating-option {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 4.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 15, 15, 0.1);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    user-select: none;
}

.dark .review-rating-option {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.review-rating-option:hover {
    border-color: rgba(144, 144, 144, 0.45);
}

.review-rating-option--active,
.review-rating-option:has(input:checked) {
    background: rgba(212, 168, 83, 0.12);
    border-color: rgba(212, 168, 83, 0.55);
    box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.2);
}

.review-rating-option--active .review-rating-glyphs,
.review-rating-option:has(input:checked) .review-rating-glyphs {
    color: #D4A853;
}

.review-rating-glyphs {
    color: #D4A853;
    font-size: 1.125rem;
    letter-spacing: 0.06em;
    line-height: 1;
}

/* Star ratings — gold (Tailwind `gold` token stays photo gray elsewhere) */
.review-rating-preview,
.creator-card .text-gold,
span.text-gold[aria-label*='out of 5 stars'],
span.text-gold:has(#profile-rating),
span.text-gold:has(#profile-rating-hero) {
    color: #D4A853 !important;
}

.dark .review-rating-preview,
.dark .creator-card .text-gold,
.dark span.text-gold[aria-label*='out of 5 stars'],
.dark span.text-gold:has(#profile-rating),
.dark span.text-gold:has(#profile-rating-hero) {
    color: #E0B85C !important;
}

.review-rating-count {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(15, 15, 15, 0.45);
}

.dark .review-rating-count {
    color: rgba(255, 255, 255, 0.45);
}

.review-rating-option--active .review-rating-count,
.review-rating-option:has(input:checked) .review-rating-count {
    color: rgba(15, 15, 15, 0.7);
}

.dark .review-rating-option--active .review-rating-count,
.dark .review-rating-option:has(input:checked) .review-rating-count {
    color: rgba(255, 255, 255, 0.75);
}

.portfolio-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px dashed rgba(15, 15, 15, 0.12);
    background: rgba(255, 255, 255, 0.6);
}

.dark .portfolio-empty {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.portfolio-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgba(15, 15, 15, 0.04);
}

.dark .portfolio-empty__icon {
    background: rgba(255, 255, 255, 0.06);
}

/* Photographer portfolio board (reference-style masonry) */
.portfolio-board {
    column-count: 2;
    column-gap: 1rem;
}

@media (min-width: 640px) {
    .portfolio-board {
        column-count: 3;
        column-gap: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .portfolio-board {
        column-count: 4;
        column-gap: 1.25rem;
    }
}

.portfolio-board__item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .portfolio-board__item {
        margin-bottom: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .portfolio-board__item {
        margin-bottom: 1.25rem;
    }
}

.portfolio-card {
    position: relative;
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f0f0f0;
    line-height: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dark .portfolio-card {
    background: rgba(255, 255, 255, 0.06);
}

.portfolio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(15, 15, 15, 0.12);
}

.dark .portfolio-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.portfolio-card__img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.portfolio-card__star {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

.portfolio-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 42%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.portfolio-card:hover .portfolio-card__shade {
    opacity: 1;
}

.portfolio-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0.75rem 0.85rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.portfolio-card:hover .portfolio-card__caption {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card__title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Blur-up loading */
.blur-load {
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
}

.blur-load.loaded {
    animation: unblur 0.4s ease-out;
}

@keyframes unblur {
    from {
        filter: blur(12px);
    }
    to {
        filter: blur(0);
    }
}

/* Photo hover actions */
.photo-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.75rem;
    transition: background 0.2s;
}

.photo-action:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Map placeholder pattern */
.map-placeholder {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(15, 15, 15, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
}

.dark .map-placeholder {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
}

/* Sticky header — sits in document flow (does not overlay page content) */
html {
    scroll-padding-top: 5rem;
}

@media (min-width: 1024px) {
    html {
        scroll-padding-top: 5.5rem;
    }
}

#site-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(15, 15, 15, 0.06);
}

.dark #site-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inbox {
    color: inherit;
    text-decoration: none;
}

.header-inbox__badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    border: 2px solid #fff;
    transform: translate(35%, -35%);
    pointer-events: none;
}

.dark .header-inbox__badge {
    border-color: #0f0f0f;
}

.header-inbox__badge--menu {
    top: -0.2rem;
    right: -0.35rem;
    transform: none;
}

/* Standard page top spacing below header (replaces old pt-28 fixed-offset) */
.page-top {
    padding-top: 1.5rem;
}

@media (min-width: 1024px) {
    .page-top {
        padding-top: 2rem;
    }
}

/* Glass cards */
.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #0f0f0f;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.dark .site-logo {
    color: #fff;
}

.site-logo:hover {
    opacity: 0.85;
}

.site-logo svg {
    display: block;
    height: auto;
    width: auto;
}

.site-logo--header svg {
    height: 2rem;
}

@media (min-width: 1024px) {
    .site-logo--header svg {
        height: 2.25rem;
    }
}

.site-logo--footer svg {
    height: 1.75rem;
}

.site-logo--admin svg {
    height: 1.65rem;
}

.site-logo--auth svg {
    height: 2.5rem;
    margin-inline: auto;
}

.map-locate-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 0.75rem;
    background: #fff;
    color: #0f0f0f;
    box-shadow: 0 4px 16px rgba(15, 15, 15, 0.12);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.map-locate-btn:hover {
    background: #f5f5f5;
    transform: scale(1.04);
}

.map-locate-btn:active {
    transform: scale(0.98);
}

.map-locate-btn:focus-visible {
    outline: 2px solid #6E6E6E;
    outline-offset: 2px;
}

.map-locate-btn.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.map-locate-btn.is-loading .map-locate-btn__icon {
    animation: map-locate-spin 0.8s linear infinite;
}

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

.dark .map-locate-btn {
    background: rgba(15, 15, 15, 0.92);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.dark .map-locate-btn:hover {
    background: rgba(30, 30, 30, 0.95);
}

.map-marker-wrap {
    background: transparent !important;
    border: none !important;
}

.map-marker-wrap.leaflet-marker-icon {
    transition: transform 0.2s ease;
}

/* Destination pin */
.map-pin {
    position: relative;
    width: 48px;
    height: 62px;
    cursor: pointer;
    filter: drop-shadow(0 10px 18px rgba(110, 110, 110, 0.35));
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
    transform-origin: 50% 100%;
}

.map-pin.is-hover,
.map-pin:hover {
    transform: translateY(-5px) scale(1.06);
    filter: drop-shadow(0 14px 24px rgba(110, 110, 110, 0.45));
}

.map-pin.is-active {
    transform: translateY(-7px) scale(1.12);
    filter: drop-shadow(0 16px 28px rgba(144, 144, 144, 0.5));
    z-index: 1000 !important;
}

.map-pin__glow {
    position: absolute;
    left: 50%;
    top: 18px;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 110, 110, 0.45) 0%, transparent 70%);
    opacity: 0.7;
    pointer-events: none;
}

.map-pin.is-active .map-pin__glow {
    background: radial-gradient(circle, rgba(144, 144, 144, 0.55) 0%, transparent 70%);
}

.map-pin__ring {
    position: absolute;
    left: 50%;
    top: 14px;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    border-radius: 50%;
    border: 2px solid rgba(110, 110, 110, 0.35);
    animation: map-pin-pulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    pointer-events: none;
}

.map-pin.is-active .map-pin__ring {
    border-color: rgba(144, 144, 144, 0.65);
    animation-duration: 1.6s;
}

@keyframes map-pin-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.map-pin__bubble {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(145deg, #7A7A7A 0%, #6E6E6E 45%, #525252 100%);
    border: 3px solid #fff;
    box-shadow:
        0 8px 22px rgba(110, 110, 110, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.map-pin.is-active .map-pin__bubble {
    background: linear-gradient(145deg, #A8A8A8 0%, #909090 40%, #6E6E6E 100%);
    box-shadow:
        0 10px 26px rgba(144, 144, 144, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.map-pin__shine {
    position: absolute;
    top: 4px;
    left: 8px;
    width: 18px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 100%);
    pointer-events: none;
}

.map-pin__icon {
    display: block;
    opacity: 0.95;
}

.map-pin__count {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.map-pin__needle {
    position: relative;
    z-index: 1;
    width: 0;
    height: 0;
    margin: -5px auto 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 16px solid #525252;
    filter: drop-shadow(0 3px 4px rgba(29, 78, 216, 0.35));
}

.map-pin.is-active .map-pin__needle {
    border-top-color: #6E6E6E;
}

/* User location pin */
.map-user-pin {
    position: relative;
    width: 48px;
    height: 48px;
}

.map-user-pin__pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    border: 2px solid rgba(110, 110, 110, 0.55);
    animation: map-user-pulse 2.2s ease-out infinite;
    pointer-events: none;
}

.map-user-pin__pulse--2 {
    animation-delay: 1.1s;
}

@keyframes map-user-pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}

.map-user-pin__core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(110, 110, 110, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-user-pin__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(145deg, #7A7A7A, #6E6E6E);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.dark .map-pin__bubble {
    border-color: rgba(255, 255, 255, 0.92);
}

#photographers-map,
#photos-map {
    z-index: 0;
    background: #e8eef5;
}

.dark #photographers-map,
.dark #photos-map {
    background: #1a1f28;
}

#photographers-map .leaflet-container,
#photos-map .leaflet-container {
    font-family: inherit;
    background: transparent;
}

.map-destination-item.is-active {
    background: rgba(110, 110, 110, 0.08);
}

.dark .map-destination-item.is-active {
    background: rgba(110, 110, 110, 0.15);
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 15, 15, 0.12);
}

.map-popup {
    min-width: 180px;
}

.map-popup__title {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.map-popup__meta {
    font-size: 0.75rem;
    color: rgba(15, 15, 15, 0.55);
    margin-bottom: 0.75rem;
}

.dark .map-popup__meta {
    color: rgba(255, 255, 255, 0.55);
}

.map-popup__people {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.map-popup__person {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    text-decoration: none;
    color: inherit;
}

.map-popup__person:hover {
    color: #6E6E6E;
}

.map-popup__person img {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    object-fit: cover;
}

.map-popup__link {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6E6E6E;
    text-decoration: none;
}

.map-popup__link:hover {
    text-decoration: underline;
}

.map-popup__photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.map-popup__photo {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 1;
}

.map-popup__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-popup__photo:hover {
    opacity: 0.92;
}

/* Full-screen photo map */
.page-map-fullscreen #main {
    padding: 0;
}

.page-map-fullscreen .page-top {
    padding-top: 0;
}

.map-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 82rem;
    margin-inline: auto;
    padding-inline: 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .map-page {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .map-page {
        padding-inline: 2rem;
    }
}

#main:has(.map-page) + footer {
    margin-top: 0;
}

.map-page__toolbar {
    flex-shrink: 0;
    border-bottom: 1px solid rgba(15, 15, 15, 0.06);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.dark .map-page__toolbar {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 15, 0.92);
}

.map-page__toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto;
    padding: 0.875rem 0;
}

@media (min-width: 640px) {
    .map-page__toolbar-inner {
        padding-inline: 0;
    }
}

.map-page__eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(15, 15, 15, 0.4);
    margin-bottom: 0.125rem;
}

.dark .map-page__eyebrow {
    color: rgba(255, 255, 255, 0.4);
}

.map-page__title {
    font-family: Poppins, Inter, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.map-page__meta {
    font-size: 0.8125rem;
    color: rgba(15, 15, 15, 0.55);
    white-space: nowrap;
}

.dark .map-page__meta {
    color: rgba(255, 255, 255, 0.55);
}

.map-page__canvas-wrap {
    position: relative;
    flex: 1;
    min-height: 480px;
    height: 75vh;
}

.map-page__canvas {
    position: absolute;
    inset: 0;
}

.map-page__empty {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
}

.dark .map-page__empty {
    background: rgba(15, 15, 15, 0.82);
}

.map-locate-btn--overlay {
    top: 1rem;
    right: 1rem;
}

/* Photo thumbnail map markers */
.map-marker-wrap--photo.leaflet-marker-icon {
    transition: transform 0.2s ease;
}

.map-photo-marker {
    position: relative;
    width: 68px;
    cursor: pointer;
    filter: drop-shadow(0 8px 16px rgba(15, 15, 15, 0.22));
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
    transform-origin: 50% 100%;
}

.map-photo-marker.is-hover,
.map-photo-marker:hover {
    transform: translateY(-4px) scale(1.04);
    filter: drop-shadow(0 12px 22px rgba(15, 15, 15, 0.28));
    z-index: 1000 !important;
}

.map-photo-marker__thumb {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 0.625rem;
    overflow: hidden;
    border: 3px solid #fff;
    background: #1a1a1a;
    isolation: isolate;
}

.dark .map-photo-marker__thumb {
    border-color: rgba(255, 255, 255, 0.95);
}

.map-photo-marker__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.map-photo-marker__fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #dbeafe, #93c5fd);
}

.map-photo-marker__count {
    position: absolute;
    left: 0.25rem;
    bottom: 0.25rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    pointer-events: none;
}

.map-photo-marker__pointer {
    width: 0;
    height: 0;
    margin: -2px auto 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #fff;
    filter: drop-shadow(0 2px 3px rgba(15, 15, 15, 0.15));
}

.dark .map-photo-marker__pointer {
    border-top-color: rgba(255, 255, 255, 0.95);
}

/* Upload / edit photo GPS picker */
.upload-gps-map-wrap {
    margin-top: 0.25rem;
}

.upload-gps-map-wrap__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.upload-gps-map-wrap__clear {
    font-size: 0.75rem;
    color: rgba(15, 15, 15, 0.5);
    transition: color 0.2s ease;
}

.upload-gps-map-wrap__clear:hover {
    color: #6E6E6E;
}

.dark .upload-gps-map-wrap__clear {
    color: rgba(255, 255, 255, 0.5);
}

.upload-gps-map {
    height: 280px;
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(15, 15, 15, 0.08);
    overflow: hidden;
    background: #f5f5f5;
    z-index: 0;
}

.dark .upload-gps-map {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.upload-gps-map .leaflet-container {
    height: 100%;
    font: inherit;
}

.creator-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.creator-card:hover {
    transform: translateY(-4px);
}

.account-link {
    color: #6E6E6E;
    text-decoration: none;
}

.account-link:hover {
    text-decoration: underline;
}

.account-links .account-link {
    display: inline-block;
    padding: 0.15rem 0;
}

.dark .account-link {
    color: #60a5fa;
}

/* PWA / mobile bottom nav hook */
@media (max-width: 1023px) {
    body.has-bottom-nav {
        padding-bottom: 4.5rem;
    }
}

/* Book a photo shoot */
.book-shoot {
    background: linear-gradient(180deg, rgba(144, 144, 144, 0.08) 0%, rgba(245, 245, 247, 0.4) 100%);
}

.dark .book-shoot {
    background: linear-gradient(180deg, rgba(144, 144, 144, 0.06) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.book-shoot-form {
    max-width: 42rem;
    margin-inline: auto;
}

.book-shoot-row {
    display: grid;
    gap: 0.65rem;
    align-items: center;
}

@media (min-width: 640px) {
    .book-shoot-row {
        grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
        gap: 1rem 1.25rem;
    }

    .book-shoot-row--full {
        grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
        align-items: start;
    }

    .book-shoot-row--date {
        align-items: start;
    }
}

.book-shoot-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(15, 15, 15, 0.72);
}

.dark .book-shoot-label {
    color: rgba(255, 255, 255, 0.72);
}

.book-shoot-input {
    width: 100%;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 15, 15, 0.1);
    background: #fff;
    padding: 0.8rem 1rem;
    font-size: 0.9375rem;
    box-shadow: 0 8px 24px rgba(15, 15, 15, 0.04);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.book-shoot-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.dark .book-shoot-input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.book-shoot-input--readonly {
    background: rgba(245, 245, 247, 0.9);
    color: rgba(15, 15, 15, 0.65);
}

.dark .book-shoot-input--readonly {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.65);
}

.book-shoot-textarea {
    min-height: 6rem;
    resize: vertical;
}

.book-shoot-date-wrap {
    display: grid;
    gap: 0.75rem;
}

.book-shoot-date-input {
    color-scheme: light;
}

.dark .book-shoot-date-input {
    color-scheme: dark;
}

.book-shoot-calendar {
    border-radius: 1rem;
    border: 1px solid rgba(15, 15, 15, 0.08);
    background: #fff;
    padding: 0.85rem;
    box-shadow: 0 8px 24px rgba(15, 15, 15, 0.05);
}

.dark .book-shoot-calendar {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.book-shoot-calendar__head {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.book-shoot-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.book-shoot-calendar__dow {
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    color: rgba(15, 15, 15, 0.45);
    padding: 0.25rem 0;
}

.dark .book-shoot-calendar__dow {
    color: rgba(255, 255, 255, 0.45);
}

.book-shoot-calendar__day {
    aspect-ratio: 1;
    border: none;
    border-radius: 9999px;
    background: transparent;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.book-shoot-calendar__day:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.1);
}

.book-shoot-calendar__day--selected {
    background: rgba(144, 144, 144, 0.22);
    box-shadow: inset 0 0 0 2px rgba(144, 144, 144, 0.65);
    font-weight: 600;
}

.book-shoot-calendar__day--disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.book-shoot-calendar__day--empty {
    pointer-events: none;
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    transform: translateY(0);
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.cookie-consent.hidden {
    display: block;
    transform: translateY(110%);
    opacity: 0;
}

.cookie-consent--hide {
    transform: translateY(110%);
    opacity: 0;
}

.cookie-consent__inner {
    pointer-events: auto;
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 15, 15, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 40px rgba(15, 15, 15, 0.12);
    backdrop-filter: blur(12px);
}

.dark .cookie-consent__inner {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(15, 15, 15, 0.94);
}

.cookie-consent__title {
    font-family: Poppins, Inter, system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.cookie-consent__body {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(15, 15, 15, 0.72);
}

.dark .cookie-consent__body {
    color: rgba(255, 255, 255, 0.72);
}

.cookie-consent__body a {
    color: #6E6E6E;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__actions {
    display: flex;
    justify-content: flex-end;
}

.cookie-consent__accept {
    border: 0;
    border-radius: 9999px;
    padding: 0.65rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: #0f0f0f;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.dark .cookie-consent__accept {
    color: #0f0f0f;
    background: #fff;
}

.cookie-consent__accept:hover {
    opacity: 0.88;
}

body.has-cookie-consent {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

.photo-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.photo-share__btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.photo-share__btn--facebook { background: #1877f2; }
.photo-share__btn--x { background: #0f0f0f; }
.photo-share__btn--linkedin { background: #0a66c2; }
.photo-share__btn--pinterest { background: #e60023; }
.photo-share__btn--whatsapp { background: #25d366; }
.photo-share__btn--email {
    background: #6E6E6E;
    color: #fff;
}

.dark .photo-share__btn--x {
    background: #fff;
    color: #0f0f0f;
}

@media (min-width: 640px) {
    .cookie-consent__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 1.125rem 1.5rem;
    }

    body.has-cookie-consent {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Discourage saving photos from the public site */
.site-photo,
img[src*="/media/photo"] {
    -webkit-user-drag: none;
    user-select: none;
}

.photo-protect {
    position: relative;
}

.photo-protect__shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}

.photo-grid-card .site-photo,
.portfolio-card .site-photo {
    pointer-events: none;
}

/* Homepage beta announcement modal */
.beta-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 1;
    transition: opacity 0.28s ease;
}

.beta-modal.hidden {
    display: none;
}

.beta-modal--hide {
    opacity: 0;
    pointer-events: none;
}

.beta-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.55);
    backdrop-filter: blur(4px);
}

.beta-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 32rem);
    max-height: min(90vh, 40rem);
    overflow-y: auto;
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(15, 15, 15, 0.08);
    box-shadow: 0 24px 64px rgba(15, 15, 15, 0.18);
}

.dark .beta-modal__panel {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.1);
}

.beta-modal__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 15, 15, 0.45);
}

.dark .beta-modal__eyebrow {
    color: rgba(255, 255, 255, 0.45);
}

.beta-modal__title {
    margin-top: 0.75rem;
    font-family: Poppins, Inter, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.beta-modal__body {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(15, 15, 15, 0.72);
}

.dark .beta-modal__body {
    color: rgba(255, 255, 255, 0.72);
}

.beta-modal__body p + p {
    margin-top: 0.75rem;
}

.beta-modal__list {
    margin-top: 1rem;
    padding-left: 1.15rem;
    list-style: disc;
}

.beta-modal__list li + li {
    margin-top: 0.35rem;
}

.beta-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.beta-modal__primary,
.beta-modal__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.15rem;
    border-radius: 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.beta-modal__primary {
    border: none;
    background: #0f0f0f;
    color: #fff;
    cursor: pointer;
}

.dark .beta-modal__primary {
    background: #fff;
    color: #0f0f0f;
}

.beta-modal__secondary {
    border: 1px solid rgba(15, 15, 15, 0.12);
    color: inherit;
}

.dark .beta-modal__secondary {
    border-color: rgba(255, 255, 255, 0.15);
}

.beta-modal__primary:hover,
.beta-modal__secondary:hover {
    opacity: 0.88;
}

body.has-beta-modal {
    overflow: hidden;
}
