@keyframes clock-colon-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0.12;
  }
}

.now-page-pill {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  min-height: 4.5rem;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.85rem;
  box-sizing: border-box;
  border: 1px solid #d9cff0;
  border-radius: 6px;
  background: #f7f2ff;
  color: #4b2e74;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.now-page-pill-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.now-page-pill-content {
  display: block;
  width: 100%;
  padding-top: 0.55rem;
  border-top: 1px solid #e4d9f5;
  color: var(--nc-tx-2);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.35;
}

.now-page-pill-content p {
  max-width: 34rem;
  margin: 0 auto;
}

.now-page-pill:hover,
.now-page-pill:focus {
  border-color: #b89cec;
  background: #f1e9ff;
  color: #3c245e;
  box-shadow:
    0 0 14px rgba(126, 72, 255, 0.55),
    0 0 36px rgba(126, 72, 255, 0.42),
    0 0 72px rgba(126, 72, 255, 0.22);
}

.now-page {
  color: var(--nc-tx-2);
}

.now-page-section {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d9cff0;
  border-radius: 6px;
  background: #f7f2ff;
}

.now-page-section > :last-child {
  margin-bottom: 0;
}

.now-page-meta-section {
  padding: 0.7rem 0.85rem;
  background: #fbf8ff;
}

.now-page-meta {
  display: grid;
  gap: 0.32rem;
  color: #77717f;
  font-size: 0.86rem;
  line-height: 1.3;
}

.now-page-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.now-page-meta-separator {
  width: 100%;
  margin: 0.08rem 0;
  border: 0;
  border-bottom: 1px solid #e4d9f5;
}

.now-page-meta-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: #6f5791;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.now-page-updated-date {
  font-size: 0.82em;
}

.now-page-clock {
  font-family: var(--nc-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #8b8792;
}

.now-page-clock:first-child {
  text-align: left;
}

.now-page-clock:last-child {
  text-align: right;
}

.clock-colon {
  animation: clock-colon-blink 1s steps(1, end) infinite;
}

@media (prefers-color-scheme: dark) {
  .now-page-pill {
    border-color: #3a3347;
    background: #17131d;
    color: #c8bfd7;
  }

  .now-page-pill:hover,
  .now-page-pill:focus {
    border-color: #66557f;
    background: #211a2a;
    color: #ddd4eb;
    box-shadow:
      0 0 16px rgba(139, 110, 190, 0.46),
      0 0 42px rgba(139, 110, 190, 0.32),
      0 0 84px rgba(139, 110, 190, 0.16);
  }

  .now-page-pill-content {
    border-top-color: #2d2736;
    color: var(--nc-tx-2);
  }

  .now-page-clock {
    color: #8c8794;
  }

  .now-page-section {
    border-color: #3a3347;
    background: #17131d;
  }

  .now-page-meta-section {
    background: #141119;
  }

  .now-page-meta {
    color: #9a94a4;
  }

  .now-page-meta-separator {
    border-bottom-color: #2d2736;
  }

  .now-page-meta-icon {
    color: #9b91ad;
  }
}
