.club-body {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
.club-body::before { mask-image: none; opacity: 0.45; }

.club-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(6, 16, 28, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.club-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.club-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.35);
}
.club-who {
  color: var(--mute);
  font-size: 13px;
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-main {
  width: min(640px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 24px;
  position: relative;
  z-index: 1;
}
.club-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.club-head h1 { font-size: 28px; margin-bottom: 8px; }
.club-sub { color: var(--mute); margin: 0 0 8px; }

.club-feed { display: grid; gap: 14px; }
.club-card {
  display: block;
  color: inherit;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.club-card:hover { color: inherit; border-color: rgba(212,175,55,0.35); }
.club-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.club-card-body { padding: 16px 18px 18px; }
.club-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 8px 0 6px;
}
.club-card p { margin: 0; color: #d7e0ea; }

.club-article h1 { font-size: 30px; }
.club-hero {
  width: 100%;
  border-radius: 18px;
  margin: 14px 0 18px;
}
.club-back {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-compose { margin-top: 8px; }
.club-body-input, textarea.club-body { min-height: 180px; font-size: 16px; }
.club-file { color: var(--mute); }
.club-preview {
  margin-top: 10px;
  border-radius: 16px;
  max-height: 220px;
  object-fit: cover;
  width: 100%;
}

.club-login {
  text-align: center;
  padding: 24px 0 40px;
}
.club-login-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.35);
}
.club-hint {
  color: var(--mute);
  font-size: 13px;
  text-align: center;
  margin-top: 22px;
}
.club-messages { width: min(640px, calc(100% - 28px)); margin: 12px auto 0; }

.club-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 16, 28, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.club-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 4px;
  border-radius: 14px;
}
.club-tabbar a.is-on, .club-tabbar a:hover { color: var(--gold-2); }
.club-tab-write {
  background: linear-gradient(180deg, #f0d78c, #d4af37);
  color: var(--ink) !important;
  border-radius: 18px !important;
}
.club-tab-ico { font-size: 16px; line-height: 1; }

@media (min-width: 800px) {
  .club-tabbar { left: 50%; right: auto; width: min(640px, 100%); transform: translateX(-50%); border-radius: 22px 22px 0 0; }
}
