html,
body{
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

#map{
    width:100%;
    height:100%;
}
#toolbar{
    position:absolute;

    top:15px;

    left:15px;

    z-index:1000;

    background:white;

    padding:12px;

    border-radius:10px;

    box-shadow:0 4px 12px rgba(0,0,0,.25);
}
#toggleToolbar {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 36px;
    height: 32px;

    padding: 0;

    cursor: pointer;

    font-size: 16px;
    font-weight: bold;

    border: 1px solid #aaa;
    border-radius: 4px;

    background: #f5f5f5;
}

#toggleToolbar:hover {
    background: #e8e8e8;
    transform: scale(1.05);
}
#toolbar button{

    padding:10px 18px;

    font-size:15px;

    cursor:pointer;
}
#toolbar{

    position:fixed;

    top:20px;

    left:20px;

    z-index:999999;

    background:white;

    padding:12px;

    border-radius:10px;

    box-shadow:0 4px 12px rgba(0,0,0,.3);
}
#watchList{

    margin-top:15px;

    min-width:220px;

}

.watchItem{

    padding:8px;

    margin-top:8px;

    border-radius:6px;

    background:#f5f5f5;

    font-size:14px;

}
.colorDot{

    width:14px;

    height:14px;

    border-radius:50%;

    display:inline-block;

    margin-right:10px;

    vertical-align:middle;

    border:2px solid white;

    box-shadow:0 0 4px rgba(0,0,0,.3);
}
.watchName {

    flex: 1;

    margin-left: 8px;

}

.eyeBtn {

    border: none;

    background: transparent;

    cursor: pointer;

    font-size: 16px;

}

.eyeBtn:hover {

    transform: scale(1.2);

}
.watchItem {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px 8px;
}
.watchStats {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
}
.watchTop {
    display: flex;
    align-items: center;
    width: 100%;
}
.watchStats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 6px 14px;
    padding-left: 22px;
    padding-right: 5px;
    font-size: 13px;
    color: #444;
}
.watchActions {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-self: end;
}
.watchName {
    flex: 1;
}

.watchZoom,
.watchToggle {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    padding: 3px;
}
.watchToggle {
    position: relative;
}

.watchToggle.is-hidden::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: #222;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 2px;
}
.watchZoom:hover,
.watchToggle:hover {
    transform: scale(1.15);
}
#toolbar.toolbarCollapsed {
    width: 36px;
    min-width: 36px;
    padding: 8px;
}

#toolbar.toolbarCollapsed > *:not(#toggleToolbar) {
    display: none;
}