:root {
    color-scheme: dark;
    --threat-bg: #061426;
    --threat-surface: rgba(11, 37, 66, .88);
    --threat-surface-strong: #0d2d50;
    --threat-border: rgba(158, 207, 247, .18);
    --threat-text: #edf7ff;
    --threat-muted: #a4bdd3;
    --threat-blue: #5bb8ff;
    --threat-green: #61e6b6;
    --threat-red: #ff6c77;
    --threat-amber: #ffc75a;
    --threat-violet: #b49cff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(28, 98, 134, .22), transparent 34rem),
        #03070c;
    color: var(--threat-text);
}

button { font: inherit; }

.threat-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2000;
    max-width: none;
    margin: 0 auto;
    min-height: 58px;
    padding: 12px clamp(16px, 3vw, 38px);
    border-bottom: 1px solid rgba(154, 210, 242, .12);
    background: rgba(3, 8, 15, .92);
    backdrop-filter: blur(18px);
}

.threat-brand,
.threat-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--threat-text);
    font-weight: 800;
    text-decoration: none;
}

.threat-brand { justify-self: end; font-size: 1.06rem; letter-spacing: -.025em; }
.threat-back { justify-self: start; color: var(--threat-muted); font-size: .83rem; }
.threat-back:hover, .threat-back:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

.threat-brand-mark {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #3da4fc, #746bff);
    box-shadow: 0 8px 22px rgba(48, 146, 255, .32);
    color: #fff;
    font-size: .95rem;
}

/* Candidate-only public shell additions.  Existing V4 map classes and
   controls remain untouched; this only replaces the textual brand mark. */
.threat-brand-logo {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.threat-seo-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.threat-seo-content {
    max-width: 1120px;
    margin: 22px auto 0;
    padding: 22px 24px;
    border: 1px solid rgba(96, 168, 219, .2);
    border-radius: 18px;
    background: #0a1c30;
    color: #bbd2e7;
}
.threat-seo-content h2 { margin: 0 0 7px; color: #edf7ff; font-size: 1.07rem; }
.threat-seo-content h2:not(:first-child) { margin-top: 20px; }
.threat-seo-content p { margin: 0; line-height: 1.58; }

.threat-eyebrow { margin: 0; color: var(--threat-blue); font-size: .68rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }

.threat-main { max-width: none; margin: 0; padding: 0; overflow-x: clip; }

.threat-section-nav { display: none; }

.threat-layout {
    display: grid;
    grid-template-areas: 'map updates';
    grid-template-columns: minmax(0, 1fr) minmax(232px, 288px);
    gap: 14px;
    height: calc(100dvh - 58px);
    min-height: 560px;
    padding: 14px;
}

.map-panel,
.updates-panel,
.legend-panel,
.information-panel {
    border: 1px solid var(--threat-border);
    background: var(--threat-surface);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
    backdrop-filter: blur(16px);
}

.map-panel {
    grid-area: map;
    position: relative;
    height: 100%;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
}
.map-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    position: absolute;
    z-index: 1100;
    top: 16px;
    right: 16px;
}
.updates-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 20px 14px; }
.map-panel h2, .updates-panel h2, .legend-panel h2, .information-panel h2 { margin: 3px 0 0; font-size: 1.16rem; letter-spacing: -.025em; }

.refresh-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 35px;
    padding: 7px 10px;
    border: 1px solid rgba(115, 191, 255, .32);
    border-radius: 9px;
    background: rgba(70, 152, 220, .12);
    color: #dcefff;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 750;
}

.refresh-button:hover, .refresh-button:focus-visible { background: rgba(70, 152, 220, .26); }
.refresh-button:disabled { cursor: wait; opacity: .58; }

