/* ═══════════════════════════════════════════════════════════════════
   GOOGLE DEEPMIND WEATHER LAB - DARK THEME SPEC & PIXEL-PERFECT STYLING
   Directly matching deepmind.google.com/science/weatherlab
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --gwl-bg: #131314;
  --gwl-surface: #1e1f20;
  --gwl-surface-card: #282a2c;
  --gwl-surface-hover: #333537;
  --gwl-border: rgba(255, 255, 255, 0.1);
  --gwl-border-focus: #8ab4f8;
  --gwl-text-primary: #e3e3e3;
  --gwl-text-secondary: #c4c7c5;
  --gwl-text-muted: #8e918f;
  --gwl-blue: #1a73e8;
  --gwl-blue-hover: #1b66c9;
  --gwl-blue-light: #8ab4f8;
  --gwl-accent-cyan: #22d3ee;
  --gwl-accent-green: #34a853;
  --gwl-accent-yellow: #fbbc04;
  --gwl-accent-red: #ea4335;
  --gwl-radius: 12px;
  --gwl-radius-sm: 8px;
  --gwl-radius-pill: 9999px;
  --gwl-font: 'Google Sans', 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   1. LEFT FLOATING "CONTROLS" DRAWER
   ═══════════════════════════════════════════════════════════════════ */
.gwl-controls-drawer {
  position: fixed;
  top: 96px;
  left: 16px;
  width: 290px;
  max-height: calc(100vh - 180px);
  background: rgba(30, 31, 32, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gwl-border);
  border-radius: var(--gwl-radius);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
  z-index: 1040;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--gwl-font);
  color: var(--gwl-text-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
}

.gwl-controls-drawer.active {
  display: flex !important;
}

.gwl-controls-drawer.collapsed {
  transform: translateX(-330px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.gwl-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gwl-border);
}

.gwl-drawer-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.gwl-close-btn {
  background: transparent;
  border: none;
  color: var(--gwl-text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.gwl-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.gwl-drawer-body {
  padding: 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gwl-drawer-body::-webkit-scrollbar {
  width: 4px;
}
.gwl-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Master Toggle Row (Weather & Cyclones) */
.gwl-master-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gwl-master-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.gwl-master-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gwl-text-primary);
}

/* Toggle Switch */
.gwl-switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
}
.gwl-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.gwl-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #444746;
  border-radius: 18px;
  transition: 0.25s;
}
.gwl-switch-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: #e3e3e3;
  border-radius: 50%;
  transition: 0.25s;
}
.gwl-switch input:checked + .gwl-switch-slider {
  background-color: var(--gwl-blue);
}
.gwl-switch input:checked + .gwl-switch-slider:before {
  transform: translateX(14px);
  background-color: #fff;
}

/* Sub-sections within Drawer */
.gwl-sub-group {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gwl-sub-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gwl-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Radio and Checkbox List Items */
.gwl-choice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}
.gwl-choice-row:hover {
  background: var(--gwl-surface-hover);
}

.gwl-choice-left {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--gwl-text-secondary);
}

.gwl-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

.gwl-badge-pill {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1.3;
}
.gwl-badge-pill.operational {
  background: rgba(52, 168, 83, 0.2);
  color: #81c995;
  border: 1px solid rgba(52, 168, 83, 0.4);
}
.gwl-badge-pill.experimental {
  background: rgba(138, 180, 248, 0.2);
  color: #8ab4f8;
  border: 1px solid rgba(138, 180, 248, 0.4);
}

.gwl-warn-icon {
  color: #fbbc04;
  font-size: 10px;
}

.gwl-choice-input {
  accent-color: var(--gwl-blue);
  cursor: pointer;
  width: 13px;
  height: 13px;
}

/* Accordion Dropdowns */
.gwl-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--gwl-text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.gwl-accordion-btn:hover {
  color: #fff;
}
.gwl-accordion-icon {
  font-size: 9px;
  transition: transform 0.2s ease;
}
.gwl-accordion-btn.expanded .gwl-accordion-icon {
  transform: rotate(180deg);
}

.gwl-accordion-content {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding-left: 8px;
}
.gwl-accordion-content.open {
  display: flex;
}

/* ═══════════════════════════════════════════════════════════════════
   2. RIGHT FLOATING CYCLONE INSPECTOR HUD ("IN-FA" / STORM TELEMETRY)
   ═══════════════════════════════════════════════════════════════════ */
.gwl-inspector-hud {
  position: fixed;
  top: 96px;
  right: 16px;
  width: 320px;
  max-height: calc(100vh - 180px);
  background: rgba(30, 31, 32, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gwl-border);
  border-radius: var(--gwl-radius);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
  z-index: 1040;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--gwl-font);
  color: var(--gwl-text-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
}

