@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:ital,wght@0,400..800;1,400..800&family=Plus+Jakarta+Sans:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
    --bg: #0f1c24;
    --bg-soft: #162a35;
    --surface: #f6fbfe;
    --surface-2: #edf5f9;
    --text: #173340;
    --text-muted: #3f6578;
    --text-soft: #567a8f;
    --font-cta: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --primary: #4db8e3;
    --primary-dark: #2a9bc7;
    --primary-glow: rgba(56, 189, 248, 0.2);
    --accent: #7de3ff;
    --sea: #38c4e8;
    --sea-deep: #1e8aad;
    --ice: #d8f3fc;
    --ice-deep: #8fd4ef;
    --glass: rgba(246, 252, 255, 0.62);
    --glass-border: rgba(125, 211, 252, 0.78);
    --site-blue-border: rgba(14, 165, 233, 0.48);
    --site-blue-border-soft: rgba(56, 189, 248, 0.42);
    --site-blue-border-btn: rgba(2, 132, 199, 0.54);
    --site-blue-divider: rgba(14, 165, 233, 0.34);
    --site-on-accent-text: #f0f9ff;
    --site-on-accent-text-hover: #f8fcff;
    --site-on-accent-text-active: #e0f2fe;
    --site-on-accent-text-shadow: 0 1px 0 rgba(7, 89, 133, 0.22);
    --site-on-accent-text-shadow-hover: 0 1px 0 rgba(7, 89, 133, 0.18);
    --site-on-accent-text-shadow-active: 0 1px 0 rgba(3, 105, 161, 0.28);
    --site-icon-blue-light: #5bc8f8;
    --site-icon-blue-mid: #0ea5e9;
    --site-icon-blue-deep: #0284c7;
    --site-pin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='12' y1='2' x2='12' y2='21' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%235bc8f8'/%3E%3Cstop offset='.5' stop-color='%230ea5e9'/%3E%3Cstop offset='1' stop-color='%230284c7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23s)' d='M12 2.5C8.41 2.5 5.5 5.41 5.5 9c0 4.86 6.5 12.4 6.5 12.4S18.5 13.86 18.5 9c0-3.59-2.91-6.5-6.5-6.5z'/%3E%3Ccircle cx='12' cy='9' r='2' fill='%23ffffff'/%3E%3C/svg%3E");
    --site-district-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cdefs%3E%3ClinearGradient id='d' x1='12' y1='3' x2='12' y2='21' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%235bc8f8'/%3E%3Cstop offset='.5' stop-color='%230ea5e9'/%3E%3Cstop offset='1' stop-color='%230284c7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='url(%23d)'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3Cpath d='M9 9h.01M15 9h.01M9 13h.01M15 13h.01'/%3E%3C/g%3E%3C/svg%3E");
    --admin-glass: rgba(255, 255, 255, 0.38);
    --admin-glass-hover: rgba(255, 255, 255, 0.48);
    --admin-glass-active: rgba(255, 255, 255, 0.54);
    --admin-glass-icon: rgba(255, 255, 255, 0.14);
    --admin-glass-icon-hover: rgba(255, 255, 255, 0.26);
    --admin-sidebar-bg:
        radial-gradient(circle at top left, rgba(91, 200, 248, 0.16), transparent 44%),
        linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 48%, rgba(186, 230, 253, 0.72) 100%);
    --admin-sidebar-blur: none;
    --admin-sidebar-border: var(--site-blue-border-soft);
    --admin-main-bg:
        radial-gradient(circle at 88% 0%, rgba(91, 200, 248, 0.1), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(186, 230, 253, 0.12), transparent 44%),
        linear-gradient(180deg, #ffffff 0%, #f8fcff 50%, #f0f9ff 100%);
    --admin-panel-icon-bg: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.88) 48%, rgba(186, 230, 253, 0.68) 100%);
    --admin-panel-icon-bg-hover: linear-gradient(165deg, rgba(255, 255, 255, 1) 0%, rgba(224, 242, 254, 0.94) 45%, rgba(125, 211, 252, 0.72) 100%);
    --admin-panel-icon-color: #0ea5e9;
    --admin-panel-icon-border: rgba(56, 189, 248, 0.38);
    --admin-panel-icon-border-hover: rgba(14, 165, 233, 0.46);
    --admin-panel-icon-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 5px rgba(14, 165, 233, 0.08),
        0 2px 4px rgba(14, 116, 144, 0.07),
        0 6px 16px rgba(56, 189, 248, 0.16);
    --admin-panel-icon-shadow-hover:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        inset 0 -2px 6px rgba(14, 165, 233, 0.1),
        0 4px 8px rgba(14, 116, 144, 0.1),
        0 10px 22px rgba(56, 189, 248, 0.22);
    --admin-welcome-surface-bg:
        radial-gradient(circle at top right, rgba(91, 200, 248, 0.14), transparent 46%),
        linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, rgba(186, 230, 253, 0.68) 100%);
    --admin-welcome-surface-border: var(--site-blue-border-soft);
    --vintage-wash: rgba(56, 189, 248, 0.18);
    --featured: #8E2D3C;
    --featured-bg: rgba(142, 45, 60, 0.1);
    --danger: #ef4444;
    --success: #10b981;
    --border: rgba(143, 181, 198, 0.28);
    --shadow-sm: 0 1px 2px rgba(30, 58, 74, 0.04);
    --shadow-md: 0 2px 6px rgba(30, 58, 74, 0.06);
    --shadow-lg: 0 4px 12px rgba(30, 58, 74, 0.07);
    --radius-sm: 10px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --admin-radius: 10px;
    --admin-radius-sm: 8px;
    --admin-radius-xs: 6px;
    --admin-shadow: 0 1px 2px rgba(30, 58, 74, 0.04);
    --admin-shadow-hover: 0 2px 5px rgba(30, 58, 74, 0.06);
    --shell-width: 430px;
    --image-vintage: sepia(0.07) saturate(0.94) contrast(0.96) brightness(1.03) hue-rotate(-4deg);
    --image-photo-filter: saturate(1.03) contrast(1.02) brightness(1.01);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    background: #ffffff;
}

body {
    margin: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-style: italic;
}

