body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

.wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.hero {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
    padding-top: 8px;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: 38px;
}

.hero p {
    margin: 0;
    color: #94a3b8;
}

.search {
    margin-bottom: 18px;
    padding: 18px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

input {
    padding: 14px 16px;
    font-size: 16px;
    color: #fff;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

button {
    padding: 14px 18px;
    font-weight: 700;
    color: #1f2937;
    background: #f6c453;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.card {
    grid-column: span 12;
    padding: 18px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.col-4 {
    grid-column: span 4;
}

.col-6 {
    grid-column: span 6;
}

.col-8 {
    grid-column: span 8;
}

.meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.item {
    padding: 12px;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.value {
    line-height: 1.45;
    word-break: break-word;
}

.muted {
    color: #94a3b8;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
}

.ok {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.warn {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.bad {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.flag {
    width: 28px;
    margin-left: 8px;
    vertical-align: middle;
    border-radius: 4px;
}

pre {
    margin: 0;
    padding: 14px;
    max-height: 420px;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

a.map {
    color: #93c5fd;
    text-decoration: none;
}

a.map:hover {
    text-decoration: underline;
}

.map-big {
    width: 90%;
    max-width: 1000px;
    height: 410px;
    margin: 16px auto;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}

.map-big iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-big:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(114, 167, 255, 0.2);
}

.footer {
    margin-top: 40px;
    padding: 20px;
    font-size: 13px;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
    color: #93c5fd;
    text-decoration: none;
    transition: 0.2s;
}

.footer a:hover {
    color: #f6c453;
    text-shadow: 0 0 8px rgba(246, 196, 83, 0.6);
}

.lang-switch {
    position: absolute;
    top: 12px;
    right: 0;
    display: flex;
    gap: 10px;
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 14px;
    color: #e5e7eb;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.lang-switch a:hover {
    color: #1f2937;
    background: #f6c453;
    box-shadow: 0 0 8px rgba(246, 196, 83, 0.35);
}

.lang-switch a.active {
    color: #1f2937;
    background: #f6c453;
    font-weight: 700;
}

body.is-loading #app-content,
body.is-loading #app-footer {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

#app-content,
#app-footer {
    transition: opacity 0.2s ease;
}

@media (max-width: 900px) {
    form {
        grid-template-columns: 1fr;
    }

    .col-4,
    .col-6,
    .col-8 {
        grid-column: span 12;
    }

    .meta {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 56px;
    }

    .lang-switch {
        top: 0;
        right: 50%;
        transform: translateX(50%);
    }
}