* {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --aurora-green: #00ff9d;
    --aurora-yellow: #ffcc00;
    --aurora-red: #ff3b30;
    --aurora-cyan: #22d3ee;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    height: 100dvh;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* ============================================================ */
/* AURORA CUSTOM DESIGN TOKENS (Synced with static Tailwind)    */
/* ============================================================ */
.bg-aurora-green { background-color: #00ff9d !important; }
.bg-aurora-green\/5 { background-color: rgba(0, 255, 157, 0.05) !important; }
.bg-aurora-green\/10 { background-color: rgba(0, 255, 157, 0.10) !important; }
.bg-aurora-green\/20 { background-color: rgba(0, 255, 157, 0.20) !important; }
.bg-aurora-green\/30 { background-color: rgba(0, 255, 157, 0.30) !important; }
.hover\:bg-aurora-green\/20:hover { background-color: rgba(0, 255, 157, 0.20) !important; }
.hover\:bg-aurora-green\/30:hover { background-color: rgba(0, 255, 157, 0.30) !important; }

.bg-aurora-yellow { background-color: #ffcc00 !important; }
.bg-aurora-yellow\/20 { background-color: rgba(255, 204, 0, 0.20) !important; }
.bg-aurora-red { background-color: #ff3b30 !important; }
.bg-aurora-red\/20 { background-color: rgba(255, 59, 48, 0.20) !important; }

.text-aurora-green { color: #00ff9d !important; }
.text-aurora-yellow { color: #ffcc00 !important; }
.text-aurora-red { color: #ff453a !important; }
.text-aurora-cyan { color: #22d3ee !important; }
.hover\:text-aurora-green:hover { color: #00ff9d !important; }
.hover\:text-aurora-cyan:hover { color: #22d3ee !important; }

.border-aurora-green { border-color: #00ff9d !important; }
.border-aurora-green\/20 { border-color: rgba(0, 255, 157, 0.20) !important; }
.border-aurora-green\/30 { border-color: rgba(0, 255, 157, 0.30) !important; }
.border-aurora-green\/40 { border-color: rgba(0, 255, 157, 0.40) !important; }
.border-aurora-green\/50 { border-color: rgba(0, 255, 157, 0.50) !important; }
.border-aurora-green\/60 { border-color: rgba(0, 255, 157, 0.60) !important; }
.hover\:border-aurora-green:hover { border-color: #00ff9d !important; }
.hover\:border-aurora-green\/40:hover { border-color: rgba(0, 255, 157, 0.40) !important; }
.hover\:border-aurora-green\/50:hover { border-color: rgba(0, 255, 157, 0.50) !important; }
.focus\:border-aurora-green:focus { border-color: #00ff9d !important; }

.border-aurora-yellow\/40 { border-color: rgba(255, 204, 0, 0.40) !important; }
.border-b-aurora-yellow { border-bottom-color: #ffcc00 !important; }
.border-aurora-red\/40 { border-color: rgba(255, 59, 48, 0.40) !important; }

.accent-aurora-green { accent-color: #00ff9d !important; }
.shadow-aurora-green\/20 { --tw-shadow-color: rgba(0, 255, 157, 0.20); }
.from-aurora-green\/20 {
    --tw-gradient-from: rgba(0, 255, 157, 0.20) var(--tw-gradient-from-position);
    --tw-gradient-to: rgba(0, 255, 157, 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-aurora-green {
    --tw-gradient-to: #00ff9d var(--tw-gradient-to-position);
}

/* Dark native form controls (prevents white-on-white selects on Safari/iOS/macOS) */
select {
    background-color: #0b111c !important;
    color: #f8fafc !important;
    color-scheme: dark;
}
select option {
    background-color: #0b111c;
    color: #f8fafc;
}
input[type="text"],
input[type="number"],
input[type="url"],
textarea {
    color-scheme: dark;
}

/* Safe Area Support for iPhone Notch / Dynamic Island / Home Indicator */
#hud {
    padding-top: var(--safe-top);
    padding-bottom: var(--safe-bottom);
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
}

/* Responsive HUD Flow Layout (Zero overlap on mobile & desktop) */
.hud-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px;
    width: 100%;
    flex-shrink: 0;
    position: relative;
    z-index: 40;
    pointer-events: none;
}
.hud-search-wrap {
    order: 10;
    width: 100%;
    min-width: 0;
    position: relative;
    pointer-events: auto;
}
.hud-actions-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
    pointer-events: auto;
}
.hud-subbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding: 0 22px 4px 8px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 0;
    position: relative;
    z-index: 30;
    pointer-events: auto;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%);
}
.hud-middle {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 4px 8px;
    gap: 8px;
    position: relative;
    pointer-events: none;
}
.hud-left-rail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 184px;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
    flex-shrink: 0;
    pointer-events: auto;
    z-index: 20;
    transition: width 0.2s ease;
}
@media (min-width: 640px) {
    .hud-left-rail {
        width: 204px;
    }
}
.hud-left-rail.dock-collapsed {
    width: auto;
}
.tool-dock {
    background: rgba(8, 13, 24, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
}
.tool-dock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 2px 4px 4px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2px;
}
.tool-dock-section {
    font-size: 8.5px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.72);
    padding: 5px 6px 1px 6px;
}
.tool-dock-item {
    width: 100%;
    min-height: 32px;
    padding: 5px 7px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    cursor: pointer;
    text-align: left;
}
.tool-dock-item:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.tool-dock-item:active {
    transform: scale(0.97);
}
.tool-dock-item-primary {
    background: rgba(0, 255, 157, 0.10);
    border-color: rgba(0, 255, 157, 0.35);
    color: #00ff9d;
}
.tool-dock-item-primary:hover {
    background: rgba(0, 255, 157, 0.18);
    border-color: rgba(0, 255, 157, 0.55);
    color: #00ff9d;
}
.tool-dock-item-amber {
    background: rgba(245, 158, 11, 0.09);
    border-color: rgba(245, 158, 11, 0.30);
    color: #fcd34d;
}
.tool-dock-item-amber:hover {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.50);
    color: #fde68a;
}
.dock-scroll-hint {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    font-size: 9px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #00ff9d;
    background: linear-gradient(to bottom, rgba(8, 13, 24, 0), rgba(8, 13, 24, 0.96) 55%);
    border-radius: 0 0 10px 10px;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.dock-scroll-hint.hidden-hint {
    opacity: 0;
}
.hud-center-banners {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}
.hud-right-fabs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: flex-end;
    flex-shrink: 0;
    pointer-events: auto;
    z-index: 20;
}
@media (min-width: 640px) {
    .hud-header {
        flex-wrap: nowrap;
    }
    .hud-search-wrap {
        order: 0;
        width: auto;
        flex: 1 1 0%;
    }
    .hud-actions-right {
        margin-left: 0;
    }
    .hud-subbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-right: 8px;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .hud-left-rail {
        width: 196px;
    }
    .hud-right-fabs {
        gap: 8px;
    }
}

/* WCAG Keyboard Focus Rings */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #00ff9d;
    outline-offset: 2px;
}
body.red-mode button:focus-visible,
body.red-mode a:focus-visible,
body.red-mode input:focus-visible,
body.red-mode select:focus-visible,
body.red-mode textarea:focus-visible {
    outline-color: #ff3b3b;
}

body.simple-mode .advanced-hud,
body.advanced-mode #simple-decision-card {
    display: none !important;
}

#simple-decision-card {
    position: absolute;
    top: calc(66px + var(--safe-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 32;
    width: min(520px, calc(100% - 16px));
    max-height: calc(100dvh - 82px - var(--safe-top) - var(--safe-bottom));
    overflow-y: auto;
    pointer-events: auto;
}

.simple-watch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.12);
    color: #fde68a;
    padding: 2px 6px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

button[data-premium="true"] {
    position: relative;
    padding-right: 3.75rem;
}

button[data-premium="true"]::after {
    content: "PREMIUM";
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.1);
    color: #fde68a;
    padding: 1px 4px;
    font-size: 6px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.simple-more summary {
    list-style: none;
}

.simple-more summary::-webkit-details-marker {
    display: none;
}

.simple-seo-links a {
    color: #a5f3fc;
    text-decoration: none;
}

.simple-seo-links a:hover {
    text-decoration: underline;
}

.glass-panel {
    background: rgba(8, 13, 24, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

[id$="-modal"] {
    background-color: rgba(2, 6, 12, 0.90) !important;
}
[id$="-modal"] > .glass-panel {
    background: rgba(9, 13, 22, 0.97) !important;
    border-color: rgba(255, 255, 255, 0.16);
}
[id$="-modal"] .overflow-y-auto.flex-col > * {
    flex-shrink: 0;
}

/* ============================================================ */
/* NIGHT VISION (RED MODE) - True 0% Green/Blue Optical Filter  */
/* ============================================================ */
body.red-mode {
    background: #000 !important;
}
body.red-mode::after {
    content: '';
    position: fixed;
    inset: 0;
    background: #ff0000;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 99999;
}
body.red-mode * {
    color: #ff3b3b !important;
    border-color: #5a0000 !important;
}
body.red-mode .glass-panel,
body.red-mode .tool-dock,
body.red-mode [id$="-modal"] > .glass-panel {
    background: #070000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}
body.red-mode .tool-dock-item {
    background: #100000 !important;
    border-color: #3d0000 !important;
}
body.red-mode [id$="-modal"] {
    background-color: rgba(0, 0, 0, 0.94) !important;
}
body.red-mode .bg-aurora-green,
body.red-mode .bg-aurora-yellow,
body.red-mode .bg-amber-400,
body.red-mode .bg-emerald-500,
body.red-mode .bg-red-600,
body.red-mode .bg-cyan-500,
body.red-mode .bg-sky-500,
body.red-mode .bg-white {
    background: #cc0000 !important;
    color: #000000 !important;
}
body.red-mode .bg-aurora-green *,
body.red-mode .bg-aurora-yellow *,
body.red-mode .bg-amber-400 *,
body.red-mode .bg-emerald-500 *,
body.red-mode .bg-red-600 *,
body.red-mode .bg-cyan-500 *,
body.red-mode .bg-sky-500 *,
body.red-mode .bg-white * {
    color: #000000 !important;
}
body.red-mode [class*="bg-blue-"],
body.red-mode [class*="bg-sky-"],
body.red-mode [class*="bg-cyan-"],
body.red-mode [class*="bg-amber-"],
body.red-mode [class*="bg-yellow-"],
body.red-mode [class*="bg-purple-"],
body.red-mode [class*="bg-indigo-"],
body.red-mode [class*="bg-emerald-"],
body.red-mode [class*="bg-aurora-green/"] {
    background-color: #160000 !important;
}
body.red-mode .hourly-weather-card.active-hour {
    border-color: #ff2b2b !important;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.35) !important;
    background: rgba(255, 0, 0, 0.14) !important;
}
body.red-mode .bg-amber-400,
body.red-mode .bg-emerald-500,
body.red-mode .bg-sky-500,
body.red-mode .bg-cyan-500 {
    background-color: #cc0000 !important;
}
body.red-mode select,
body.red-mode input[type="text"],
body.red-mode input[type="number"],
body.red-mode input[type="url"],
body.red-mode textarea {
    background-color: #140000 !important;
    color: #ff3333 !important;
    border-color: #660000 !important;
}
body.red-mode select option {
    background-color: #140000 !important;
    color: #ff3333 !important;
}
body.red-mode input[type="range"],
body.red-mode input[type="checkbox"],
body.red-mode input[type="radio"] {
    accent-color: #cc0000 !important;
    filter: grayscale(100%) sepia(100%) hue-rotate(-50deg) saturate(700%) brightness(0.65) !important;
}
body.red-mode .timeline-slider {
    background: linear-gradient(90deg, #440000 0%, #990000 50%, #ff0000 100%) !important;
}
body.red-mode .timeline-slider::-webkit-slider-thumb {
    background: #ff2222 !important;
}
body.red-mode #map {
    filter: grayscale(100%) sepia(100%) hue-rotate(-50deg) saturate(500%) brightness(0.5);
}
body.red-mode .leaflet-tile {
    filter: brightness(0.3);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ============================================================ */
/* ARKTISKT SPARLÄGE (Extreme Cold Field Mode)                  */
/* ============================================================ */
body.battery-saver-mode {
    background: #000000 !important;
}

/* Freeze GPU heavy animations & transitions */
body.battery-saver-mode *,
body.battery-saver-mode *::before,
body.battery-saver-mode *::after {
    animation: none !important;
    transition: none !important;
}

/* Pure OLED deep black panels */
body.battery-saver-mode .glass-panel,
body.battery-saver-mode .tool-dock {
    background: #000000 !important;
    backdrop-filter: none !important;
    border-color: #262626 !important;
    box-shadow: none !important;
}

body.battery-saver-mode #battery-saver-btn {
    background: #1c1917 !important;
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.btn-field {
    min-height: 48px;
    touch-action: manipulation;
}

.leaflet-control-attribution {
    display: none !important;
}

@keyframes pulse-location {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.user-pulse {
    animation: pulse-location 2s ease-in-out infinite;
}

.mini-hud {
    max-height: 100px;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

.mini-hud.expanded {
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes pulse-glow {

    0%,
    100% {
        text-shadow: 0 0 15px currentColor;
    }

    50% {
        text-shadow: 0 0 30px currentColor, 0 0 45px currentColor;
    }
}

.big-number {
    animation: pulse-glow 3s ease-in-out infinite;
}

.chevron {
    transition: transform 0.3s;
}

.expanded .chevron {
    transform: rotate(180deg);
}

/* Magnetometer Cursor */
#mag-cursor {
    position: absolute;
    top: -4px;
    width: 2px;
    height: 16px;
    background: white;
    box-shadow: 0 0 8px white;
    transition: left 0.3s ease-out;
    z-index: 10;
}

/* Compass arrow on user marker */
.compass-arrow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 16px solid #00ff9d;
    filter: drop-shadow(0 0 4px rgba(0, 255, 157, 0.8));
    transition: transform 0.15s ease-out;
}

.user-marker-container {
    position: relative;
}

/* Timeline slider & Tonight's Viewing Window (Flex flow) */
.timeline-container {
    position: relative;
    margin: 0 auto 4px auto;
    z-index: 30;
    width: calc(100% - 16px);
    max-width: 600px;
    flex-shrink: 0;
}

.hourly-weather-card {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hourly-weather-card:hover {
    transform: translateY(-2px);
}
.hourly-weather-card.active-hour {
    border-color: #00ff9d !important;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.35);
    background: rgba(0, 255, 157, 0.12) !important;
}

.scrollbar-thin::-webkit-scrollbar {
    height: 4px;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}
.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}

.timeline-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 200px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, #00ff9d 0%, #ffcc00 50%, #ff6b6b 100%);
    outline: none;
    opacity: 0.9;
}

.timeline-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

body.red-mode .compass-arrow {
    border-bottom-color: #ff0000;
    filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.8));
}

/* FAB buttons */
.fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.fab:active {
    transform: scale(0.9);
}

/* Layers menu */
.layers-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    min-width: 200px;
    z-index: 50;
}

.layers-menu.open {
    display: block;
}

/* Search results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    z-index: 50;
}

/* Multi-device Cockpit & Hotkeys */
@media (min-width: 768px) {
    .mini-hud {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Keyboard Hotkey Badges (Desktop only) */
.hotkey-badge {
    display: none;
    padding: 1px 4px;
    font-size: 8px;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    color: #ddd;
    margin-left: 4px;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (min-width: 768px) {
    .hotkey-badge {
        display: inline-block;
    }
}

/* Touch ergonomics on mobile */
@media (max-width: 640px) {
    .fab {
        width: 42px;
        height: 42px;
    }
    .timeline-container {
        width: calc(100% - 16px);
        max-width: 480px;
    }
    #simple-decision-card {
        top: calc(112px + var(--safe-top));
        max-height: calc(100dvh - 124px - var(--safe-top) - var(--safe-bottom));
    }
    .simple-watch-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================ */
/* MOVABLE & HIDEABLE WIDGETS + CLEAN MAP MODE                  */
/* ============================================================ */
.widget-ctrl-bar {
    display: flex;
    align-items: center;
    gap: 4px;
}
.widget-drag-handle {
    cursor: grab;
    touch-action: none;
    user-select: none;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1;
    color: rgba(148, 163, 184, 0.8);
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 0.15s ease, color 0.15s ease;
}
.widget-drag-handle:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}
.widget-drag-handle:active,
.widget-dragging .widget-drag-handle {
    cursor: grabbing;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.15);
}
.widget-hide-btn {
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 10px;
    line-height: 1;
    color: rgba(148, 163, 184, 0.8);
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 0.15s ease, color 0.15s ease;
}
.widget-hide-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}
.widget-floating {
    position: fixed !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 38 !important;
}
.widget-dragging {
    opacity: 0.94;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 255, 157, 0.45) !important;
    transition: none !important;
}
.widget-user-hidden {
    display: none !important;
}
.widgets-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    min-width: 230px;
    z-index: 60;
}
.widgets-menu.open {
    display: block;
}
body.clean-map-mode #simple-decision-card,
body.clean-map-mode .hud-subbar,
body.clean-map-mode .hud-left-rail,
body.clean-map-mode .timeline-container,
body.clean-map-mode #bottom-sheet,
body.clean-map-mode .hud-search-wrap {
    display: none !important;
}
#restore-widgets-pill {
    display: none;
}
body.clean-map-mode #restore-widgets-pill {
    display: inline-flex;
}
.simple-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}
.simple-seo-links a {
    color: rgba(148, 163, 184, 0.85);
    text-decoration: none;
    transition: color 0.15s ease;
}
.simple-seo-links a:hover {
    color: #00ff9d;
}
