html,
        body,
        #map {
            width: 100%;
            height: 100%;
            margin: 0;
            overflow: hidden;
            background: #111;
        }
        #coordinates {
            position: fixed;
            left: 10px;
            bottom: 10px;
            z-index: 1000;

            padding: 8px 12px;

            background: rgba(0, 0, 0, 0.75);
            color: white;

            font-family: monospace;
            font-size: 14px;

            pointer-events: none;
        }
        #marker-popup {
            display: none;
            position: fixed;
            z-index: 2000;

            min-width: 220px;
            padding: 12px;

            background: rgba(20, 20, 20, 0.95);
            color: white;

            border: 1px solid #666;
            border-radius: 6px;

            font-family: sans-serif;
        }
        #marker-popup-title {
            font-weight: bold;
            margin-bottom: 6px;
        }
        #marker-popup-coordinates {
            margin-bottom: 10px;

            font-family: monospace;
            font-size: 13px;
            color: #ccc;
        }
        #marker-actions {
            display: flex;
            gap: 8px;
        }
        #marker-fields {
            display: flex;
            gap: 8px;
            margin-bottom: 8px;
        }
        #marker-type {
            flex: 1;
            padding: 6px;
        }
        #place-marker {
            width: 100%;
            padding: 6px 10px;
            white-space: nowrap;
            cursor: pointer;
        }
        #marker-name {
            flex: 1;
            min-width: 0;
            padding: 6px;

            box-sizing: border-box;
        }
        #marker-command {
            margin-top: 8px;

            font-family: monospace;
            font-size: 12px;
            color: #ccc;
            white-space: pre-line;
        }
        #marker-popup-close {
            position: absolute;
            top: 4px;
            right: 6px;

            border: 0;
            background: transparent;
            color: white;

            font-size: 18px;
            cursor: pointer;
        }
        #marker-info {
            display: none;
            position: fixed;
            z-index: 2000;

            min-width: 160px;
            padding: 12px;

            background: rgba(20, 20, 20, 0.95);
            color: white;

            border: 1px solid #666;
            border-radius: 6px;

            font-family: sans-serif;
        }
        #marker-info-name {
            font-weight: bold;
            margin-bottom: 4px;
        }
        #marker-info-type {
            font-size: 13px;
            color: #ccc;
        }
        #marker-info-link-row {
            font-size: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 6px;
        }
        #marker-info-id {
            display: inline-block;
            padding: 3px 6px;

            font-family: monospace;
            font-size: 12px;

            background: rgba(0, 0, 0, 0.45);
            border-radius: 4px;
        }
        #marker-info-link,
        #marker-info-link:visited,
        #marker-info-link:hover {
            font-size: 12px;
            color: rgb(222, 222, 17);
        }
        #marker-info-code {
            margin-top: 4px;
            padding: 6px;

            font-family: monospace;
            font-size: 12px;

            background: rgba(0, 0, 0, 0.45);
            border-radius: 4px;
        }
        #marker-info-close {
            position: absolute;
            top: 4px;
            right: 6px;

            border: 0;
            background: transparent;
            color: white;

            font-size: 18px;
            cursor: pointer;
        }
        .map-marker {
            position: relative;

            border: 2px solid white;
            border-radius: 50%;
            box-sizing: border-box;

            cursor: pointer;
        }
        .marker-safehouse {
            width: 12px;
            height: 12px;
            background: rgb(18, 242, 33);
        }
        .marker-community {
            width: 18px;
            height: 18px;
            background: rgb(28, 104, 255);
        }
        .marker-project {
            width: 24px;
            height: 24px;
            background: rgb(255, 98, 0);
        }
        .marker-event {
            width: 24px;
            height: 24px;
            background: rgb(170, 84, 255);
        }
        .marker-label {
            position: absolute;
            left: calc(100% + 6px);
            top: 50%;
            transform: translateY(-50%);

            display: none;

            padding: 2px 5px;

            background: rgba(20, 20, 20, 0.8);
            color: white;

            border-radius: 3px;

            font-family: sans-serif;
            font-size: 12px;
            white-space: nowrap;

            pointer-events: auto;
        }
        .marker-label.visible {
            display: block;
        }
        .marker-preview {
            width: 16px;
            height: 16px;
            background: rgb(120, 120, 120);
            border-style: dashed;
        }
