/* ==========================================
   全球热度 - 可视化看板样式
   暗色军事风格 / 玻璃态设计
   ========================================== */

/* ---- CSS Variables ---- */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --bg-glass: rgba(26, 35, 50, 0.85);

    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --accent-red: #ef4444;
    --accent-orange: #f59e0b;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;

    --camp-a: #3b82f6;
    --camp-b: #10b981;
    --camp-c: #6b7280;
    --camp-d: #f59e0b;
    --camp-e: #ef4444;

    --border: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(59, 130, 246, 0.3);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---- Header ---- */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    z-index: 100;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-red);
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* pulse animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-red);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 16px var(--accent-red);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* stat bar */
.stat-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-blue);
}

.stat-alert {
    color: var(--accent-red) !important;
}

.stat-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    margin: 0 4px;
}

.header-disclaimer {
    text-align: right;
    font-size: 10px;
    color: #9ca3af;
    line-height: 1.5;
    margin-right: 12px;
}

.btn-refresh {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-refresh:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* ---- Main Content ---- */
.main-content {
    display: flex;
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
}

/* ---- Map Section ---- */
.map-section {
    flex: 1;
    position: relative;
    min-width: 0;
}

.map-container {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
}

/* Leaflet overrides for dark theme */
.leaflet-container {
    background: var(--bg-primary) !important;
}

.leaflet-control-zoom a {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border) !important;
}

.leaflet-control-attribution {
    background: rgba(10, 14, 23, 0.8) !important;
    color: var(--text-muted) !important;
    font-size: 10px !important;
}

.leaflet-control-attribution a {
    color: var(--text-secondary) !important;
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 30px;
    left: 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    z-index: 1000;
    box-shadow: var(--shadow-card);
}

.legend-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 2px 0;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Importance Legend */
.importance-legend {
    position: absolute;
    bottom: 30px;
    right: 420px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    z-index: 1000;
    box-shadow: var(--shadow-card);
}

.imp-scale {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.imp-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.imp-low {
    background: var(--accent-green);
    width: 8px;
    height: 8px;
}

.imp-mid {
    background: var(--accent-blue);
    width: 10px;
    height: 10px;
}

.imp-high {
    background: var(--accent-orange);
    width: 12px;
    height: 12px;
}

.imp-critical {
    background: var(--accent-red);
    width: 14px;
    height: 14px;
    box-shadow: 0 0 8px var(--accent-red);
}

.imp-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-right: 8px;
}

/* ---- Info Panel (Right Sidebar) ---- */
.info-panel {
    width: 400px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 4px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.filter-btn.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Timeline */
.timeline-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.sort-select {
    font-size: 11px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    cursor: pointer;
    outline: none;
}

.sort-select option {
    background: var(--bg-card);
}

.timeline-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 12px;
}

/* Timeline Event Card */
.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateX(-2px);
}

.event-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}

.event-card.camp-A_西方::before {
    background: var(--camp-a);
}

.event-card.camp-B_伊朗::before,
.event-card.camp-B_中东::before {
    background: var(--camp-b);
}

.event-card.camp-C_中立::before {
    background: var(--camp-c);
}

.event-card.camp-D_OSINT::before {
    background: var(--camp-d);
}

.event-card.camp-E_民间::before {
    background: var(--camp-e);
}

.event-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.event-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
}

