/* ─────────────────────────────────────────────────
   Global Nav + New Pages (about / shows / merch / community)
   Appended by Capy · 2026.05.06
───────────────────────────────────────────────── */

/* ========== GLOBAL NAV (hamburger-only, transparent) ========== */
.gnav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  padding: 18px 24px;
  background: transparent;
  border-bottom: 0;
  pointer-events: none; /* only children with pointer-events: auto are clickable */
}
.gnav > * { pointer-events: auto; }
/* Dark variant: just changes icon/menu colors, no background on the bar itself */
.gnav.gnav-dark {
  background: transparent;
  border-bottom: 0;
}
.gnav-links {
  position: absolute;
  top: 68px;
  right: 24px;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25), 0 6px 16px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s, opacity 0.25s;
  border-radius: 4px;
}
.gnav.open .gnav-links {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.gnav-links li { width: 100%; }
.gnav-links a {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #000;
  background: #fff;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  display: block;
  padding: 12px 28px;
  line-height: 1.3;
}
.gnav-links a:hover {
  background: rgba(0,0,0,0.05);
}
.gnav-links a.active {
  color: var(--accent);
}

/* Logo toggle — transparent PNG embedded directly into page, no frame */
.gnav-toggle {
  display: inline-flex;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, filter 0.2s;
  box-shadow: none;
}
.gnav-toggle:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
.gnav-toggle .gnav-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.gnav-dark .gnav-toggle { box-shadow: none; }
.gnav-dark .gnav-toggle:hover {
  filter: drop-shadow(0 4px 12px rgba(255,255,255,0.3));
}

/* Language switcher pill next to hamburger */
.gnav-lang {
  position: absolute;
  top: 50%;
  right: 104px;
  transform: translateY(-50%);
  min-width: 40px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(6px);
  color: #111;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.gnav-lang:hover {
  background: #111;
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}
.gnav-dark .gnav-lang {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.gnav-dark .gnav-lang:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 600px) {
  .gnav { padding: 14px 16px; }
  .gnav-links {
    right: 16px;
    top: 64px;
    min-width: min(260px, calc(100vw - 32px));
  }
  .gnav-lang {
    right: 80px;
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* Nav is a floating hamburger, no layout offset needed */
body.has-gnav { padding-top: 0; }

/* ========== GENERIC PAGE SHELL (about / shows / merch / community) ========== */
.page {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}
.page-head {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
}
.page-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.page-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-title em {
  font-style: italic;
  color: var(--accent);
}
.page-lead {
  font-size: 16px;
  color: var(--subtle);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-section {
  margin-bottom: 100px;
}
.page-section:last-child {
  margin-bottom: 0;
}
.page-section-head {
  border-top: 1px solid var(--edge);
  padding-top: 40px;
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.page-section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  flex-shrink: 0;
}
.page-section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ink);
  margin: 0;
}

@media (max-width: 700px) {
  .page { padding: 90px 20px 60px; }
  .page-head { margin-bottom: 60px; }
  .page-section { margin-bottom: 70px; }
  .page-section-head {
    flex-direction: column;
    gap: 6px;
    padding-top: 28px;
    margin-bottom: 32px;
  }
}

/* ========== ABOUT PAGE ========== */
.about-story {
  max-width: 720px;
  margin: 0 auto;
}
.about-story p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 24px;
}
.about-story p:first-child::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: 64px;
  float: left;
  line-height: 0.9;
  margin: 6px 10px 0 0;
  color: var(--accent);
}
.about-story blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}
.story-expand {
  max-height: 280px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.6s ease;
}
.story-expand.open {
  max-height: 10000px;
}
.story-expand:not(.open)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.story-toggle {
  display: block;
  margin: 24px auto 0;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.story-toggle:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Stats under story */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--edge);
  margin: 48px 0 0;
}
.about-stat {
  background: var(--bg);
  padding: 32px 24px;
  text-align: center;
}
.about-stat-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.about-stat-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--subtle);
  text-transform: uppercase;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--edge);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26,10,40,0.08);
}
.team-photo {
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  background: var(--dim);
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
  transition: transform 0.5s, filter 0.3s;
}
.team-card:hover .team-photo img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.05);
}
.team-photo-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--card) 0%, var(--dim) 100%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 72px;
  font-weight: 900;
  color: var(--bg);
}
.team-info {
  padding: 24px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.team-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.team-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.1;
}
.team-alias {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 16px;
  font-family: var(--mono);
}
.team-bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  margin-top: auto;
}

/* Recruit info box */
.recruit-box {
  background: var(--ink);
  color: var(--bg);
  padding: 60px 48px;
  text-align: center;
  margin-top: 48px;
}
.recruit-box h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
  color: #fff;
}
.recruit-box p {
  font-size: 15px;
  opacity: 0.82;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.recruit-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 40px;
  text-align: left;
}
.recruit-step {
  background: var(--ink);
  padding: 24px 20px;
}
.recruit-step-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #d4a67a;
  margin-bottom: 10px;
}
.recruit-step-t {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}
.recruit-step-d {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
.recruit-cta {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s;
}
.recruit-cta:hover { transform: translateY(-2px); }
.recruit-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.recruit-contact b {
  color: #fff;
  font-weight: 700;
  margin-left: 6px;
}

@media (max-width: 700px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-stat-num { font-size: 44px; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .recruit-box { padding: 40px 24px; }
  .recruit-contact { flex-direction: column; gap: 10px; }
}

/* ========== SHOWS PAGE ========== */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}
.show-card {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}
.show-card:hover { transform: translateY(-4px); }
.show-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #000;
}
.show-media img,
.show-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.show-media::before {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  pointer-events: none;
}
.show-media.has-video:hover::before { opacity: 1; }
.show-info {
  padding: 24px 22px 28px;
}
.show-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #d4a67a;
  margin-bottom: 10px;
}
.show-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.show-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.shows-placeholder {
  border: 1px dashed var(--edge);
  padding: 60px 40px;
  text-align: center;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 40px;
}

/* Video lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox video {
  max-width: 96vw;
  max-height: 90vh;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ========== MERCH PAGE ========== */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.merch-card {
  background: var(--card);
  border: 1px solid var(--edge);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}
