/* ===========================
   Global
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
    overflow:hidden;
    font-family:
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
    background:#f5f5f5;
    color:#222;
}

/* ===========================
   Top Bar
=========================== */

.topbar{

    height:64px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 18px;

    background:#ffffff;

    border-bottom:1px solid #e6e6e6;

    position:fixed;

    top:0;

    left:0;

    right:0;

    z-index:3000;

}

.logo{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:22px;

    font-weight:700;

    white-space:nowrap;

}

#logoImage{

    width: 30px;

    height: 30px;

    object-fit: contain;

    display: block;

}

#langToggle{

    margin-right:18px;

    border:none;

    background:none;

    color:#1677ff;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

}

#langToggle:hover{

    opacity:.7;

}

#mobileSearchBtn{

    display:none;

}

#mobileSearchBar{

    display:none;

}

#mobileFilterBtn{

    display:none;

}

#mobileFilterBar{

    display:none;

}

.search{

    flex:1;

    margin:0 25px;

    position:relative;

}

#clearSearch{

    position:absolute;

    right:12px;

    top:50%;

    transform:translateY(-50%);

    width:22px;

    height:22px;

    border:none;

    border-radius:50%;

    background:#e6e6e6;

    color:#666;

    font-size:14px;

    cursor:pointer;

    display:none;

    transition:.15s;

}

#clearSearch:hover{

    background:#d5d5d5;

    color:#111;

}

.search input{

    width:100%;

    height:42px;

    border:1px solid #ddd;

    border-radius:8px;

    padding:0 42px 0 15px;

    font-size:15px;

}

.filters{

    display:flex;

    gap:10px;

}

.mobile-filters{

    display:none;

}

.filters select{

    height:40px;

    padding-left:12px;

    padding-right:42px;

    border-radius:8px;

    border:1px solid #ddd;

    background:#fff;

    cursor:pointer;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 12px center;

    background-size:12px;

}

/* ===========================
   Main Layout
=========================== */

#main{

    position:absolute;

    top:64px;

    left:0;

    right:0;

    bottom:0;

    display:flex;

}

/* ===========================
   Sidebar
=========================== */

#sidebar{

    position:relative;

    overflow:visible;

    width:390px;

    min-width:390px;

    background:#fff;

    border-right:1px solid #ddd;

    display:flex;

    flex-direction:column;

    transition:margin-left .25s ease;

}

.sidebar-header{

    height:60px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 20px;

    border-bottom:1px solid #eee;

}

.sidebar-header h2{

    font-size:18px;

}

.desktopTabs{

    display:flex;

    gap:24px;

    margin-left:auto;

}

.desktopTab{

    border:none;

    background:none;

    color:#666;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    position:relative;

    padding:0 2px 10px;

    transition:all .2s ease;

}

.desktopTab.active{

    color:#1677ff;

    transform:scale(1.05);

    font-weight:700;

}

.desktopTab.active::after{

    content:"";

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    height:3px;

    border-radius:3px;

    background:#1677ff;

}

#toggleSidebar,#showSidebar{

    display:none !important;
}

.leaflet-control-layers-toggle{

    width:42px !important;

    height:42px !important;

    background-size:26px 26px !important;

}

.leaflet-top.leaflet-right .leaflet-control-layers{

    margin-top:8px !important;

    margin-right:8px !important;

    border:1px solid #ddd !important;

    border-radius:8px !important;

    box-shadow:none !important;

}

/* =================================
Sidebar Handle
================================= */

#sidebarHandle{

    position:absolute;

    top:50%;

    right:-24px;

    transform:translateY(-50%);

    width:24px;

    height:60px;

    background:#fafafa;

    border-radius:0 8px 8px 0;

    border:1px solid #ddd;

    border-left:none;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:2500;

    cursor:grab;

    box-shadow:2px 2px 8px rgba(0,0,0,.12);

}

#sidebarHandle span{

    position:relative;

    display:block;

    width:2px;

    right:3px;

    height:26px;

    background:#bcbcbc;

    border-radius:3px;

}

#sidebarHandle span::before{

    content:"";

    position:absolute;

    left:6px;

    top:0;

    width:2px;

    height:26px;

    background:#bcbcbc;

    border-radius:3px;

}

/* ===========================
   Travel List
=========================== */

