/* Station 3D Viewer Styles */

/* 针对在线明细弹窗的宽度调整 (从 320px 增加到 450px 以减少拥挤感) */
.info-window-premium.session-detail-popup {
    width: 450px !important;
    max-height: 90vh !important;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.session-detail-popup .sd-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    scroll-behavior: smooth;
}

.sd-item {
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.sd-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(4px);
}

.sd-item.highlight {
    background: rgba(59, 130, 246, 0.2);
    border-left: 3px solid #3b82f6;
    box-shadow: inset 4px 0 10px rgba(59, 130, 246, 0.1);
}

.sd-item.active-tracking {
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid #10b981;
}

/* 弹窗内的退出轨迹按钮 */
.sd-exit-replay-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.2s;
}

.sd-exit-replay-btn:hover {
    background: #ef4444;
    color: #fff;
}

/* 2D 静态足迹 Marker */
.f2d-marker.static-footprint {
    background: #3b82f6;
    border-color: #fff;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
    z-index: 50;
}

.f2d-marker.static-footprint.inferred {
    background: rgba(148, 163, 184, 0.8);
    border-style: dashed;
    box-shadow: none;
    opacity: 0.9;
}

.f2d-marker-seq {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.f2d-marker.static-footprint .f2d-marker-label {
    background: rgba(15, 23, 42, 0.9);
    bottom: 22px;
}

/* 补充点位样式 */
.sd-item.supplementary {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.01);
}

.sd-item.supplementary .sd-dot {
    background: transparent;
    border: 2px solid var(--text-muted);
    width: 6px;
    height: 6px;
    margin-left: 1px;
}

.sd-inferred-tag {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sd-inferred-group {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 8px;
    margin: 4px 14px 4px 42px;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.sd-inferred-group:hover {
    background: rgba(15, 23, 42, 0.4);
    color: var(--primary);
    border-color: var(--primary);
}

.sd-inferred-group svg {
    transition: transform 0.2s ease;
}

.sd-inferred-group.expanded svg {
    transform: rotate(90deg);
}

/* 嵌入式 3D 容器 */
.s3d-embedded-viewport {
    height: 420px;
    width: 100%;
    position: relative;
    background: #0d1117;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
}

.s3d-station-tabs {
    background: rgba(0,0,0,0.6);
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: 120px;
    overflow-y: auto;
}

.station-image-container {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
}

.s3d-bg-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    opacity: 0.9;
}

.s3d-tab {
    padding: 6px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.s3d-tab:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-1px);
}

.s3d-tab.active {
    background: #3b82f6;
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.s3d-tab.latest-location {
    border: 1.5px solid #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    position: relative;
    font-weight: 700;
}
/* 移除了 LIVE 徽章样式 */

@keyframes s3d-live-pulse {
    0% { transform: scale(1); opacity: 1; border-color: rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.02); opacity: 0.9; border-color: rgba(16, 185, 129, 0.8); }
    100% { transform: scale(1); opacity: 1; border-color: rgba(16, 185, 129, 0.4); }
}

