body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

::selection {
    background-color: rgba(251, 191, 36, 0.3);
}

#nav-menu.show {
    display: block;
}

#ocr-btn.loading {
    pointer-events: none;
    opacity: 0.5;
}

a, button {
    transition: all 0.15s ease;
}

#more-chevron.rotate-180 {
    transform: rotate(180deg);
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star-rating .star {
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 1;
    color: #4b5563;
    padding: 0 1px;
    user-select: none;
}

.star-rating .star.filled {
    color: #f59e0b;
}

.star-rating .star.half {
    position: relative;
    color: #4b5563;
}

.star-rating .star.half::before {
    content: attr(data-char);
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #f59e0b;
    pointer-events: none;
}

.star-rating .star-rating-label {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.star-display {
    display: inline-flex;
    gap: 1px;
}

.star-display .star {
    font-size: 1.1rem;
    line-height: 1;
    color: #4b5563;
}

.star-display .star.filled {
    color: #f59e0b;
}

.star-display .star.half {
    position: relative;
    color: #4b5563;
}

.star-display .star.half::before {
    content: attr(data-char);
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #f59e0b;
}

.star-display-sm {
    display: inline-flex;
    gap: 1px;
}
.star-display-sm .star {
    font-size: 0.75rem;
    line-height: 1;
    color: #4b5563;
}
.star-display-sm .star.filled {
    color: #f59e0b;
}
.star-display-sm .star.half {
    position: relative;
    color: #4b5563;
}
.star-display-sm .star.half::before {
    content: attr(data-char);
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #f59e0b;
}

.map-container {
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #374151;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f59e0b;
    cursor: pointer;
    border: 2px solid #1f2937;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f59e0b;
    cursor: pointer;
    border: 2px solid #1f2937;
}

.glass-icon,
.glass-silhouette {
    width: 16px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.glass-icon {
    object-fit: contain;
}

.cluster-marker {
    background: none !important;
    border: none !important;
}

.cluster-count {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.9);
    color: white;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
