/* Home notice center — force our NEWS strip over native CMS text */
html.gate-ui .home .page_main .notice.gate-home-notice,
html.gate-ui .home .notice.gate-home-notice {
  position: relative !important;
  padding: 10px 12px 8px !important;
  min-height: 40px;
}

/* 彻底隐藏原生公告（含 Nexora 矿池文案） */
html.gate-ui .home .notice .ntSwiper.gate-notice-native-hidden,
html.gate-ui .home .notice .ntSwiper {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

html.gate-ui .home .notice .notice_left {
  position: relative !important;
  width: calc(100% - 1.625rem) !important;
  min-height: 1.5625rem;
}

html.gate-ui .home .notice .gate-notice-marquee {
  position: absolute !important;
  left: 2rem;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1.5625rem;
  overflow: hidden;
  z-index: 20 !important;
  pointer-events: auto;
  cursor: pointer;
  background: transparent;
}

html.gate-ui .home .notice .gate-notice-line {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 1.5625rem;
  animation: gateNoticeIn .32s ease;
}

html.gate-ui .home .notice .gate-notice-tag {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #2354e6;
  background: rgba(35, 84, 230, 0.16);
  border-radius: 4px;
  padding: 1px 6px;
  line-height: 1.4;
}

html.gate-ui .home .notice .gate-notice-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px !important;
  font-weight: 500 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d5dae3 !important;
  -webkit-text-fill-color: #d5dae3 !important;
}

html.gate-ui[data-theme="light"] .home .notice .gate-notice-text {
  color: #2f3340 !important;
  -webkit-text-fill-color: #2f3340 !important;
}

@keyframes gateNoticeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Notice Center list page — same NEWS content as home strip */
html.gate-ui .notice .notice-contianer.gate-notice-list .gate-news-item {
  margin-bottom: 12px;
}
html.gate-ui .notice .notice-contianer.gate-notice-list .gate-news-title {
  color: var(--content-primary, #eaecef) !important;
  font-weight: 600 !important;
  line-height: 1.4;
}
html.gate-ui .notice .notice-contianer.gate-notice-list .gate-news-sub {
  margin-top: 4px;
  color: var(--content-tertiary, #848e9c) !important;
}
html.gate-ui .notice .notice-contianer.gate-notice-list .card {
  pointer-events: none;
}