.merch-card:hover { transform: translateY(-4px); }
.merch-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.merch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.merch-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  text-transform: uppercase;
}
.merch-info {
  padding: 24px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.merch-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.merch-desc {
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.merch-price {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 600;
}
.merch-price .free {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}
.merch-btn {
  display: block;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.merch-btn:hover { opacity: 0.88; }
.merch-btn.disabled {
  background: var(--dim);
  cursor: not-allowed;
  pointer-events: none;
}

/* ========== COMMUNITY PAGE ========== */
.community-submit {
  background: var(--card);
  border: 1px solid var(--edge);
  padding: 32px 28px;
  margin-bottom: 60px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.community-submit-text {
  flex: 1;
  min-width: 260px;
}
.community-submit-text h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}
.community-submit-text p {
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.6;
}
.community-submit-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
}
.post {
  border-top: 1px solid var(--edge);
  padding-top: 32px;
}
.post:first-child { border-top: 0; padding-top: 0; }
.post-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  color: var(--bg);
  flex-shrink: 0;
}
.post-meta {
  flex: 1;
  min-width: 0;
}
.post-author {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.2;
}
.post-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--subtle);
  margin-top: 3px;
}
.post-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}
.post-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}
.post-body p { margin-bottom: 14px; }
.post-song {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--edge);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--subtle);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s;
}
.post-song:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.post-song::before {
  content: '♪';
  color: var(--accent);
  font-size: 14px;
}

