

#distance-card {

    display: block;
    width: 100%;
    padding: 35px 15px;

    background:
        radial-gradient(
            ellipse at center,
            #dfc18a12,
            #ffffff03
        );

    border: 1px solid #dfc18a35;
    border-radius: 25px;

}

.distance-symbols {

    font-size: 32px;
    letter-spacing: 8px;

    color: var(--gold);

    margin: 18px 0;

}

#home-distance-number,
#location-distance {

    font-family: Georgia, serif;

    color: var(--gold);

    font-size: clamp(42px, 9vw, 65px);

    margin: 20px 0;

    font-variant-numeric: tabular-nums;

}

#home-distance-status {

    font-size: 13px;

    color: var(--muted);

}

#distance-card small {

    display: block;

    font-size: 11px;

    letter-spacing: 2px;

    color: var(--gold);

}

#location-dialog {

    width: min(580px, 92vw);

    max-height: 85vh;

    overflow-y: auto;

    background: #14291f;

    color: var(--cream);

    padding: 28px;

    border: 1px solid #dfc18a60;

    border-radius: 28px;

    text-align: center;

    box-shadow: 0 20px 100px #0008;

}

#location-dialog::backdrop {

    background: #0009;

    backdrop-filter: blur(10px);

}

#location-dialog h1 {

    font-size: clamp(45px, 8vw, 75px);

    margin: 28px 0;

}

#location-dialog button {

    padding: 12px 16px;

    font-size: 13px;

    margin: 8px 0;

}

#location-close {

    display: block;

    margin-left: auto !important;

}

#location-people {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin: 25px 0;

}

.location-person {

    background: #ffffff07;

    border: 1px solid #dfc18a30;

    border-radius: 18px;

    padding: 15px;

}

.location-person h3 {

    font-size: 20px;

    font-weight: normal;

}

.location-person p {

    font-size: 12px;

}

.location-person small {

    display: block;

    font-size: 11px;

    color: var(--muted);

}

.location-permission {

    text-align: left;

    background: #ffffff05;

    padding: 18px;

    border-radius: 15px;

    margin: 20px 0;

}

.location-permission input {

    accent-color: #dfc18a;

}

.location-permission label {

    font-size: 14px;

    color: var(--cream);

}

.location-permission p {

    font-size: 12px;

}

#location-status {

    font-size: 12px;

    color: var(--gold);

    overflow-wrap: anywhere;

}

#stop-location {

    color: #ecb2a8;

}

@media (max-width: 600px) {

    #location-dialog {

        padding: 18px;

    }

    .location-person {

        padding: 10px;

    }

}



#stop-location {
    display: none !important;
  }


/* Hide large distance card on homepage */

#home-distance {
    display: none !important;
}

