/* VVE Storm Watch: compact, scoped, keyboard-accessible, no extra framework. */
.wx-watch-panel {
  margin: 0.6rem 0 0.3rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid #81cde94e;
  background: linear-gradient(145deg, #123451ed, #071827f5);
  box-shadow:
    inset 0 1px 0 #dcf6ff2d,
    0 12px 24px #0006;
}
.wx-watch-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.wx-watch-topline h2 {
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  margin: 0;
  color: #edfaff;
}
.wx-watch-topline p {
  font-size: 0.72rem;
  margin: 0.23rem 0;
  color: #accee3;
}
.wx-watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.wx .wx-watch-actions button {
  font-size: 0.75rem;
  padding: 0.32rem 0.7rem;
  min-height: 36px;
}
.wx-watch-summary {
  font-size: 0.82rem;
  color: #cce8fa;
  font-weight: 650;
  margin: 0.55rem 0;
}
.wx-watch-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}
.wx-watch-item {
  padding: 0.7rem 0.65rem;
  border-radius: 13px;
  border: 1px solid #8dc3dd42;
  background: linear-gradient(150deg, #102e46, #061b2e);
  min-width: 0;
  box-shadow: inset 0 1px 0 #ffffff1d;
  overflow-wrap: anywhere;
}
.wx-watch-item[data-level="urgent"] {
  border-color: #ff9e8d;
  background: linear-gradient(145deg, #522e37, #221b2b);
  box-shadow: inset 0 0 20px #f85c381a;
}
.wx-watch-item[data-level="watch"] {
  border-color: #edc979;
  background: linear-gradient(145deg, #453927, #1d2931);
}
.wx-watch-item[data-level="unknown"] {
  border-color: #cfb58f;
  background: #302b25;
}
.wx-watch-item[data-level="none"] {
  border-color: #6cbda766;
}
.wx-watch-top {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.wx-watch-place {
  font-size: 0.84rem;
  color: #f5fbff;
}
.wx .wx-watch-show {
  font-size: 0.71rem;
  min-height: 32px;
  padding: 0.28rem 0.55rem;
  box-shadow:
    inset 0 1px 0 #ffffff55,
    0 3px 0 #081320;
}
.wx-watch-card-status {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0.5rem 0 0.3rem;
  color: #bfe6f7;
}
.wx-watch-item[data-level="urgent"] .wx-watch-card-status {
  color: #ffd4bd;
}
.wx-watch-item[data-level="watch"] .wx-watch-card-status {
  color: #ffe5a0;
}
.wx-watch-item[data-level="unknown"] .wx-watch-card-status {
  color: #ffe6b0;
}
.wx-watch-alert {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid #b3e4ff33;
  padding: 0.45rem 0;
  line-height: 1.35;
}
.wx-watch-alert strong {
  font-size: 0.75rem;
  color: #fff;
}
.wx-watch-severity,
.wx-watch-end {
  font-size: 0.7rem;
  color: #e2d4c7;
}
.wx-watch-official {
  color: #a3e4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.7rem;
}
.wx-watch-more,
.wx-watch-timestamp,
.wx-watch-pending {
  font-size: 0.7rem;
  color: #b2cedf;
  line-height: 1.4;
}
.wx-watch-timestamp {
  display: block;
  border-top: 1px solid #d0eaff21;
  margin-top: 0.45rem;
  padding-top: 0.35rem;
}
.wx-watch-foot {
  margin: 0.55rem 0 0;
  color: #a3c5da;
  font-size: 0.71rem;
  line-height: 1.4;
}
.wx-watch-foot a {
  color: #8bdcff;
}
.wx-watch-actions button[aria-pressed="false"] {
  border-color: #efc78e;
}
@media (max-width: 1160px) {
  .wx-watch-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .wx-watch-panel {
    padding: 0.72rem;
  }
  .wx-watch-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wx-watch-topline {
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .wx-watch-list {
    grid-template-columns: 1fr;
  }
  .wx-watch-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .wx-watch-item {
    padding: 0.65rem 0.75rem;
  }
}