/* Comments */
.comments {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--edge);
}
.comments-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--subtle);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.comment {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.6;
}
.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dim);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.comment-body {
  flex: 1;
  color: var(--ink);
}
.comment-body b {
  font-weight: 700;
  margin-right: 8px;
}
.comment-form {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.comment-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--edge);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.comment-form input:focus {
  border-color: var(--ink);
}
.comment-form button {
  padding: 10px 20px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ========== FOOTER ========== */
.gfooter {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 40px 40px 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #000000;
  text-transform: uppercase;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
}
.gfooter a { color: #000000; text-decoration: none; margin: 0 12px; }
.gfooter a:hover { color: #080424; }
.gfooter-copy { margin-top: 8px; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; color: #000000; }

/* ========== REDEMPTION FIXED PAGE BG (about / shows / merch / community) ==========
   Appended 2026-05-07 — fixed fullscreen bg like homepage, white base */
.page-bg.page-bg-light {
  background: #ffffff;
}
.page-bg.page-bg-light img {
  opacity: 1;
}

/* Content pages: wrap hero + each section in frosted paper cards for readability.
   Responsive mobile overrides live in the @media block below. */
body.has-paper-sheet .page-head {
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
  border: 1px solid rgba(26,10,40,0.06);
  border-radius: 24px;
  padding: 60px 48px 70px;
  margin-bottom: 40px;
  box-shadow:
    0 28px 60px rgba(26,10,40,0.10),
    0 6px 18px rgba(26,10,40,0.05);
}

body.has-paper-sheet .page-section {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
  border: 1px solid rgba(26,10,40,0.06);
  border-radius: 22px;
  padding: 56px 48px;
  margin-bottom: 32px;
  box-shadow:
    0 28px 60px rgba(26,10,40,0.08),
    0 6px 18px rgba(26,10,40,0.04);
}
body.has-paper-sheet .page-section:last-child { margin-bottom: 0; }
body.has-paper-sheet .page-section-head {
  border-top: none;
  padding-top: 0;
  margin-bottom: 32px;
  display: block;
  text-align: left;
}
body.has-paper-sheet .page-section-head-center {
  text-align: center;
}

/* Kill English small labels and subtitles on content pages */
body.has-paper-sheet .page-eyebrow,
body.has-paper-sheet .page-section-num { display: none !important; }

/* Hero: frosted white card with centered blue title. Sections: left-align. */
body.has-paper-sheet .page-head { text-align: center; }
body.has-paper-sheet .page-title,
body.has-paper-sheet .page-title em {
  color: #080424;
  text-shadow: none;
  text-align: center;
  font-style: italic;
}
body.has-paper-sheet .page-lead {
  color: #080424;
  text-shadow: none;
  text-align: center;
  margin: 0 auto;
}
body.has-paper-sheet .page-section-title { text-align: left; }

/* Neutralize all brown/accent text inside paper cards */
/* Stats (100+/11/0): white cards, blue text, artistic italic serif */
body.has-paper-sheet .about-stats {
  background: transparent;
  gap: 24px;
  margin-top: 48px;
}
body.has-paper-sheet .about-stat {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 24px;
  box-shadow: 0 10px 30px rgba(8,4,36,0.08);
}
body.has-paper-sheet .about-stat-num {
  font-family: "Playfair Display", "Noto Serif SC", Georgia, serif;
  font-style: italic;
  font-weight: 900;
  font-size: 72px;
  color: #080424;
  letter-spacing: -0.02em;
  text-shadow: none;
}
body.has-paper-sheet .about-stat-lbl {
  color: #080424;
  font-weight: 600;
}

/* Kill the dropcap - normal font size */
body.has-paper-sheet .about-story p:first-child::first-letter {
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-size: inherit;
  float: none;
  line-height: inherit;
  margin: 0;
  color: inherit;
  text-shadow: none;
}
/* Collapse story body completely until user clicks the button */
body.has-paper-sheet .story-expand { max-height: 0; overflow: hidden; }
body.has-paper-sheet .story-expand.open { max-height: 20000px; }
body.has-paper-sheet .story-expand:not(.open)::after { display: none; }
body.has-paper-sheet .about-story blockquote { color: var(--ink); border-color: rgba(26,10,40,0.18); }
body.has-paper-sheet .team-role,
body.has-paper-sheet .team-alias { color: #556; }
/* Recruit box keeps dark purple bg — make all in-box text clearly visible */
body.has-paper-sheet .recruit-step-d { color: rgba(255,255,255,0.85); }
body.has-paper-sheet .recruit-step-n { color: #f5f0e4; }
body.has-paper-sheet .recruit-contact,
body.has-paper-sheet .recruit-contact b { color: #fff; }

/* shows-placeholder and community-submit already have their own bg; soften edges */
body.has-paper-sheet .shows-placeholder,
body.has-paper-sheet .community-submit {
  background: transparent;
  border: 1px dashed rgba(26,10,40,0.12);
}

/* ========== COMMUNITY MESSAGE WALL (community.html) ========== */
.msg-form {
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 28px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(8,4,36,0.1);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(8,4,36,0.06);
}
.msg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.msg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.msg-field > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #080424;
  opacity: 0.6;
}
.msg-field > span i {
  font-style: normal;
  letter-spacing: 0.08em;
  margin-left: 4px;
  opacity: 0.7;
}
.msg-field input,
.msg-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--serif);
  font-size: 15px;
  color: #080424;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(8,4,36,0.16);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.msg-field input:focus,
.msg-field textarea:focus {
  outline: none;
  border-color: #080424;
  background: #fff;
}
.msg-field textarea {
  resize: vertical;
  min-height: 108px;
  line-height: 1.7;
}
.msg-field-full { margin-bottom: 14px; }
.msg-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.msg-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #080424;
  opacity: 0.55;
}
.msg-count b {
  font-weight: 700;
  color: #080424;
  opacity: 0.9;
}
.msg-submit {
  padding: 12px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: #080424;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.msg-submit:hover {
  background: #1a0a28;
  transform: translateY(-1px);
}
.msg-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.msg-hint {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #080424;
  opacity: 0.5;
}
/* 精选 / 最新 section 标题 */
.feed-section-head {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.01em;
  color: #080424;
  margin: 0 auto 24px;
  position: relative;
}
.feed-section-head::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: #080424;
  margin: 10px auto 0;
  border-radius: 2px;
}
.feed-section-head-latest {
  margin-top: 64px;
}

/* 精选：固定 2 行 × 4 列，带图片预览 */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 400px;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto 40px;
}
.featured-grid .msg-card {
  height: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 12px;
}
.featured-grid .msg-head {
  flex-shrink: 0;
}
.featured-grid .msg-body {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.55;
  margin: 2px 0 8px;
}
.featured-grid .msg-comments {
  display: none;
}
.featured-grid .msg-media-grid {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border-radius: 10px;
  overflow: hidden;
}
.featured-grid .msg-media-grid.grid-2,
.featured-grid .msg-media-grid.grid-3,
.featured-grid .msg-media-grid.grid-4,
.featured-grid .msg-media-grid.grid-5,
.featured-grid .msg-media-grid.grid-6,
.featured-grid .msg-media-grid.grid-7,
.featured-grid .msg-media-grid.grid-8,
.featured-grid .msg-media-grid.grid-9 {
  grid-template-columns: 1fr 1fr;
}
.featured-grid .msg-media-grid .msg-media:nth-child(n+3) { display: none; }
.featured-grid .msg-media-grid.grid-1 .msg-media:first-child,
.featured-grid .msg-media-grid.grid-2 .msg-media {
  display: block;
}
.featured-grid .msg-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}
.featured-grid .msg-media img,
.featured-grid .msg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Pin song-card to the bottom (right above actions) using explicit flex order.
   DOM order is: permalink-wrap, song-card, media-grid, actions.
   We reorder so media-grid sits ABOVE song-card, and song-card is the last
   auto-pushed item before the actions row. */
.featured-grid .msg-permalink-wrap { order: 1; flex-shrink: 0; }
.featured-grid .msg-media-grid    { order: 2; }   /* already flex:1 1 auto above */
.featured-grid .msg-song-card {
  order: 3;
  flex-shrink: 0;
  margin-top: auto;     /* pushes song-card (and actions after it) to the bottom */
  margin-bottom: 8px;
}
.featured-grid .msg-actions {
  order: 4;
  flex-shrink: 0;
  margin-top: 0;        /* song-card already consumed free space */
}
/* Cards without a song card: actions still needs margin-top:auto to stick to the bottom */
.featured-grid .msg-card:not(:has(.msg-song-card)) .msg-actions {
  margin-top: auto;
}

/* 最新：单列大卡 */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.latest-list .msg-card {
  width: 100%;
}

/* 兼容旧 .msg-list (如果别处还在用) */
.msg-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.msg-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #080424;
  opacity: 0.5;
}
/* v5 · grid story cards (red-box layout) */
.msg-card {
  padding: 16px 16px 10px;
  margin: 0;
  background: #fbf7f0;
  border: 1px solid rgba(8,4,36,0.06);
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(8,4,36,0.04), 0 10px 24px rgba(8,4,36,0.06);
  scroll-margin-top: 100px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.msg-card:hover {
  box-shadow: 0 4px 10px rgba(8,4,36,0.06), 0 18px 40px rgba(8,4,36,0.09);
  transform: translateY(-2px);
}
.msg-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(8,4,36,0.06);
}
.msg-nick {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: #080424;
}
.msg-time {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #080424;
  opacity: 0.5;
}
.msg-body {
  margin: 4px 0 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #1a0a28;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.msg-body:last-child { margin-bottom: 0; }

/* ── Composer: attached song + media previews ── */
.msg-attached {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 12px 0 4px;
  background: rgba(8,4,36,0.05);
  border: 1px solid rgba(8,4,36,0.1);
  border-radius: 12px;
}
.msg-att-cover {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.msg-att-body { flex: 1; min-width: 0; }
.msg-att-track {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  color: #080424;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-att-artist {
  font-size: 11px;
  color: #080424;
  opacity: 0.6;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-att-remove {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(8,4,36,0.15);
  color: #080424;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.msg-att-remove:hover { background: rgba(8,4,36,0.3); }

.msg-attached-media {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin: 12px 0 4px;
}
.att-media-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(8,4,36,0.06);
}
.att-media-item img,
.att-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.att-media-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

/* ── Composer toolbar ── */
.msg-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.msg-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #080424;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(8,4,36,0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.msg-tool:hover { background: #fff; border-color: #080424; }
.msg-tool-ic {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #d4a67a;
}
.msg-toolbar .msg-count { margin-left: auto; }

/* ── Feed: song card inside message ── */
.msg-song-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
  margin: 0 0 12px;
  background: #fff;
  border: 1px solid rgba(8,4,36,0.08);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(8,4,36,0.03);
}
.msg-song-left {
  position: relative;
  flex-shrink: 0;
}
.msg-song-cover {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.msg-song-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
}
.msg-song-left:hover .msg-song-play,
.msg-song-card:hover .msg-song-play { opacity: 1; }
.msg-song-body { flex: 1; min-width: 0; }
.msg-song-track {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  color: #080424;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-song-artist {
  font-size: 11px;
  color: #080424;
  opacity: 0.65;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-song-ext {
  font-size: 16px;
  color: #080424;
  opacity: 0.5;
  padding: 0 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.msg-song-ext:hover { opacity: 1; }

/* ── Feed: media grid inside message ── */
.msg-media-grid {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
  grid-template-columns: 1fr;
}
.msg-media-grid.grid-2 { grid-template-columns: 1fr 1fr; }
.msg-media-grid.grid-3 { grid-template-columns: 1fr 1fr; }
.msg-media-grid.grid-3 .msg-media:first-child { grid-column: 1 / -1; }
.msg-media {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(8,4,36,0.06);
}
.msg-media-grid.grid-2 .msg-media,
.msg-media-grid.grid-3 .msg-media { aspect-ratio: 1 / 1; }
.msg-media img,
.msg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Song search modal ── */
.song-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8,4,36,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 16px 24px;
  overflow-y: auto;
}
.song-modal[hidden] { display: none; }
.song-modal-inner {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(8,4,36,0.3);
}
.song-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(8,4,36,0.08);
}
.song-search-input {
  flex: 1;
  padding: 11px 14px;
  font-family: var(--serif);
  font-size: 15px;
  color: #080424;
  background: rgba(8,4,36,0.04);
  border: 1px solid transparent;
  border-radius: 10px;
  outline: none;
}
.song-search-input:focus {
  background: #fff;
  border-color: #080424;
}
.song-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(8,4,36,0.08);
  color: #080424;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.song-modal-close:hover { background: rgba(8,4,36,0.18); }

.song-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px 0;
}
.song-empty {
  padding: 40px 20px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: #080424;
  opacity: 0.55;
  font-size: 14px;
}
.song-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  cursor: default;
  transition: background 0.15s;
}
.song-result:hover { background: rgba(8,4,36,0.04); }
.song-result-cover {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.song-result-body { flex: 1; min-width: 0; }
.song-result-track {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  color: #080424;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-result-artist {
  font-size: 11px;
  color: #080424;
  opacity: 0.6;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-result-play {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(8,4,36,0.18);
  border-radius: 50%;
  background: #fff;
  color: #080424;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.song-result-play:hover { background: #080424; color: #fff; }
.song-result-pick {
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: #080424;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}
.song-result-pick:hover { background: #1a0a28; }

/* ── Mini floating audio player ── */
.mini-player {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  background: rgba(8,4,36,0.94);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(8,4,36,0.35);
  max-width: calc(100vw - 32px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mini-player[hidden] { display: none; }
.mini-cover {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  animation: mini-spin 18s linear infinite;
}
@keyframes mini-spin {
  to { transform: rotate(360deg); }
}
.mini-info {
  min-width: 0;
  max-width: 220px;
  display: flex;
  flex-direction: column;
}
.mini-track {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-artist {
  font-size: 10px;
  opacity: 0.65;
  margin-top: 1px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-player audio {
  height: 32px;
  outline: none;
  filter: invert(1);
  max-width: 220px;
}
.mini-close {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.mini-close:hover { background: rgba(255,255,255,0.24); }

@media (max-width: 700px) {
  .msg-form { padding: 22px 18px; }
  .msg-form-row { grid-template-columns: 1fr; }
  .msg-list { grid-template-columns: 1fr; }
  .msg-toolbar { gap: 8px; }
  .msg-toolbar .msg-count { width: 100%; margin-left: 0; order: 10; }
  .msg-toolbar .msg-submit { order: 11; margin-left: auto; }
  .song-modal { padding: 4vh 8px 16px; }
  .song-result { padding: 8px 12px; gap: 10px; }
  .song-result-artist { font-size: 10px; }
  .mini-player { left: 12px; right: 12px; bottom: 12px; transform: none; max-width: none; }
  .mini-info { flex: 1; max-width: none; }
  .mini-player audio { display: none; }
}

/* ========== MOBILE ADAPTATION for paper-sheet content pages ========== */
@media (max-width: 900px) {
  body.has-paper-sheet .page { padding: 90px 18px 60px; }
  body.has-paper-sheet .page-head {
    margin-bottom: 24px;
    padding: 36px 22px 44px;
    border-radius: 20px;
  }
  body.has-paper-sheet .page-section {
    margin-bottom: 22px;
    padding: 32px 22px 36px;
    border-radius: 20px;
  }
  body.has-paper-sheet .page-title { font-size: 34px; line-height: 1.15; }
  body.has-paper-sheet .page-eyebrow { font-size: 10px; }
  body.has-paper-sheet .page-lead {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
  }
  body.has-paper-sheet .page-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 18px;
  }
  body.has-paper-sheet .page-section-title {
    font-size: 28px;
    line-height: 1.2;
  }
  body.has-paper-sheet .page-section-num { font-size: 10px; }
}
@media (max-width: 700px) {
  body.has-paper-sheet .about-story p { font-size: 15px; line-height: 1.8; }
  body.has-paper-sheet .about-story p:first-child::first-letter {
    font-size: 48px;
  }
  body.has-paper-sheet .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.has-paper-sheet .about-stat-num { font-size: 44px; }
  body.has-paper-sheet .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.has-paper-sheet .team-photo { aspect-ratio: 4 / 3; }
  body.has-paper-sheet .gfooter {
    font-size: 12px;
    padding: 22px 16px;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.8;
  }
  body.has-paper-sheet .story-toggle { font-size: 12px; padding: 10px 24px; }
}

/* ========== ABOUT-THE-SHOW SECTION (about.html 关于演出) ========== */
.show-intro-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.75;
  color: #080424;
  margin: 0 0 18px;
}
.show-intro-lead-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 22px;
}
.show-intro-lead-center b {
  font-weight: 700;
}
.show-intro-body {
  font-size: 15px;
  line-height: 1.8;
  color: #1a0a28;
  opacity: 0.85;
  margin: 0 0 36px;
}
.show-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 40px;
  border-top: 1px solid rgba(8,4,36,0.12);
  border-left: 1px solid rgba(8,4,36,0.12);
}
.show-detail-grid > div {
  padding: 18px 20px;
  border-right: 1px solid rgba(8,4,36,0.12);
  border-bottom: 1px solid rgba(8,4,36,0.12);
}
.show-detail-grid dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #080424;
  opacity: 0.55;
  margin-bottom: 8px;
}
.show-detail-grid dd {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: #080424;
  margin: 0;
  line-height: 1.2;
}
.show-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.show-highlight {
  padding: 22px 20px 24px;
  background: rgba(8,4,36,0.04);
  border: 1px solid rgba(8,4,36,0.1);
  border-radius: 14px;
}
.show-highlight-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #d4a67a;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.show-highlight-t {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  color: #080424;
  margin-bottom: 8px;
  line-height: 1.2;
}
.show-highlight-d {
  font-size: 13px;
  color: #1a0a28;
  opacity: 0.78;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .show-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .show-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== JOIN US SECTION (about.html 加入我们) ========== */
.join-intro { }
.join-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.7;
  color: #080424;
  margin: 0 0 18px;
}
.join-body {
  font-size: 15px;
  line-height: 1.8;
  color: #1a0a28;
  opacity: 0.85;
  margin: 0 0 36px;
}
.join-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 40px;
  border-top: 1px solid rgba(8,4,36,0.12);
  border-left: 1px solid rgba(8,4,36,0.12);
}
.join-detail-grid > div {
  padding: 18px 20px;
  border-right: 1px solid rgba(8,4,36,0.12);
  border-bottom: 1px solid rgba(8,4,36,0.12);
}
.join-detail-grid dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #080424;
  opacity: 0.55;
  margin-bottom: 8px;
}
.join-detail-grid dd {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  color: #080424;
  margin: 0;
  line-height: 1.25;
}
.join-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}
.join-step {
  padding: 22px 20px 24px;
  background: rgba(8,4,36,0.04);
  border: 1px solid rgba(8,4,36,0.1);
  border-radius: 14px;
}
.join-step-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #d4a67a;
  margin-bottom: 10px;
}
.join-step-t {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
  color: #080424;
  margin-bottom: 6px;
  line-height: 1.2;
}
.join-step-d {
  font-size: 13px;
  color: #1a0a28;
  opacity: 0.78;
  line-height: 1.6;
}
.join-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 8px 0 24px;
}
.join-cta {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #080424;
  background: transparent;
  border: 1.5px solid #080424;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.join-cta:hover {
  background: #080424;
  color: #fff;
}
.join-cta-dark {
  background: #080424;
  color: #fff;
}
.join-cta-dark:hover {
  background: #1a0a28;
  color: #fff;
}
.join-wechat {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #1a0a28;
  opacity: 0.75;
}
.join-wechat b {
  font-family: var(--mono);
  font-weight: 700;
  color: #080424;
  opacity: 1;
  letter-spacing: 0.05em;
}
.join-form {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease, margin 0.3s ease;
  margin: 0;
}
.join-form.open {
  max-height: 1200px;
  opacity: 1;
  margin: 24px 0 0;
}
.join-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.join-form-row:has(> label:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}
.join-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.join-form label > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #080424;
  opacity: 0.6;
}
.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--serif);
  font-size: 15px;
  color: #080424;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(8,4,36,0.18);
  border-radius: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  outline: none;
  border-color: #080424;
  background: #fff;
}
.join-form textarea {
  resize: vertical;
  min-height: 96px;
  font-family: var(--serif);
}
.join-form-full {
  margin-bottom: 20px;
}
.join-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.join-form-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #1a0a28;
  opacity: 0.6;
}
@media (max-width: 900px) {
  .join-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .join-step-grid { grid-template-columns: repeat(2, 1fr); }
  .join-form-row { grid-template-columns: 1fr; }
}

