.note-detail-body {
  background:
    linear-gradient(rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08)),
    var(--bg);
}

.note-detail-main {
  padding-bottom: 60px;
}

.note-detail-hero {
  padding: 72px 0 40px;
}

.note-detail-shell {
  display: grid;
  gap: 36px;
  max-width: 800px;
  margin-inline: auto;
}

.note-detail-header {
  display: grid;
  gap: 14px;
}

.note-breadcrumb {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.4;
}

.note-detail-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.06em;
  color: var(--ink);
}

.note-detail-lead {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

.note-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.note-detail-meta div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
}

.note-detail-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.note-detail-meta strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
}

.note-detail-body-content {
  padding-top: 20px;
}

.note-content-shell {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.note-article {
  display: grid;
  gap: 48px;
}

.note-section {
  display: grid;
  gap: 16px;
}

.note-section p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.note-section p:first-child {
  font-size: 1.04rem;
  color: var(--ink);
  font-weight: 500;
}

.note-block {
  margin: 24px 0 20px;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: rgba(245, 248, 255, 0.6);
  border-radius: 6px;
}

.note-block-label {
  margin: 0 0 8px 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.note-block-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}

.note-section-ideas {
  margin-top: -20px;
  padding-top: 0;
}

.note-section-ideas h2 {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
}

.small-ifs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.small-if-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.small-if-item:hover {
  border-color: var(--blue);
  background: rgba(245, 248, 255, 0.7);
}

.if-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.if-title {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 600;
}

.note-section-next {
  padding-top: 12px;
}

.note-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.nav-block {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.nav-back {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-link:hover {
  gap: 14px;
}

.nav-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

.nav-text {
  letter-spacing: 0.01em;
}

.nav-next {
  display: grid;
  gap: 4px;
}

.nav-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-title-coming {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 600;
}

.nav-status {
  margin: 2px 0 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* Responsive */

@media (max-width: 640px) {
  .note-detail-hero {
    padding: 50px 0 28px;
  }

  .note-detail-shell {
    gap: 24px;
  }

  .note-detail-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

  .note-detail-lead {
    font-size: clamp(0.95rem, 1.2vw, 1rem);
  }

  .note-detail-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .note-article {
    gap: 40px;
  }

  .note-section {
    gap: 14px;
  }

  .small-ifs-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .note-navigation {
    grid-template-columns: 1fr;
  }

  .note-content-shell {
    padding: 0 18px;
  }
}
