/* V115 — Notification Center overlay on exact #/main/Notification. */

html.co-nt-open,
html.co-nt-open body {
  overflow: hidden;
}

html.co-nt-open #app {
  visibility: hidden !important;
  pointer-events: none !important;
}

html.co-nt-open .van-overlay,
html.co-nt-open .van-popup,
html.co-nt-open .van-dialog,
html.co-nt-open .van-toast {
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 5000 !important;
}

.co-nt {
  --nt-stage: #2e3236;
  --nt-canvas: #1f2123;
  --nt-header: #18191b;
  --nt-card: #26282b;
  --nt-edge: #2a2d30;
  --nt-text: #e8e8e8;
  --nt-muted: #8a8a8a;
  --nt-green: #4caf50;
  --nt-red: #e53935;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 10rem;
  height: 100%;
  height: 100dvh;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--nt-canvas);
  color: var(--nt-text);
  font-family: inherit;
  overflow: hidden;
}

.co-nt *,
.co-nt *:before,
.co-nt *:after { box-sizing: border-box; }

.co-nt__header {
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 1.17333rem;
  padding: 0.16rem 0.26667rem;
  padding-top: calc(0.16rem + env(safe-area-inset-top, 0px));
  background: var(--nt-header);
}

.co-nt__header .co-back-btn {
  justify-self: start;
  width: 0.85333rem;
  height: 0.85333rem;
}

.co-nt__title {
  margin: 0;
  justify-self: center;
  text-align: center;
  font-size: 0.45333rem;
  font-weight: 700;
  color: #f2f2f2;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.co-nt__clear {
  justify-self: end;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  height: 0.69333rem;
  padding: 0 0.2rem 0 0.16rem;
  border: 1px solid #3a3e42;
  border-radius: 0.16rem;
  background: #1c1e20;
  color: #d8d8d8;
  font-size: 0.29333rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.co-nt__clear svg {
  width: 0.34667rem;
  height: 0.34667rem;
  flex: none;
}

.co-nt__clear:active {
  transform: scale(0.96);
  background: #25282b;
}

.co-nt__tabs-wrap {
  flex: none;
  padding: 0.18667rem 0.32rem 0.16rem;
  background: var(--nt-header);
}

.co-nt__tabs {
  display: flex;
  align-items: center;
  padding: 0.05333rem;
  border-radius: 0.16rem;
  background: #141516;
}

.co-nt__tab {
  appearance: none;
  flex: 1;
  height: 0.74667rem;
  border: 0;
  border-radius: 0.12rem;
  background: transparent;
  color: #7a7a7a;
  font-size: 0.34667rem;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.co-nt__tab.is-on {
  background: #2c3034;
  color: #f0f0f0;
  box-shadow: 0 0 0 1px #3a4046;
}

.co-nt__scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.2rem 0.26667rem calc(0.48rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  background: #18191b;
}

.co-nt__empty {
  margin: auto;
  padding: 0.32rem 0.16rem 0.8rem;
  text-align: center;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  overflow: visible;
  flex: none;
}

.co-nt__empty img {
  display: block;
  width: 4.26667rem;
  height: auto;
  max-width: 100%;
  margin: 0 auto 0.24rem;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  opacity: 0.38;
  filter: grayscale(0.2) brightness(0.9);
}

.co-nt__empty p {
  margin: 0;
  color: #8a8a8a;
  font-size: 0.34667rem;
  font-weight: 600;
}

.co-nt__card {
  position: relative;
  padding: 0.24rem 0.26667rem 0.18667rem;
  border-radius: 0.21333rem;
  background: var(--nt-card);
  border: 0;
  box-shadow: none;
}

.co-nt__meta {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  min-height: 0.32rem;
}

.co-nt__time {
  color: var(--nt-muted);
  font-size: 0.29333rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.co-nt__dot {
  width: 0.16rem;
  height: 0.16rem;
  border-radius: 50%;
  background: var(--nt-green);
  box-shadow: 0 0 0.12rem rgba(76, 175, 80, 0.65);
  flex: none;
}

.co-nt__name {
  margin: 0.05333rem 0 0.04rem;
  color: #ffffff;
  font-size: 0.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.co-nt__body {
  margin: 0;
  color: #b0b0b0;
  font-size: 0.32rem;
  font-weight: 400;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

.co-nt__card.is-open .co-nt__body {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.co-nt__amt {
  color: var(--nt-green);
  font-weight: 700;
}

.co-nt__clock {
  color: var(--nt-red);
  font-weight: 700;
}

.co-nt__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.26667rem;
  margin-top: 0.08rem;
  min-height: 0.4rem;
}

.co-nt__show {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.05333rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a9a9a;
  font-size: 0.29333rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.co-nt__show svg {
  width: 0.29333rem;
  height: 0.29333rem;
  transition: transform 0.15s ease;
}

.co-nt__card.is-open .co-nt__show svg {
  transform: rotate(180deg);
}

.co-nt__del {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.48rem;
  height: 0.48rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8c8c8;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.co-nt__del svg {
  width: 0.37333rem;
  height: 0.37333rem;
}

.co-nt__del:active {
  color: #fff;
  transform: scale(0.92);
}

.co-nt__card.is-arch .co-nt__del {
  display: none;
}

.co-nt__card.is-arch .co-nt__foot {
  justify-content: flex-end;
}
