.flash-panel {
  --flash-navy: #082c50;
  --flash-red: #c6202e;
  --flash-border: #d8dde3;
  background: #fff;
  border: 1px solid var(--flash-border);
  border-top: 4px solid var(--flash-navy);
  border-radius: 3px;
  box-shadow: 0 5px 18px rgba(8, 44, 80, .08);
  color: #172536;
  overflow: hidden;
}

.flash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 68px;
  padding: 13px 10px 12px;
  border-bottom: 1px solid var(--flash-border);
}

.flash-panel-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.flash-panel-heading h2 {
  margin: 0;
  color: var(--flash-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.flash-live-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 3px;
  background: var(--flash-red);
  box-shadow: 0 0 0 4px rgba(198, 32, 46, .1);
}

.flash-filter-label {
  flex: 0 0 104px;
  min-width: 0;
}

.flash-filter {
  width: 104px;
  max-width: 100%;
  height: 38px;
  padding: 0 25px 0 10px;
  border: 1px solid #cbd1d8;
  border-radius: 3px;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23082c50' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 8px center;
  background-repeat: no-repeat;
  color: var(--flash-navy);
  font: 700 11px/1 Arial, sans-serif;
  cursor: pointer;
}

.flash-panel-kicker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  background: #f5f7f9;
  color: #687382;
  font: 11px/1.25 Arial, sans-serif;
}

.flash-panel-kicker span:first-child {
  color: var(--flash-red);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.flash-panel .flash-list {
  max-height: 344px;
  margin: 0;
  padding: 0 7px 0 14px;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: #a8afb7 transparent;
  scrollbar-width: thin;
}

.flash-panel.is-expanded .flash-list {
  max-height: none;
}

.flash-panel .flash-list::-webkit-scrollbar {
  width: 6px;
}

.flash-panel .flash-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #a8afb7;
}

.flash-panel .flash-list li {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 0;
  padding: 13px 7px 13px 0;
  border-bottom: 1px solid #e6e9ed;
}

.flash-panel .flash-list li.is-filtered-out,
.flash-panel .flash-list li[hidden] {
  display: none !important;
}

.flash-panel .flash-list li:last-child {
  border-bottom: 0;
}

.flash-panel .flash-list time {
  padding-top: 2px;
  color: #426079;
  font: 700 11px/1.35 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.flash-panel .flash-link {
  color: #18354f;
  font: 600 14px/1.38 Georgia, "Times New Roman", serif;
  text-decoration: none;
  transition: color .16s ease;
}

.flash-panel .flash-link:hover,
.flash-panel .flash-link:focus-visible {
  color: var(--flash-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flash-panel .flash-list li.is-latest time,
.flash-panel .flash-list li.is-latest .flash-link {
  color: var(--flash-red);
}

.flash-panel .flash-list li.is-latest {
  position: relative;
}

.flash-panel .flash-list li.is-latest::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: -14px;
  width: 3px;
  background: var(--flash-red);
  content: "";
}

.flash-show-all {
  width: calc(100% - 28px);
  min-height: 40px;
  margin: 13px 14px 14px;
  border: 1px solid #bfc7cf;
  border-radius: 3px;
  background: #fff;
  color: var(--flash-navy);
  font: 800 11px/1 Arial, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  cursor: pointer;
}

.flash-show-all:hover,
.flash-show-all:focus-visible {
  border-color: var(--flash-navy);
  background: var(--flash-navy);
  color: #fff;
}

.flash-empty {
  margin: 0;
  padding: 28px 14px;
  color: #687382;
  font-size: 14px;
  text-align: center;
}

.flash-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 420px) {
  .flash-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .flash-filter {
    width: 100%;
    max-width: none;
  }

  .flash-panel .flash-list {
    max-height: 300px;
  }
}
