:root {
  --ns-bg: #f4f3f8;
  --ns-surface: #ffffff;
  --ns-surface-muted: #efedf5;
  --ns-border: #d8dcee;
  --ns-text: #222433;
  --ns-text-muted: #6f748c;
  --ns-primary: #5669c9;
  --ns-primary-strong: #3f4db0;
  --ns-pill: #eef1ff;
  --ns-shadow: 0 16px 40px rgba(30, 38, 94, 0.08);
  --ns-radius-lg: 24px;
  --ns-radius-md: 18px;
  --ns-radius-sm: 14px;
}

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

html {
  margin: 0;
  background: linear-gradient(180deg, #eff1f8 0%, #f8f8fb 100%);
}

body.ns-body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #eff1f8 0%, #f8f8fb 100%);
  color: var(--ns-text);
}

a {
  color: inherit;
  text-decoration: none;
}

.ns-site-shell {
  min-height: 100vh;
}

.ns-app-shell {
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  background: var(--ns-bg);
  box-shadow: var(--ns-shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ns-topbar {
  display: flex;
  align-items: center;
  height: 94px;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) 16px 14px;
  background: rgba(248, 248, 251, 0.98);
  border-bottom: 1px solid rgba(86, 105, 201, 0.06);
}

.ns-topbar__title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.ns-topbar--menu {
  justify-content: space-between;
  gap: 16px;
}

.ns-topbar__menu-button {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 18px;
  background: #112838;
  box-shadow: 0 14px 26px rgba(17, 40, 56, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}

.ns-topbar__menu-icon {
  width: 22px;
  display: grid;
  gap: 4px;
}

.ns-topbar__menu-icon span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.ns-topbar--back {
  height: 78px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px 8px;
}

.ns-back-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ns-text);
}

.ns-back-button .dashicons {
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.ns-page-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 14px 28px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.ns-page-content > *:first-child {
  margin-top: 0;
}

.ns-page-content > *:last-child {
  margin-bottom: 0;
}

.ns-app-shell.ns-header-menu-open {
  overflow: hidden;
}

.ns-header-menu {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
}

.ns-header-menu[hidden] {
  display: none;
}

.ns-header-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 30, 44, 0.22);
}

.ns-header-menu__sheet {
  position: relative;
  width: min(100%, 328px);
  height: 100%;
  margin-left: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 16px 18px;
  background: linear-gradient(180deg, #f8f8fb 0%, #f1f3fb 100%);
  box-shadow: -20px 0 44px rgba(21, 31, 58, 0.16);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.ns-header-menu.is-open .ns-header-menu__sheet {
  transform: translateX(0);
}

.ns-header-menu__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.ns-header-menu__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 40, 56, 0.08);
  color: #112838;
  font-size: 0.72rem;
  font-weight: 700;
}

.ns-header-menu__header h2 {
  margin: 10px 0 6px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.ns-header-menu__header p {
  margin: 0;
  color: var(--ns-text-muted);
  line-height: 1.5;
}

.ns-header-menu__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-text);
  flex: 0 0 auto;
}

.ns-header-menu__close .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.ns-settings-list--menu {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(30, 38, 94, 0.08);
}

.ns-banner-slider {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  margin-bottom: 24px;
}

.ns-banner-slider > .wp-block-group__inner-container {
  position: relative;
  min-height: 164px;
}