.gwl-inspector-hud.active {
  display: flex !important;
}

.gwl-inspector-hud.collapsed {
  transform: translateX(350px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.gwl-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gwl-border);
  background: rgba(255, 255, 255, 0.02);
}

.gwl-hud-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gwl-back-btn {
  background: transparent;
  border: none;
  color: var(--gwl-text-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
}
.gwl-back-btn:hover {
  color: #fff;
}

.gwl-storm-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.gwl-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(234, 67, 53, 0.2);
  border: 1px solid rgba(234, 67, 53, 0.45);
  color: #f28b82;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.gwl-hud-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gwl-hud-body {
  padding: 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gwl-hud-body::-webkit-scrollbar {
  width: 4px;
}
.gwl-hud-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.gwl-date-range {
  font-size: 10.5px;
  color: var(--gwl-text-muted);
}

.gwl-chart-toggles {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--gwl-text-secondary);
}
.gwl-chart-toggle-item {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}

/* Chart Canvas Cards */
.gwl-chart-card {
  background: rgba(19, 19, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--gwl-radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gwl-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gwl-chart-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gwl-text-secondary);
}

.gwl-chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 95px;
}

.gwl-chart-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   3. BOTTOM FLOATING CAPSULE PLAYER & TIMELINE CONTROLLER
   ═══════════════════════════════════════════════════════════════════ */
.gwl-bottom-player {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(25, 26, 28, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gwl-border);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75);
  z-index: 1050;
  display: none;
  flex-direction: column;
  padding: 8px 16px;
  min-width: 420px;
  max-width: 90vw;
  font-family: var(--gwl-font);
  color: var(--gwl-text-primary);
  user-select: none;
}

.gwl-bottom-player.active {
  display: flex !important;
}

/* Upper Timeline Row */
.gwl-player-top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.gwl-play-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, transform 0.15s;
}
.gwl-play-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.08);
}

/* Timeline Scrubber with beads */
.gwl-scrubber-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  height: 24px;
}

.gwl-scrubber-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  position: relative;
}

.gwl-scrubber-progress {
  height: 100%;
  background: var(--gwl-blue);
  border-radius: 3px;
  width: 0%;
  position: absolute;
  top: 0; left: 0;
}

.gwl-scrubber-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid var(--gwl-blue);
  border-radius: 50%;
  position: absolute;
  top: -4.5px;
  left: 0%;
  transform: translateX(-50%);
  transition: transform 0.1s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.gwl-scrubber-wrap:hover .gwl-scrubber-thumb {
  transform: translateX(-50%) scale(1.2);
}

/* Time & Step buttons */
.gwl-time-step-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gwl-step-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gwl-text-primary);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.gwl-step-pill-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.gwl-current-timestamp {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.gwl-loop-btn {
  background: transparent;
  border: none;
  color: var(--gwl-text-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
  border-radius: 4px;
}
.gwl-loop-btn:hover, .gwl-loop-btn.active {
  color: var(--gwl-blue-light);
}

/* Sub-Bar (Init Cycle Controller) */
.gwl-player-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10px;
  color: var(--gwl-text-muted);
}

.gwl-init-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--gwl-text-secondary);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.gwl-init-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gwl-nav-arrow {
  background: transparent;
  border: none;
  color: var(--gwl-text-muted);
  font-size: 9px;
  cursor: pointer;
  padding: 2px 5px;
}
.gwl-nav-arrow:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   4. "INIT TIME" MODAL DIALOGUE (MATCHING IMAGE 2)
   ═══════════════════════════════════════════════════════════════════ */
.gwl-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.gwl-modal-overlay.open {
  display: flex;
}

