
@font-face {
  font-family: 'AmberlySans-Bold';
  src: url('https://handhule90.neocities.org/AmberlySans-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body {
    margin: 0;
    padding: 0;
    overflow: visible; 
    font-family: system-ui, -apple-system, sans-serif;
}


input[type=range] { -webkit-appearance: none; background: transparent; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 20px; width: 20px; border-radius: 50%; background: #fff; cursor: pointer; margin-top: -8px; box-shadow: 0 0 5px rgba(0,0,0,.5); }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 4px; cursor: pointer; background: rgba(255,255,255,.3); border-radius: 2px; }




.storm-svg-layer svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    display: block;

    transform: scale(0.07);
    transform-origin: center center;

    overflow: visible;
}

.storm-svg-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity .05s linear; pointer-events: none;
}
.storm-svg-layer.active { opacity: 1 !important; z-index: 2; }

.storm-svg-layer svg {
    width: 100%; height: 100%;
    object-fit: contain;
    pointer-events: none;
    display: block;
    
    transform: scale(0.07);           /* do any1 read this */
    transform-origin: center center;

}


.svg-anim-layer {
    transform-origin: 50% 50%;
    will-change: transform;
}


@keyframes intensityFlash {
    0%   { filter: brightness(1) drop-shadow(0 0 0px rgba(255,255,255,0)); transform: scale(1); }
    40%  { filter: brightness(2.0) drop-shadow(0 0 14px rgba(255,255,255,0.85)); transform: scale(1.06); }
    100% { filter: brightness(1) drop-shadow(0 0 0px rgba(255,255,255,0)); transform: scale(1); }
}
.storm-svg-icon.flash {
    animation: intensityFlash 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}


.storm-label {
    font-family: 'AmberlySans-Bold', sans-serif;
    color: #000;
    -webkit-text-stroke: 3px #fff;
    paint-order: stroke fill;
    font-size: 24px;
    padding: 2px 4px;
    border-radius: 4px;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    text-transform: uppercase;
    pointer-events: none;
}
.leaflet-tooltip-left:before, .leaflet-tooltip-right:before { border: none; }


.toggle-checkbox:checked { right: 0; border-color: #68D391; }
.toggle-checkbox:checked + .toggle-label { background-color: #68D391; }


.draggable-panel { position: fixed; min-width: 300px; box-sizing: border-box; user-select: none; touch-action: none; }
.drag-handle { cursor: move; }
.controls-hidden #controlsContent { max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.controls-hidden .drag-handle button svg { transform: rotate(180deg); }


.legend-c5 { background: #ec4899; } .legend-c4 { background: #ef4444; } .legend-c3 { background: #f97316; }
.legend-c2 { background: #fb923c; } .legend-c1 { background: #facc15; } .legend-ts { background: #4ade80; } .legend-td { background: #60a5fa; }


.par-highlight { fill: #facc15; fill-opacity: .25; stroke: #facc15; stroke-width: 2; stroke-dasharray: 6 3; }


#loadingOverlay {
    position: fixed; inset: 0; background: #111; z-index: 9999999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
#loadingOverlay.hidden { display: none; }
#loadingBar { width: 250px; height: 8px; background: #333; border-radius: 4px; overflow: hidden; margin-top: 1rem; }
#loadingProgress { height: 100%; background: #4ade80; width: 0%; transition: width .2s; }


.leaflet-overlay-pane path { transition: opacity 0.1s linear; }
