.site-notice {
  --notice-accent: #83C7EF;
  --notice-border: rgba(83, 143, 176, .42);
  --notice-wash: rgba(18, 49, 65, .74);
  position: relative;
  z-index: 110;
  display: flex;
  width: calc(100% - 36px);
  max-width: 1320px;
  min-height: 52px;
  margin: 12px auto 0;
  padding: 10px 54px 10px 13px;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  overflow: hidden;
  border: 1px solid var(--notice-border);
  border-radius: 14px;
  background: linear-gradient(110deg, var(--notice-wash), rgba(8, 20, 27, .96) 68%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 12px 28px rgba(0,0,0,.16);
  color: #D7E3E9;
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  animation: siteNoticeIn 260ms ease-out both;
}

.site-notice::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--notice-accent);
}

.site-notice > .material-icons {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  border: 1px solid var(--notice-border);
  border-radius: 9px;
  background: rgba(5, 15, 21, .44);
  color: var(--notice-accent);
  font-size: 17px !important;
}

.site-notice > span { min-width: 0; }

.site-notice .notice-dismiss {
  position: absolute;
  top: 50%;
  right: 11px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #8FA2AD;
  cursor: pointer;
  font: 400 21px/1 'IBM Plex Sans', sans-serif;
  transform: translateY(-50%);
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.site-notice .notice-dismiss:hover,
.site-notice .notice-dismiss:focus-visible {
  border-color: var(--notice-border);
  background: rgba(255,255,255,.045);
  color: #FFFFFF;
  outline: none;
}

.site-notice-info {
  --notice-accent: #83C7EF;
  --notice-border: rgba(83, 143, 176, .42);
  --notice-wash: rgba(18, 49, 65, .74);
}

.site-notice-warning {
  --notice-accent: #EAB866;
  --notice-border: rgba(193, 139, 57, .42);
  --notice-wash: rgba(68, 45, 14, .68);
}

.site-notice-maintenance {
  --notice-accent: #EC8A78;
  --notice-border: rgba(185, 82, 67, .44);
  --notice-wash: rgba(65, 28, 24, .7);
}

@keyframes siteNoticeIn {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1280px) {
  .site-notice { max-width: 1608px; }
}

@media (max-width: 700px) {
  .site-notice {
    width: calc(100% - 20px);
    min-height: 0;
    margin-top: 8px;
    padding: 10px 46px 10px 11px;
    gap: 9px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
  }
  .site-notice > .material-icons { width: 28px; height: 28px; flex-basis: 28px; font-size: 16px !important; }
  .site-notice .notice-dismiss { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-notice { animation: none; }
}