/* ========== REHEARSAL INFO BAR (about.html recruit) ========== */
.rehearsal-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 auto 32px;
  padding: 14px 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  max-width: 640px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.rehearsal-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4a67a;
}
.rehearsal-time {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #fff;
}
.rehearsal-dot { color: rgba(255,255,255,0.4); }
.rehearsal-place {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #fff;
}

/* ========== DOUYIN EMBED SHOWCASE (shows.html) ========== */
.douyin-show-block {
  margin: 0 0 48px;
  padding: 56px 48px 60px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(8,4,36,0.05) 0%, transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(212,166,122,0.12) 0%, transparent 55%),
    rgba(255,255,255,0.96);
  border-radius: 32px;
  border: 1px solid rgba(8,4,36,0.08);
  box-shadow:
    0 40px 80px rgba(8,4,36,0.12),
    0 10px 24px rgba(8,4,36,0.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
  position: relative;
  overflow: hidden;
}
.douyin-show-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(8,4,36,0.025) 0 1px, transparent 1px 60px);
  opacity: 0.5;
}
.douyin-show-head {
  text-align: center;
  margin-bottom: 44px;
  position: relative;
}
.douyin-show-head::before,
.douyin-show-head::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(8,4,36,0.25);
  margin: 0 auto 18px;
}
.douyin-show-head::after { margin: 20px auto 0; }
.douyin-show-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #080424;
  opacity: 0.55;
  margin-bottom: 14px;
}
.douyin-show-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 46px);
  color: #080424;
  margin: 0 0 14px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.douyin-show-desc {
  color: #1a0a28;
  opacity: 0.72;
  font-size: 15px;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
}
.douyin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.douyin-card {
  display: block;
  margin: 0;
  background: #0b0626;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(8,4,36,0.25),
    0 6px 18px rgba(8,4,36,0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.douyin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 3;
}
.douyin-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 40px 80px rgba(8,4,36,0.35),
    0 10px 24px rgba(8,4,36,0.18);
}
.douyin-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}
.douyin-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
}
.douyin-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s;
}
.douyin-card:hover .douyin-poster img {
  transform: scale(1.06);
  filter: brightness(0.85);
}
.douyin-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  color: #0b0626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 5px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
  font-family: system-ui, sans-serif;
  line-height: 1;
}
.douyin-card:hover .douyin-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: #fff;
}
.douyin-caption {
  padding: 22px 24px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.02) 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.douyin-song-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #d4a67a;
  padding: 6px 10px;
  border: 1px solid rgba(212,166,122,0.35);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 3px;
}
.douyin-song-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.douyin-song-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.douyin-song-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.douyin-origin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  transition: color 0.2s, gap 0.2s;
}
.douyin-card:hover .douyin-origin { color: #d4a67a; gap: 10px; }
@media (max-width: 900px) {
  .douyin-show-block { padding: 40px 24px; }
  .douyin-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ========== INLINE SIGNUP FORM ========== */
.recruit-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.recruit-wechat {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.78);
}
.recruit-wechat b { color: #fff; font-weight: 700; }
.signup-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: 0;
  text-align: left;
}
.signup-form.open {
  max-height: 2000px;
  margin-top: 32px;
}
.signup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.signup-form label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.signup-form label > span { display: block; margin-bottom: 6px; }
.signup-full { margin-bottom: 18px; }
.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: #fff;
  background: rgba(255,255,255,0.14);
}
.signup-form textarea { resize: vertical; min-height: 92px; font-family: var(--sans); }
.signup-form select option { color: #1a0a28; background: #fff; }
.signup-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.signup-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 700px) {
  .signup-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   Community v2 · plaza layout extras
   ══════════════════════════════════════ */

/* Action bar · Threads style (line icons, flat, spaced) */
.msg-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 10px -6px 0;
  padding-top: 10px;
  border-top: 1px solid rgba(8,4,36,0.06);
}
.msg-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #080424;
  transition: background-color 0.18s;
}
.msg-action:hover { background: rgba(8,4,36,0.06); }
.msg-action .msg-action-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
}
.msg-action .msg-action-ic svg {
  width: 22px;
  height: 22px;
  display: block;
}
.msg-action .msg-action-n {
  font-family: var(--mono);
  font-size: 12px;
  min-width: 6px;
  color: #080424;
  opacity: 0.7;
  letter-spacing: 0.02em;
}
.msg-action.is-liked { color: #f91880; }
.msg-action.is-liked .msg-action-n { color: #f91880; opacity: 1; }
.msg-action.msg-share { margin-left: auto; }
.msg-action.bump .msg-action-ic {
  animation: msgBump 0.4s ease-out;
}
@keyframes msgBump {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.35); }
  60%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* Comments section */
.msg-comments {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(8,4,36,0.12);
}
.msg-comments[hidden] { display: none; }
.msg-comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
  max-height: 320px;
  overflow-y: auto;
}
.cmt-empty {
  padding: 14px 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: #080424;
  opacity: 0.5;
}
.cmt-item {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(8,4,36,0.06);
  border-radius: 12px;
}
.cmt-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.cmt-nick {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  color: #080424;
}
.cmt-time {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #080424;
  opacity: 0.4;
}
.cmt-content {
  font-size: 14px;
  line-height: 1.6;
  color: #1a0a28;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.cmt-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
/* 输入框样式只作用在真正的 <input> 上，避免污染展示用 span/div */
input.cmt-nick,
input.cmt-content {
  padding: 9px 12px;
  background: #fff;
  border: 1px solid rgba(8,4,36,0.14);
  border-radius: 10px;
  font-family: var(--serif);
  font-size: 13px;
  color: #080424;
  outline: none;
  transition: border-color 0.15s;
}
.cmt-form input.cmt-nick { flex: 0 0 120px; }
.cmt-form input.cmt-content { flex: 1 1 200px; min-width: 140px; }
input.cmt-nick:focus,
input.cmt-content:focus { border-color: #080424; }
.cmt-submit {
  padding: 9px 18px;
  background: #080424;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s;
}
.cmt-submit:hover { background: #1a0a28; }
.cmt-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Featured grid responsive breakpoints */
@media (max-width: 1180px) {
  .featured-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 340px; gap: 14px; }
  .featured-grid .msg-card { height: 340px; }
}
@media (max-width: 880px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 340px; gap: 16px; }
  .featured-grid .msg-card { height: 340px; }
  .feed-section-head { font-size: 24px; }
  .feed-section-head-latest { margin-top: 48px; }
}
@media (max-width: 560px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; gap: 10px; }
  .featured-grid .msg-card { height: 280px; padding: 12px 12px 8px; border-radius: 12px; }
  .featured-grid .msg-nick { font-size: 14px; }
  .featured-grid .msg-body { font-size: 12.5px; line-height: 1.5; -webkit-line-clamp: 2; }
  .feed-section-head { font-size: 21px; margin-bottom: 16px; }
  .feed-section-head-latest { margin-top: 40px; }
  .latest-list { gap: 16px; }
}

