        :root {
            --c-50: #FDFBF7;
            --c-100: #FAF5ED;
            --c-200: #F0E6D4;
            --c-300: #DBC8A8;
            --c-400: #C4A878;
            --c-500: #A68B5B;
            --c-600: #7A6342;
            --c-700: #54432D;
            --c-800: #3B2D1C;
            --c-900: #1E1710;
            --accent-gold: #C8963E;
            --accent-gold-l: #F5E6C8;
            --accent-green: #3A8F5C;
            --accent-green-l: #D6F0DE;
            --accent-red: #C0392B;
            --accent-orange: #D4780A;
            --accent-orange-l: #FDF0E0;
            --font-display: 'DM Serif Display', Georgia, serif;
            --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
            --r-xs: 6px;
            --r-sm: 10px;
            --r-md: 14px;
            --r-lg: 20px;
            --r-xl: 28px;
            --r-full: 9999px;
            --sh-sm: 0 2px 8px rgba(30, 23, 16, 0.06);
            --sh-md: 0 4px 16px rgba(30, 23, 16, 0.08);
            --sh-lg: 0 8px 32px rgba(30, 23, 16, 0.10);
            --sh-gold: 0 4px 20px rgba(200, 150, 62, 0.30);
            --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
        }

        :root {
            --bs-primary: #7A6342;
            --bs-primary-rgb: 122, 99, 66;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        html {
            -webkit-text-size-adjust: 100%;
            scroll-behavior: smooth
        }

        body {
            font-family: var(--font-body);
            background: var(--c-50);
            color: var(--c-700);
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 9998;
            opacity: 0.018;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
            background-size: 200px 200px
        }

        .font-display {
            font-family: var(--font-display)
        }

        .app-header {
            position: relative;
            background: var(--c-900);
            overflow: hidden;
            padding: 28px 16px 32px
        }

        .header-bg {
            position: absolute;
            inset: 0;
            overflow: hidden
        }

        .header-bg::before {
            content: '';
            position: absolute;
            width: 340px;
            height: 340px;
            top: -120px;
            right: -80px;
            background: radial-gradient(circle, rgba(200, 150, 62, 0.18) 0%, transparent 70%);
            border-radius: 50%;
            animation: floatSlow 12s ease-in-out infinite alternate
        }

        .header-bg::after {
            content: '';
            position: absolute;
            width: 260px;
            height: 260px;
            bottom: -100px;
            left: -60px;
            background: radial-gradient(circle, rgba(200, 150, 62, 0.10) 0%, transparent 70%);
            border-radius: 50%;
            animation: floatSlow 10s ease-in-out 2s infinite alternate-reverse
        }

        @keyframes floatSlow {
            0% {
                transform: translate(0, 0) scale(1)
            }

            100% {
                transform: translate(20px, -15px) scale(1.08)
            }
        }

        .header-pattern {
            position: absolute;
            inset: 0;
            opacity: 0.035;
            background-image: repeating-linear-gradient(135deg, transparent, transparent 20px, rgba(255, 255, 255, 0.5) 20px, rgba(255, 255, 255, 0.5) 21px)
        }

        .header-inner {
            position: relative;
            z-index: 2;
            text-align: center
        }

        .header-logo {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: var(--r-md);
            background: rgba(200, 150, 62, 0.12);
            border: 1px solid rgba(200, 150, 62, 0.15);
            margin-bottom: 14px
        }

        .header-logo i {
            font-size: 1.4rem;
            color: var(--accent-gold)
        }

        .header-title {
            font-family: var(--font-display);
            font-size: 1.55rem;
            font-weight: 400;
            color: #FFF;
            letter-spacing: -0.01em;
            line-height: 1.25;
            margin-bottom: 8px
        }

        .header-subtitle {
            color: rgba(255, 255, 255, 0.45);
            font-size: 0.82rem;
            line-height: 1.5;
            max-width: 440px;
            margin: 0 auto
        }

        .header-stats {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-top: 16px;
            flex-wrap: wrap
        }

        .header-stat {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: rgba(255, 255, 255, 0.28);
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.03em;
            text-transform: uppercase
        }

        .header-stat i {
            font-size: 0.8rem
        }

        .main-content {
            padding: 20px 12px 40px
        }

        .form-card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(200, 168, 120, 0.12);
            border-radius: var(--r-lg);
            box-shadow: var(--sh-md);
            transition: box-shadow 0.4s var(--ease-out)
        }

        .form-card:hover {
            box-shadow: var(--sh-lg)
        }

        .form-card-body {
            padding: 20px 18px
        }

        .form-section-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--c-700);
            margin-bottom: 16px;
            letter-spacing: -0.01em
        }

        .form-section-title .icon-wrap {
            width: 28px;
            height: 28px;
            border-radius: var(--r-xs);
            background: var(--c-100);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0
        }

        .form-section-title .icon-wrap i {
            font-size: 0.82rem;
            color: var(--c-600)
        }

        .form-control,
        .form-select {
            border: 1.5px solid var(--c-200);
            border-radius: var(--r-sm);
            padding: 10px 14px;
            font-size: 0.85rem;
            font-family: var(--font-body);
            color: var(--c-700);
            background: #FFF;
            transition: all 0.2s ease
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--accent-gold);
            box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.12);
            outline: none
        }

        .input-group-text {
            border: 1.5px solid var(--c-200);
            border-left: none;
            background: var(--c-100);
            color: var(--c-600);
            font-weight: 700;
            font-size: 0.78rem;
            border-radius: 0 var(--r-sm) var(--r-sm) 0;
            letter-spacing: 0.05em
        }

        .input-group .form-control {
            border-right: none;
            border-radius: var(--r-sm) 0 0 var(--r-sm)
        }

        .form-label-custom {
            display: block;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--c-600);
            margin-bottom: 6px
        }

        .form-hint {
            font-size: 0.72rem;
            color: var(--c-400);
            margin-top: 4px
        }

        .btn-locate {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 11px 16px;
            border: 1.5px dashed var(--c-300);
            border-radius: var(--r-sm);
            background: transparent;
            color: var(--c-600);
            font-family: var(--font-body);
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s var(--ease-out)
        }

        .btn-locate:hover {
            border-color: var(--accent-gold);
            color: var(--accent-gold);
            background: rgba(200, 150, 62, 0.04)
        }

        .btn-locate.is-loading {
            border-style: solid;
            border-color: var(--c-300);
            color: var(--c-400);
            pointer-events: none
        }

        .btn-locate .spinner-border {
            width: 1rem;
            height: 1rem;
            border-width: 2px
        }

        /* ==========================================
           LOKASI CARD (OPENSTREETMAP SUCCESS STATE)
           ========================================== */
        .lokasi-card {
            margin-top: 12px;
            background: #FFF;
            border: 1px solid rgba(58, 143, 92, 0.15);
            border-radius: var(--r-md);
            overflow: hidden;
            animation: cardReveal 0.4s var(--ease-out)
        }

        .lokasi-card-header {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            font-size: 0.78rem;
            font-weight: 700;
            background: var(--accent-green-l);
            color: var(--accent-green)
        }

        .lokasi-card-header i {
            font-size: 0.9rem
        }

        .lokasi-card-body {
            padding: 12px 14px
        }

        .lokasi-card-row {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            font-size: 0.78rem;
            color: var(--c-600);
            line-height: 1.5;
            margin-bottom: 4px
        }

        .lokasi-card-row:last-child {
            margin-bottom: 0
        }

        .lokasi-card-row i {
            color: var(--c-400);
            font-size: 0.75rem;
            margin-top: 3px;
            flex-shrink: 0;
            width: 16px;
            text-align: center
        }

        .lokasi-card-coords {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid var(--c-100);
            font-size: 0.7rem;
            color: var(--c-400);
            font-family: 'SF Mono', 'Fira Code', monospace
        }

        .form-divider {
            height: 1px;
            background: var(--c-200);
            margin: 18px 0;
            border: none;
            opacity: 0.6
        }

        .facilities-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px 10px
        }

        .form-check {
            padding: 0;
            margin: 0
        }

        .form-check-input {
            width: 17px;
            height: 17px;
            margin: 3px 8px 0 0;
            float: left;
            border: 1.5px solid var(--c-300);
            border-radius: 4px;
            transition: all 0.15s ease;
            cursor: pointer
        }

        .form-check-input:checked {
            background-color: var(--accent-gold);
            border-color: var(--accent-gold);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 10 3 3 5-5'/%3E%3C/svg%3E");
            background-size: 14px;
            background-position: center
        }

        .form-check-input:focus {
            box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.15);
            border-color: var(--accent-gold)
        }

        .form-check-label {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--c-600);
            cursor: pointer;
            line-height: 1.5;
            transition: color 0.15s
        }

        .form-check-label:hover {
            color: var(--c-700)
        }

        .form-check-label i {
            font-size: 0.78rem;
            color: var(--c-400);
            flex-shrink: 0;
            width: 16px;
            text-align: center
        }

        .btn-submit {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 13px 20px;
            border: none;
            border-radius: var(--r-sm);
            background: linear-gradient(135deg, var(--c-700), var(--c-800));
            color: #FFF;
            font-family: var(--font-body);
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s var(--ease-out);
            position: relative;
            overflow: hidden;
            letter-spacing: 0.01em
        }

        .btn-submit::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--accent-gold), #A07830);
            opacity: 0;
            transition: opacity 0.3s ease
        }

        .btn-submit:hover::before {
            opacity: 1
        }

        .btn-submit:hover {
            transform: translateY(-1px);
            box-shadow: var(--sh-gold);
            color: #FFF
        }

        .btn-submit:active {
            transform: translateY(0)
        }

        .btn-submit span,
        .btn-submit i {
            position: relative;
            z-index: 1
        }

        .info-box {
            background: rgba(200, 150, 62, 0.04);
            border: 1px solid rgba(200, 150, 62, 0.10);
            border-radius: var(--r-md);
            padding: 14px 16px;
            margin-top: 14px
        }

        .info-box-title {
            font-size: 0.73rem;
            font-weight: 700;
            color: var(--c-600);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 5px
        }

        .info-box ol {
            margin: 0;
            padding-left: 18px;
            font-size: 0.72rem;
            color: var(--c-500);
            line-height: 1.65
        }

        .info-box ol li {
            margin-bottom: 2px
        }

        .info-box strong {
            color: var(--c-600)
        }

        .result-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
            gap: 12px
        }

        .result-title {
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--c-700);
            display: flex;
            align-items: center;
            gap: 8px
        }

        .result-count {
            font-size: 0.72rem;
            font-weight: 700;
            color: #FFF;
            background: var(--c-700);
            padding: 4px 12px;
            border-radius: var(--r-full);
            white-space: nowrap
        }

        @keyframes cardReveal {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.97)
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1)
            }
        }

        .result-card {
            background: #FFF;
            border: 1px solid rgba(200, 168, 120, 0.08);
            border-radius: var(--r-md);
            box-shadow: var(--sh-sm);
            overflow: hidden;
            margin-bottom: 12px;
            animation: cardReveal 0.5s var(--ease-out) both;
            transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
            position: relative
        }

        .result-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--c-300);
            border-radius: 0 4px 4px 0;
            transition: width 0.3s ease, background 0.3s ease
        }

        .result-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--sh-lg)
        }

        .result-card:hover::before {
            width: 5px;
            background: var(--accent-gold)
        }

        .result-card.is-rank-1::before {
            background: linear-gradient(to bottom, var(--accent-gold), #D4A84B);
            width: 5px
        }

        .result-card.is-rank-1 {
            border-color: rgba(200, 150, 62, 0.15);
            box-shadow: var(--sh-md), 0 0 0 1px rgba(200, 150, 62, 0.06)
        }

        .result-card-body {
            padding: 16px 16px 16px 20px
        }

        .result-card-top {
            display: flex;
            align-items: flex-start;
            gap: 12px
        }

        .rank-badge {
            width: 38px;
            height: 38px;
            border-radius: var(--r-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.95rem;
            color: #FFF;
            background: var(--c-600);
            flex-shrink: 0
        }

        .rank-badge.rank-1 {
            width: 44px;
            height: 44px;
            font-size: 1.1rem;
            background: linear-gradient(135deg, var(--accent-gold), #A07830);
            box-shadow: var(--sh-gold);
            border-radius: var(--r-md)
        }

        .result-card-info {
            flex: 1;
            min-width: 0
        }

        .result-card-name {
            font-family: var(--font-display);
            font-size: 1.02rem;
            font-weight: 400;
            color: var(--c-800);
            line-height: 1.3;
            margin-bottom: 8px
        }

        .result-card.is-rank-1 .result-card-name {
            font-size: 1.08rem
        }

        .result-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
            margin-bottom: 10px
        }

        .meta-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            border-radius: var(--r-full);
            font-size: 0.73rem;
            font-weight: 600
        }

        .meta-distance {
            background: var(--c-100);
            color: var(--c-600)
        }

        .meta-accuracy {
            background: var(--accent-green-l);
            color: var(--accent-green)
        }

        .meta-accuracy.is-high {
            background: linear-gradient(135deg, rgba(58, 143, 92, 0.12), rgba(58, 143, 92, 0.06));
            font-weight: 800
        }

        .facility-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 4px
        }

        .facility-pill {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2px 9px;
            border-radius: var(--r-full);
            background: var(--c-100);
            color: var(--c-500);
            font-size: 0.68rem;
            font-weight: 500;
            line-height: 1.6;
            transition: background 0.15s
        }

        .facility-pill:hover {
            background: var(--c-200)
        }

        .facility-pill i {
            font-size: 0.65rem;
            color: var(--c-400)
        }

        .state-empty,
        .state-error {
            text-align: center;
            padding: 40px 20px
        }

        .state-icon {
            font-size: 2.8rem;
            color: var(--c-200);
            margin-bottom: 14px;
            display: block
        }

        .state-title {
            font-family: var(--font-display);
            font-size: 1.15rem;
            color: var(--c-500);
            margin-bottom: 6px
        }

        .state-desc {
            font-size: 0.82rem;
            color: var(--c-400);
            max-width: 320px;
            margin: 0 auto;
            line-height: 1.55
        }

        .alert-custom {
            border-radius: var(--r-md);
            border: 1px solid rgba(192, 57, 43, 0.12);
            background: rgba(192, 57, 43, 0.03);
            padding: 16px 18px;
            display: flex;
            gap: 12px;
            align-items: flex-start
        }

        .alert-custom-icon {
            color: var(--accent-red);
            font-size: 1.2rem;
            flex-shrink: 0;
            margin-top: 1px
        }

        .alert-custom-title {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--accent-red);
            margin-bottom: 3px
        }

        .alert-custom-text {
            font-size: 0.82rem;
            color: var(--c-600);
            line-height: 1.5
        }

        .toast-wrap {
            position: fixed;
            top: 12px;
            right: 12px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 8px;
            pointer-events: none
        }

        .toast-item {
            pointer-events: auto;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: var(--r-sm);
            background: var(--c-800);
            color: #FFF;
            font-size: 0.82rem;
            font-weight: 500;
            box-shadow: var(--sh-lg);
            animation: toastIn 0.35s var(--ease-out);
            max-width: calc(100vw - 24px)
        }

        .toast-item.is-success {
            border-left: 3px solid var(--accent-green)
        }

        .toast-item.is-danger {
            border-left: 3px solid var(--accent-red)
        }

        .toast-item.is-warning {
            border-left: 3px solid var(--accent-gold)
        }

        .toast-item i {
            flex-shrink: 0;
            font-size: 1rem
        }

        .toast-item.is-success i {
            color: var(--accent-green)
        }

        .toast-item.is-danger i {
            color: var(--accent-red)
        }

        .toast-item.is-warning i {
            color: var(--accent-gold)
        }

        /* //untuk popup// */
        .modal-detail .modal-content {
            border-radius: 16px;
            border: 1px solid rgba(200, 168, 120, 0.15);
            box-shadow: 0 20px 50px rgba(30, 23, 16, 0.15);
        }

        .modal-detail .modal-header {
            border-bottom: 1px solid rgba(200, 168, 120, 0.12);
        }

        .modal-detail .modal-title {
            font-family: var(--font-display);
            font-size: 1.2rem;
            color: var(--c-800);
        }

        .detail-grid img {
            width: 100%;
            border-radius: 12px;
            object-fit: cover;
            box-shadow: 0 6px 18px rgba(30, 23, 16, 0.08);
        }

        .detail-menu-list li {
            margin-bottom: 4px;
            color: var(--c-600);
            font-size: 0.9rem;
        }

        .meta-detail {
            background: var(--c-100);
            color: var(--c-600);
            border: none;
            cursor: pointer;
        }

        /* ===== Modal Detail Lebih Rapi ===== */
        .modal-detail .modal-body {
            padding: 20px 22px;
        }

        .modal-detail h6 {
            font-weight: 700;
            color: var(--c-700);
            margin-bottom: 10px;
        }

        .detail-grid img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 12px;
            background: var(--c-100);
        }

        .detail-grid .col-6,
        .detail-grid .col-md-4 {
            display: flex;
        }

        .detail-grid .col-6 img,
        .detail-grid .col-md-4 img {
            width: 100%;
        }

        .detail-menu-list ul {
            margin: 0;
            padding-left: 18px;
        }

        .detail-menu-list li {
            font-size: 0.88rem;
            line-height: 1.6;
            color: var(--c-600);
        }

        .detail-menu-list .text-muted,
        #detailFotos .text-muted,
        #detailMenuImages .text-muted {
            font-size: 0.82rem;
            color: var(--c-400);
        }

        .detail-grid img {
            cursor: zoom-in;
        }

        @keyframes toastIn {
            from {
                opacity: 0;
                transform: translateX(30px) scale(0.95)
            }

            to {
                opacity: 1;
                transform: translateX(0) scale(1)
            }
        }

        @keyframes toastOut {
            from {
                opacity: 1;
                transform: translateX(0) scale(1)
            }

            to {
                opacity: 0;
                transform: translateX(30px) scale(0.9)
            }
        }

        .app-footer {
            background: var(--c-900);
            text-align: center;
            padding: 20px 16px;
            color: rgba(255, 255, 255, 0.25);
            font-size: 0.72rem;
            letter-spacing: 0.02em
        }

        .sticky-wrap {
            position: relative
        }

        /* === RESPONSIVE BREAKPOINTS === */
        @media(min-width:360px) {
            .app-header {
                padding: 30px 20px 34px
            }

            .header-title {
                font-size: 1.65rem
            }

            .main-content {
                padding: 22px 14px 44px
            }

            .form-card-body {
                padding: 22px 20px
            }

            .result-card-body {
                padding: 16px 18px 16px 22px
            }
        }

        @media(min-width:480px) {
            .app-header {
                padding: 36px 28px 40px
            }

            .header-logo {
                width: 54px;
                height: 54px;
                margin-bottom: 16px
            }

            .header-logo i {
                font-size: 1.6rem
            }

            .header-title {
                font-size: 1.85rem
            }

            .header-subtitle {
                font-size: 0.88rem;
                max-width: 460px
            }

            .main-content {
                padding: 28px 20px 50px
            }

            .form-card-body {
                padding: 24px 24px
            }

            .btn-submit {
                padding: 14px 24px;
                font-size: 0.92rem
            }

            .result-card-body {
                padding: 18px 20px 18px 24px
            }

            .rank-badge {
                width: 40px;
                height: 40px;
                font-size: 1rem
            }

            .rank-badge.rank-1 {
                width: 46px;
                height: 46px;
                font-size: 1.15rem
            }

            .state-empty,
            .state-error {
                padding: 48px 24px
            }
        }

        @media(min-width:768px) {
            .app-header {
                padding: 48px 40px 56px
            }

            .header-logo {
                width: 62px;
                height: 62px;
                border-radius: var(--r-lg);
                margin-bottom: 20px
            }

            .header-logo i {
                font-size: 1.9rem
            }

            .header-title {
                font-size: 2.3rem
            }

            .header-subtitle {
                font-size: 0.95rem;
                max-width: 500px
            }

            .main-content {
                padding: 36px 28px 60px
            }

            .form-card-body {
                padding: 28px 28px
            }

            .btn-submit {
                padding: 15px 28px;
                font-size: 0.94rem;
                border-radius: var(--r-md)
            }

            .sticky-wrap {
                position: sticky;
                top: 20px
            }

            .result-card {
                margin-bottom: 14px
            }

            .result-card-body {
                padding: 20px 24px 20px 28px
            }

            .result-card-top {
                gap: 16px
            }

            .rank-badge {
                width: 44px;
                height: 44px;
                font-size: 1.05rem;
                border-radius: var(--r-md)
            }

            .rank-badge.rank-1 {
                width: 52px;
                height: 52px;
                font-size: 1.25rem
            }

            .state-empty,
            .state-error {
                padding: 60px 32px
            }

            .state-icon {
                font-size: 3.2rem
            }

            .state-title {
                font-size: 1.25rem
            }
        }

        @media(min-width:1024px) {
            .app-header {
                padding: 56px 48px 64px
            }

            .header-title {
                font-size: 2.6rem
            }

            .main-content {
                padding: 44px 36px 72px
            }

            .form-card-body {
                padding: 32px
            }

            .form-card {
                border-radius: var(--r-xl)
            }

            .sticky-wrap {
                top: 28px
            }

            .result-card {
                border-radius: var(--r-lg);
                margin-bottom: 16px
            }

            .result-card-body {
                padding: 24px 28px 24px 32px
            }
        }

        @media(min-width:1080px) {
            .app-header {
                padding: 60px 56px 68px
            }

            .header-title {
                font-size: 2.75rem
            }

            .header-subtitle {
                font-size: 1.02rem;
                max-width: 520px
            }

            .main-content {
                padding: 48px 0 80px
            }

            .result-card {
                margin-bottom: 18px
            }

            .result-card-body {
                padding: 26px 28px 26px 34px
            }
        }

        @media(min-width:1440px) {
            .app-header {
                padding: 72px 80px 80px
            }

            .header-logo {
                width: 72px;
                height: 72px;
                border-radius: var(--r-xl);
                margin-bottom: 24px
            }

            .header-logo i {
                font-size: 2.2rem
            }

            .header-title {
                font-size: 3.1rem;
                letter-spacing: -0.02em
            }

            .header-subtitle {
                font-size: 1.08rem
            }

            .main-content {
                padding: 56px 0 100px
            }

            .form-card {
                border-radius: var(--r-xl)
            }

            .form-card-body {
                padding: 36px
            }

            .sticky-wrap {
                top: 36px
            }

            .result-card {
                border-radius: var(--r-lg);
                margin-bottom: 20px
            }

            .result-card-body {
                padding: 28px 32px 28px 38px
            }

            .result-card-top {
                gap: 20px
            }

            .rank-badge {
                width: 48px;
                height: 48px;
                font-size: 1.1rem
            }

            .rank-badge.rank-1 {
                width: 56px;
                height: 56px;
                font-size: 1.35rem;
                border-radius: var(--r-lg)
            }

            .meta-badge {
                font-size: 0.76rem;
                padding: 4px 12px
            }

            .facility-pill {
                font-size: 0.74rem;
                padding: 3px 12px
            }

            .state-empty,
            .state-error {
                padding: 80px 40px
            }

            .state-icon {
                font-size: 3.8rem
            }

            .state-title {
                font-size: 1.4rem
            }

            .state-desc {
                font-size: 0.88rem;
                max-width: 380px
            }
        }

        @media(prefers-reduced-motion:reduce) {

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important
            }

            .result-card,
            .toast-item {
                animation: none;
                opacity: 1;
                transform: none
            }

            .btn-submit:hover {
                transform: none
            }

            .result-card:hover {
                transform: none
            }

            .header-bg::before,
            .header-bg::after {
                animation: none
            }
        }