.listing-kunya-name,
.listing-card h2:not(.listing-feed-section-title) {
    font-style: normal;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ─── Mobile shell ─── */

.mobile-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: var(--shell-width);
    min-height: 0;
    margin: 2px auto 16px;
    padding: 0 0 20px;
    overflow-x: hidden;
    border-radius: var(--radius-xl);
    background: rgba(246, 252, 255, 0.55);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        var(--shadow-md);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
}

/* Yönetici şeridi varken üst düz, şerit ovali tamamlar */
.mobile-shell.has-admin-curtain {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    border-top: 0;
}

.mobile-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, transparent 38%);
    pointer-events: none;
    z-index: 0;
}

.mobile-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.mobile-shell > * {
    position: relative;
    z-index: 2;
}

.mobile-shell > .filter-section {
    z-index: 12;
}

/* Dış zemin beyaz; içerik oval cam kabukta */

/* ─── Admin curtain (frontend) ─── */

.admin-curtain {
    position: sticky;
    top: 0;
    z-index: 40;
    margin: 0 -1px;
    padding-top: env(safe-area-inset-top, 0px);
}

.admin-curtain-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 16px 14px;
    text-decoration: none;
    color: #0369a1;
    background:
        radial-gradient(circle at top right, rgba(91, 200, 248, 0.2), transparent 52%),
        linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    border: 1px solid var(--site-blue-border);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 6px 18px rgba(2, 132, 199, 0.12);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-curtain-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0) 18px,
        rgba(255, 255, 255, 0.14) 18px,
        rgba(255, 255, 255, 0.14) 19px
    );
    opacity: 0.65;
    pointer-events: none;
}

.admin-curtain-inner::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.42), transparent);
    pointer-events: none;
}

.admin-curtain-glow {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 120px;
    height: 60px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 200, 248, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.admin-curtain-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2px;
    min-width: 0;
}

.admin-curtain-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0284c7;
}

.admin-curtain-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0369a1;
}

.admin-curtain-arrow {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(165deg, #ffffff 0%, #e0f2fe 58%, #bae6fd 100%);
    border: 1px solid var(--site-blue-border-soft);
    font-size: 16px;
    font-weight: 700;
    color: #0284c7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 2px 6px rgba(2, 132, 199, 0.1);
}

.admin-curtain-inner:active {
    transform: scale(0.995);
}

.has-admin-curtain .site-header-minimal {
    padding-top: 10px;
}

.has-admin-curtain .site-header.compact {
    padding-top: 10px;
}

/* ─── Header ─── */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 18px 8px;
}

.site-header-minimal {
    padding: 14px 18px 6px;
}

.site-header-minimal:has(.site-brand:empty) {
    display: none;
}

.site-brand {
    flex: 1;
    min-width: 0;
    min-height: 0;
}

.site-brand:empty {
    display: none;
}

.site-header.compact {
    justify-content: flex-start;
    padding: 16px 18px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--site-blue-border-soft);
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 3px 12px rgba(14, 165, 233, 0.12);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.back-link-arrow {
    display: block;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.back-link svg {
    stroke-width: 2.2;
}

.mobile-shell .back-link {
    min-height: 40px;
    padding: 0 18px;
    gap: 7px;
    font-size: 14px;
}

.mobile-shell .back-link:hover {
    transform: none;
}

.mobile-shell .back-link-arrow {
    width: 16px;
    height: 16px;
}

.site-header.compact .back-link {
    margin-left: 0;
}

.site-header.compact.detail-header-has-tier {
    justify-content: space-between;
}

.detail-header-tier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.detail-header-tier-label {
    position: relative;
    z-index: 2;
}

.detail-header-tier-featured {
    position: relative;
    overflow: hidden;
    color: #8E2D3C;
    background:
        linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 240, 243, 0.82) 44%,
            rgba(252, 228, 232, 0.78) 100%
        );
    border: 1px solid rgba(142, 45, 60, 0.32);
    border-bottom-color: rgba(142, 45, 60, 0.18);
    backdrop-filter: blur(16px) saturate(168%);
    -webkit-backdrop-filter: blur(16px) saturate(168%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 -1px 0 rgba(142, 45, 60, 0.06) inset,
        0 4px 14px rgba(142, 45, 60, 0.08),
        0 0 18px rgba(248, 208, 216, 0.22);
    animation: detail-tier-featured-ambient 5.2s ease-in-out infinite;
}

.detail-header-tier-featured .detail-header-tier-label {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
}

.detail-header-tier-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.58) 0%,
        rgba(255, 255, 255, 0.14) 24%,
        transparent 54%
    );
    pointer-events: none;
}

.detail-header-tier-featured::after {
    content: '';
    position: absolute;
    top: -28%;
    bottom: -28%;
    left: -130%;
    width: 34%;
    z-index: 1;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.22) 36%,
        rgba(255, 237, 240, 0.42) 50%,
        rgba(255, 255, 255, 0.22) 64%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-16deg);
    pointer-events: none;
    filter: blur(0.35px);
    animation: detail-tier-featured-glint 6.2s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
}

@keyframes detail-tier-featured-glint {
    0%, 20% {
        left: -130%;
        opacity: 0;
    }

    26% {
        opacity: 0.85;
    }

    52% {
        left: 145%;
        opacity: 0.85;
    }

    58%, 100% {
        left: 145%;
        opacity: 0;
    }
}

@keyframes detail-tier-featured-ambient {
    0%, 100% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9) inset,
            0 -1px 0 rgba(142, 45, 60, 0.06) inset,
            0 4px 14px rgba(142, 45, 60, 0.08),
            0 0 16px rgba(248, 208, 216, 0.2);
        border-color: rgba(142, 45, 60, 0.32);
    }

    50% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.94) inset,
            0 -1px 0 rgba(142, 45, 60, 0.08) inset,
            0 5px 16px rgba(142, 45, 60, 0.1),
            0 0 24px rgba(248, 208, 216, 0.28);
        border-color: rgba(142, 45, 60, 0.38);
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-header-tier-featured {
        animation: none;
    }

    .detail-header-tier-featured::after {
        animation: none;
        display: none;
    }
}