.s3d-debug-status {
    position: relative; /* 改为文档流排版，不遮挡图片 */
    background: rgba(0, 0, 0, 0.85);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 500;
    z-index: 100;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.s3d-maint-link {
    color: #60a5fa;
    text-decoration: none;
    margin-left: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.s3d-maint-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.s3d-coord-hint {
    position: absolute;
    top: 50px;
    right: 20px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 点位图层基础定义 */
.s3d-point-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.s3d-embedded-viewport .point-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.s3d-embedded-viewport .point-marker.hover-focus,
.s3d-embedded-viewport .point-marker.persistent-focus {
    width: 18px !important;
    height: 18px !important;
    background: #f59e0b !important;
    z-index: 100 !important;
    box-shadow: 0 0 20px #f59e0b !important;
    border: 2px solid #fff;
    animation: none !important; /* 选中时停止脉冲，保持稳定 */
}

/* 轨迹点位样式 */
.point-marker.batch-node {
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.point-marker.batch-node:hover {
    background: #2563eb;
    z-index: 30;
}

/* 实时点位样式 */
.point-marker.online {
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #10b981;
}

.point-marker.offline {
    width: 12px;
    height: 12px;
    background: #64748b;
    border: 2px solid #fff;
    border-radius: 50%;
}

.point-marker.pulsing {
    animation: s3d-pulse 2s infinite;
    z-index: 50 !important; /* 置顶脉冲点位，防止被历史点位压住 */
}

.point-marker:hover::after {
    content: attr(data-name);
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 100;
}

/* 全局 3D 悬浮窗（如果保留的话，设为隐藏或可选） */
#station3d-container {
    display: none; /* 暂时隐藏原有的独立窗口 */
}

.station-3d-wrapper {
    position: fixed;
    top: 80px;
    right: 420px; /* 避开右侧监测面板 */
    width: 600px;
    height: 450px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.station-3d-wrapper.hidden {
    display: none;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
}

.s3d-header {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s3d-title {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.s3d-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.s3d-close:hover {
    color: #f8fafc;
}

.s3d-viewport {
    flex: 1;
    position: relative;
    background: #000;
    overflow: hidden;
}

.s3d-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
}

.s3d-marker-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 3D Marker 样式 */
.s3d-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.s3d-marker-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.s3d-marker.offline .s3d-marker-dot {
    background: #64748b;
    box-shadow: none;
    border-color: #cbd5e1;
}

.s3d-marker-label {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
    white-space: nowrap;
}

/* 历史轨迹点 */
.s3d-history-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.4);
    pointer-events: auto;
    cursor: help;
}

.s3d-history-dot:hover {
    background: #3b82f6;
    transform: translate(-50%, -50%) scale(1.5);
    z-index: 10;
}

/* 呼吸灯效果用于当前位置 */
@keyframes s3d-pulse {
    0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.s3d-marker.pulsing.online .s3d-marker-dot {
    animation: s3d-pulse 2s infinite;
}

.s3d-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.s3d-action-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.s3d-action-btn:hover {
    color: #f8fafc;
}


/* 焦点位置文字气泡 - 升级为支持多点共存与层级优化 */
.point-marker .dot-label {
    position: absolute;
    bottom: 28px; /* 进一步拉高，避免遮挡下方的圆形点位 */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- 交互式优先级与遮挡处理 (视觉层级优化方案) --- */

/* 默认状态：共存的标注采用“轻量化”设计，减少对背景的遮挡 */
.point-marker.pulsing .dot-label,
.point-marker.persistent-focus .dot-label {
    opacity: 0.7; /* 提高可见度，原 0.5 */
    visibility: visible;
    padding: 2px 6px;
    font-size: 10px;
    bottom: 22px;
    background: rgba(0, 0, 0, 0.75); /* 背景也相应加深，原 0.6 */
    border-radius: 4px;
}

/* 优先级层级：悬浮 > 选中 > 实时脉冲 */
.point-marker.pulsing { z-index: 100; }
.point-marker.persistent-focus { z-index: 110; }
.point-marker.hover-focus { z-index: 120; }

/* 强制突出当前悬浮点：此时显示全量尺寸、全透明度，确保清晰度 */
.point-marker.hover-focus .dot-label {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) scale(1.1);
    background: rgba(0, 0, 0, 0.9);
    padding: 4px 10px;
    font-size: 13px;
    bottom: 28px;
    border-color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    z-index: 200;
}

/* 选中态应用蓝色边框区分 */
.point-marker.persistent-focus .dot-label {
    border-color: #3b82f6;
}

/* 实时态应用绿色边框区分 */
.point-marker.pulsing .dot-label {
    border-color: #10b981;
}

/* 只要有任何点位被悬浮，进一步压低其他“背景标注”的亮度，实现视觉引导 */
.s3d-point-layer:hover .point-marker:not(:hover) .dot-label {
    opacity: 0.2;
}

/* ============ 3D 全景主视图模式 ============ */
#building-3d-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: #000;
}

.s3d-overlay-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

#building-3d-frame {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
}

.s3d-overlay-hint {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 20px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    /* 强制约束尺寸，防止任何形式的拉伸 */
    width: auto !important;
    min-width: 100px;
    height: auto !important;
    display: inline-block !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}


/* ============ 2D 轨迹线样式 ============ */
.f2d-trajectory-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.f2d-trajectory-line {
    fill: none;
    stroke: #4ade80; /* 霓虹绿 */
    stroke-width: 2; /* 减薄，从 4 改为 2 */
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    filter: drop-shadow(0 0 3px rgba(74, 222, 128, 0.5));
}

/* 2D 动态回放激活点 (蓝色小人) */
.f2d-marker.active-replay {
    background: #3b82f6 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in-out;
}

.f2d-marker.active-replay i {
    color: #fff;
    font-size: 14px;
}

/* 移除不再需要的足迹点样式和动画 */
.f2d-marker.active-replay::after { display: none; }
.f2d-marker.footprint-dot { display: none; }

/* ============ 2D 图片主视图模式 ============ */
#building-2d-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #0f172a;
    display: flex;
    flex-direction: column;
}

.f2d-toolbar {
    height: 50px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.f2d-floor-info {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.f2d-floor-info::before {
    content: '📍';
    font-size: 14px;
}

.f2d-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.f2d-floor-tabs {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 40px;
}

.f2d-floor-tab {
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.f2d-floor-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.f2d-floor-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.f2d-maint-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.f2d-maint-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.f2d-maint-toggle input {
    cursor: pointer;
}

.f2d-viewport {
    flex: 1;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

.f2d-map-container {
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.f2d-bg-img {
    display: block;
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.f2d-map-container.loading .f2d-bg-img {
    opacity: 0.3;
}

.f2d-marker-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* 楼层水印 */
.f2d-floor-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    user-select: none;
    z-index: 5;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 10px;
}

/* 2D 主视图 Marker */
.f2d-marker {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #2563eb;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.f2d-marker:hover {
    width: 18px;
    height: 18px;
    z-index: 1000;
    box-shadow: 0 0 15px var(--primary);
}

.f2d-marker::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    animation: f2d-pulse 2s infinite;
    opacity: 0;
}

@keyframes f2d-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.f2d-marker.offline {
    background: var(--text-muted);
    border-color: #94a3b8;
}

.f2d-marker.offline::after {
    display: none;
}

.f2d-marker-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(37, 99, 235, 0.95);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 10px;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 标签小三角 */
.f2d-marker-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(37, 99, 235, 0.95);
}

.f2d-coord-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.f2d-viewport.maint-mode {
    cursor: crosshair;
}

.f2d-viewport.maint-mode .f2d-coord-hint {
    opacity: 1;
    transform: translateY(0);
}

.f2d-maint-marker {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid var(--primary);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100;
}

.f2d-maint-marker::before,
.f2d-maint-marker::after {
    content: '';
    position: absolute;
    background: var(--primary);
}

.f2d-maint-marker::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.f2d-maint-marker::after {
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
}
