/* 私密空间：深色 + 霓虹绿/紫 + 粗黑描边 + 星形（呼应参考图） */
.private-shell {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  background: #050508;
  color: #e8f0e8;
  padding: 1.5rem 0 3rem;
  margin-top: 0;
  border-top: 4px solid #000;
}

.private-inner {
  position: relative;
}

.private-hero {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid #000;
  box-shadow:
    0 0 0 2px #39ff14,
    0 12px 40px rgba(168, 85, 247, 0.35);
}

.private-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center 25%;
}

.private-hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 40, 20, 0.75) 0%,
    rgba(20, 0, 40, 0.45) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.private-hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
}

.private-hero-text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  text-shadow:
    0 0 12px rgba(57, 255, 20, 0.6),
    2px 2px 0 #000;
  letter-spacing: 0.04em;
}

.star-inline {
  color: #ffb020;
  text-shadow: 0 0 8px rgba(255, 176, 32, 0.9);
}

.private-hero-text p {
  margin: 0;
  font-size: 0.88rem;
  color: #b8e8c8;
  max-width: 48ch;
}

/* 与头图呼应的作品名角标 */
.ls-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #0a0a0a;
  background: linear-gradient(180deg, #fde047, #eab308);
  border: 2px solid #000;
  border-radius: 3px;
  vertical-align: middle;
  box-shadow: 2px 2px 0 rgba(168, 85, 247, 0.6);
}

.notebook-card-private {
  background: #0c0c10;
  border: 4px solid #000;
  box-shadow:
    0 0 0 2px #a855f7,
    inset 0 0 0 1px rgba(57, 255, 20, 0.25);
  border-radius: 4px;
  padding: 1.25rem 1.35rem;
  max-width: 480px;
}

.private-gate .field span {
  color: #9ae59a;
}

.private-gate input {
  background: #111118 !important;
  border: 3px solid #000 !important;
  color: #e0ffe8 !important;
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.5);
}

.gate-title {
  margin: 0 0 1rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: #39ff14;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.45);
}

.gate-msg {
  min-height: 1.25em;
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: #f472b6;
}

.btn-neon {
  background: linear-gradient(180deg, #39ff14, #1a9f3a);
  color: #000;
  font-weight: 800;
  border: 3px solid #000;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #a855f7;
}

.btn-neon:hover {
  filter: brightness(1.08);
  transform: translate(-1px, -1px);
}

.btn-ghost-private {
  margin-top: 1rem;
  background: transparent;
  color: #a78bfa;
  border: 3px solid #000;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}

.btn-ghost-private:hover {
  color: #c4b5fd;
}

.private-role {
  font-size: 0.9rem;
  color: #86efac;
  margin: 0 0 1rem;
}

.private-subtitle {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: #e9d5ff;
  text-shadow: 2px 2px 0 #000;
}

.star-deco {
  color: #fbbf24;
}

.feed-list-private .post-card {
  background: #0a0a0f;
  border: 4px solid #000;
  border-radius: 4px;
  box-shadow: 4px 4px 0 rgba(57, 255, 20, 0.15);
  color: #dceee0;
}

.feed-list-private .post-meta {
  color: #9ca3af;
}

.feed-list-private .post-body {
  color: #e5f5e8;
}

.feed-list-private .btn-like {
  border: 3px solid #000;
  background: #111;
  color: #a7f3d0;
  border-radius: 4px;
}

.feed-list-private .btn-like.is-liked {
  border-color: #f472b6;
  background: #1a1020;
}

.empty-hint-private {
  color: #6b7280;
}

#private-only-form textarea {
  width: 100%;
  background: #111118;
  border: 3px solid #000;
  color: #d1fae5;
  border-radius: 4px;
  min-height: 120px;
}

body.view-private .site-header {
  background: color-mix(in srgb, #050508 90%, transparent);
  border-bottom-color: #39ff14;
}

body.view-private .logo-text {
  background: none;
  color: #7dd3fc;
  -webkit-text-fill-color: #7dd3fc;
}

body.view-private .logo-sub {
  color: #fbbf24;
  opacity: 1;
}

body.view-private .logo-star {
  color: #facc15;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.7);
}