.detail-header-tier-gold {
    color: #7c5a10;
    background: linear-gradient(145deg, #fffdf5 0%, #f8e8a8 48%, #efd98d 100%);
    border: 1px solid rgba(212, 175, 55, 0.48);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72) inset,
        0 4px 14px rgba(180, 134, 11, 0.2);
}

.detail-header-tier-bronze {
    color: #7a3e17;
    background: linear-gradient(145deg, #fff1e8 0%, #f5c8a6 48%, #c98c55 100%);
    border: 1px solid rgba(184, 115, 51, 0.48);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72) inset,
        0 4px 14px rgba(156, 86, 33, 0.2);
}

.back-link:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(186, 230, 253, 0.92) 100%);
    border-color: var(--site-blue-border);
    color: #075985;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 2px 8px rgba(14, 165, 233, 0.16);
    transform: translateY(-1px);
}

.back-link:active {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.98) 0%, rgba(125, 211, 252, 0.88) 100%);
    border-color: var(--site-blue-border-btn);
    color: #0c4a6e;
    box-shadow: inset 0 1px 2px rgba(3, 105, 161, 0.14);
    transform: translateY(0);
}

.back-link:focus-visible {
    outline: 2px solid rgba(14, 165, 233, 0.55);
    outline-offset: 1px;
}

/* ─── Filter ─── */

.filter-section {
    display: grid;
    gap: 12px;
    padding: 0 16px 20px;
}

.home-announcement {
    position: relative;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.home-announcement-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-announcement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin-top: 0;
    border-radius: 50%;
    color: #0f4c6a;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 247, 255, 0.88) 100%);
    border: 1px solid rgba(56, 189, 248, 0.24);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 4px 12px rgba(42, 90, 120, 0.06);
}

.home-announcement-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.home-announcement-bubble {
    --ha-bubble-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.94) 42%, rgba(236, 247, 255, 0.9) 100%);
    --ha-bubble-border: rgba(125, 211, 252, 0.34);
    --ha-tail-fill: #f3faff;
    --ha-tail-border: rgba(125, 211, 252, 0.34);
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 11px 14px 12px;
    border-radius: 18px;
    border: 1px solid var(--ha-bubble-border);
    background: var(--ha-bubble-bg);
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(186, 230, 253, 0.08),
        0 5px 18px rgba(14, 116, 144, 0.07);
}

.home-announcement-bubble::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 13px;
    height: 18px;
    transform: translate(calc(100% - 1px), -50%);
    background: var(--ha-tail-border);
    clip-path: polygon(0 16%, 100% 50%, 0 84%);
    pointer-events: none;
}

.home-announcement-bubble::after {
    content: '';
    position: absolute;
    right: 1px;
    top: 50%;
    width: 11px;
    height: 16px;
    transform: translate(100%, -50%);
    background: var(--ha-tail-fill);
    clip-path: polygon(0 18%, 100% 50%, 0 82%);
    pointer-events: none;
}

.home-announcement-title {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #0f4c6a;
    font-style: normal;
}

.home-announcement-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
}

.home-announcement-warning .home-announcement-icon {
    color: #b45309;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 243, 199, 0.92) 100%);
    border-color: rgba(251, 191, 36, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 4px 12px rgba(245, 158, 11, 0.08);
}

.home-announcement-warning .home-announcement-bubble {
    --ha-bubble-border: rgba(251, 191, 36, 0.28);
    --ha-bubble-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 251, 235, 0.95) 46%, rgba(254, 243, 199, 0.88) 100%);
    --ha-tail-fill: #fff8eb;
    --ha-tail-border: rgba(251, 191, 36, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(251, 191, 36, 0.06),
        0 5px 18px rgba(180, 83, 9, 0.08);
}

.home-announcement-warning .home-announcement-title {
    color: #7a5a1f;
}

.home-announcement-info .home-announcement-icon {
    color: #0284c7;
}

.home-announcement-info .home-announcement-bubble {
    --ha-bubble-border: rgba(56, 189, 248, 0.3);
    --ha-tail-fill: #f3faff;
    --ha-tail-border: rgba(56, 189, 248, 0.3);
}

.home-announcement-info .home-announcement-title {
    color: #0f4c6a;
}

.home-announcement-danger .home-announcement-icon {
    color: #dc2626;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 226, 226, 0.92) 100%);
    border-color: rgba(248, 113, 113, 0.24);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 4px 12px rgba(248, 113, 113, 0.08);
}

.home-announcement-danger .home-announcement-bubble {
    --ha-bubble-border: rgba(248, 113, 113, 0.26);
    --ha-bubble-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 247, 247, 0.95) 46%, rgba(254, 226, 226, 0.88) 100%);
    --ha-tail-fill: #fff5f5;
    --ha-tail-border: rgba(248, 113, 113, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(248, 113, 113, 0.05),
        0 5px 18px rgba(185, 28, 28, 0.07);
}

.home-announcement-danger .home-announcement-title {
    color: #9f3a3a;
}

/* Ana sayfa — site mavi border (ilan listesi hariç) */

