/* ==========================================================================
   ASTE Expedition Holomap (10-Chamber Curriculum Constellation)
   ========================================================================== */
.map-card {
    max-width: 1140px !important;
    width: 95vw !important;
    max-height: 92vh !important;
    overflow-y: auto;
    padding: 24px 28px !important;
}

.map-shortcut-hint {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.map-modules-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 18px 0;
}

@media (max-width: 1024px) {
    .map-modules-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.map-module-col {
    background: rgba(10, 16, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-module-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.module-id-badge {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.2), rgba(0, 210, 255, 0.2));
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 4px 7px;
    border-radius: 6px;
}

.module-text-wrap .module-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.module-text-wrap .module-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.2;
}

.map-chambers-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-chamber-card {
    background: rgba(16, 24, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.map-chamber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--chamber-theme, var(--accent-green));
    opacity: 0.6;
    transition: opacity 0.2s;
}

.map-chamber-card:hover {
    transform: translateY(-2px);
    border-color: var(--chamber-theme, var(--accent-green));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 245, 160, 0.2);
}

.map-chamber-card:hover::before {
    opacity: 1;
}

.map-chamber-card.active {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
    background: rgba(0, 210, 255, 0.08);
}

.map-chamber-card.mastered {
    border-color: rgba(0, 245, 160, 0.5);
}

.chamber-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.chamber-num {
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.chamber-status-tag {
    font-size: 9px;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: 4px;
}

.tag-current {
    background: rgba(0, 210, 255, 0.2);
    color: #00d2ff;
    border: 1px solid #00d2ff;
    animation: pulse 1.8s infinite;
}

.tag-mastered {
    background: rgba(0, 245, 160, 0.2);
    color: #00f5a0;
    border: 1px solid #00f5a0;
}

.tag-ready {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chamber-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.chamber-domain {
    font-size: 11px;
    color: var(--chamber-theme, var(--accent-cyan));
    font-weight: 500;
    margin-bottom: 8px;
}

.chamber-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chamber-math-pill {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.chamber-jump-btn {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.15s;
}

.chamber-jump-btn:hover {
    background: var(--accent-green);
    color: #0a0f1d;
    border-color: var(--accent-green);
}

/* Inspection Footer Card */
.map-footer-telemetry {
    background: rgba(8, 12, 22, 0.9);
    border: 1px solid rgba(0, 245, 160, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 12px;
}

.inspect-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.inspect-header h3 {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.inspect-domain {
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: 600;
}

.inspect-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .inspect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.inspect-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inspect-label {
    font-size: 9px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.inspect-val {
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.3;
}
