/* Partypeople – Barrierefreiheit & reduzierte Bewegung (aus geocraft.css ausgelagert) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid #00f0ff !important;
    outline-offset: 2px !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Touch targets: keep primary controls comfortably tappable. */
.btn-chat-close {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.chat-input {
    min-height: 40px;
    font-size: 0.9rem;
}

.btn-icon-only,
#btn-toggle-mic {
    min-width: 40px;
    min-height: 40px;
}

.segmented-btn,
.radar-scope-btn {
    min-height: 38px;
}

#btn-close-tinder,
#btn-open-matches-list,
#btn-close-match-chat,
#btn-close-feedback,
#btn-close-ios-modal,
.btn-build-close {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px !important;
}

.modal-content {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 18px;
}

.btn-tinder-action {
    flex-direction: column;
    gap: 1px;
}

.btn-tinder-action > span:first-child {
    line-height: 1;
}

.tinder-action-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1;
    color: #cbd5e1;
}

#btn-swipe-cheers .tinder-action-label {
    color: #ffffff;
}

.btn-tinder-cheers {
    width: 70px;
    height: 70px;
}

.modal-backdrop {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.build-catalog-container.build-catalog-shell {
    border-radius: 18px !important;
    overflow: hidden !important;
}

.build-catalog-topline p,
.build-catalog-sort,
.build-catalog-price-label,
.build-section-label {
    color: #94a3b8 !important;
    font-size: 0.72rem !important;
}

.build-catalog-card-desc {
    font-size: 0.76rem !important;
}

.build-catalog-card-spec {
    font-size: 0.7rem !important;
}

.build-catalog-badge {
    font-size: 0.64rem !important;
}

.build-catalog-sidebar-promo {
    font-size: 0.74rem !important;
    color: #cbd5e1 !important;
}

.build-catalog-empty p {
    font-size: 0.8rem !important;
}

.build-catalog-buy {
    min-height: 38px !important;
    font-size: 0.76rem !important;
}

#feedback-form label {
    line-height: 1.35;
    margin-bottom: 7px !important;
}

@media (max-width: 900px) {
    .build-modal-sub {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        line-height: 1.3 !important;
    }
}

.landing-privacy-link {
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    color: #94a3b8 !important;
    font-size: 0.82rem !important;
}

@media (max-width: 480px) {
    .landing-lang-switch .lang-btn {
        min-width: 40px;
        min-height: 40px;
    }

    .landing-footer-row {
        gap: 8px;
    }
}

body.modal-open .mobile-bottom-dock {
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (pointer: coarse), (max-width: 860px) {
    .btn-geo,
    .btn-chat-close,
    .btn-icon-only,
    .btn-tinder-action,
    .mobile-drawer-close,
    #btn-close-tinder,
    #btn-close-feedback,
    #btn-close-match-chat,
    .btn-build-close {
        min-height: 44px;
    }

    #btn-close-tinder,
    #btn-close-feedback,
    #btn-close-match-chat,
    .btn-build-close,
    .mobile-drawer-close {
        min-width: 44px;
    }

    .chat-input {
        min-height: 44px;
        font-size: 1rem;
    }

    .radar-scope-btn {
        min-height: 44px;
    }

    .drawer-item-desc {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        line-height: 1.35 !important;
    }

    .mobile-bottom-dock .dock-btn {
        min-width: 44px !important;
        height: 48px !important;
    }

    body:not(.mode-2d-active) .mobile-bottom-dock .dock-btn {
        min-width: 44px !important;
        height: 48px !important;
    }

    .mobile-bottom-dock .dock-btn-party,
    .mobile-bottom-dock .dock-btn-layer {
        display: none !important;
    }

    .mobile-bottom-dock .dock-btn-label {
        font-size: 0.68rem !important;
    }

    .minimap-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        padding: 4px 6px 2px;
    }

    .minimap-actions .minimap-btn {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .minimap-panel:not(.mode-fullscreen-2d) .minimap-actions .minimap-btn:not(#btn-minimap-toggle):not(#btn-minimap-recenter) {
        display: none !important;
    }

    .minimap-street {
        max-width: 72px;
        font-size: 0.72rem !important;
    }

    .minimap-panel {
        width: 148px !important;
    }

    .minimap-body {
        height: 120px !important;
    }

    .modal-content {
        width: 94vw;
        max-height: calc(100dvh - 24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}