.filter-section .filter-card {
    border: 1px solid var(--site-blue-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        var(--shadow-md);
}

.filter-section .home-announcement:not(.home-announcement-warning):not(.home-announcement-danger) .home-announcement-bubble {
    --ha-bubble-border: var(--site-blue-border);
    --ha-tail-border: var(--site-blue-border);
    border: 1px solid var(--site-blue-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        inset 0 -10px 18px rgba(186, 230, 253, 0.1),
        0 4px 12px rgba(2, 132, 199, 0.07);
}

.filter-section .home-announcement:not(.home-announcement-warning):not(.home-announcement-danger) .home-announcement-icon {
    border: 1px solid var(--site-blue-border-soft);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 2px 6px rgba(2, 132, 199, 0.06);
}

.filter-section .filter-select-trigger {
    border: 1px solid var(--site-blue-border-soft);
    border-radius: 12px;
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    color: #0369a1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 1px 2px rgba(2, 132, 199, 0.08);
}

.filter-section .filter-select-trigger.is-placeholder {
    color: #0369a1;
}

.filter-section .filter-select-trigger:hover {
    border-color: var(--site-blue-border);
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 52%, #7dd3fc 100%);
    color: #0284c7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 2px 5px rgba(2, 132, 199, 0.12);
}

.filter-section .filter-select.is-open .filter-select-trigger,
.filter-section .filter-select-trigger:focus-visible {
    border-color: var(--site-blue-border);
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 52%, #7dd3fc 100%);
    color: #0284c7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 0 0 3px rgba(14, 165, 233, 0.14);
}

.filter-section .filter-select-chevron {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230369a1' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

.filter-section .filter-select-menu {
    border: 1px solid var(--site-blue-border);
    border-radius: 12px;
    background: linear-gradient(165deg, #f8fcff 0%, #f0f9ff 42%, #e0f2fe 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 10px 24px rgba(2, 132, 199, 0.12);
}

.filter-section .filter-select-option:hover,
.filter-section .filter-select-option:focus-visible {
    background: rgba(186, 230, 253, 0.72);
    color: #0284c7;
}

.filter-section .filter-select-option.is-selected {
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 58%, #7dd3fc 100%);
    color: #0369a1;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.28);
}

.filter-section .filter-location-status,
.filter-section .site-inline-notice {
    border: 1px solid var(--site-blue-border-soft);
    border-radius: 12px;
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    color: #0369a1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 1px 2px rgba(2, 132, 199, 0.08);
}

.filter-section .filter-location-status.is-success,
.filter-section .site-inline-notice.is-success {
    border-color: var(--site-blue-border);
    background:
        radial-gradient(circle at top right, rgba(91, 200, 248, 0.16), transparent 52%),
        linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 72%, #7dd3fc 100%);
    color: #0369a1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 2px 6px rgba(2, 132, 199, 0.1);
}

.filter-section .filter-location-status.is-pending,
.filter-section .site-inline-notice.is-pending {
    border-color: var(--site-blue-border-soft);
    background: linear-gradient(165deg, #f8fcff 0%, #f0f9ff 52%, #e0f2fe 100%);
    color: #0284c7;
}

.filter-section .filter-location-status.is-success .site-inline-notice-icon,
.filter-section .site-inline-notice.is-success .site-inline-notice-icon {
    border-color: var(--site-blue-border-soft);
    background-color: rgba(255, 255, 255, 0.92);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.filter-section .filter-location-status.is-pending .site-inline-notice-icon,
.filter-section .site-inline-notice.is-pending .site-inline-notice-icon {
    border-color: var(--site-blue-border-soft);
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v6l3.5 2'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}

.filter-section .site-inline-notice-icon {
    border: 1px solid var(--site-blue-border-soft);
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.filter-section .location-consent {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.filter-section .location-consent-inner {
    border: 1px solid var(--site-blue-border);
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 4px 12px rgba(2, 132, 199, 0.07);
}

.filter-section .location-consent-note {
    border: 1px solid var(--site-blue-border-soft);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.filter-section .location-consent-actions .location-consent-accept {
    border: 1px solid var(--site-blue-border-btn);
    border-radius: 12px;
    background: linear-gradient(135deg, #7de3ff 0%, var(--primary) 42%, var(--primary-dark) 100%);
    color: var(--site-on-accent-text);
    text-shadow: var(--site-on-accent-text-shadow);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 2px 8px rgba(2, 132, 199, 0.16);
}

.filter-section .location-consent-actions .location-consent-accept:hover {
    transform: none;
    border-color: rgba(2, 132, 199, 0.62);
    color: var(--site-on-accent-text-hover);
    text-shadow: var(--site-on-accent-text-shadow-hover);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 3px 10px rgba(2, 132, 199, 0.18);
}

.filter-section .location-consent-actions .location-consent-decline {
    border: 1px solid var(--site-blue-border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    color: #0369a1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 1px 2px rgba(2, 132, 199, 0.06);
}

.filter-section .location-consent-actions .location-consent-decline:hover {
    transform: none;
    border-color: var(--site-blue-border);
    background: rgba(255, 255, 255, 0.96);
    color: #0284c7;
}

.filter-section .filter-location-btn {
    border: 1px solid var(--site-blue-border-soft);
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    color: #0369a1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 1px 2px rgba(2, 132, 199, 0.08);
}

.filter-section .filter-location-btn:hover {
    border-color: var(--site-blue-border);
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 52%, #7dd3fc 100%);
    color: #0284c7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 2px 5px rgba(2, 132, 199, 0.12);
}

.publish-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.publish-cta-group {
    --publish-cta-btn-height: 50px;
    --publish-cta-logo-size: calc(var(--publish-cta-btn-height) * 1.24);
    display: flex;
    align-items: center;
    gap: 10px;
}

.publish-cta-group .publish-cta-main {
    flex: 1;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 0 18px;
    height: var(--publish-cta-btn-height);
    min-height: var(--publish-cta-btn-height);
}

.publish-cta-main {
    position: relative;
    flex-direction: row;
    align-items: center;
    height: var(--publish-cta-btn-height, 50px);
    min-height: var(--publish-cta-btn-height, 50px);
    box-sizing: border-box;
    font-family: var(--font-cta);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    overflow: hidden;
    color: var(--site-on-accent-text);
    text-shadow: var(--site-on-accent-text-shadow);
    border-radius: 12px;
    border: 1px solid var(--site-blue-border-btn);
    background: linear-gradient(165deg, #5bc8f8 0%, #0ea5e9 42%, #0284c7 72%, #0369a1 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 1px 3px rgba(2, 132, 199, 0.12);
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: publish-cta-glow 3.6s ease-in-out infinite;
    transition:
        background 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        transform 0.18s ease;
}

.publish-cta-logo {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 0 0 var(--publish-cta-logo-size, 62px);
    width: var(--publish-cta-logo-size, 62px);
    height: var(--publish-cta-logo-size, 62px);
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    perspective: 460px;
    transform-style: preserve-3d;
    background: none;
    border: none;
}

/* Sadece altta yumuşak zemin gölgesi — kutu/panel yok */
.publish-cta-logo::before {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(15, 76, 106, 0.2) 0%,
        rgba(42, 155, 199, 0.08) 55%,
        transparent 72%
    );
    filter: blur(2px);
    pointer-events: none;
    transform: translateZ(-6px) scaleX(0.85);
    transform-origin: center bottom;
}

.publish-cta-logo::after {
    content: none;
    display: none;
}

.publish-cta-logo img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: var(--publish-cta-logo-size, 62px);
    max-height: var(--publish-cta-logo-size, 62px);
    object-fit: contain;
    object-position: center bottom;
    transform: translateZ(10px) rotateX(10deg) translateY(-4px);
    transform-origin: center bottom;
    filter:
        saturate(1.1)
        contrast(1.05)
        drop-shadow(0 4px 6px rgba(15, 76, 106, 0.2))
        drop-shadow(0 10px 16px rgba(42, 155, 199, 0.24));
    transition: transform 0.22s ease, filter 0.22s ease, opacity 0.2s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.publish-cta-logo:hover img {
    transform: translateZ(14px) rotateX(8deg) translateY(-5px);
    filter:
        saturate(1.12)
        contrast(1.05)
        drop-shadow(0 5px 8px rgba(15, 76, 106, 0.22))
        drop-shadow(0 12px 18px rgba(42, 155, 199, 0.28));
}

.publish-cta-logo:active img {
    transform: translateZ(9px) rotateX(14deg) translateY(-3px);
    opacity: 0.94;
}

.publish-cta-logo:focus-visible {
    outline: 2px solid rgba(56, 189, 248, 0.65);
    outline-offset: 3px;
}

.publish-cta-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.1) 44%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 255, 255, 0.1) 56%,
        transparent 62%,
        transparent 100%
    );
    background-size: 220% 100%;
    background-position: 160% 50%;
    animation: publish-cta-sheen 4.2s ease-in-out infinite;
}

.publish-cta-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-cta);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--site-on-accent-text);
    text-shadow: var(--site-on-accent-text-shadow);
}

.publish-cta-main:hover,
.publish-cta.publish-cta-main:hover {
    color: var(--site-on-accent-text-hover);
    text-shadow: var(--site-on-accent-text-shadow-hover);
    border-color: rgba(2, 132, 199, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 2px 5px rgba(2, 132, 199, 0.16);
    transform: translateY(-1px);
    animation: none;
}

.publish-cta-main:active,
.publish-cta.publish-cta-main:active {
    transform: translateY(0);
    box-shadow:
        inset 0 1px 2px rgba(1, 74, 122, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: none;
}

.publish-cta-main:hover::after {
    animation: none;
    opacity: 0.42;
}

.publish-cta-main:focus-visible {
    outline: 2px solid rgba(14, 165, 233, 0.55);
    outline-offset: 2px;
}

@keyframes publish-cta-glow {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 1px 3px rgba(2, 132, 199, 0.12);
    }

    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.34),
            0 2px 5px rgba(2, 132, 199, 0.16);
    }
}

@keyframes publish-cta-sheen {
    0% {
        background-position: 160% 50%;
    }

    100% {
        background-position: -60% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .publish-cta-main {
        animation: none;
    }

    .publish-cta-main::after {
        animation: none;
    }

    .publish-cta-text {
        color: var(--site-on-accent-text);
        text-shadow: var(--site-on-accent-text-shadow);
    }

    .publish-cta-logo img {
        transform: translateY(-4px);
        transition: none;
        filter:
            saturate(1.1)
            drop-shadow(0 4px 10px rgba(42, 155, 199, 0.24));
    }
}

.publish-page {
    padding: 0 16px 12px;
}

.publish-page-card {
    display: grid;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(246, 251, 254, 0.68);
    border: 1px solid var(--site-blue-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        var(--shadow-md);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.publish-page-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 20px 18px;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(91, 200, 248, 0.22), transparent 52%),
        linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    border-bottom: 1px solid var(--site-blue-divider);
}

.publish-page-eyebrow {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--site-blue-border-soft);
    color: #0284c7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.publish-page-card h1,
.publish-page-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0369a1;
    line-height: 1.15;
}

.publish-page-title {
    width: 100%;
    text-align: center;
}

.publish-page-card > .publish-cta-row-page,
.publish-page-card > p {
    padding-left: 20px;
    padding-right: 20px;
}

.publish-page-card > .publish-cta-row-page {
    padding-top: 16px;
    padding-bottom: 12px;
}

.publish-page-card > p {
    padding-top: 8px;
    padding-bottom: 22px;
}

.publish-page-card p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: #3f6578;
}

.publish-cta-row-page {
    margin-top: 6px;
}

.publish-cta-row-page .publish-cta {
    min-height: 72px;
    font-size: 13px;
}

.publish-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 58px;
    padding: 12px 10px;
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--site-on-accent-text);
    text-shadow: var(--site-on-accent-text-shadow);
    border: 1px solid rgba(56, 189, 248, 0.45);
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 0.18s ease;
}

.publish-cta.publish-cta-main {
    border-radius: 12px;
    border: 1px solid var(--site-blue-border-btn);
    background: linear-gradient(165deg, #5bc8f8 0%, #0ea5e9 42%, #0284c7 72%, #0369a1 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 1px 3px rgba(2, 132, 199, 0.12);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    font-family: var(--font-cta);
    transition:
        background 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        transform 0.18s ease;
}

.publish-cta span {
    line-height: 1.1;
}

.publish-cta-whatsapp {
    background: linear-gradient(145deg, #4ade80 0%, #16a34a 52%, #15803d 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 10px 24px rgba(22, 163, 74, 0.28);
}

.publish-cta-telegram {
    background: linear-gradient(145deg, #67e8f9 0%, #2aabee 52%, #229ed9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 10px 24px rgba(34, 158, 217, 0.28);
}

.publish-cta:hover {
    transform: translateY(-1px);
}

.publish-cta-whatsapp:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 14px 30px rgba(22, 163, 74, 0.34);
}

.publish-cta-telegram:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 14px 30px rgba(34, 158, 217, 0.34);
}

.publish-cta:active {
    transform: translateY(0) scale(0.98);
}

.publish-cta-static {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.filter-card {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: rgba(246, 251, 254, 0.68);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: -2px 0 2px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: none;
    color: #0369a1;
}

.filter-label::before {
    content: '';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    border: 1px solid var(--site-blue-border-soft);
    background:
        var(--site-pin-icon) center / 14px 14px no-repeat,
        linear-gradient(165deg, #ffffff 0%, #e0f2fe 58%, #bae6fd 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 2px 6px rgba(2, 132, 199, 0.08);
}

.filter-label::after {
    content: '';
    flex: 1;
    min-width: 12px;
    height: 1px;
    margin-left: 2px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.38), rgba(56, 189, 248, 0.16) 58%, transparent 100%);
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.filter-field {
    display: grid;
    gap: 0;
    min-width: 0;
}

.filter-select {
    position: relative;
    z-index: 1;
}

.filter-select.is-open {
    z-index: 50;
}

.filter-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.filter-select-trigger {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid var(--site-blue-border-soft);
    border-radius: 12px;
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    color: #0369a1;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 1px 2px rgba(2, 132, 199, 0.08);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.filter-select-value {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-select-chevron {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230369a1' d='M6 8L1 3h10z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.2s ease;
}

.filter-select-trigger.is-placeholder {
    color: #0369a1;
}

.filter-select-trigger:hover {
    border-color: var(--site-blue-border);
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 52%, #7dd3fc 100%);
    color: #0284c7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 2px 5px rgba(2, 132, 199, 0.12);
}

.filter-select.is-open .filter-select-trigger,
.filter-select-trigger:focus-visible {
    outline: none;
    border-color: var(--site-blue-border);
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 52%, #7dd3fc 100%);
    color: #0284c7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 0 0 3px rgba(14, 165, 233, 0.14);
}

.filter-select.is-open .filter-select-chevron {
    transform: rotate(180deg);
}

.filter-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 2;
    max-height: min(280px, 46vh);
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--site-blue-border);
    background: linear-gradient(165deg, #f8fcff 0%, #f0f9ff 42%, #e0f2fe 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 10px 24px rgba(2, 132, 199, 0.12);
}

.filter-select-menu[hidden] {
    display: none !important;
}

.filter-select-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #1e3340;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.filter-select-option.is-placeholder {
    color: #0369a1;
    font-weight: 700;
}

.filter-select-option:hover,
.filter-select-option:focus-visible {
    outline: none;
    background: rgba(186, 230, 253, 0.72);
    color: #0284c7;
}

.filter-select-option.is-selected {
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 58%, #7dd3fc 100%);
    color: #0369a1;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.28);
}

.filter-row select {
    min-width: 0;
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

.filter-actions-location-only {
    grid-template-columns: 1fr;
    margin-top: 4px;
}

.filter-actions-location-only .filter-location-btn {
    width: 100%;
}

.listing-feed.is-filter-loading {
    opacity: 0.58;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.site-inline-notice,
.filter-location-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    color: #0369a1;
    grid-column: 1 / -1;
    border: 1px solid var(--site-blue-border-soft);
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 1px 2px rgba(2, 132, 199, 0.08);
}

.site-inline-notice[hidden],
.filter-location-status[hidden] {
    display: none !important;
}

.location-consent {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.location-consent[hidden] {
    display: none !important;
}

.location-consent-inner {
    padding: 14px 15px 15px;
    border-radius: 14px;
    border: 1px solid var(--site-blue-border-soft);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 249, 255, 0.9) 52%, rgba(224, 242, 254, 0.84) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 4px 14px rgba(42, 90, 120, 0.05);
}

.location-consent-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0369a1;
    font-style: normal;
}

.location-consent-text,
.location-consent-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-muted);
}