.event-importance {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.imp-1,
.imp-2 {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
}

.imp-3,
.imp-4 {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.imp-5,
.imp-6 {
    color: var(--accent-orange);
    background: rgba(245, 158, 11, 0.1);
}

.imp-7,
.imp-8 {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.15);
}

.imp-9,
.imp-10 {
    color: #fff;
    background: rgba(239, 68, 68, 0.3);
    animation: pulse 1.5s infinite;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.event-source {
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-time {
    font-family: var(--font-mono);
    font-size: 11px;
}

.event-credibility {
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.cred-High,
.cred-\9AD8\53EF\4FE1 {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
}

.cred-Medium,
.cred-\4E2D\7B49 {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.cred-Low,
.cred-\4F4E\53EF\4FE1 {
    color: var(--accent-orange);
    background: rgba(245, 158, 11, 0.1);
}

.cred-Disputed,
.cred-\5B58\7591 {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
}

.event-summary {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.event-tag {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
    border: 1px solid transparent;
}

/* 分类颜色标签 - 高对比度 */
.tag-军事 {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.4);
}

.tag-经济 {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.4);
}

.tag-政治 {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.4);
}

.tag-远程空袭 {
    color: #fdba74;
    background: rgba(251, 146, 60, 0.25);
    border-color: rgba(251, 146, 60, 0.4);
}

.tag-弹道导弹打击 {
    color: #f9a8d4;
    background: rgba(244, 114, 182, 0.25);
    border-color: rgba(244, 114, 182, 0.4);
}

.tag-巡航导弹打击 {
    color: #f9a8d4;
    background: rgba(244, 114, 182, 0.25);
    border-color: rgba(244, 114, 182, 0.4);
}

.tag-无人机攻击 {
    color: #d8b4fe;
    background: rgba(192, 132, 252, 0.25);
    border-color: rgba(192, 132, 252, 0.4);
}

.tag-防空拦截 {
    color: #67e8f9;
    background: rgba(34, 211, 238, 0.25);
    border-color: rgba(34, 211, 238, 0.4);
}

.tag-海上封锁 {
    color: #5eead4;
    background: rgba(45, 212, 191, 0.25);
    border-color: rgba(45, 212, 191, 0.4);
}

.tag-网络战 {
    color: #a5b4fc;
    background: rgba(129, 140, 248, 0.25);
    border-color: rgba(129, 140, 248, 0.4);
}

.tag-外交声明 {
    color: #a5f3fc;
    background: rgba(103, 232, 249, 0.25);
    border-color: rgba(103, 232, 249, 0.4);
}

.tag-信息战 {
    color: #fde68a;
    background: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.4);
    animation: tag-glow 2s ease-in-out infinite;
}

.tag-default {
    color: #d1d5db;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

/* 美帝国主义挑衅 醒目标签 */
.tag-provocation {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #ef4444;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 10px;
    animation: provocation-pulse 1.5s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

@keyframes provocation-pulse {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 12px rgba(239, 68, 68, 0.8), 0 0 20px rgba(239, 68, 68, 0.3);
    }
}

@keyframes tag-glow {

    0%,
    100% {
        box-shadow: none;
    }

    50% {
        box-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
    }
}

/* Empty State */
.timeline-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.empty-text {
    font-size: 13px;
}

/* ---- Modal (Premium Redesign) ---- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    will-change: opacity;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: linear-gradient(145deg, #141c2b 0%, #0d1321 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    width: 90%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 0;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(59, 130, 246, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
    will-change: transform, opacity;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

/* Modal Header Zone */
.modal-header-zone {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    padding-right: 40px;
    line-height: 1.4;
}

.modal-camp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin: 8px 0 12px;
}

.modal-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Modal Body Zone */
.modal-body-zone {
    padding: 20px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Data Cards inside modal */
.modal-data-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
}

.modal-data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 3px 0 0 3px;
}

.modal-data-card.card-intel::before {
    background: var(--accent-blue);
}

.modal-data-card.card-military::before {
    background: var(--accent-red);
}

.modal-data-card.card-casualties::before {
    background: var(--accent-orange);
}

.modal-data-card.card-infowar::before {
    background: #fbbf24;
}

.modal-card-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-card-title .card-icon {
    font-size: 14px;
}

.modal-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.modal-data-row:last-child {
    border-bottom: none;
}

.modal-data-label {
    font-size: 12px;
    color: var(--text-muted);
}

.modal-data-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

/* Importance progress bar */
.importance-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.importance-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.6s ease;
}

/* Modal footer link */
.modal-source-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 28px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.2s;
}

.modal-source-link:hover {
    background: rgba(59, 130, 246, 0.06);
    color: #60a5fa;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }

    .map-section {
        flex: none;
        height: 40vh;
        min-height: 250px;
    }

    .info-panel {
        flex: 1;
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    /* Header Adjustments */
    .header {
        padding: 0 12px;
    }

    .logo-text {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .stat-bar,
    .header-disclaimer {
        display: none;
    }

    .btn-refresh {
        width: 32px;
        height: 32px;
    }

    .btn-refresh svg {
        width: 14px;
        height: 14px;
    }

    /* Map Elements Adjustments */
    .importance-legend {
        display: none;
    }

    .map-legend {
        bottom: 0;
        left: 0;
        padding: 6px 8px;
        border-radius: 0 var(--radius-md) 0 0;
        border-left: none;
        border-bottom: none;
    }

    .map-legend .legend-title {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .map-legend .legend-item {
        font-size: 9px;
        padding: 0;
        gap: 4px;
    }

    .map-legend .legend-dot {
        width: 6px;
        height: 6px;
    }

    /* Filter Bar Scrollable */
    .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
        /* Safari and Chrome */
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Mobile Collapse Feature */
    .mobile-only-btn {
        display: block;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid var(--border);
        color: var(--text-primary);
        font-size: 11px;
        padding: 4px 8px;
        border-radius: var(--radius-sm);
        cursor: pointer;
    }

    /* Collapsed State */
    .info-panel.collapsed {
        flex: none;
        height: auto !important;
        min-height: 44px;
        overflow: hidden;
        padding-bottom: env(safe-area-inset-bottom);
        /* iOS/Android 底部安全区 */
    }

    .info-panel.collapsed .timeline-list,
    .info-panel.collapsed .filter-bar {
        display: none;
    }

    /* 使用类名代替 :has() 提升老旧安卓浏览器兼容性 */
    .main-content.panel-collapsed .map-section {
        flex: 1;
        height: auto;
        min-height: 0;
    }

    /* Modal Mobile Adaptations */
    .modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 16px;
    }

    .modal-header-zone {
        padding: 20px 20px 16px;
    }

    .modal-title {
        font-size: 17px;
        padding-right: 32px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .modal-body-zone {
        padding: 16px 20px 20px;
        gap: 12px;
    }

    .modal-data-card {
        padding: 12px 14px;
    }

    .modal-data-label,
    .modal-data-value {
        font-size: 11px;
    }

    .modal-source-link {
        padding: 12px 20px;
    }
}