.object-marker{
    background:transparent;
    border:none;
}
.object-marker-inner{
    width:26px;
    height:26px;
    border:0px solid #000;
    border-radius:50%;
    background:#Ae64Ad;
    box-shadow:0 1px 4px rgba(0,0,0,.5);
    box-sizing:border-box;
}
.object-marker-inner.view{
    background:transparent;
    background:#FeA;
    border:0px solid #fff;
}
.object-marker-inner.fun{
    background:#FeA4Ad;
    border:2px solid #fff;
}
.object-marker-inner.bug{
    background:#daca00;
    border:2px solid #fff;
}
.object-marker-inner.bird{
    background: rgba(255, 255, 255, 0.7);
    border:1px solid #000;
}
.object-marker-inner.mammal{
    background:#66FF99;
    border:2px solid #fff;
}

.object-marker-image{
    border:0px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.object-marker-image img{
    display:block;
    /*width:26px;*/
    height:22px;
    object-fit:contain;
}
.object-marker-inner{
    position:relative;
}
.object-reminder-badge{
    position:absolute;
    top:-7px;
    left:-7px;
    min-width:15px;
    height:15px;
    padding:0 3px;
    border-radius:9px;
    box-sizing:border-box;
    background:#d71920;
    color:#fff;
    font-size:10px;
    font-weight:700;
    line-height:15px;
    text-align:center;
    box-shadow:0 0 0 1px #fff;
    z-index:2;
}

.object-popup{
    font-size:13px;
    line-height:1.5;
    color:#333;
    overflow-wrap:anywhere;
}
.object-popup-title{
    margin-bottom:8px;
    font-size:16px;
    font-weight:600;
}
.object-popup-bird-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.object-popup-bird-title:hover {
    text-decoration: underline;
}

.object-popup-bird-icon {
    height: 60px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.object-popup-bird-names {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.object-popup-bird-chinese {
    font-size: 18px;
    font-weight: bold;
}

.object-popup-bird-english {
    font-size: 13px;
    font-weight: normal;
    color: #666;
}
.object-popup-row{
    display:flex;
    gap:8px;
    margin:4px 0;
}
.object-popup-label{
    flex:0 0 64px;
    color:#777;
}
.object-popup-value{
    flex:1;
    min-width:0;
}
.object-popup-description{
    margin-top:10px;
    padding-top:8px;
    border-top:1px solid #eee;
}
.object-popup-description-title{
    margin-bottom:4px;
    font-weight:600;
}
.object-popup-description-content{
    white-space:normal;
    overflow-wrap:anywhere;
}
.object-popup-loading{
    color:#888;
    font-size:12px;
}
.object-popup-actions{
    display:flex;
    gap:8px;
    margin-top:12px;
}
.object-popup-button{
    padding:5px 12px;
    border:1px solid #ccc;
    border-radius:4px;
    background:#fff;
    color:#333;
    cursor:pointer;
}
.object-popup-button:hover{
    background:#f5f5f5;
}
.object-popup-messages{
    margin-top:8px;
    border-top:1px solid #eee;
}
.object-popup-message-item{
    padding:6px 0;
    border-bottom:1px solid #f0f0f0;
    overflow-wrap:anywhere;
}
.object-popup-message-author{
    color:#555;
    font-weight:600;
}
.object-popup-message-time,
.object-popup-message-loading,
.object-popup-message-empty,
.object-popup-message-error{
    display:block;
    margin-top:2px;
    color:#999;
    font-size:11px;
}

.object-popup-loading{
    color:#888;
    font-size:12px;
}
.leaflet-popup-content{
    max-height:70vh;
    overflow-y:auto;
}
.object-popup-photos{
    margin:10px 0 0;
    max-width:100%;
}
.object-popup-photo-list{
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    justify-content:flex-start;
    gap:3px;
    padding:0 0 4px;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
}
.object-popup-photo{
    display:block;
    flex:0 0 auto;
    width:200px;
    height:150px;
    max-width:none;
    margin:0;
    padding:0;
    object-fit:cover;
    object-position:center;
    border-radius:4px;
    cursor:zoom-in;
}
.object-popup-hint{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:3px;
    color:#888;
    font-size:11px;
}
.object-popup-hint[hidden]{
    display:none;
}
.object-popup-count{
    flex:0 0 auto;
}
.object-popup-hint-text{
    text-align:right;
}
.object-cluster {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.object-cluster-inner {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.object-cluster-inner img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.object-cluster-inner span {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #4a4a4a;
    color: white;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    font-weight: bold;
}
.object-cluster-reminder-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    box-sizing: border-box;
    border-radius: 9px;
    background: #d71920;
    color: #fff;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 0 0 1px #fff;
    z-index: 2;
}