/* Mobile plaza tweaks */
@media (max-width: 700px) {
  .msg-card {
    padding: 14px 14px 8px;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(8,4,36,0.04), 0 8px 20px rgba(8,4,36,0.05);
  }
  .msg-body { font-size: 14.5px; line-height: 1.7; }
  .msg-nick { font-size: 14px; }
  .msg-action { padding: 5px 7px; }
  .msg-action .msg-action-ic svg { width: 18px; height: 18px; }
  .msg-action .msg-action-n { font-size: 11px; }
  .cmt-form .cmt-nick { flex: 1 1 100%; }
  .cmt-form .cmt-content { flex: 1 1 70%; }
}

/* ══════════════════════════════════════
   Community page · flat (no paper card)
   ══════════════════════════════════════ */
body.community-page .page {
  padding-top: 48px;
}
body.community-page.has-paper-sheet .page-section,
body.community-page.has-paper-sheet .page-section-primary {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  border-radius: 0;
  padding: 0 8px 48px;
  box-shadow: none;
}
body.community-page.has-paper-sheet .page-section-head {
  margin-bottom: 24px;
}
body.community-page .msg-form {
  max-width: 720px;
  margin: 0 auto 8px;
  padding: 18px 4px 20px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(8,4,36,0.12);
  border-radius: 0;
  box-shadow: none;
}
body.community-page .msg-hint {
  max-width: 720px;
  margin: 10px auto 32px;
  padding: 0 4px;
}
body.community-page .msg-empty {
  padding: 40px 4px;
  text-align: left;
  color: #080424;
  opacity: 0.5;
  font-family: var(--serif);
  font-style: italic;
}
@media (max-width: 700px) {
  body.community-page.has-paper-sheet .page-section {
    padding: 28px 4px;
  }
}

