:root {
--bg:#121212;
--panel:#1c1c1c;
--line:#383838;
--text:#e5e5e5;
--muted:#aaa;
--blue:#00a8df;
--blue2:#087da5;
--orange:#f5a623;
}
html,body {
height:100%;
margin:0;
overflow:hidden;
background:var(--bg);
color:var(--text);
font:15px/1.45 Arial,sans-serif;
}
.container {
display:flex;
height:100vh;
padding:8px;
gap:8px;
box-sizing:border-box;
}
#map,.sidebar {
border:1px solid #303030;
border-radius:9px;
box-shadow:0 4px 18px #0006;
}
#map {
flex:1;
min-width:0;
overflow:hidden;
background:var(--bg);
}
.sidebar {
width:250px;
min-height:0;
padding:9px;
display:flex;
flex-direction:column;
gap:9px;
box-sizing:border-box;
background:#181818;
}
.app-title {
padding:6px 4px 4px;
font:600 .86rem/1.4 Menlo,Consolas,monospace;
text-align:center;
}
.app-title span,.app-title a {
display:block;
width:100%;
box-sizing:border-box;
}
.app-title span {
letter-spacing:.05em;
text-transform:uppercase;
color:#888;
}
.app-title a {
margin-top:1px;
font-size:.94rem;
color:var(--blue);
text-decoration:none;
overflow-wrap:anywhere;
}
.app-title a:hover {
color:#28c5f4;
text-decoration:underline;
}
.controls,.list-wrapper {
background:var(--panel);
border:1px solid var(--line);
border-radius:7px;
}
.controls {
padding:9px;
}
.list-wrapper {
flex:1;
min-height:0;
display:flex;
flex-direction:column;
overflow:hidden;
}
.list-head {
padding:7px 10px;
border-bottom:1px solid #333;
font-size:.73rem;
letter-spacing:.06em;
text-transform:uppercase;
color:var(--muted);
}
#counts {
flex:1;
overflow:auto;
padding:7px;
scrollbar-width:thin;
scrollbar-color:#555 transparent;
}
.count-item {
min-height:30px;
margin-bottom:5px;
padding:3px 7px 3px 10px;
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
border-radius:5px;
cursor:pointer;
background:var(--blue2);
font-size:.83rem;
font-weight:600;
transition:background .15s;
}
.count-item:hover {
background:#0994c2;
}
.count-item.selected {
background:var(--orange);
color:#111;
}
.count-tag {
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
.count-n {
min-width:25px;
padding:2px 6px;
text-align:center;
border-radius:10px;
background:#0003;
font-size:.74rem;
}
button {
width:100%;
height:35px;
margin-bottom:7px;
padding:0 9px;
border:0;
border-radius:5px;
cursor:pointer;
background:#075f7f;
color:#fff;
font-size:.85rem;
transition:background .15s,transform .1s;
}
button:hover:not(:disabled) {
background:var(--blue2);
transform:translateY(-1px);
}
button:disabled {
cursor:not-allowed;
}
button.cooling:disabled {
background-color:#333;
background-image:linear-gradient(90deg,#075f7f,var(--blue2));
background-repeat:no-repeat;
background-size:var(--p,100%) 100%;
transition:background-size 1s linear;
color:#eee;
}
#overpass {
background:var(--blue);
color:#06232c;
font-weight:600;
}
#overpass:hover:not(:disabled) {
background:#14b9ed;
}
#overpass:disabled {
background:#333;
color:#777;
}
.regex-container {
margin-top:5px;
}
.regex-container label {
display:block;
margin-bottom:4px;
font-size:.73rem;
color:var(--muted);
}
.regex-container input {
width:100%;
height:29px;
padding:4px 6px;
box-sizing:border-box;
background:#111;
border:1px solid #444;
border-radius:4px;
color:#ddd;
font:12px Menlo,Consolas,monospace;
}
.regex-container input:focus {
outline:0;
border-color:var(--blue2);
}
.zoom-lock {
margin-top:8px;
display:flex;
align-items:center;
gap:6px;
cursor:pointer;
color:#bbb;
font-size:.76rem;
}
.zoom-lock input {
accent-color:var(--blue);
}
.ov[hidden] {
display:none!important;
}
#overlay {
position:fixed;
inset:0;
display:grid;
place-items:center;
z-index:1000;
background:#000d;
}
.overlay-panel {
min-width:270px;
max-width:480px;
padding:15px 18px;
display:flex;
flex-direction:column;
gap:8px;
background:#101010;
border:1px solid var(--blue);
border-radius:8px;
box-shadow:0 0 25px #000;
font-family:Menlo,Consolas,monospace;
}
.overlay-header {
display:flex;
align-items:center;
gap:10px;
}
.overlay-title {
flex:1;
font-size:.87rem;
font-weight:700;
color:var(--blue);
}
.overlay-eta,.overlay-log,.pop-row,.pop-empty {
font-size:.78rem;
}
.overlay-eta {
color:#ccc;
white-space:nowrap;
}
.overlay-log {
min-height:60px;
max-height:160px;
overflow:auto;
padding:8px;
background:#000;
border:1px solid #333;
border-radius:4px;
}
.overlay-log div {
white-space:nowrap;
}
.overlay-rot {
font-size:.88rem;
opacity:.85;
}
.ov-x {
width:29px;
height:27px;
margin:0;
padding:0;
background:transparent;
border:1px solid #333;
color:#ddd;
}
.ov-x:hover {
background:transparent;
border-color:var(--blue);
color:var(--blue);
}
.maplibregl-map,.maplibregl-canvas-container,.maplibregl-canvas {
background:var(--bg)!important;
}
.maplibregl-canvas {
outline:none;
}
.maplibregl-ctrl-group {
background:#202020;
}
.maplibregl-ctrl-group button {
width:28px;
height:28px;
margin:0;
padding:0;
background:transparent;
border-radius:0;
transform:none;
}
.maplibregl-ctrl-group button:hover:not(:disabled) {
background:#333;
transform:none;
}
.maplibregl-ctrl-group button+button {
border-top:1px solid #444;
}
.maplibregl-ctrl-icon {
filter:invert(1);
}
.addr-popup .maplibregl-popup-content,.addr-tip .maplibregl-popup-content {
background:#111;
border:1px solid var(--blue);
color:#fff;
}
.addr-popup .maplibregl-popup-content {
padding:0;
border-radius:8px;
box-shadow:0 0 18px #000c;
}
.addr-tip .maplibregl-popup-content {
padding:4px 7px;
border-radius:4px;
box-shadow:0 0 8px #000a;
font-size:.78rem;
font-weight:700;
}
.addr-popup .maplibregl-popup-close-button {
width:27px;
height:27px;
margin:0;
padding:0;
background:transparent;
color:#aaa;
font-size:18px;
}
.addr-popup .maplibregl-popup-close-button:hover {
background:transparent;
color:var(--blue);
transform:none;
}
.addr-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip,.addr-tip.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
border-top-color:var(--blue);
}
.addr-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip,.addr-tip.maplibregl-popup-anchor-top .maplibregl-popup-tip {
border-bottom-color:var(--blue);
}
.addr-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip,.addr-tip.maplibregl-popup-anchor-left .maplibregl-popup-tip {
border-right-color:var(--blue);
}
.addr-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip,.addr-tip.maplibregl-popup-anchor-right .maplibregl-popup-tip {
border-left-color:var(--blue);
}
.pop-wrap {
min-width:230px;
padding:10px 12px;
}
.pop-title {
margin-bottom:6px;
font-size:1rem;
font-weight:700;
}
.pop-tags {
max-height:160px;
margin-bottom:8px;
padding:6px 0;
overflow:auto;
border-block:1px solid #333;
}
.pop-row {
display:grid;
grid-template-columns:1.2fr 1.6fr;
gap:4px 8px;
margin-bottom:4px;
}
.pop-key {
color:#aaa;
font-family:Menlo,Consolas,monospace;
}
.pop-val {
overflow-wrap:anywhere;
}
.pop-empty {
color:#777;
}
.pop-actions {
display:flex;
justify-content:flex-end;
gap:8px;
}
.pop-btn {
width:34px;
height:34px;
min-width:34px;
margin:0;
padding:0;
display:grid;
place-items:center;
background:#0b1a22;
border:1px solid #0ea5d7;
border-radius:50%;
box-shadow:0 0 0 1px #000 inset;
font-size:16px;
}
.pop-btn:hover {
background:#123241;
border-color:#39c7ff;
}
@media(max-width:600px) {
.container {
flex-direction:column;
}
#map {
height:50vh;
}
.sidebar {
width:100%;
height:auto;
}
}