.location-consent-note {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(125, 211, 252, 0.22);
    color: var(--text);
}

.location-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.location-consent-actions .location-consent-accept,
.location-consent-actions .location-consent-decline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
    touch-action: manipulation;
    transform: none;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.location-consent-actions .location-consent-accept {
    border: 1px solid var(--site-blue-border-btn);
    border-radius: 12px;
    background: linear-gradient(135deg, #7de3ff 0%, var(--primary) 42%, var(--primary-dark) 100%);
    color: var(--site-on-accent-text);
    text-shadow: var(--site-on-accent-text-shadow);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 2px 8px rgba(2, 132, 199, 0.16);
}

.location-consent-actions .location-consent-accept:hover {
    transform: none;
    border-color: rgba(2, 132, 199, 0.62);
    color: var(--site-on-accent-text-hover);
    text-shadow: var(--site-on-accent-text-shadow-hover);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 3px 10px rgba(2, 132, 199, 0.18);
}

.location-consent-actions .location-consent-accept:active {
    transform: none;
    box-shadow: inset 0 1px 2px rgba(2, 132, 199, 0.18);
}

.location-consent-actions .location-consent-decline {
    border: 1px solid var(--site-blue-border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    color: #0369a1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 1px 2px rgba(2, 132, 199, 0.06);
}

.location-consent-actions .location-consent-decline:hover {
    transform: none;
    border-color: var(--site-blue-border);
    background: rgba(255, 255, 255, 0.96);
    color: #0284c7;
}

.location-consent-actions .location-consent-decline:active {
    transform: none;
    box-shadow: inset 0 1px 2px rgba(2, 132, 199, 0.1);
}

.site-inline-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--site-blue-border-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 15px;
}

.site-inline-notice-text {
    min-width: 0;
    flex: 1;
    padding-top: 4px;
}

.site-inline-notice.is-success,
.filter-location-status.is-success {
    color: #0369a1;
    border-color: var(--site-blue-border);
    background:
        radial-gradient(circle at top right, rgba(91, 200, 248, 0.16), transparent 52%),
        linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 72%, #7dd3fc 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 2px 6px rgba(2, 132, 199, 0.1);
}

.site-inline-notice.is-success .site-inline-notice-icon,
.filter-location-status.is-success .site-inline-notice-icon {
    border-color: var(--site-blue-border-soft);
    background-color: rgba(255, 255, 255, 0.92);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.site-inline-notice.is-pending,
.filter-location-status.is-pending {
    color: #0284c7;
    border-color: var(--site-blue-border-soft);
    background: linear-gradient(165deg, #f8fcff 0%, #f0f9ff 52%, #e0f2fe 100%);
}

.site-inline-notice.is-pending .site-inline-notice-icon,
.filter-location-status.is-pending .site-inline-notice-icon {
    border-color: var(--site-blue-border-soft);
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v6l3.5 2'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
    animation: filterLocationPulse 1.4s ease-in-out infinite;
}

.site-inline-notice.is-error,
.filter-location-status.is-error {
    color: #b45309;
    border-color: rgba(251, 191, 36, 0.24);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 251, 235, 0.76) 100%);
}

.site-inline-notice.is-error .site-inline-notice-icon,
.filter-location-status.is-error .site-inline-notice-icon {
    border-color: rgba(251, 191, 36, 0.26);
    background-color: rgba(255, 251, 235, 0.95);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 9v4'/%3E%3Ccircle cx='12' cy='16.5' r='1' fill='%23b45309' stroke='none'/%3E%3Cpath d='M10.3 4.5h3.4L19 18H5L10.3 4.5z'/%3E%3C/svg%3E");
}

@keyframes filterLocationPulse {
    0%, 100% {
        opacity: 0.72;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.listing-count {
    margin: 0 18px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ─── Form controls ─── */

select,
input:not([type="checkbox"]):not([type="radio"]),
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid rgba(184, 212, 227, 0.75);
    border-radius: var(--radius-sm);
    background: rgba(237, 245, 249, 0.82);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

select:focus,
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.toggle-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
}

.toggle-field span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.toggle-field:hover {
    border-color: rgba(137, 194, 217, 0.45);
    background: #ffffff;
}

.toggle-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.featured-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #8E2D3C;
    background: linear-gradient(145deg, #fffafb 0%, #fce8ec 55%, #f5d0d8 100%);
    box-shadow: 0 4px 12px rgba(142, 45, 60, 0.14);
    border: 1px solid rgba(142, 45, 60, 0.28);
}

.featured-pill svg {
    width: 15px;
    height: 15px;
    display: block;
}

.gold-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #7c5a10;
    background: linear-gradient(145deg, #fff8dc 0%, #f5e6a8 48%, #d4af37 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(180, 134, 11, 0.22);
}

.expired-pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    background: linear-gradient(180deg, rgba(224, 247, 255, 0.96) 0%, rgba(186, 230, 253, 0.9) 100%);
    border: 1px solid rgba(125, 211, 252, 0.78);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 2px 8px rgba(56, 189, 248, 0.14);
}

.status-pill-active {
    color: #16a34a;
}

.status-pill-passive {
    color: #dc2626;
}

.admin-body .table-list .status-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.date-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.date-meta span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}

.date-meta-accent {
    background: #edf5f9 !important;
    border-color: rgba(137, 194, 217, 0.35) !important;
    color: var(--sea-deep) !important;
}

.detail-date-meta {
    margin-top: 8px;
}

.date-info-box {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.date-info-box p {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--text);
}

.date-info-box small {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* ─── Buttons ─── */

button,
.primary-button,
.danger-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 14px 20px;
    color: var(--site-on-accent-text);
    text-shadow: var(--site-on-accent-text-shadow);
    background: linear-gradient(135deg, #7de3ff 0%, var(--primary) 42%, var(--primary-dark) 100%);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 2px 8px var(--primary-glow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

button:hover,
.primary-button:hover {
    color: var(--site-on-accent-text-hover);
    text-shadow: var(--site-on-accent-text-shadow-hover);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 3px 10px var(--primary-glow);
    transform: translateY(-1px);
}

button:active,
.primary-button:active {
    color: var(--site-on-accent-text-active);
    text-shadow: var(--site-on-accent-text-shadow-active);
    transform: translateY(1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 1px 4px var(--primary-glow);
}

.secondary-button {
    background: var(--surface);
    color: var(--text);
    text-shadow: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    border: 1.5px solid #e2e8f0;
}

.secondary-button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.secondary-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.danger-button {
    background: linear-gradient(135deg, #f87171, #dc2626);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 8px 24px rgba(239, 68, 68, 0.28);
}

.danger-button:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 12px 28px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.danger-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-sm {
    width: auto;
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 10px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 8px 12px;
    border-radius: 10px;
    background: #edf5f9;
    color: var(--sea-deep);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(137, 194, 217, 0.28);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn-link:hover {
    background: #d4e8f0;
    color: #3d6278;
    transform: translateY(-1px);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.button-row .primary-button,
.button-row .secondary-button,
.button-row .danger-button {
    width: auto;
    min-width: 140px;
}

.form-hint {
    margin: -4px 0 4px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 500;
}

.filter-card .filter-submit {
    margin-top: 0;
    border: 1px solid var(--site-blue-border-btn);
    border-radius: 12px;
    background: linear-gradient(135deg, #7de3ff 0%, var(--primary) 42%, var(--primary-dark) 100%);
    background-clip: padding-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: none;
}

.filter-card .filter-submit:hover {
    transform: none;
    border-color: rgba(2, 132, 199, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 1px 3px rgba(42, 155, 199, 0.12);
}

.filter-card .filter-submit:active {
    transform: none;
    box-shadow: inset 0 1px 2px rgba(42, 155, 199, 0.12);
}

.filter-card .filter-location-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    padding: 0 16px;
    overflow: hidden;
    border: 1px solid var(--site-blue-border-soft);
    border-radius: 12px;
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 46%, #bae6fd 100%);
    color: #0369a1;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 1px 2px rgba(2, 132, 199, 0.08);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.filter-card .filter-location-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.62) 50%, transparent 62%);
    transform: translateX(-130%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.filter-card .filter-location-btn:hover {
    transform: translateY(-1px);
    border-color: var(--site-blue-border);
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 52%, #7dd3fc 100%);
    color: #0284c7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 2px 5px rgba(2, 132, 199, 0.12);
}

.filter-card .filter-location-btn:hover::before {
    transform: translateX(130%);
}

.filter-card .filter-location-btn:active {
    transform: translateY(0) scale(0.99);
    background: linear-gradient(165deg, #dbeafe 0%, #bae6fd 58%, #7dd3fc 100%);
    box-shadow: inset 0 1px 2px rgba(2, 132, 199, 0.14);
}

.filter-card .filter-location-btn:focus-visible {
    outline: 2px solid rgba(14, 165, 233, 0.55);
    outline-offset: 2px;
}

.filter-card .filter-location-btn.is-loading,
.filter-card .filter-location-btn:disabled {
    opacity: 0.82;
    cursor: wait;
    transform: none;
}

.filter-card .filter-location-btn.is-tapped,
.filter-card .filter-location-btn.is-awaiting-consent {
    border-color: var(--site-blue-border);
    background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 52%, #7dd3fc 100%);
    color: #0284c7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 0 0 3px rgba(14, 165, 233, 0.14),
        0 4px 12px rgba(2, 132, 199, 0.14);
}

.filter-card .filter-location-btn.is-awaiting-consent .filter-location-btn-icon {
    animation: filterLocationPulse 1.1s ease-in-out infinite;
}

@keyframes filterLocationPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.82;
    }
}

.filter-location-btn-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.45em;
    height: 1.45em;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    background-image: var(--site-pin-icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.filter-card .filter-location-btn:hover .filter-location-btn-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 6px rgba(2, 132, 199, 0.28));
}

.filter-location-btn-label {
    position: relative;
    z-index: 1;
}

.filter-location-btn.is-loading .filter-location-btn-icon {
    width: 1.15em;
    height: 1.15em;
    background: transparent;
    background-image: none;
    border-radius: 50%;
    box-shadow: none;
    filter: none;
    transform: none;
    box-sizing: border-box;
    border: 2px solid rgba(2, 132, 199, 0.22);
    border-top-color: var(--site-icon-blue-mid);
    animation: filterLocationSpin 0.75s linear infinite;
}

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

.filter-submit {
    letter-spacing: 0.02em;
}

.mobile-shell .filter-section {
    gap: 10px;
    padding: 10px 10px 12px;
}

.mobile-shell:not(.has-admin-curtain) .filter-section {
    padding-top: max(10px, env(safe-area-inset-top, 0px));
}

.mobile-shell .filter-card {
    gap: 7px;
    padding: 10px 11px;
    border-radius: 14px;
}

.mobile-shell .filter-section .filter-card {
    border: 1px solid var(--site-blue-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        var(--shadow-sm);
}

.mobile-shell .filter-label {
    margin: 0 0 1px;
    font-size: 14px;
    gap: 9px;
}

.mobile-shell .filter-label::before {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background-size: 15px 15px;
}

.mobile-shell .filter-row {
    gap: 7px;
}

.mobile-shell .filter-field {
    gap: 0;
}

.mobile-shell .filter-select-trigger {
    min-height: 40px;
    padding: 0 11px;
    font-size: 14px;
    border-radius: 12px;
}

.mobile-shell .filter-select-menu {
    max-height: min(240px, 42vh);
    padding: 5px;
    border-radius: 12px;
}

.mobile-shell .filter-select-option {
    min-height: 36px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 9px;
}

.mobile-shell .filter-section .publish-cta-group {
    --publish-cta-btn-height: 46px;
    gap: 8px;
}

.mobile-shell .filter-section .publish-cta-main {
    height: var(--publish-cta-btn-height);
    min-height: var(--publish-cta-btn-height);
    padding: 0 14px;
    font-size: 14px;
    border-radius: 12px;
}

.mobile-shell .filter-section .publish-cta-text {
    font-size: 15px;
    letter-spacing: -0.025em;
}

.mobile-shell .home-announcement-inner {
    gap: 8px;
}

.mobile-shell .home-announcement-icon {
    width: 38px;
    height: 38px;
    margin-top: 0;
}

.mobile-shell .home-announcement-icon svg {
    width: 20px;
    height: 20px;
}

.mobile-shell .home-announcement-bubble {
    padding: 10px 12px 11px;
    border-radius: 16px;
}

.mobile-shell .home-announcement-bubble::before {
    width: 12px;
    height: 16px;
}

.mobile-shell .home-announcement-bubble::after {
    width: 10px;
    height: 14px;
}

.mobile-shell .home-announcement-title {
    font-size: 14px;
    margin-bottom: 2px;
}

.mobile-shell .home-announcement-text {
    font-size: 13px;
    line-height: 1.45;
}

.mobile-shell .site-inline-notice,
.mobile-shell .filter-location-status {
    padding: 10px 12px;
    border-radius: 13px;
}

.mobile-shell .location-consent-actions {
    grid-template-columns: 1fr;
    gap: 7px;
}

.mobile-shell .location-consent-inner {
    padding: 13px 14px 14px;
    border-radius: 13px;
}

.mobile-shell .location-consent-actions .location-consent-accept,
.mobile-shell .location-consent-actions .location-consent-decline {
    min-height: 44px;
    font-size: 14px;
}

.mobile-shell .filter-card .filter-actions {
    position: relative;
    z-index: 1;
    margin-top: 2px;
    gap: 7px;
}

.mobile-shell .location-consent {
    position: relative;
    z-index: 1;
    margin-top: 0;
    margin-bottom: 2px;
}

.mobile-shell .filter-card .filter-location-status {
    position: relative;
    z-index: 1;
}

.mobile-shell .filter-card .filter-location-btn {
    min-height: 44px;
    padding: 0 14px;
    gap: 8px;
    font-size: 14px;
    border-radius: 12px;
    touch-action: manipulation;
}

.mobile-shell .filter-card .filter-location-btn-icon {
    width: 1.45em;
    height: 1.45em;
}

.mobile-shell .filter-card .filter-location-btn.is-loading .filter-location-btn-icon {
    width: 1.15em;
    height: 1.15em;
}

.mobile-shell .filter-card .filter-submit {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 12px;
}


.table-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.table-actions form {
    display: inline-flex;
    margin: 0;
}

.btn-edit,
.btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-edit {
    color: #ffffff;
    background: linear-gradient(180deg, #34d399 0%, #10b981 55%, #059669 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 2px 8px rgba(16, 185, 129, 0.28);
}

.btn-edit:hover {
    background: linear-gradient(180deg, #2dd4a8 0%, #0d9f6e 55%, #047857 100%);
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 4px 12px rgba(16, 185, 129, 0.32);
}

.btn-edit:active {
    transform: translateY(0);
}

.btn-delete {
    color: #ffffff;
    background: linear-gradient(180deg, #f87171 0%, #ef4444 55%, #dc2626 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 2px 8px rgba(239, 68, 68, 0.25);
    font: inherit;
}

.btn-delete:hover {
    background: linear-gradient(180deg, #fb7185 0%, #e11d48 55%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-delete:active {
    transform: translateY(0);
}

button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.danger-button:focus-visible,
.btn-link:focus-visible,
.btn-edit:focus-visible,
.btn-delete:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