.ns-banner-slide {
  position: absolute;
  inset: 0;
  padding: 22px 20px 20px;
  border-radius: var(--ns-radius-lg);
  color: #fff;
  opacity: 0;
  transform: translateX(8%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.ns-banner-slide::before,
.ns-banner-slide::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.18;
}

.ns-banner-slide::before {
  width: 180px;
  height: 180px;
  right: -36px;
  top: -64px;
  background: #fff;
}

.ns-banner-slide::after {
  width: 120px;
  height: 120px;
  left: -20px;
  bottom: -40px;
  background: #fff3;
}

.ns-banner-slide > * {
  position: relative;
  z-index: 1;
}

.ns-banner-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.ns-banner-slide--sunrise {
  background: linear-gradient(135deg, #f38d64 0%, #df513e 100%);
}

.ns-banner-slide--aurora {
  background: linear-gradient(135deg, #3d80ff 0%, #66d1cd 100%);
}

.ns-banner-slide--gold {
  background: linear-gradient(135deg, #e9a43c 0%, #f3d16f 100%);
}

.ns-banner-slide--forest {
  background: linear-gradient(135deg, #3f7e52 0%, #6fbe88 100%);
}

.ns-banner-slide--night {
  background: linear-gradient(135deg, #4d57ad 0%, #7281f4 100%);
}

.ns-banner-slide h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.ns-banner-slide p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.ns-banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: -6px 0 28px;
}

.ns-banner-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(34, 36, 51, 0.18);
  padding: 0;
}

.ns-banner-dots button.is-active {
  background: var(--ns-text);
}

.ns-section-title {
  margin: 0 0 14px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.ns-benefit-grid {
  margin-bottom: 28px;
}

.ns-benefit-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ns-benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  background: var(--ns-surface);
  box-shadow: 0 6px 14px rgba(34, 36, 51, 0.04);
}

.ns-benefit-card.is-clickable,
.ns-collection-card.is-clickable,
.ns-archive-card {
  cursor: pointer;
}

.ns-benefit-card.is-clickable:focus-visible,
.ns-collection-card.is-clickable:focus-visible,
.ns-archive-card:focus-visible,
.ns-inline-button:focus-visible,
.ns-detail__share-row:focus-visible,
.ns-bottom-cta__button:focus-visible,
.ns-back-button:focus-visible {
  outline: 2px solid var(--ns-primary);
  outline-offset: 2px;
}

.ns-benefit-card__badge {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ns-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.ns-benefit-card__badge p,
.ns-benefit-card__label {
  margin: 0;
}

.ns-benefit-card__label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ns-text);
}

.ns-collection-grid {
  margin-bottom: 8px;
}

.ns-collection-grid > .wp-block-group__inner-container,
.ns-collection-grid__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ns-collection-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 16px;
  align-items: start;
  min-height: 154px;
  padding: 20px 18px 18px;
  border-radius: var(--ns-radius-lg);
  background: linear-gradient(180deg, #f5f3fa 0%, #efedf5 100%);
  box-shadow: 0 10px 22px rgba(34, 36, 51, 0.05);
  overflow: hidden;
}

.ns-collection-card--feature {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 118px;
  min-height: 168px;
  padding: 22px 20px 20px;
}

.ns-collection-card__content {
  min-width: 0;
}

.ns-collection-card__media {
  width: 88px;
  aspect-ratio: 1 / 1;
  align-self: start;
  justify-self: end;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 18px rgba(56, 67, 116, 0.12);
}

.ns-collection-card--feature .ns-collection-card__media {
  width: 118px;
  border-radius: 28px;
}

.ns-collection-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ns-collection-card h3,
.ns-collection-card p {
  margin: 0;
}

.ns-collection-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.ns-collection-card--feature h3 {
  font-size: 1.75rem;
}

.ns-collection-card p {
  margin-top: 8px;
  color: var(--ns-text-muted);
  line-height: 1.5;
}

.ns-settings-list {
  overflow: hidden;
  border-radius: var(--ns-radius-lg);
}

.ns-settings-list > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: var(--ns-radius-lg);
}

.ns-settings-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 0 18px;
  background: var(--ns-surface);
  border-bottom: 1px solid rgba(86, 105, 201, 0.1);
  width: 100%;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.ns-settings-item:last-child {
  border-bottom: 0;
}

.ns-settings-item__icon,
.ns-settings-item__label,
.ns-settings-item__meta {
  margin: 0;
}

.ns-settings-item__icon {
  width: 22px;
  color: var(--ns-text-muted);
  text-align: center;
}

.ns-settings-item__icon.dashicons {
  width: 22px;
  height: 22px;
  font-size: 20px;
}

.ns-settings-item__label {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
}

.ns-settings-item__meta {
  color: var(--ns-text-muted);
}

.ns-settings-item--toggle .ns-settings-item__meta {
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: var(--ns-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.ns-settings-item--toggle[aria-pressed="false"] .ns-settings-item__meta {
  background: rgba(86, 105, 201, 0.16);
  color: var(--ns-text-muted);
}

.ns-bottom-nav {
  width: 100%;
  padding: 10px 18px calc(env(safe-area-inset-bottom, 0px) + 14px);
  background: rgba(248, 248, 251, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(86, 105, 201, 0.12);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ns-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  border-radius: 16px;
  color: #9ba0b8;
  font-size: 0.88rem;
  font-weight: 700;
}

.ns-bottom-nav__item .dashicons {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

.ns-bottom-nav__item.is-active {
  color: var(--ns-text);
}

.ns-page-content--archive {
  padding-bottom: 18px;
}

.ns-archive-intro {
  margin-bottom: 16px;
}

.ns-archive-intro p {
  margin: 0;
  color: var(--ns-text-muted);
  line-height: 1.6;
}

.ns-archive-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ns-archive-card {
  display: block;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--ns-border);
  background: var(--ns-surface);
  box-shadow: 0 10px 20px rgba(34, 36, 51, 0.05);
}

.ns-archive-card__agency,
.ns-archive-card__title,
.ns-archive-card__summary {
  margin: 0;
}

.ns-archive-card__agency {
  color: var(--ns-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.ns-archive-card__title {
  margin-top: 8px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ns-archive-card__summary {
  margin-top: 10px;
  color: var(--ns-text-muted);
  line-height: 1.6;
}

.ns-page-content--detail {
  padding: 8px 20px 24px;
}

.ns-detail__agency,
.ns-detail__title,
.ns-detail__summary {
  margin: 0;
}

.ns-detail__agency {
  color: #8f93a5;
  font-size: 0.95rem;
  font-weight: 700;
}

.ns-detail__title {
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.ns-detail__summary {
  margin-top: 12px;
  color: var(--ns-text-muted);
  line-height: 1.7;
}

.ns-detail__share-panel {
  padding: 28px 0 18px;
  border-bottom: 1px solid rgba(86, 105, 201, 0.1);
}

.ns-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(86, 105, 201, 0.14);
  border-radius: 12px;
  background: var(--ns-surface);
  color: var(--ns-primary);
  font-weight: 700;
}

.ns-detail__share-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ns-text-muted);
  font-weight: 700;
}

.ns-detail__share-row .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.ns-detail__section-title {
  margin: 16px 0 14px;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.ns-detail__info-stack {
  display: flex;
  flex-direction: column;
}

.ns-detail__info-card {
  padding: 16px 0;
  border-bottom: 1px solid rgba(86, 105, 201, 0.08);
}

.ns-label-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--ns-pill);
  color: var(--ns-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.ns-detail__info-card p {
  margin: 12px 0 0;
  color: var(--ns-text-muted);
  line-height: 1.7;
}

.ns-detail__body {
  padding-top: 10px;
}

.ns-detail__body-copy {
  color: var(--ns-text-muted);
  line-height: 1.7;
}

.ns-detail__body-copy > *:first-child {
  margin-top: 0;
}

.ns-detail__body-copy > *:last-child {
  margin-bottom: 0;
}

.ns-ad-slot {
  margin-top: 20px;
}

.ns-ad-slot__label {
  display: block;
  margin-bottom: 10px;
  color: #959ab1;
  font-size: 0.82rem;
}

.ns-ad-slot__surface {
  min-height: 124px;
  border: 1px dashed rgba(86, 105, 201, 0.2);
  border-radius: 18px;
  background: var(--ns-surface);
  color: #a1a6bb;
  display: grid;
  place-items: center;
}

.ns-ad-slot--compact {
  margin-top: 0;
  margin-bottom: 14px;
}

.ns-ad-slot--compact .ns-ad-slot__surface {
  min-height: 72px;
  border-style: solid;
  border-color: rgba(86, 105, 201, 0.12);
  background: linear-gradient(135deg, #fff 0%, #f4f6ff 100%);
}

.ns-page-content--topic {
  padding: 8px 16px 24px;
}

.ns-topic-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.ns-topic-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(86, 105, 201, 0.14);
  border-radius: 14px;
  background: var(--ns-surface);
  color: var(--ns-text);
  font-weight: 700;
}

.ns-finance-list,
.ns-briefing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ns-finance-card,
.ns-briefing-card {
  display: block;
  padding: 16px;
  border-radius: 20px;
  background: var(--ns-surface);
  border: 1px solid rgba(86, 105, 201, 0.08);
  box-shadow: 0 10px 22px rgba(34, 36, 51, 0.04);
}

.ns-finance-card__bank,
.ns-finance-card__title,
.ns-finance-card__target,
.ns-finance-card__meta,
.ns-briefing-card__title,
.ns-briefing-card__excerpt {
  margin: 0;
}

.ns-finance-card__bank {
  color: var(--ns-text-muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.ns-finance-card__title {
  margin-top: 10px;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.ns-finance-card__target {
  margin-top: 10px;
  color: var(--ns-text-muted);
  font-weight: 700;
}

.ns-finance-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--ns-text-muted);
  line-height: 1.5;
}

.ns-finance-card__divider {
  color: #c2c6d8;
}

.ns-briefing-header {
  margin-bottom: 14px;
}

.ns-briefing-header__title,
.ns-briefing-header__range {
  margin: 0;
}

.ns-briefing-header__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ns-briefing-header__range {
  margin-top: 6px;
  color: var(--ns-text-muted);
}

.ns-briefing-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ns-text-muted);
  font-size: 0.92rem;
}

.ns-briefing-card__main {
  display: flex;
  flex-direction: column;
}

.ns-briefing-card__title {
  font-size: 1.12rem;
  line-height: 1.42;
  letter-spacing: -0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-briefing-card__headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
  align-items: start;
}

.ns-briefing-card__excerpt {
  margin-top: 0;
  color: var(--ns-text-muted);
  font-size: 0.95rem;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-briefing-card__thumb-wrap {
  width: 104px;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef1ff 0%, #f8f9ff 100%);
}

.ns-briefing-card__thumb,
.ns-briefing-card__thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.ns-briefing-card__thumb {
  object-fit: cover;
}

.ns-briefing-card__thumb-placeholder {
  background:
    linear-gradient(135deg, rgba(86, 105, 201, 0.16), rgba(86, 105, 201, 0.04)),
    radial-gradient(circle at top right, rgba(86, 105, 201, 0.18), transparent 48%);
}

.ns-feed-status {
  margin: 14px 0 0;
  color: var(--ns-text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.ns-feed-status[data-state="loading"] {
  color: var(--ns-primary);
  font-weight: 700;
}

.ns-feed-status[data-state="error"] {
  color: #b42318;
}

.ns-feed-status[data-state="done"] {
  color: #6b7280;
}

.ns-feed-sentinel {
  height: 1px;
}

.ns-bottom-cta {
  width: 100%;
  padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
  background: rgba(248, 248, 251, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(86, 105, 201, 0.12);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ns-bottom-cta__button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  font-weight: 700;
}

.ns-bottom-cta__button .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.ns-bottom-cta__button--secondary {
  border: 1px solid rgba(86, 105, 201, 0.16);
  background: var(--ns-surface);
  color: var(--ns-primary);
}

.ns-bottom-cta__button--primary {
  background: var(--ns-primary);
  color: #fff;
}

/* ---------------------------------------------------------------
 * Notification history
 * ------------------------------------------------------------- */

.ns-noti-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ns-noti-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--ns-surface);
  border: 1px solid rgba(86, 105, 201, 0.08);
  box-shadow: 0 6px 14px rgba(34, 36, 51, 0.04);
  position: relative;
}

.ns-noti-card.is-clickable {
  cursor: pointer;
}

.ns-noti-card.is-clickable:focus-visible {
  outline: 2px solid var(--ns-primary);
  outline-offset: 2px;
}

.ns-noti-card--unread {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  border-color: rgba(86, 105, 201, 0.16);
}

.ns-noti-card__dot {
  position: absolute;
  top: 18px;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ns-primary);
  flex-shrink: 0;
}

.ns-noti-card--unread .ns-noti-card__content {
  padding-left: 8px;
}

.ns-noti-card__content {
  flex: 1;
  min-width: 0;
}

.ns-noti-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-noti-card__body {
  margin: 6px 0 0;
  color: var(--ns-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-noti-card__time {
  display: block;
  margin-top: 6px;
  color: #9ba0b8;
  font-size: 0.82rem;
}

.ns-noti-card__thumb-wrap {
  width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eef1ff 0%, #f8f9ff 100%);
}

.ns-noti-card__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-noti-loading {
  text-align: center;
  color: var(--ns-text-muted);
  padding: 48px 16px;
}

/* Notification badge dot on settings item */

.ns-settings-item__badge {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ns-primary);
  display: none;
  flex-shrink: 0;
}

.ns-settings-item__badge.is-visible {
  display: block;
}

.ns-empty-state {
  padding: 72px 24px;
  text-align: center;
}

@media (max-width: 380px) {
  .ns-topbar__title {
    font-size: 1.8rem;
  }

  .ns-banner-slide h2 {
    font-size: 1.75rem;
  }

  .ns-benefit-grid,
  .ns-collection-grid {
    grid-template-columns: 1fr;
  }

  .ns-benefit-grid > .wp-block-group__inner-container,
  .ns-collection-grid > .wp-block-group__inner-container,
  .ns-collection-grid__inner {
    grid-template-columns: 1fr;
  }

  .ns-collection-card--feature {
    grid-column: auto;
  }

  .ns-collection-card,
  .ns-collection-card--feature {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .ns-collection-card__media,
  .ns-collection-card--feature .ns-collection-card__media {
    width: 82px;
    border-radius: 20px;
  }

  .ns-briefing-card__thumb-wrap {
    width: 88px;
  }

  .ns-briefing-card__headline {
    grid-template-columns: minmax(0, 1fr) 88px;
  }
}
