/* Pełnopostaciowy atlas ŚOI. Ładowany bezpośrednio, poza cache bundle SCSS Odoo. */

.sn-protection-atlas__grid {
    grid-template-columns: .9fr 1.1fr;
}

.sn-protection-atlas__figure {
    padding-right: 28px;
    padding-left: 28px;
}

.sn-protection-atlas__human {
    position: relative;
    flex: 1;
    width: min(100%, 520px);
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sn-protection-atlas__human::before {
    content: '';
    position: absolute;
    inset: 7% 14% 5%;
    border: 1px solid rgba(237, 185, 3, .12);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 185, 3, .08) 0, rgba(237, 185, 3, .025) 38%, transparent 66%);
}

.sn-protection-atlas__human img {
    position: relative;
    z-index: 1;
    width: min(96%, 500px);
    max-width: none;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .42));
}

.sn-protection-atlas__zone {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    color: var(--gold-500, #edb903);
    text-decoration: none;
}

.sn-protection-atlas__zone i {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--gold-500, #edb903);
    box-shadow: 0 0 0 4px rgba(237, 185, 3, .1), 0 0 18px rgba(237, 185, 3, .28);
    animation: snBodyPoint 2.8s ease-out infinite;
}

.sn-protection-atlas__zone span {
    width: 48px;
    margin: 0 8px;
    border-top: 1px dashed var(--gold-600, #d1a400);
}

.sn-protection-atlas__zone b {
    min-width: 58px;
    padding: 6px 8px;
    border: 1px solid rgba(237, 185, 3, .2);
    background: rgba(15, 16, 18, .86);
    color: var(--text-on-inverse, #f7f5ef);
    font: 600 9px/1 var(--font-mono, monospace);
    letter-spacing: .09em;
    text-align: center;
    text-transform: uppercase;
    transition: color .2s ease, border-color .2s ease;
}

.sn-protection-atlas__zone:hover b,
.sn-protection-atlas__zone:focus-visible b {
    color: var(--gold-400, #f4c91b);
    border-color: rgba(237, 185, 3, .55);
}

.sn-protection-atlas__zone--left { flex-direction: row-reverse; }
.sn-protection-atlas__zone--head { top: 7%; right: 12%; }
.sn-protection-atlas__zone--face { top: 13%; left: 12%; }
.sn-protection-atlas__zone--hands { top: 54%; right: -3%; }
.sn-protection-atlas__zone--body { top: 46%; left: -3%; }
.sn-protection-atlas__zone--feet { right: 0; bottom: 8%; }

@media (max-width: 991px) {
    .sn-protection-atlas__grid { grid-template-columns: 1fr; }
    .sn-protection-atlas__human { min-height: 660px; }
    .sn-protection-atlas__human img { width: min(88%, 460px); max-height: 640px; }
}

@media (max-width: 575px) {
    .sn-protection-atlas__figure { padding-right: 12px; padding-left: 12px; }
    .sn-protection-atlas__human { min-height: 520px; }
    .sn-protection-atlas__human img { width: min(92%, 320px); height: auto; max-height: 500px; }
    .sn-protection-atlas__zone span { width: 24px; margin: 0 5px; }
    .sn-protection-atlas__zone b { min-width: 48px; padding: 5px 4px; font-size: 8px; }
    .sn-protection-atlas__zone--head { right: 10%; }
    .sn-protection-atlas__zone--hands,
    .sn-protection-atlas__zone--feet { right: 0; }
    .sn-protection-atlas__zone--face { left: 10%; }
    .sn-protection-atlas__zone--body { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sn-protection-atlas__zone i { animation: none; }
}