#travelList{

    flex:1;

    overflow-y:auto;

    padding:12px;

    background:#f6f7f8;

}

.travel-card{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    margin-bottom:14px;

    cursor:pointer;

    border:1px solid #ececec;

    box-shadow:none;

    transition:.15s;
}

.travel-card:hover{

    transform:translateY(-2px);

    border-color:#d9d9d9;
}

.travel-card img{

    width:100%;

    aspect-ratio:16/9;

    height:auto;

    object-fit:cover;

    display:block;

}

.travel-card-map{

    background:#fff;

    border-radius:12px;

    overflow:hidden;
    
    cursor:pointer;

    box-shadow:none;

    transition:.15s;
}

.travel-card-map:hover{

    transform:translateY(-2px);

    border-color:#d9d9d9;
}

.travel-body{

    padding:14px 16px 16px;
}

.travel-name{

    margin-top:10px;

    font-size:18px;

    font-weight:600;

    color:#222;

    margin-bottom:8px;

    line-height:1.35;
}

.travel-address{

    margin-top:4px;

    color:#777;
    
    margin-bottom:8px;

    font-size:15px;

}

.travel-meta{

    display:grid;

    grid-template-columns:repeat(2, minmax(0,1fr));

    gap:4px 12px;

    margin-top:8px;

    font-size:14px;

    color:#555;

}

.travel-meta .full{

    grid-column:1 / -1;

}

.full-row{

    grid-column:1 / -1;

}

.travel-group{

    margin-top:8px;

    color:#555;

    font-size:14px;

    display:flex;

    align-items:center;

    gap:6px;

}

.travel-campus{

    color:#555;

    font-size:14px;

    margin-top:8px;

}

.travel-category{

    margin-top:8px;

    color:#555;

    font-size:14px;

    display:flex;

    align-items:center;

    gap:6px;

}

/* ===========================
   Travel Cards
=========================== */

.travel-card{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    margin-bottom:14px;

    cursor:pointer;

    border:1px solid #ececec;

    box-shadow:none;

    transition:.15s;

}

.travel-card:hover{

    transform:translateY(-2px);

    border-color:#d9d9d9;

}

.travel-image{

    width:100%;

    aspect-ratio:16/9;

    background:#eee;

    overflow:hidden;

    border-radius:12px;

}

.travel-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

.travel-body{

    padding:14px 16px 16px;

}

.travel-name{

    margin-top:0;

    font-size:18px;

    font-weight:600;

    color:#222;

    margin-bottom:8px;

    line-height:1.35;

}

.travel-address{

    margin-top:4px;

    color:#777;

    margin-bottom:8px;

    font-size:15px;

    line-height:1.4;

}

.travel-meta{

    display:grid;

    grid-template-columns:repeat(2, minmax(0,1fr));

    gap:4px 12px;

    margin-top:8px;

    font-size:14px;

    color:#555;

    line-height:1.4;

}

.travel-tags{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:10px;
}

.travel-description{
    margin-top:12px;
    line-height:1.45;
    margin-bottom:12px;
}

.travel-tag{

    display:inline-flex;

    align-items:center;

    padding:3px 8px;

    border-radius:999px;

    background:#f1f3f5;

    color:#666;

    font-size:12px;

    line-height:1.4;

}

/* ===========================
   Map
=========================== */

#map{

    flex:1;

}

/* ===========================
   Popup
=========================== */

.leaflet-popup-close-button{

    display:none !important;

}

.leaflet-popup-content{

    width:300px !important;

    margin:0 !important;

}

.popup{

    position:relative;

    display:block;
    width:300px;
    color:inherit;
    text-decoration:none;
    cursor:pointer;
    transition:.15s;

}

.popup:hover{

    transform:translateY(-1px);

}

.popup-image img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;

    border-radius:10px;

    display:block;

    margin-bottom:14px;

}

.popup-address{

    font-size:15px;

    font-weight:500;

    line-height:1.4;

    color:#222;

    margin-bottom:10px;

}



.popup-details{

    font-size:15px;

    color:#666;

    line-height:1.5;

    margin-bottom:12px;

}

.popup-details span:not(:last-child)::after{

    content:"·";

    color:#bbb;

    padding-left:4px;

    padding-right:0;

}