/* ══════════════════════════════════════
   Community page · soft cream bg + topic pills
   ══════════════════════════════════════ */
body.community-page {
  background: #f6f1ea;
}
body.community-page .page-bg,
body.community-page .page-bg-light {
  display: none !important;
}
body.community-page .gfooter {
  background: #f6f1ea;
}
.community-sub {
  margin: 10px auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: #080424;
  opacity: 0.6;
  text-align: center;
}
.topic-pills {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  max-width: 720px;
  margin: 22px auto 18px;
  padding: 4px 4px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.topic-pills::-webkit-scrollbar { display: none; }
.topic-pill {
  flex: 0 0 auto;
  padding: 7px 14px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(8,4,36,0.1);
  border-radius: 999px;
  color: #080424;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.topic-pill:hover {
  background: rgba(255,255,255,0.95);
  border-color: rgba(8,4,36,0.2);
}
.topic-pill.is-active {
  background: #080424;
  color: #fff;
  border-color: #080424;
}
@media (max-width: 700px) {
  .topic-pills { margin: 14px -8px 12px; padding: 4px 12px 8px; }
  .topic-pill { padding: 6px 12px; font-size: 11.5px; }
}

/* ═════════ Community redesign v3 · corner label + tabs + FAB + composer modal ═════════ */

/* Top-left "社区" label */
.community-corner {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 50;
  font-family: var(--serif, ui-serif, Georgia, serif);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #080424;
  padding: 4px 14px;
  border: 1.5px solid rgba(8,4,36,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 700px) {
  .community-corner { top: 18px; left: 18px; font-size: 18px; padding: 3px 12px; }
}

/* Bottom-left "把社区保存至屏幕" PWA install button */
.install-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px 10px 14px;
  margin: 0;
  border: 1.5px solid rgba(8,4,36,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #080424;
  font-family: var(--sans, system-ui, sans-serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 24px rgba(0,0,30,0.14);
}
.install-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.install-btn:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,30,0.18);
}
.install-btn:active { transform: translateY(0); }
.install-btn[hidden] { display: none; }
@media (max-width: 700px) {
  .install-btn {
    bottom: 18px;
    left: 18px;
    padding: 8px 14px 8px 11px;
    font-size: 12px;
  }
  .install-btn svg { width: 14px; height: 14px; }
}

/* Install help overlay */
.install-help {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5,6,13,0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: installHelpIn 200ms ease;
}
@keyframes installHelpIn { from { opacity: 0; } to { opacity: 1; } }
.install-help-card {
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px 22px;
  box-shadow: 0 24px 60px rgba(0,0,40,0.35);
  color: #080424;
  font-family: var(--sans, system-ui, sans-serif);
}
.install-help-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.install-help-card p {
  margin: 0 0 12px;
  line-height: 1.6;
  font-size: 14px;
  color: #3a3650;
}
.install-help-card ol {
  margin: 4px 0 16px;
  padding-left: 22px;
  line-height: 1.9;
  font-size: 14px;
}
.install-help-card ol li b { font-weight: 700; }
.install-help-card .ih-ic { display: inline-block; transform: translateY(1px); font-size: 14px; }
.install-help-card .ih-tip { font-size: 12px; color: #7a7690; margin: 6px 0 14px; }
.install-help-close {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 20px;
  background: #080424;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 160ms ease;
}
.install-help-close:hover { opacity: 0.88; }

/* Install toast */
.install-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 10px);
  z-index: 10001;
  padding: 10px 18px;
  background: rgba(8,4,36,0.92);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}
