*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    line-height: 1.5;
    overflow: hidden;
    min-height: 100vh;
}

/* Переливающийся фон */
.halted-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999999;
    background: linear-gradient(-45deg, #0f172a, #1e3d6f, #2563eb, #1e293b);
    background-size: 400% 400%;
    animation: gradientFlow 16s ease infinite;
}

.halted-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: clamp(1.75rem, 5vw, 3rem);
    max-width: 760px;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    animation: cardAppear 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Анимированная рамка убрана по запросу */

.halted-icon {
    margin: 0 auto 1.5rem;
    width: 64px; height: 64px;
    background: rgba(30, 61, 111, 0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: iconPulse 3s ease-in-out infinite;
}
.halted-icon svg { 
    width: 28px; height: 28px; 
    stroke: #1e3d6f; 
    fill: none; 
    stroke-width: 2; 
}

.halted-title {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.halted-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.halted-message {
    background: #fffbeb;
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 1.75rem;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.halted-message strong { color: #b91c1c; }
.halted-message p { margin-bottom: 0.5rem; }
.halted-message p:last-child { margin-bottom: 0; }

.halted-meta {
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 1rem;
    margin-bottom: 2rem; 
    font-size: 0.85rem; 
    color: #475569;
}
.tag { 
    padding: 0.45rem 1rem; 
    border-radius: 999px; 
    font-weight: 600; 
    display: inline-block;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tag--stop { background: #dc2626; color: #fff; }
.tag--info { background: #e2e8f0; color: #1e3d6f; }

.halted-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: #475569;
}
.halted-footer strong { color: #0f172a; }
.halted-footer small { 
    display: block; 
    margin-top: 0.5rem; 
    opacity: 0.7; 
    font-size: 0.8rem; 
    color: #64748b;
}

/* Анимации */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes cardAppear { 
    to { opacity: 1; transform: translateY(0) scale(1); } 
}
@keyframes iconPulse { 
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(30, 61, 111, 0.2); } 
    50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(30, 61, 111, 0); } 
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .halted-overlay { padding: 16px; }
    .halted-card { padding: 1.5rem 1.25rem; }
    .halted-meta { flex-direction: column; gap: 0.75rem; align-items: center; }
    .halted-message { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .halted-title { font-size: 1.45rem; }
    .halted-icon { width: 52px; height: 52px; }
    .halted-icon svg { width: 24px; height: 24px; }
    .halted-message { padding: 1rem; }
    .halted-subtitle { max-width: 100%; }
}