.popup-image{
    padding:8px 8px 0;
}

.popup-image img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    border-radius:10px;
    display:block;
    margin-bottom:0;
}

.popup-ber{

    position:absolute;

    top:8px;

    left:8px;

    display:inline-flex;

    overflow:hidden;

    border-radius:4px;

    font-size:10px;

    font-weight:700;

    z-index:5;

}

.popup-ber-label{

    background:#111;

    color:#fff;

    padding:3px 7px;

}

.popup-ber-rating{

    color:#fff;

    padding:3px 7px;

}

.popup-source-logo{

    position:absolute;

    right:0;

    bottom:2px;

    width:56px;

    height:auto;

    display:block;

    margin:0;

    border-radius:0;

    object-fit:contain;

    aspect-ratio:auto;

    z-index:100;

}

.popup-ber-rating.ber-A{background:#18b65b;}
.popup-ber-rating.ber-B{background:#5bbf43;}
.popup-ber-rating.ber-C{background:#9cc92d;}
.popup-ber-rating.ber-D{background:#d5b829;}
.popup-ber-rating.ber-E{background:#ea9a2e;}
.popup-ber-rating.ber-F{background:#df6b2f;}
.popup-ber-rating.ber-G{background:#d93d2f;}
.popup-ber-rating.ber-BER_PENDING{background:#8f8f8f;}
.popup-ber-rating.ber-EXEMPT{background:#666;}

.mobile-actions{
    display:none;
}

/* ===========================
   Mobile
=========================== */

@media(max-width:900px){

    .mobile-actions{

        display:flex;
    
        align-items:center;
    
        gap:6px;
    
        margin-left:auto;
    
    }

    #postBtn{

        display:flex;

        align-items:center;

        margin-right:6px;

    }

    #sidebar{

        width:40vw;
    
        min-width:40vw;
    
        max-width:40vw;
    
    }
    
    #sidebar.collapsed{
    
        margin-left:0;
    
    }

    .desktopTabs{

        display:none;
    
    }

    .topbar{

        height:64px;

        padding:0 12px;

    }

    .search{

        display:none;

    }

    .topbar .filters{

        display:none;

    }


    .mobile-filters{

        display:flex;
    
        width:100%;
    
        padding:0;
    
        background:#fff;
    
        border-bottom:1px solid #eee;
    
    }

    .mobile-filters select{

        width:100%;
    
        height:40px;
    
        padding-left:12px;
    
        padding-right:42px;
    
        border:1px solid #ddd;
    
        border-radius:8px;
    
        background:#fff;
    
        color:#222;
    
        font-size:15px;
    
        font-family:inherit;
    
        appearance:none;
        -webkit-appearance:none;
        -moz-appearance:none;
    
        background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    
        background-repeat:no-repeat;
    
        background-position:right 12px center;
    
        background-size:12px;
    
    }

    .mobileTab{

        flex:1;
    
        height:48px;
    
        display:flex;
    
        justify-content:center;
    
        align-items:center;
    
        background:none;
    
        border:none;
    
        color:#666;
    
        font-size:16px;
    
        font-weight:600;
    
        cursor:pointer;
    
        position:relative;
    
        transition:all .2s ease;
    
    }
    
    .mobileTab.active{

        color:#1677ff;
    
        transform:scale(1.05);
    
        font-weight:700;
    
    }
    
    .mobileTab.active::after{
    
        content:"";
    
        position:absolute;
    
        left:20%;
    
        right:20%;
    
        bottom:0;
    
        height:3px;
    
        border-radius:3px;
    
        background:#1677ff;
    
    }

    .logo{

        flex:1;
    
    }

    #mobileLangToggle{
        display:none;
    }
    
    
    #langToggle{
        display:none;
    }

    #mobileLangToggle{

        margin-left:8px;
    
        margin-right:4px;

        display:flex;
    
        align-items:center;
        justify-content:center;
    
        width:36px;
        height:40px;
    
        border:none;
        background:none;
    
        color:#1677ff;
    
        font-weight:700;
        font-size:14px;
    
        margin-left:8px;
        margin-right:4px;
    
        cursor:pointer;
    }
    
    #mobileSearchBtn{
    
        display:flex;
    
        align-items:center;
    
        justify-content:center;
    
        width:40px;
    
        height:40px;
    
        margin-left:0px;
    
        border:none;
    
        background:transparent;
    
        cursor:pointer;
    
        padding:0;
    
    }
    
    #mobileSearchBtn img{
    
        width:24px;
    
        height:24px;
    
        display:block;
    
    }
    
    #mobileSearchBar{

        position:fixed;
    
        top:0;
    
        left:0;
    
        right:0;
    
        height:64px;
    
        background:#fff;
    
        display:flex;
    
        align-items:center;
    
        gap:10px;
    
        padding:0 12px;
    
        z-index:3000;
    
        opacity:0;
    
        visibility:hidden;
    
        transform:translateY(-100%);
    
        transition:all .25s ease;
    
    }
    
    #mobileSearchBar.show{

        opacity:1;
    
        visibility:visible;
    
        transform:translateY(0);
    
    }

    #mobileFilterBtn{

        display:flex;
    
        align-items:center;
    
        justify-content:center;
    
        width:40px;
    
        height:40px;
    
        margin-left:0;
    
        margin-right:2px;
    
        border:none;
    
        background:transparent;
    
        cursor:pointer;
    
        padding:0;
    
    }
    
    #mobileFilterBtn img{
    
        width:24px;
    
        height:24px;
    
    }

    #mobileFilterBar{

        position:fixed;
    
        top:0;
    
        left:0;
    
        right:0;
    
        height:64px;
    
        display:flex;
    
        align-items:center;
    
        gap:8px;
    
        padding:0 12px;
    
        background:#fff;
    
        z-index:3000;
    
        opacity:0;
    
        visibility:hidden;
    
        transform:translateY(-100%);
    
        transition:.25s;
    
    }
    
    #mobileFilterBar.show{
    
        opacity:1;
    
        visibility:visible;
    
        transform:translateY(0);
    
    }
    
    #mobileFilterBar select{
    
        flex:1;
    
        height:38px;
    
        border:1px solid #ddd;
    
        border-radius:8px;
    
        padding-left:10px;
    
        padding-right:24px;
    
        background:#fff;

        background-position:right 8px center;
    
        background-size:10px;
    
    }
    
    #closeMobileFilter{
    
        border:none;
    
        background:none;
    
        font-size:22px;
    
        cursor:pointer;
    
    }
    
    #mobileSearchInput{
    
        flex:1;
    
        height:40px;
    
        border:1px solid #ddd;
    
        border-radius:8px;
    
        padding:0 12px;
    
        font-size:16px;
    
    }
    
    #closeMobileSearch{
    
        border:none;
    
        background:none;
    
        font-size:22px;
    
        cursor:pointer;
    
    }

    

    .leaflet-popup-content{

        width:220px !important;

        margin:0 !important;

    }

    .leaflet-popup-content-wrapper{

        padding:0;

        border-radius:12px;

    }

    .leaflet-popup-tip-container{

        margin-top:-1px;

    }

    .popup-source-logo{

        position:absolute;
    
        right:-2px;
    
        bottom:-2px;
    
        width:48px;
    
        height:auto;
    
        display:block;
    
        margin:0;
    
        border-radius:0;
    
        object-fit:contain;
    
        aspect-ratio:auto;
    
        z-index:100;
    
    }

    /* ===========================
       Mobile Property Card
    =========================== */

    #travelList{

        padding:8px;

    }

    .travel-card{

        margin-bottom:10px;

        border-radius:10px;

    }

    .travel-body{

        padding:10px;

    }

    .travel-name{

        margin-top:8px;

        font-size:15px;

        line-height:1.3;

    }

    .travel-address{

        margin-top:4px;

        font-size:13px;

    }

    .travel-meta{

        font-size:13px;

    }

    .travel-meta span:not(:last-child)::after{

        margin:0 4px;

        font-size:14px;

    }

    @media (max-width: 900px){

        .travel-meta{
    
            display:flex;
    
            flex-direction:column;
    
            gap:4px;
    
        }
    
        .travel-meta > div{
    
            width:100%;
    
        }
    
    }

    .ber-badge{

        font-size:10px;

    }

    .ber-text,
    .ber-rating{

        padding:3px 6px;

    }

    /* ===========================
       Mobile Popup
    =========================== */

    .popup{

        width:220px;

    }

    .popup-image img{

        margin-bottom:10px;

        border-radius:8px;

    }

    .popup-address{

        font-size:14px;

        line-height:1.35;

        margin-bottom:8px;

    }

    .popup-price{

        font-size:16px;

        margin-bottom:8px;

    }

    .popup-details{

        font-size:13px;

        line-height:1.4;

        margin-bottom:6px;

    }

    .popup-ber{

        font-size:9px;

    }

    .popup-ber-label,
    .popup-ber-rating{

        padding:3px 6px;

    }

    .leaflet-popup-close-button{

        display:none !important;
    
    }

}