.install-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Feed tabs (精选 / 最新) */
.feed-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  max-width: 720px;
  margin: 4px auto 4px;
  padding: 0 4px;
  position: relative;
}
.feed-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 10px 2px 14px;
  font-family: var(--serif, ui-serif, Georgia, serif);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: rgba(8,4,36,0.42);
  cursor: pointer;
  position: relative;
  transition: color 0.18s;
}
.feed-tab:hover { color: rgba(8,4,36,0.75); }
.feed-tab.is-active { color: #080424; }
.feed-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: #080424;
}
@media (max-width: 700px) {
  .feed-tabs { gap: 22px; margin: 2px auto 2px; }
  .feed-tab { font-size: 16px; padding: 8px 2px 12px; }
}

/* Floating + button (FAB) */
.composer-fab {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #080424;
  color: #fff;
  box-shadow: 0 12px 28px rgba(8,4,36,0.28), 0 3px 8px rgba(8,4,36,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.composer-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 18px 36px rgba(8,4,36,0.36), 0 5px 12px rgba(8,4,36,0.22);
}
.composer-fab:active { transform: scale(0.96); }
.composer-fab svg { width: 26px; height: 26px; display: block; }
/* Hide FAB when a modal is open so it doesn't float over */
.composer-modal:not([hidden]) ~ .composer-fab,
body.modal-open .composer-fab { opacity: 0; pointer-events: none; }
/* Prevent background scroll when composer is open */
body.modal-open { overflow: hidden; }
@media (max-width: 700px) {
  .composer-fab { right: 16px; bottom: 20px; width: 52px; height: 52px; }
  .composer-fab svg { width: 22px; height: 22px; }
}

/* Composer modal — centered sheet (desktop) / bottom sheet (mobile) */
.composer-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.composer-modal[hidden] { display: none; }
.composer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,4,36,0.42);
  backdrop-filter: blur(4px);
  animation: cm-fade 0.2s ease-out;
}
.composer-modal-inner {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: #fbf7f0;
  border-radius: 18px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.35), 0 8px 20px rgba(0,0,0,0.18);
  padding: 18px 20px 20px;
  animation: cm-pop 0.22s cubic-bezier(0.2, 0.9, 0.32, 1.2);
}
.composer-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(8,4,36,0.08);
}
.composer-modal-title {
  font-family: var(--serif, ui-serif, Georgia, serif);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: #080424;
}
.composer-modal-close {
  appearance: none;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: rgba(8,4,36,0.55);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.composer-modal-close:hover {
  background: rgba(8,4,36,0.06);
  color: #080424;
}
/* Make the form inside the modal feel inline */
.composer-modal .msg-form {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@keyframes cm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cm-pop  { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .composer-modal { align-items: flex-end; }
  .composer-modal-inner {
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
    padding: 14px 16px 18px;
  }
  @keyframes cm-pop { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
}

/* ═════════ Detail pages · post.html + comment.html ═════════ */
.detail-page-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.detail-back {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 14px 6px 10px;
  border: 1.5px solid rgba(8,4,36,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  color: #080424;
  font-family: var(--sans, system-ui, sans-serif);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease;
}
.detail-back:hover { background: rgba(255,255,255,0.92); }

.detail-root {
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  padding: 32px 32px 26px;
  box-shadow: 0 8px 30px rgba(0,0,40,0.08);
  color: #080424;
  font-family: var(--sans, system-ui, sans-serif);
  line-height: 1.7;
}
.detail-head { margin-bottom: 18px; }
.detail-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a5670;
  margin-bottom: 8px;
}
.detail-parent-link {
  display: inline-block;
  font-size: 13px;
  color: #3a2670;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  margin-bottom: 10px;
}
.detail-parent-link:hover { color: #080424; }
.detail-parent-link.detail-parent-dead { color: #999; border-bottom-color: #ccc; }
.detail-reply-to-comment {
  display: block;
  margin: 6px 0 12px;
  padding: 8px 12px;
  background: rgba(8,4,36,0.04);
  border-radius: 8px;
  font-size: 13px;
  color: #3a3650;
  text-decoration: none;
  border-left: 3px solid rgba(58,38,112,0.3);
}
.detail-reply-to-comment:hover { background: rgba(8,4,36,0.07); }
.detail-title {
  margin: 6px 0 14px;
  font-family: var(--serif, ui-serif, Georgia, serif);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.detail-title-comment {
  font-family: var(--sans, system-ui, sans-serif);
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 24px);
}
/* 短帖子：H1 直接承担正文 —— 字号放大、间距更舒展，不再额外渲染 body */
.detail-title.detail-title-short {
  font-family: var(--serif, ui-serif, Georgia, serif);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  margin: 8px 0 18px;
  word-break: break-word;
}
.detail-title-comment.detail-title-short {
  font-family: var(--sans, system-ui, sans-serif);
  font-weight: 600;
  font-style: normal;
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.35;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #5a5670;
  margin-bottom: 16px;
}
.detail-meta .detail-nick { font-weight: 600; color: #080424; }
.detail-meta .detail-sep { color: #b8b5c7; }
.detail-body {
  font-size: 16px;
  color: #080424;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 16px;
}
.detail-body-comment { font-size: 15px; }
.detail-parent-back {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(8,4,36,0.14);
  border-radius: 999px;
  color: #3a3650;
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease;
}
.detail-parent-back:hover { background: rgba(8,4,36,0.05); }
.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(8,4,36,0.08);
}
.detail-actions .msg-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(8,4,36,0.14);
  border-radius: 999px;
  background: #fff;
  color: #080424;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease, transform 120ms ease;
}
.detail-actions .msg-action:hover { background: rgba(8,4,36,0.04); }
.detail-actions .msg-action.is-liked { color: #d33b5e; border-color: #f2a7b7; }
.detail-actions .msg-action .msg-action-n:empty { display: none; }

/* Comments section on post.html */
.detail-comments-section {
  margin-top: 36px;
  background: rgba(255,255,255,0.88);
  border-radius: 16px;
  padding: 26px 28px 22px;
  color: #080424;
  font-family: var(--sans, system-ui, sans-serif);
}
.detail-comments-title {
  margin: 0 0 16px;
  font-family: var(--serif, ui-serif, Georgia, serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.detail-count {
  font-family: var(--sans, system-ui, sans-serif);
  font-weight: 500;
  font-size: 14px;
  color: #7a7690;
  letter-spacing: 0;
}

/* Comment items — shared root / reply styling */
.detail-page .cmt-empty {
  padding: 20px 0;
  font-size: 13px;
  color: #7a7690;
  text-align: center;
}
.cmt-item-root {
  padding: 14px 0 10px;
  border-top: 1px solid rgba(8,4,36,0.08);
}
.cmt-item-root:first-child { border-top: 0; }
.cmt-item .cmt-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 13px;
}
.cmt-item .cmt-nick {
  font-weight: 600;
  color: #080424;
}
.cmt-item .cmt-time {
  color: #9c98ae;
  font-size: 12px;
}
.cmt-item .cmt-content {
  font-size: 14.5px;
  line-height: 1.65;
  color: #080424;
  word-break: break-word;
}
.cmt-reply-to {
  color: #3a2670;
  margin-right: 4px;
}
.cmt-reply-to b { font-weight: 600; }
.cmt-footer {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  font-size: 12px;
}
.cmt-reply-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: #5a5670;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 140ms ease;
}
.cmt-reply-btn:hover { color: #080424; }
.cmt-permalink {
  color: #9c98ae;
  text-decoration: none;
  font-size: 12px;
}
.cmt-permalink:hover { color: #3a2670; }

/* Nested replies (flattened one-level under root) */
.cmt-thread-children {
  margin-top: 12px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 2px solid rgba(8,4,36,0.08);
}
.cmt-item-child {
  padding: 10px 0 6px;
  border-top: 1px dashed rgba(8,4,36,0.06);
}
.cmt-item-child:first-child { border-top: 0; }

/* Inline reply form appearing under a comment */
.cmt-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr) auto auto;
  gap: 8px;
  margin: 10px 0 4px;
}
.cmt-inline-form input {
  padding: 7px 12px;
  border: 1px solid rgba(8,4,36,0.16);
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  background: #fff;
  color: #080424;
  min-width: 0;
}
.cmt-inline-form input:focus { outline: none; border-color: #3a2670; }
.cmt-inline-form .cmt-submit {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: #080424;
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.cmt-inline-form .cmt-submit:hover { opacity: 0.9; }
.cmt-inline-form .cmt-cancel {
  padding: 7px 12px;
  border: 1px solid rgba(8,4,36,0.14);
  border-radius: 999px;
  background: #fff;
  color: #5a5670;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.cmt-inline-form .cmt-cancel:hover { background: rgba(8,4,36,0.05); }

/* Main composer form (footer of comments section) */
.detail-cmt-form {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(8,4,36,0.08);
}
.detail-cmt-form input {
  padding: 10px 14px;
  border: 1px solid rgba(8,4,36,0.16);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: #080424;
  min-width: 0;
}
.detail-cmt-form input:focus { outline: none; border-color: #3a2670; }
.detail-cmt-form .cmt-submit {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: #080424;
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.detail-cmt-form .cmt-submit:hover { opacity: 0.9; }

/* Permalink wrapper around card head+body on community feed */
.msg-permalink-wrap {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease;
}
.msg-permalink-wrap:hover { background: rgba(8,4,36,0.03); }
.msg-permalink-wrap:hover .msg-body { color: #3a2670; }
a.msg-action { text-decoration: none; color: #080424; display: inline-flex; }
a.msg-action:hover { color: #080424; }
a.msg-action .msg-action-ic svg { opacity: 1; }

/* 评论点赞按钮 */
.cmt-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border: 1px solid rgba(8,4,36,0.12);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  color: #080424;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.cmt-like-btn:hover { background: rgba(8,4,36,0.05); }
.cmt-like-btn .cmt-like-ic { font-size: 13px; line-height: 1; }
.cmt-like-btn .cmt-like-n { letter-spacing: 0.02em; opacity: 0.75; }
.cmt-like-btn .cmt-like-n:empty { display: none; }
.cmt-like-btn.is-liked {
  color: #d33b5e;
  border-color: #f2a7b7;
  background: rgba(249, 24, 128, 0.06);
}
.cmt-like-btn.is-liked .cmt-like-n { color: #d33b5e; opacity: 1; }
.cmt-like-btn:disabled { opacity: 0.5; cursor: default; }

/* ──────────────────────────────────────────────
   Shows page: Douyin flash-mob video embed fix
   （override .video-embed for light-bg douyin-show-block）
   ────────────────────────────────────────────── */
.douyin-show-block .video-embed {
  margin: 8px auto 0;
  max-width: 440px;
  position: relative;
  z-index: 1;
}
.douyin-show-block .video-embed-frame {
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(8,4,36,0.22),
    0 0 0 1px rgba(8,4,36,0.06);
  background: #000;
}
.douyin-show-block .video-embed figcaption {
  margin-top: 18px;
  color: rgba(8,4,36,0.62);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.douyin-show-block .video-embed figcaption a {
  color: #080424;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.douyin-show-block .video-embed figcaption a:hover {
  color: #3a2670;
}
@media (max-width: 900px) {
  .douyin-show-block .video-embed { max-width: 340px; }
}
@media (max-width: 560px) {
  .douyin-show-block .video-embed { max-width: 88%; }
  .douyin-show-block .video-embed-frame { border-radius: 14px; }
}

@media (max-width: 700px) {
  .detail-page-main { padding: 80px 16px 60px; }
  .detail-root { padding: 22px 20px 18px; }
  .detail-comments-section { padding: 20px 18px 16px; }
  .cmt-inline-form,
  .detail-cmt-form {
    grid-template-columns: 1fr;
  }
  .cmt-inline-form .cmt-submit,
  .cmt-inline-form .cmt-cancel,
  .detail-cmt-form .cmt-submit { width: 100%; }
}