.district-alert-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 35px;
    padding: 6px 9px;
    border: 1px solid rgba(156, 202, 234, .24);
    border-radius: 9px;
    background: rgba(4, 18, 31, .82);
    color: #d8eaf7;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 750;
    user-select: none;
}
.district-alert-toggle:hover { background: rgba(30, 83, 117, .36); }
.district-alert-toggle input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.district-alert-toggle-track { display: flex; width: 29px; height: 17px; align-items: center; padding: 2px; border-radius: 999px; background: #51677a; transition: background .18s ease; }
.district-alert-toggle-track span { display: block; width: 13px; height: 13px; border-radius: 50%; background: #e8f5fc; box-shadow: 0 1px 3px rgba(0, 0, 0, .42); transition: transform .18s ease; }
.district-alert-toggle input:checked + .district-alert-toggle-track { background: #278cc3; }
.district-alert-toggle input:checked + .district-alert-toggle-track span { transform: translateX(12px); }
.district-alert-toggle input:focus-visible + .district-alert-toggle-track { outline: 2px solid #90d9ff; outline-offset: 2px; }
.district-alert-notice { width: 100%; margin: 0; padding: 7px 9px; border: 1px solid rgba(255, 196, 82, .3); border-radius: 8px; background: rgba(108, 75, 17, .72); color: #ffe5aa; font-size: .69rem; line-height: 1.35; text-align: right; }
.district-alert-notice.is-error { border-color: rgba(255, 111, 123, .35); background: rgba(103, 29, 42, .76); color: #ffe2e5; }

.threat-map { position: absolute; inset: 0; z-index: 0; min-width: 0; min-height: 0; width: 100%; height: 100%; background: #071118; }
.threat-map .maplibregl-map,
.threat-map .maplibregl-canvas { outline: none; }
.threat-map .maplibregl-ctrl-bottom-right { right: 18px; bottom: 18px; }
.threat-map .maplibregl-ctrl-group {
    overflow: hidden;
    border: 1px solid rgba(157, 214, 247, .26);
    border-radius: 10px;
    background: rgba(4, 15, 26, .88);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
    backdrop-filter: blur(12px);
}
.threat-map .maplibregl-ctrl-group button {
    width: 34px;
    height: 34px;
    border-bottom: 1px solid rgba(157, 214, 247, .14);
    background-color: transparent;
}
.threat-map .maplibregl-ctrl-group button:last-child { border-bottom: 0; }
.threat-map .maplibregl-ctrl-group button:hover { background-color: rgba(83, 175, 239, .2); }
.threat-map .maplibregl-ctrl-group button span { filter: brightness(0) invert(1); }
.threat-map .monitorix-reset-control button { color: #eaf8ff; font-size: 1.12rem; line-height: 1; }
.threat-map .monitorix-reset-control button span { filter: none; }
.threat-map .maplibregl-ctrl-attrib {
    border-radius: 6px 0 0;
    background: rgba(3, 10, 17, .66);
    color: #9db6c9;
    font-size: 10px;
}
.threat-map .maplibregl-ctrl-attrib a { color: #b4e5ff; }

.map-status-row {
    position: absolute;
    z-index: 1000;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(154, 210, 242, .17);
    border-radius: 10px;
    background: rgba(4, 13, 22, .78);
    color: var(--threat-muted);
    font-size: .74rem;
    backdrop-filter: blur(12px);
}
.connection-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #8497a8; box-shadow: 0 0 0 4px rgba(132, 151, 168, .12); }
.connection-dot.is-live { background: var(--threat-green); box-shadow: 0 0 0 4px rgba(97, 230, 182, .14); }
.connection-dot.is-loading { background: var(--threat-amber); box-shadow: 0 0 0 4px rgba(255, 199, 90, .14); }
.connection-dot.is-offline { background: var(--threat-red); box-shadow: 0 0 0 4px rgba(255, 108, 119, .14); }
.last-updated { margin-left: auto; white-space: nowrap; }

.updates-panel {
    grid-area: updates;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(7, 18, 29, .87);
}
.threat-count { display: grid; min-width: 36px; min-height: 31px; place-items: center; padding: 4px 8px; border: 1px solid rgba(255, 199, 90, .32); border-radius: 10px; background: rgba(255, 199, 90, .12); color: #ffe6a9; font-size: .82rem; font-weight: 850; }
.alert-summary, .area-only-list { margin: 0 16px 12px; padding: 10px 12px; border: 1px solid rgba(255, 108, 119, .32); border-radius: 12px; background: rgba(162, 33, 54, .19); color: #ffe8ea; font-size: .78rem; line-height: 1.42; }
.area-only-list { border-color: rgba(255, 199, 90, .28); background: rgba(148, 99, 15, .17); color: #ffecc3; }

.updates-list { display: grid; align-content: start; grid-auto-rows: max-content; gap: 5px; flex: 1; min-height: 0; overflow: auto; margin: 0; padding: 0 10px 10px; list-style: none; }
.updates-empty { padding: 22px 12px; color: var(--threat-muted); font-size: .86rem; text-align: center; }
.update-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 8px 8px; border-bottom: 1px solid rgba(172, 212, 243, .11); cursor: pointer; scroll-margin: 14px; }
.update-item:last-child { border-bottom: 0; }
.update-item:hover, .update-item.is-selected { background: rgba(70, 152, 220, .12); }
.update-item.is-selected { box-shadow: inset 3px 0 0 var(--threat-blue); }
.update-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--type-tint); color: var(--type-color); }
.update-icon svg { width: 20px; height: 20px; }
.update-title { margin: 0; color: #f0f8ff; font-size: .82rem; font-weight: 800; line-height: 1.22; }
.update-summary { margin: 4px 0 0; color: #c8deed; font-size: .72rem; line-height: 1.36; }
.update-details { margin-top: 4px; color: #afc8da; font-size: .68rem; line-height: 1.38; }
.update-details summary { width: fit-content; color: #8fd2ff; cursor: pointer; font-weight: 750; }
.update-details[open] summary { margin-bottom: 4px; }
.update-detail-copy { margin: 0; color: #c7dcea; }
.update-uncertainty { margin: 4px 0 0; color: #ffe0a1; font-size: .69rem; line-height: 1.35; }
.update-meta { display: flex; flex-wrap: wrap; gap: 4px 7px; margin: 3px 0 0; color: var(--threat-muted); font-size: .7rem; line-height: 1.3; }
.update-link, .update-message-link { color: #a9dbff; text-decoration: underline; text-underline-offset: .14em; }
.update-message-link { display: inline-block; margin-top: 3px; font-size: .69rem; }
.confidence-badge { padding: 1px 6px; border-radius: 999px; background: rgba(120, 167, 205, .15); color: #bfdbef; font-size: .66rem; font-weight: 800; }
.advisory-badge { background: rgba(180, 156, 255, .16); color: #d4c9ff; }

.threat-marker {
    position: relative;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--type-color);
    cursor: pointer;
}
.threat-marker::before { display: none; }
.threat-marker.is-advisory { filter: saturate(.72); opacity: .82; }
.threat-marker svg { position: relative; z-index: 1; width: 30px; height: 30px; overflow: visible; color: #f8fcff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .95)) drop-shadow(0 0 4px var(--type-color)); transform: rotate(var(--heading, 0deg)); }
.threat-marker .marker-count { position: absolute; z-index: 2; right: -5px; bottom: -5px; display: grid; min-width: 15px; height: 15px; place-items: center; padding: 0 3px; border: 1px solid rgba(236, 249, 255, .72); border-radius: 999px; background: #08213c; color: #fff; font-size: .52rem; font-weight: 850; }
.threat-map .maplibregl-popup-content { width: min(250px, 60vw); padding: 13px 15px; border: 1px solid rgba(129, 207, 252, .22); border-radius: 12px; background: #0b233a; color: #f0f8ff; box-shadow: 0 12px 28px rgba(0, 0, 0, .38); }
.threat-map .maplibregl-popup-tip { border-top-color: #0b233a; border-bottom-color: #0b233a; }
.threat-map .maplibregl-popup-close-button { color: #d4e9f7; font-size: 18px; }
.threat-popup-title { margin: 0 0 6px; font-size: .92rem; }
.threat-popup-copy { margin: 4px 0; color: #c5daeb; font-size: .78rem; line-height: 1.38; }
.threat-popup-note { color: #ffe2a0; }

.legend-panel, .information-panel {
    display: grid;
    grid-template-columns: minmax(180px, .45fr) 1fr;
    gap: 20px;
    max-width: 1240px;
    margin: 18px auto 0;
    padding: 20px 22px;
    border-radius: 16px;
}
.information-panel { margin-bottom: 36px; }
.legend-content { display: grid; gap: 16px; }
.legend-list { display: flex; flex-wrap: wrap; align-content: center; gap: 10px 16px; margin: 0; padding: 0; list-style: none; color: #d7e9f6; font-size: .82rem; font-weight: 700; }
.legend-list li { display: inline-flex; align-items: center; gap: 7px; }
.legend-threat-icon { display: grid; width: 30px; height: 30px; place-items: center; flex: 0 0 30px; }
.legend-threat-icon img { display: block; width: 30px; height: 30px; object-fit: contain; }
.legend-symbol { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid currentColor; border-radius: 8px; background: currentColor; color: #06192e; font-size: .85rem; font-weight: 900; }
.type-uav { color: #5bb8ff; }.type-missile { color: #ff6c77; }.type-ballistic { color: #ff9a78; }.type-kab { color: #ffc75a; }.type-recon { color: #6ee4c1; }.type-mig31k { color: #b49cff; }
/* Matches the 10px MapLibre canvas tile from createControlledTerritoryHatch():
   one long diagonal and one short diagonal in every repeat. SVG lets this
   exact geometry be reused by the HTML legend without changing the map layer. */
.district-status-list .type-controlled-territory {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-color: #626b74;
    background-color: #323940;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-2 12L12-2M3 12L12 3' fill='none' stroke='%23939ba5' stroke-opacity='.52' stroke-width='1'/%3E%3C/svg%3E");
}

.district-status-legend { padding-top: 15px; border-top: 1px solid rgba(158, 207, 247, .13); }
.district-status-legend h3 { margin: 0 0 10px; color: #d9ecfa; font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
.district-status-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; margin: 0; padding: 0; list-style: none; color: #c5d8e7; font-size: .77rem; line-height: 1.38; }
.district-status-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); align-items: start; gap: 8px; }
.district-status-list strong { color: #f0f8ff; }
.district-status-list .controlled-territory-legend { display: inline-flex; grid-column: 1 / -1; align-items: center; gap: 7px; margin-top: 3px; padding-top: 11px; border-top: 1px solid rgba(158, 207, 247, .13); color: #d7e9f6; font-weight: 700; }
.district-status-marker { display: block; width: 10px; height: 10px; margin-top: .27rem; border-radius: 50%; box-shadow: 0 0 0 3px rgba(237, 247, 255, .07); }
.district-status-marker.is-yellow { background: #dca626; }
.district-status-marker.is-red { background: #d74359; }
.district-status-marker.is-clear { border: 1px solid var(--threat-muted); background: #071118; box-shadow: none; }
/* Three equal diagonal strokes are centred on the marker and evenly spaced. */
.district-status-marker.is-unknown {
    border: 1px solid #5b6470;
    background-color: #5b6470;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-1 7L7-1M-1 11L11-1M3 11L11 3' fill='none' stroke='%23dce5ed' stroke-opacity='.56' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-origin: border-box;
    background-clip: border-box;
    box-shadow: none;
}

.monitorix-explainer { max-width: 1240px; margin: 12px auto 0; border: 1px solid var(--threat-border); border-radius: 14px; background: rgba(7, 24, 42, .68); color: #d7e9f6; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }
.monitorix-explainer summary { display: flex; align-items: center; min-height: 51px; padding: 14px 22px; color: #edf7ff; cursor: pointer; font-size: .93rem; font-weight: 800; list-style: none; }
.monitorix-explainer summary::-webkit-details-marker { display: none; }
.monitorix-explainer summary::after { content: '+'; margin-left: auto; color: var(--threat-blue); font-size: 1.25rem; font-weight: 500; transition: transform .18s ease; }
.monitorix-explainer[open] summary { border-bottom: 1px solid rgba(158, 207, 247, .13); }
.monitorix-explainer[open] summary::after { transform: rotate(45deg); }
.monitorix-explainer summary:focus-visible { outline: 2px solid #90d9ff; outline-offset: -3px; }
.monitorix-explainer-copy { max-width: 900px; padding: 16px 22px 20px; color: #c5d8e7; font-size: .88rem; line-height: 1.55; }
.monitorix-explainer-copy p { margin: 0; }.monitorix-explainer-copy p + p { margin-top: 10px; }.monitorix-explainer-copy strong { color: #fff0c3; }
.information-copy { max-width: 900px; color: #c5d8e7; font-size: .9rem; line-height: 1.55; }
.information-copy p { margin: 0; }.information-copy p + p { margin-top: 10px; }.information-copy strong { color: #fff0c3; }

@media (max-width: 930px) {
    .threat-section-nav { display: flex; position: sticky; z-index: 1999; top: 0; gap: 7px; padding: 8px 12px; border-bottom: 1px solid rgba(158, 207, 247, .12); background: rgba(3, 8, 15, .94); backdrop-filter: blur(12px); }
    .threat-section-nav a { flex: 1; padding: 7px 9px; border: 1px solid rgba(115, 191, 255, .24); border-radius: 999px; color: #cde9fb; font-size: .72rem; font-weight: 800; text-align: center; text-decoration: none; }
    .threat-layout { grid-template-areas: 'map' 'updates'; grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; padding: 12px; }
    .map-panel { height: min(68vh, 660px); min-height: 460px; border-radius: 16px; }
    .updates-panel { max-height: 470px; border-radius: 16px; }
    .map-toolbar { right: 24px; }
    .map-status-row { right: 24px; }
    .threat-map .maplibregl-ctrl-bottom-right { right: 18px; }
    .updates-list { max-height: 360px; }
    .legend-panel, .information-panel, .monitorix-explainer { margin-right: 12px; margin-left: 12px; }
}

@media (max-width: 680px) {
    .threat-header { grid-template-columns: 1fr auto; padding-top: 17px; }
    .threat-back { font-size: .74rem; }
    .map-panel, .updates-panel, .legend-panel, .information-panel, .monitorix-explainer { border-radius: 15px; }
    .threat-layout { padding: 8px; }
    .map-panel { height: 510px; min-height: 0; }
    .updates-panel-header { padding: 15px 15px 12px; }
    .map-toolbar { top: 10px; right: 18px; gap: 6px; }
    .district-alert-toggle { min-height: 34px; font-size: .7rem; }
    .district-alert-notice { font-size: .65rem; }
    .map-status-row { right: 18px; bottom: 10px; padding: 8px 10px; font-size: .72rem; }
    .threat-map .maplibregl-ctrl-bottom-right { right: 10px; bottom: 52px; }
    .last-updated { display: none; }
    .legend-panel, .information-panel { grid-template-columns: 1fr; gap: 12px; padding: 17px 16px; }
    .legend-list { gap: 8px 12px; }
    .legend-threat-icon, .legend-threat-icon img { width: 27px; height: 27px; }
    .district-status-list { grid-template-columns: 1fr; gap: 8px; }
    .monitorix-explainer { margin-top: 8px; }
    .monitorix-explainer summary { min-height: 48px; padding: 13px 16px; font-size: .88rem; }
    .monitorix-explainer-copy { padding: 14px 16px 17px; font-size: .84rem; }
}

/* Monitorix responsive threats layout v2 */

/* Широкий экран: широкая живая лента, карта занимает оставшееся пространство */
@media (min-width: 1051px) {
    .threat-layout {
        grid-template-columns:
            minmax(0, 1fr)
            clamp(288px, 24vw, 346px);
    }
}

/* Средний и узкий экран: карта сверху, обе ленты рядом */
@media (max-width: 1050px) {
    .threat-layout {
        grid-template-areas:
            "map"
            "updates";
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        height: auto;
        min-height: 0;
    }

    .map-panel {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: clamp(340px, 60vw, 600px);
    }

    .updates-panel {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        max-height: 460px;
        overflow-y: auto;
        overflow-x: hidden;
        overflow-wrap: anywhere;
    }
}

/* Маленькие экраны: карта сверху, лента под ней */
@media (max-width: 680px) {
    .threat-layout {
        gap: 8px;
    }

    .updates-panel {
        max-height: 410px;
    }

    .updates-panel-header {
        padding: 12px 9px 9px;
        gap: 5px;
        flex-wrap: wrap;
    }

    .updates-panel h2 {
        font-size: .88rem;
        line-height: 1.25;
    }
}

/* Очень узкие экраны: компактнее, но ленты остаются рядом */
@media (max-width: 420px) {
    .threat-layout {
        gap: 6px;
        padding: 6px;
    }

    .updates-panel {
        font-size: .76rem;
    }

    .updates-panel-header {
        padding: 10px 7px;
    }

    .updates-panel h2 {
        font-size: .8rem;
    }
}


/* Monitorix footer map credits v1 */
.map-data-credits {
    max-width: 1240px;
    margin: 14px auto 24px;
    padding: 16px 20px;
    border: 1px solid var(--threat-border);
    border-radius: 14px;
    background: rgba(7, 24, 42, .8);
    color: #c5d8e7;
    font-size: 12px;
    line-height: 1.7;
}

.map-data-credits h2 {
    margin: 0 0 8px;
    color: #e0effc;
    font-size: 14px;
}

.map-data-credits-live .maplibregl-ctrl-attrib {
    display: block !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    color: inherit;
    padding: 0;
    box-shadow: none !important;
}

.map-data-credits-live .maplibregl-ctrl-attrib-inner {
    display: block !important;
    visibility: visible !important;
}

.map-data-credits-live .maplibregl-ctrl-attrib-button {
    display: none !important;
}

.map-data-credits a,
.map-credits-shortcut a {
    color: #9bd9ff;
}

.map-credits-shortcut {
    position: absolute;
    z-index: 1200;
    bottom: 10px;
    left: 10px;
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(3, 10, 17, .85);
    color: #b4c8da;
    font-size: 10px;
    line-height: 1.4;
}

@media (max-width: 1050px) {
    .map-data-credits {
        margin: 12px;
    }
}

@media (max-width: 680px) {
    .map-credits-shortcut {
        bottom: 48px;
    }

    .map-data-credits {
        margin: 8px;
        padding: 12px;
    }
}