/* ===========================
地图房源抖动
=========================== */

@keyframes markerBounce {

    0%,100%{
        transform:translateY(0);
    }

    20%{
        transform:translateY(-8px);
    }

    40%{
        transform:translateY(0);
    }

    60%{
        transform:translateY(-5px);
    }

    80%{
        transform:translateY(0);
    }

}

.marker-price.marker-bounce{

    animation:markerBounce .6s ease;

}

.travel-marker-img.marker-bounce{

    animation:markerBounce .6s ease;

}

/* ===========================
地图房源聚合脉冲放大
=========================== */

@keyframes clusterPulse {

    0%,100%{
        transform:scale(1);
    }

    50%{
        transform:scale(3.18);
    }

}

.marker-cluster div.cluster-pulse{

    animation:clusterPulse .55s ease;

}

/* ===========================
Search Suggestions
=========================== */

#searchSuggestions{

    position:absolute;

    top:46px;

    left:0;

    right:0;

    background:#fff;

    border:1px solid #ddd;

    border-top:none;

    border-radius:0 0 10px 10px;

    box-shadow:0 6px 18px rgba(0,0,0,.15);

    display:none;

    max-height:360px;

    overflow:auto;

    z-index:5000;

}

#mobileSearchSuggestions{

    position:absolute;

    top:64px;

    left:12px;

    right:12px;

    background:#fff;

    border-radius:10px;

    box-shadow:0 6px 18px rgba(0,0,0,.15);

    max-height:320px;

    overflow:auto;

    display:none;

    z-index:4000;

}

