#quick-notices-slot {
  position: relative;
  border-top: 1px solid var(--tdmu-border-light);
  padding-top: var(--tdmu-slot-spacing);
  padding-bottom: var(--tdmu-slot-spacing);
  background: linear-gradient(
    135deg,
    var(--tdmu-primary-600),
    var(--tdmu-primary)
  );
}

.tdmu-section--quick-notices {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.tdmu-panel--quick-notices {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tdmu-panel--quick-notices::before {
  display: none;
}

.tdmu-panel--quick-notices .tdmu-section-head {
  justify-items: center;
  margin: 0;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.tdmu-panel--quick-notices .tdmu-section-title {
  color: #fff;
}

.tdmu-quick-notice-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1rem 0.5rem;
}

.tdmu-quick-notice-tab {
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
}

.tdmu-quick-notice-tab:hover,
.tdmu-quick-notice-tab.is-active {
  border-color: #fff;
  background: #fff;
  color: var(--tdmu-primary);
}

.tdmu-quick-notice-list {
  display: grid;
  max-height: 430px;
  margin: 0 0.2rem 0 0;
  padding: 0 1rem 1rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--tdmu-accent) rgba(255, 255, 255, 0.12);
}

.tdmu-quick-notice-list::-webkit-scrollbar {
  width: 5px;
}

.tdmu-quick-notice-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.12);
}

.tdmu-quick-notice-list::-webkit-scrollbar-thumb {
  background: var(--tdmu-accent);
}

.tdmu-quick-notice-item {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tdmu-quick-notice-item:last-child {
  border-bottom: 0;
}

.tdmu-quick-notice-item time {
  width: fit-content;
  padding: 0.16rem 0.45rem;
  background: rgba(var(--tdmu-accent-rgb), 0.2);
  color: #d9f1fb;
  font-size: 0.7rem;
  font-weight: 700;
}

.tdmu-quick-notice-item a {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--transition-base);
}

.tdmu-quick-notice-item a:hover {
  color: var(--tdmu-accent-light);
}

.tdmu-quick-notice-footer {
  display: flex;
  justify-content: center;
  padding-top: 0.4rem;
}

.tdmu-quick-notice-more {
  padding: 0.7rem 1rem;
  background: #fff;
  color: var(--tdmu-primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition-base);
}

.tdmu-quick-notice-more:hover {
  background: var(--tdmu-accent-light);
  color: var(--tdmu-primary);
}

@media (max-width: 575.98px) {
  .tdmu-quick-notice-tabs {
    gap: 0.35rem;
    padding-inline: 0.75rem;
  }

  .tdmu-quick-notice-tab {
    padding: 0.38rem 0.5rem;
    font-size: 0.65rem;
  }

  .tdmu-quick-notice-list {
    max-height: 420px;
    padding-inline: 0.85rem;
  }

  .tdmu-quick-notice-item a {
    font-size: 0.92rem;
  }
}

.tdmu-panel--events .tdmu-section-head {
  justify-items: center;
  text-align: center;
}