.gwl-init-modal {
  width: 360px;
  max-width: 90vw;
  background: #1e1f20;
  border: 1px solid var(--gwl-border);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
  padding: 20px 22px;
  font-family: var(--gwl-font);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gwl-modal-title {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.gwl-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gwl-input-field {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #444746;
  border-radius: 8px;
  padding: 6px 10px;
  transition: border-color 0.2s;
  background: #131314;
}
.gwl-input-field:focus-within {
  border-color: var(--gwl-blue-light);
}

.gwl-field-label {
  font-size: 9.5px;
  color: #8e918f;
  margin-bottom: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.gwl-field-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gwl-field-inner input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  width: 100%;
  font-family: monospace;
}

.gwl-field-icon {
  color: #c4c7c5;
  font-size: 14px;
}

.gwl-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 6px;
}

.gwl-cancel-btn {
  background: transparent;
  border: none;
  color: var(--gwl-blue-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--gwl-radius-pill);
}
.gwl-cancel-btn:hover {
  background: rgba(138, 180, 248, 0.08);
}

.gwl-confirm-btn {
  background: var(--gwl-blue);
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: var(--gwl-radius-pill);
  transition: background 0.15s;
}
.gwl-confirm-btn:hover {
  background: var(--gwl-blue-hover);
}

/* ═══════════════════════════════════════════════════════════════════
   5. FLOATING TOOLBARS (BOTTOM RIGHT EXPANDABLE LEGEND & COORDS)
   Matching Google Weather Lab 'Legend - 1h Total Precipitation (mm)'
   ═══════════════════════════════════════════════════════════════════ */
.gwl-legend-card {
  position: fixed;
  bottom: 22px;
  right: 16px;
  width: 290px;
  background: rgba(25, 26, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gwl-border);
  border-radius: var(--gwl-radius);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
  padding: 10px 14px 12px 14px;
  z-index: 1030;
  display: none;
  flex-direction: column;
  gap: 8px;
  font-family: var(--gwl-font);
  color: var(--gwl-text-primary);
  user-select: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gwl-legend-card.active {
  display: flex !important;
}

.gwl-legend-card.collapsed {
  padding: 8px 14px;
  gap: 0;
}

.gwl-legend-card.collapsed .gwl-legend-body {
  display: none;
}

.gwl-legend-card.collapsed .gwl-legend-toggle-icon {
  transform: rotate(180deg);
}

.gwl-legend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.gwl-legend-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.gwl-legend-toggle-btn {
  background: transparent;
  border: none;
  color: var(--gwl-text-muted);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gwl-legend-toggle-btn:hover {
  color: #fff;
}

.gwl-legend-toggle-icon {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.gwl-legend-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gwl-legend-layer-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gwl-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Google Weather Lab 1h Total Precipitation segmented ramp */
.gwl-legend-color-bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    #052e16 0%,
    #065f46 11%,
    #10b981 22%,
    #22c55e 33%,
    #84cc16 44%,
    #eab308 55%,
    #f59e0b 67%,
    #f97316 78%,
    #ef4444 89%,
    #991b1b 100%
  );
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.gwl-legend-ticks-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-family: 'Roboto Mono', monospace, sans-serif;
  color: #8e918f;
  padding: 0 1px;
  letter-spacing: -0.2px;
}

.gwl-legend-tick {
  text-align: center;
}

/* Legacy capsule fallback */
.gwl-legend-capsule {
  display: none !important;
}

.gwl-coords-capsule {
  position: fixed;
  bottom: 22px;
  left: 16px;
  background: rgba(25, 26, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gwl-border);
  border-radius: var(--gwl-radius-pill);
  padding: 5px 12px;
  font-size: 10px;
  font-family: 'Roboto Mono', monospace;
  color: var(--gwl-text-muted);
  z-index: 1030;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.gwl-coords-capsule.active {
  display: flex !important;
}

/* ═══════════════════════════════════════════════════════════════════
   6. TOP-RIGHT ACTIONS ("Find locations" & "Search cyclones (2)")
   Directly matching Google Weather Lab Header Pills
   ═══════════════════════════════════════════════════════════════════ */
.gwl-top-actions {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 1040;
  display: none;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.gwl-top-actions.active {
  display: flex !important;
}

.gwl-top-pill {
  background: rgba(30, 31, 32, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gwl-border);
  border-radius: var(--gwl-radius-pill);
  padding: 7px 15px;
  color: var(--gwl-text-primary);
  font-family: var(--gwl-font);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.gwl-top-pill:hover {
  background: rgba(45, 47, 49, 0.98);
  border-color: var(--gwl-border-focus);
  color: #fff;
  transform: translateY(-1px);
}

.gwl-pill-badge {
  background: #dc2626;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Location Search Dropdown Panel */
.gwl-search-dropdown {
  position: fixed;
  top: 60px;
  right: 20px;
  width: 260px;
  background: rgba(30, 31, 32, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gwl-border);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.7);
  padding: 10px;
  z-index: 1045;
  display: none;
  flex-direction: column;
  gap: 8px;
  font-family: var(--gwl-font);
}

.gwl-search-input {
  background: #131314;
  border: 1px solid #444746;
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  outline: none;
}
.gwl-search-input:focus {
  border-color: var(--gwl-blue-light);
}

.gwl-quick-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.gwl-city-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 10.5px;
  color: #c4c7c5;
  cursor: pointer;
}
.gwl-city-chip:hover {
  background: rgba(138, 180, 248, 0.2);
  color: #8ab4f8;
  border-color: #8ab4f8;
}

/* Precipitation Canvas */
.dm-precipitation-canvas,
.dm-weather-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