.searchSuggestion{

    padding:12px 16px;

    cursor:pointer;

    border-bottom:1px solid #eee;

    font-size:15px;

}

.searchSuggestion:last-child{

    border-bottom:none;

}

.searchSuggestion:hover{

    background:#f5f5f5;

}


/* Hidden controller for JS */
#travelTypeLegacy{

    position:absolute !important;

    width:1px;

    height:1px;

    opacity:0;

    pointer-events:none;

    left:-9999px;

}


/* ===========================
   Detail Modal
=========================== */

.detail-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:10000;

}

.detail-overlay.show{

    display:flex;

}

.detail-modal{

    position:relative;

    width:min(760px,90vw);

    max-height:80vh;

    background:#fff;

    border-radius:16px;

    overflow:auto;

    box-shadow:0 20px 60px rgba(0,0,0,.35);

}

#detailContent{

    padding:24px;

}

.detail-time{

    font-size:12px;

    color:#888;

    display:flex;

    align-items:center;

}

#detailContent article{

    max-width:760px;

    margin:auto;

}

#detailContent img{

    max-width:100%;

    height:auto;

    border-radius:10px;

}

#detailContent a{

    color:#1677ff;

}

#detailContent table{

    max-width:100%;

}

.detail-gallery img{

    width:100%;

    object-fit:cover;

    border-radius:12px;

}

.detail-gallery{

    position:relative;

    margin-bottom:20px;

    height:420px;

    overflow:hidden;

}

.detail-slider{

    position:relative;

    width:100%;

    height:100%;

    overflow:hidden;

}

.detail-track{

    display:flex;

    width:100%;

    height:100%;

    transition:transform .28s ease;

}

.detail-slide{

    flex:0 0 100%;

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:12px;

    cursor:zoom-in;

    user-select:none;

    -webkit-user-drag:none;

}

.detail-prev,
.detail-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,.28);

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    color:#fff;

    font-size:34px;

    font-weight:300;

    cursor:pointer;

    transition:.2s;

}

.detail-prev{

    left:16px;

}

.detail-next{

    right:16px;

}

.detail-prev:hover,
.detail-next:hover{

    background:rgba(0,0,0,.45);

}

.detail-prev{

    left:12px;

}

.detail-next{

    right:12px;

}

.detail-count{

    position:absolute;

    right:12px;

    bottom:12px;

    background:rgba(0,0,0,.6);

    color:#fff;

    padding:4px 10px;

    border-radius:20px;

    font-size:13px;

}

#imageOverlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:10000;

}

#imageOverlay.show{

    display:flex;

}



@media (max-width:900px){

    .detail-gallery{

        aspect-ratio:16/9;

        height:auto;

    }

}

.detail-content,
.detail-content *{

    user-select:text !important;
    -webkit-user-select:text !important;

}

.preview-slider{

    position:relative;

    width:95vw;

    height:95vh;

    overflow:hidden;

}

.preview-track{

    display:flex;

    width:100%;

    height:100%;

    transform:translateX(0);

    transition:transform .28s ease;

}

.preview-slide{

    flex:0 0 100%;

    width:100%;

    height:100%;

    object-fit:contain;

    user-select:none;

    -webkit-user-drag:none;

}

.preview-prev,
.preview-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,.28);

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    color:#fff;

    font-size:34px;

    font-weight:300;

    cursor:pointer;

    transition:.2s;

}

.preview-prev{

    left:12px;

}

.preview-next{

    right:12px;

}

.preview-count{

    position:absolute;

    right:12px;

    bottom:12px;

    background:rgba(0,0,0,.6);

    color:#fff;

    padding:4px 10px;

    border-radius:20px;

    font-size:13px;

}

.travel-marker{

    background:none !important;

    border:none !important;

}

.travel-marker img{

    width:36px;

    height:49px;

    display:block;

}

/* 兼容旧版 map.js */
.school-marker{

    background:none !important;

    border:none !important;

}

.school-marker img{

    width:36px;

    height:49px;

    display:block;

}

/* #postBtn{

    display:none;

    margin-right:6px;

    white-space:nowrap;

    flex-shrink:0;

}

body.chinese-mode #postBtn{
    display:flex;
}

.post-text{

    color:#1677ff;

    font-size:14px;

    font-weight:700;

    line-height:40px;

    cursor:pointer;

} */

/* ===========================
   Site Switcher
=========================== */

.site-switcher{

    position:relative;

    z-index:5001;

}

#siteSwitcherBtn{

    position:relative;

    z-index:5001;

    display:flex;

    align-items:center;

    gap:6px;

    height:42px;

    padding:0;

    border:none;

    background:none;

    color:#222;

    font-family:inherit;

    font-size:22px;

    font-weight:700;

    white-space:nowrap;

    cursor:pointer;

}

.site-switcher-arrow{

    font-size:18px;

    color:#777;

    line-height:1;

    transform:translateY(-1px);

    transition:transform .2s ease;

}

.site-switcher:has(
    .site-switcher-menu.show
)
.site-switcher-arrow{

    transform:
        translateY(-1px)
        rotate(180deg);

}

.site-switcher-menu{

    position:absolute;

    top:-11px;

    left:-18px;

    width:calc(100% + 30px);

    padding:54px 6px 6px;

    background:#fff;

    border:1px solid #e5e5e5;

    border-radius:10px;

    box-shadow:
        0 8px 24px rgba(0,0,0,.14);

    opacity:0;

    visibility:hidden;

    transform:translateY(-18px);

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;

    z-index:5000;

}

.site-switcher-menu.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.site-switcher-menu a{

    display:flex;

    align-items:center;

    gap:8px;

    min-height:40px;

    padding:0 10px;

    border-radius:7px;

    color:#333;

    text-decoration:none;

    font-size:15px;

    font-weight:500;

    white-space:nowrap;

    transition:
        background .15s ease;

}

.site-switcher-menu a:hover{

    background:#f5f6f7;

}

.site-switcher-menu a.active{

    background:#f1f5ff;

    color:#1677ff;

    font-weight:600;

}

.site-switcher-menu .site-check{

    margin-left:auto;

    color:#1677ff;

    font-weight:700;

}

#siteSwitcherBtn:focus {
    outline: none;
}

.site-switcher-menu a img{

    width:30px;

    height:30px;

    object-fit:contain;

    display:block;

}