/* 匿名区 · Ins 浅灰壳（与 hub / 匿名私聊线程一致） */

.anon-page {
  --anon-bg: #f7f7f7;
  --anon-bg-soft: #f1f1f3;
  --anon-surface: rgba(255, 255, 255, 0.94);
  --anon-border: rgba(31, 32, 34, 0.1);
  --anon-text: #151515;
  --anon-muted: #8d8d92;
  --anon-accent: #27282a;
  --anon-glow: #55585d;
  background: var(--anon-bg);
  color: var(--anon-text);
  min-height: 100%;
  overflow: hidden;
}

.anon-page .navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--anon-border);
  box-shadow: 0 1px 0 rgba(31, 32, 34, 0.08);
}

.anon-page .navbar-title,
.anon-page .navbar-btn {
  color: var(--anon-text);
}

.anon-page .navbar-btn {
  background: transparent;
  color: var(--anon-text);
  box-shadow: none;
}

.anon-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px 28px;
}

.anon-hero {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 197, 71, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(47, 111, 98, 0.22), rgba(30, 36, 51, 0.92));
  border: 1px solid var(--anon-border);
  margin-bottom: 12px;
}

.anon-hero-kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--anon-glow);
  margin-bottom: 6px;
}

.anon-hero-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.anon-hero-title-row .anon-hero-title {
  margin: 0;
}

.anon-hero-help {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(232, 197, 71, 0.45);
  border-radius: 50%;
  background: rgba(15, 20, 28, 0.55);
  color: var(--anon-glow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.anon-hero-help:active {
  transform: scale(0.96);
}

.anon-notice-overlay {
  z-index: 99990;
}

.anon-notice-sheet {
  max-width: 420px;
  margin: auto;
}

.anon-notice-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary, #5c7b8f);
  white-space: pre-wrap;
}

.anon-notice-overlay.is-locked {
  pointer-events: auto;
}

.anon-notice-footer {
  display: flex;
  justify-content: stretch;
  padding: 0 16px 16px;
  gap: 8px;
}

.anon-notice-footer .anon-notice-ack {
  width: 100%;
  min-height: 44px;
}

.anon-notice-footer .anon-notice-ack:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.anon-hero-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.anon-hero-sub {
  font-size: 13px;
  line-height: 1.55;
  color: var(--anon-muted);
  margin: 0 0 14px;
}

.anon-paw {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 28px;
  opacity: 0.55;
}

.anon-card {
  background: var(--anon-surface);
  border: 1px solid var(--anon-border);
  border-radius: 16px;
  padding: 14px 14px 12px;
  margin-bottom: 12px;
}

.anon-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--anon-glow);
  margin: 0 0 10px;
}

.anon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.anon-play-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed var(--anon-border);
  background: rgba(15, 20, 28, 0.35);
  color: var(--anon-text);
  text-align: left;
  cursor: pointer;
}

.anon-play-card:active {
  transform: scale(0.98);
}

.anon-play-card strong {
  font-size: 14px;
}

.anon-play-card small {
  font-size: 12px;
  color: var(--anon-muted);
  line-height: 1.45;
}

.anon-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anon-list-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--anon-border);
  background: rgba(15, 20, 28, 0.35);
  color: inherit;
  text-align: left;
}

.anon-list-row:active {
  background: rgba(47, 111, 98, 0.18);
}

.anon-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d3748;
  color: #e2e8f0;
  font-weight: 700;
}

.anon-avatar.is-cat {
  background: linear-gradient(145deg, #2f6f62, #1a2e28);
}

.anon-avatar-btn {
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

.anon-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.anon-space-bio-line {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--anon-muted);
  line-height: 1.45;
}

.anon-profile-edit-card .form-label {
  margin-top: 10px;
}

.anon-profile-edit-note {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--anon-muted);
}

.anon-profile-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.anon-list-body strong {
  display: block;
  font-size: 14px;
}

.anon-list-body small {
  display: block;
  font-size: 12px;
  color: var(--anon-muted);
  margin-top: 2px;
}

.anon-list-time {
  font-size: 11px;
  color: var(--anon-muted);
}

.anon-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.anon-tab {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--anon-border);
  background: transparent;
  color: var(--anon-muted);
  font-size: 12px;
}

.anon-tab.is-active {
  background: rgba(47, 111, 98, 0.28);
  color: var(--anon-text);
  border-color: rgba(47, 111, 98, 0.45);
}

.anon-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.anon-form-field span {
  font-size: 12px;
  color: var(--anon-muted);
}

.anon-form-field .form-input,
.anon-form-field .form-textarea,
.anon-form-field select.form-input {
  background: rgba(15, 20, 28, 0.55);
  border-color: var(--anon-border);
  color: var(--anon-text);
}

.anon-member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--anon-border);
}

.anon-member-row:last-child {
  border-bottom: none;
}

.anon-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--anon-muted);
  font-size: 13px;
}

.anon-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.anon-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(232, 197, 71, 0.12);
  color: var(--anon-glow);
}

.anon-wall-post {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--anon-border);
  background: rgba(15, 20, 28, 0.35);
  margin-bottom: 10px;
}

.anon-wall-hero {
  position: relative;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--anon-border);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(47, 111, 98, 0.22), rgba(15, 20, 28, 0.78)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 12px);
}

.anon-wall-toolbar,
.anon-wall-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.anon-wall-status {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px dashed var(--anon-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--anon-glow);
  font-size: var(--font-sm);
  line-height: 1.45;
}

.anon-wall-debug {
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed var(--anon-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.anon-wall-debug summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--anon-glow);
}

.anon-wall-debug pre {
  max-height: 32vh;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 6px 0 0;
  padding: 8px;
  border-radius: 8px;
  background: rgba(6, 10, 14, 0.82);
  color: var(--anon-text);
  font-size: 11px;
  line-height: 1.45;
}

.anon-wall-debug-label {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--anon-muted);
}

.anon-wall-debug-error {
  margin-top: 8px;
  color: #ff9c9c;
  font-size: 12px;
}

.anon-wall-debug-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.anon-wall-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.anon-wall-author {
  font-weight: 800;
  color: var(--anon-text);
}

.anon-wall-post-meta {
  font-size: 11px;
  color: var(--anon-muted);
}

.anon-wall-truth {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(232, 197, 71, 0.12);
  color: var(--anon-glow);
  font-size: 11px;
}

.anon-wall-post-body {
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.anon-wall-comments {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.anon-wall-comment {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 6px;
  align-items: baseline;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  font-size: 12px;
}

.anon-wall-comment b {
  color: var(--anon-text);
}

.anon-wall-comment span,
.anon-wall-comment small,
.anon-wall-no-comment {
  color: var(--anon-muted);
}

.anon-wall-comment em {
  font-style: normal;
  color: var(--anon-text);
  overflow-wrap: anywhere;
}

.anon-wall-compose-sheet {
  width: min(520px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 28px));
  overflow: auto;
  border: 1px solid rgba(232, 197, 71, 0.18);
  background:
    linear-gradient(180deg, rgba(36, 44, 58, 0.98), rgba(24, 30, 40, 0.98)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px);
  color: var(--anon-text);
}

.anon-wall-compose-sheet .modal-header {
  border-bottom: 1px dashed var(--anon-border);
}

.anon-wall-compose-sheet .modal-header h3 {
  color: var(--anon-text);
}

.anon-wall-compose-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.anon-wall-compose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.anon-wall-compose-sheet .form-input {
  background: rgba(15, 20, 28, 0.62);
  border-color: var(--anon-border);
  color: var(--anon-text);
}

.anon-wall-compose-sheet .form-input::placeholder {
  color: rgba(154, 168, 188, 0.72);
}

.anon-wall-compose-sheet select.form-input {
  min-width: 0;
}

@media (max-width: 420px) {
  .anon-wall-compose-grid {
    grid-template-columns: 1fr;
  }
}

.anon-profile-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--anon-border);
  background: rgba(15, 20, 28, 0.35);
  margin-bottom: 12px;
}

.anon-profile-card strong {
  display: block;
  font-size: 15px;
}

.anon-profile-card small {
  display: block;
  color: var(--anon-muted);
  margin-top: 4px;
  line-height: 1.45;
}

.anon-page .btn-primary {
  background: #27282a;
  border-color: #27282a;
  color: #fff;
}

.anon-page .btn-outline {
  border-color: var(--anon-border);
  color: var(--anon-text);
  background: transparent;
}

.anon-page .text-hint {
  color: var(--anon-muted);
}

/* 匿名子页若仍引用 scrapbook 类，落回 Ins 灰白壳 */
.anon-page .scrapbook-card,
.anon-page .scrapbook-panel {
  background: var(--anon-surface);
  border-color: var(--anon-border);
  color: var(--anon-text);
  box-shadow: none;
}

.anon-page .chat-details-section-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--anon-glow);
}

.anon-match-scroll {
  padding: 12px 14px 28px;
}

.anon-page .anon-match-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--anon-border);
  color: var(--anon-text);
  cursor: pointer;
}

.anon-page .anon-match-option:last-child {
  border-bottom: none;
}

.anon-page .anon-match-option input {
  margin-top: 4px;
  accent-color: var(--anon-accent);
}

.anon-match-list .anon-match-option {
  border-bottom-color: var(--anon-border);
}

.anon-match-option-body strong {
  color: var(--anon-text);
}

.anon-match-option-body small {
  color: var(--anon-muted);
}

.anon-match-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  gap: 14px;
  align-content: center;
  background: rgba(10, 18, 30, 0.72);
  backdrop-filter: blur(6px);
  color: var(--anon-text);
}

.anon-match-radar {
  width: 96px;
  height: 96px;
  position: relative;
  border: 1px solid rgba(232, 197, 71, 0.48);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(232, 197, 71, 0.18);
}

.anon-match-radar span {
  position: absolute;
  inset: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--anon-glow);
  transform: rotate(var(--a)) translateX(34px);
  animation: anonSignal 1.3s ease-in-out infinite;
}

.anon-match-radar span:nth-child(1) { --a: 24deg; animation-delay: 0s; }
.anon-match-radar span:nth-child(2) { --a: 146deg; animation-delay: 0.18s; }
.anon-match-radar span:nth-child(3) { --a: 270deg; animation-delay: 0.36s; }

.anon-match-phase {
  min-width: 132px;
  padding: 8px 14px;
  border: 1px solid rgba(232, 197, 71, 0.34);
  border-radius: 999px;
  background: rgba(21, 34, 48, 0.72);
  color: var(--anon-glow);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0;
}

@keyframes anonSignal {
  0%, 100% { opacity: 0.35; transform: rotate(var(--a)) translateX(26px) scale(0.85); }
  50% { opacity: 1; transform: rotate(var(--a)) translateX(38px) scale(1.08); }
}

.anon-thread-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(232, 197, 71, 0.14);
  color: var(--anon-glow);
}

.anon-jump-private-btn {
  margin-top: 8px;
  width: 100%;
}

.anon-scroll,
.anon-match-scroll {
  padding: 14px 14px 30px;
}

.anon-hero {
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(232,232,229,0.86)),
    repeating-linear-gradient(90deg, rgba(35,36,38,0.045) 0 1px, transparent 1px 74px);
  border: 1px solid var(--anon-border);
  box-shadow: none;
}

.anon-hero-title {
  font-size: 20px;
  letter-spacing: 0;
  color: #1f2022;
}

.anon-hero-sub {
  color: var(--anon-muted);
  margin-bottom: 16px;
}

.anon-hero-help {
  border-color: rgba(31, 32, 34, 0.16);
  background: #fff;
  color: #303235;
}

.anon-paw {
  display: none;
}

.anon-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.anon-hub-page .anon-scroll {
  padding-bottom: calc(92px + var(--safe-bottom));
}

.anon-hub-board {
  position: relative;
  min-height: 172px;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid var(--anon-border);
  background: #dededb;
  overflow: hidden;
}

.anon-hub-board-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.anon-cover-wall {
  position: absolute;
  inset: 74px 12px 12px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.85fr;
  grid-template-rows: 1fr 0.72fr;
  gap: 8px;
}

.anon-cover-wall span {
  border-radius: 5px;
  background: linear-gradient(135deg, #fbfbfa, #c5c5c2);
}

.anon-cover-wall span:nth-child(1) {
  grid-row: span 2;
  background: linear-gradient(135deg, #fff, #b7b8b7);
}

.anon-cover-wall span:nth-child(4) {
  grid-column: span 2;
  background: #eeeeec;
}

.anon-room-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.anon-room-flow .anon-list-row {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: end;
  min-height: 164px;
  padding: 10px;
  overflow: hidden;
}

.anon-room-flow .anon-list-row:nth-child(3n + 1) {
  min-height: 194px;
}

.anon-room-flow .anon-list-row:nth-child(4n) {
  transform: translateY(12px);
}

.anon-room-cover {
  position: absolute;
  inset: 10px 10px 72px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 6px;
  pointer-events: none;
}

.anon-room-cover i {
  display: block;
  border-radius: 5px;
  background: linear-gradient(135deg, #f8f8f6, #c8c8c5);
}

.anon-room-cover i:first-child {
  grid-row: span 2;
  background: linear-gradient(135deg, #ffffff, #b9bbb9);
}

.anon-room-flow .anon-avatar,
.anon-room-flow .anon-list-body,
.anon-room-flow .anon-list-time {
  position: relative;
  z-index: 1;
}

.anon-room-flow .anon-list-body small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anon-room-flow .anon-list-time {
  grid-column: 2;
  justify-self: start;
}

.anon-hub-actions {
  position: absolute;
  right: 18px;
  bottom: calc(18px + var(--safe-bottom));
  z-index: 20;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.anon-hub-action-sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(64px, 1fr));
  gap: 8px;
  width: min(286px, calc(100vw - 36px));
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(31, 32, 34, 0.10);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(31, 32, 34, 0.14);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.anon-hub-actions.is-open .anon-hub-action-sheet {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.anon-hub-action,
.anon-hub-fab {
  border: 0;
  color: #242528;
  background: transparent;
}

.anon-hub-action {
  min-height: 56px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
}

.anon-hub-action .svg-icon {
  width: 20px;
  height: 20px;
}

.anon-hub-action span {
  font-size: 11px;
  color: #55585d;
}

.anon-hub-fab {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #242528;
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 32, 34, 0.22);
  pointer-events: auto;
}

.anon-hub-fab .svg-icon {
  width: 24px;
  height: 24px;
}

.anon-play-card,
.anon-card,
.anon-list-row,
.anon-wall-post,
.anon-profile-card {
  border-radius: 7px;
  border: 1px solid var(--anon-border);
  background: var(--anon-surface);
  color: var(--anon-text);
  box-shadow: none;
}

.anon-play-card {
  min-height: 74px;
  padding: 12px;
}

.anon-play-card strong,
.anon-list-body strong,
.anon-profile-card strong {
  color: #202124;
}

.anon-play-card small,
.anon-list-body small,
.anon-list-time,
.anon-wall-post-meta,
.anon-profile-card small,
.anon-space-bio-line,
.anon-empty,
.anon-form-field span {
  color: var(--anon-muted);
}

.anon-section-title {
  color: #34363a;
  letter-spacing: 0;
}

.anon-tabs {
  gap: 10px;
}

.anon-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #676a70;
}

.anon-tab.is-active {
  background: #242528;
  color: #fff;
  border-color: transparent;
}

.anon-list {
  gap: 10px;
}

.anon-list-row {
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  padding: 11px;
}

.anon-avatar {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  background: #d7d7d5;
  color: #242528;
}

.anon-avatar.is-cat {
  background: #cfcfcd;
}

.anon-thread-badge,
.anon-chip,
.anon-wall-truth {
  background: #eeeeec;
  color: #55585d;
}

.anon-form-field .form-input,
.anon-form-field .form-textarea,
.anon-form-field select.form-input,
.anon-wall-compose-sheet .form-input {
  background: #fff;
  border-color: rgba(31, 32, 34, 0.10);
  color: #222426;
}

.anon-member-row {
  border-bottom-color: rgba(31, 32, 34, 0.08);
}

.anon-page .btn-primary {
  background: #252629;
  border-color: #252629;
  color: #fff;
}

.anon-page .btn-outline,
.anon-page .btn-soft {
  border-color: rgba(31, 32, 34, 0.12);
  color: #27282a;
  background: rgba(255, 255, 255, 0.72);
}

.anon-space-cover {
  position: relative;
  margin-bottom: 12px;
}

.anon-space-cover-wall {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 74px 54px;
  gap: 8px;
  margin-bottom: -38px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--anon-border);
  background: #dededb;
  overflow: hidden;
}

.anon-space-cover-wall span {
  display: block;
  border-radius: 5px;
  background: linear-gradient(135deg, #f8f8f6, #c9c9c6);
}

.anon-space-cover-wall span:nth-child(1) {
  grid-row: span 2;
  background: linear-gradient(135deg, #ffffff, #bfc0bf);
}

.anon-space-cover-wall span:nth-child(3) {
  background: #ececea;
}

.anon-space-cover .anon-profile-card {
  position: relative;
  align-items: flex-end;
  margin: 0 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.anon-space-cover .anon-avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.anon-profile-edit-card .form-label {
  color: #55585d;
}

.anon-wall-hero,
.anon-wall-compose-sheet {
  border-radius: 8px;
  border-color: var(--anon-border);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(232,232,229,0.90)),
    repeating-linear-gradient(90deg, rgba(35,36,38,0.04) 0 1px, transparent 1px 76px);
  color: var(--anon-text);
}

.anon-match-overlay {
  background: rgba(242, 242, 240, 0.74);
  color: var(--anon-text);
}

.anon-match-radar {
  border-color: rgba(31, 32, 34, 0.25);
  box-shadow: none;
}

.anon-match-radar span {
  background: #303235;
}

.anon-match-phase {
  border-color: rgba(31, 32, 34, 0.14);
  background: #fff;
  color: #303235;
}

@media (max-width: 420px) {
  .anon-grid {
    gap: 8px;
  }
  .anon-list-row {
    grid-template-columns: 46px 1fr;
  }
  .anon-list-time {
    grid-column: 2;
  }
  .anon-room-flow {
    grid-template-columns: 1fr;
  }
  .anon-room-flow .anon-list-row:nth-child(4n) {
    transform: none;
  }
}

/* ── 匿名子页通用（Ins 浅灰，覆盖上方旧组件里的深色渐变残留） ── */
.anon-page .anon-hero {
  background: #fff;
  border: 1px solid var(--anon-border);
  box-shadow: none;
}

.anon-page .anon-play-card,
.anon-page .anon-list-row {
  background: #fff;
  border-color: var(--anon-border);
}

.anon-page .anon-play-card:active,
.anon-page .anon-list-row:active {
  background: #f1f1f3;
}

.anon-page .anon-hero-help {
  border-color: var(--anon-border);
  background: #f4f4f5;
  color: var(--anon-muted);
}

.anon-page .anon-match-overlay {
  background: rgba(21, 21, 21, 0.42);
  color: var(--anon-text);
}

.anon-page .anon-match-radar {
  border-color: #dfdfe2;
  box-shadow: none;
}

.anon-page .anon-match-radar span {
  background: #8d8d92;
}

.anon-page .anon-match-phase {
  border-color: var(--anon-border);
  background: #fff;
  color: var(--anon-muted);
}

/* ── 匿名首页 · preview v5 hub ── */
.anon-hub-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: var(--safe-top, 0px);
  background: #f7f7f7;
}

.anon-hub-page .anon-hub {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.anon-hub-head {
  padding: 8px 18px 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.anon-hub-back {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #151515;
  padding: 0;
}

.anon-hub-back .svg-icon {
  width: 22px;
  height: 22px;
}

.anon-hub-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #151515;
}

.anon-hub-icon-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #55585d;
  font-size: 14px;
  font-weight: 800;
}

.anon-hub-tabs {
  display: flex;
  gap: 21px;
  overflow-x: auto;
  padding: 0 18px 12px;
  border-bottom: 1px solid #e6e6e9;
  scrollbar-width: none;
}

.anon-hub-tabs::-webkit-scrollbar { display: none; }

.anon-hub-tab {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #85858b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.anon-hub-tab.is-active {
  color: #151515;
  border-bottom-color: currentColor;
}

.anon-hub-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 10px 18px calc(96px + var(--safe-bottom));
}

.anon-deco-wall {
  position: relative;
  height: 196px;
  margin-bottom: 16px;
}

.anon-deco-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  color: #55555a;
  font-size: 11px;
  font-weight: 700;
}

.anon-deco-card {
  position: absolute;
  border: 1px solid #e2e2e5;
}

.anon-deco-card.c1 {
  left: 0;
  top: 16px;
  width: 58%;
  height: 118px;
  transform: rotate(-1.2deg);
  background: linear-gradient(160deg, #e8e8ea 0%, #b8b8bc 55%, #f0f0f1 100%);
}

.anon-deco-card.c2 {
  right: -2px;
  top: 0;
  width: 44%;
  height: 100px;
  transform: rotate(2deg);
  background: linear-gradient(200deg, #d4d4d8 0%, #f5f5f6 40%, #a8a8ad 100%);
}

.anon-deco-card.c3 {
  left: 18%;
  bottom: 0;
  width: 64%;
  height: 78px;
  transform: rotate(-0.6deg);
  background: linear-gradient(135deg, #f2f2f3 0%, #c8c8cc 50%, #ececee 100%);
}

.anon-deco-add {
  position: absolute;
  right: 4px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px dashed #b8b8bc;
  background: rgba(255, 255, 255, 0.6);
  color: #88888d;
  font-size: 22px;
}

.anon-wall-edit-sheet {
  background: #fff;
  color: #151515;
  border-radius: 14px 14px 0 0;
}

.anon-wall-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.anon-wall-edit-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dfdfe2;
  background: #f4f4f5;
}

.anon-wall-edit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.anon-wall-edit-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.72);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.anon-wall-edit-empty {
  grid-column: 1 / -1;
  padding: 24px 12px;
  text-align: center;
  color: #8d8d92;
  font-size: 13px;
}

.anon-wall-edit-body {
  display: grid;
  gap: 10px;
}

.anon-hub-invite {
  margin: 0 0 15px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e6e6e9;
  border-bottom: 1px solid #e6e6e9;
}

.anon-hub-invite strong {
  display: block;
  font-size: 14px;
}

.anon-hub-invite small {
  display: block;
  margin-top: 3px;
  color: #85858b;
  font-size: 11px;
}

.anon-hub-invite-btn {
  border: 0;
  background: transparent;
  color: #151515;
  font-size: 12px;
  font-weight: 800;
}

.anon-hub-section-title {
  margin: 0 0 8px;
  display: flex;
  justify-content: space-between;
  color: #222226;
  font-size: 13px;
  font-weight: 800;
}

.anon-hub-section-title span {
  color: #85858b;
  font-weight: 700;
}

.anon-hub-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.anon-hub-row {
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.anon-hub-cover {
  width: 52px;
  height: 52px;
  border: 1px solid #e2e2e5;
  background: linear-gradient(135deg, #ececee, #c4c4c8);
}

.anon-hub-cover.is-alt {
  background: linear-gradient(160deg, #d8d8dc, #f4f4f5);
}

.anon-hub-cover.is-deep {
  background: linear-gradient(200deg, #e0e0e4, #a8a8ad);
}

.anon-hub-row-body strong,
.anon-hub-row-body small,
.anon-hub-row-meta time {
  display: block;
}

.anon-hub-row-body strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
}

.anon-hub-row-body small {
  margin-top: 3px;
  overflow: hidden;
  color: #85858b;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.anon-hub-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.anon-hub-row-meta time {
  color: #85858b;
  font-size: 11px;
}

.anon-hub-tag {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 5px;
  border-radius: 3px;
  background: #ededee;
  color: #505055;
  font-size: 10px;
}

.anon-hub-dock {
  position: absolute;
  left: 50%;
  bottom: calc(22px + var(--safe-bottom));
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  z-index: 12;
}

.anon-hub-dock-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #151515;
}

.anon-hub-dock-btn.is-active {
  background: rgba(0, 0, 0, 0.08);
}

.anon-hub-action-sheet {
  position: absolute;
  right: 18px;
  bottom: calc(88px + var(--safe-bottom));
  z-index: 11;
  display: grid;
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(31, 32, 34, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(31, 32, 34, 0.14);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.anon-hub-action-sheet.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.anon-hub-action {
  min-height: 56px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #242528;
  font-size: 11px;
}

/* ── 匿名空间 · preview v5 feed ── */
.anon-space-page {
  background: #050505;
  color: #f3f3f4;
}

.anon-space-page .navbar {
  background: rgba(17, 17, 19, 0.94);
  border-bottom: 1px solid #303034;
}

.anon-space-page .navbar-title,
.anon-space-page .navbar-btn {
  color: #f3f3f4;
}

.anon-space-page .navbar-btn {
  background: transparent;
}

.anon-space-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: calc(24px + var(--safe-bottom));
}

.anon-space-hero {
  position: relative;
  height: 200px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(125deg, #3a3a3e 0%, #8a8a90 38%, #1a1a1c 100%);
}

.anon-space-hero-edit {
  position: absolute;
  right: 14px;
  top: 12px;
  padding: 5px 10px;
  border: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 700;
}

.anon-space-hero-title {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.anon-space-identity {
  position: relative;
  margin: -36px 16px 0;
  padding: 0 0 14px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: end;
  border-bottom: 1px solid #303034;
}

.anon-space-avatar {
  width: 76px;
  height: 76px;
  border: 3px solid #050505;
  border-radius: 8px;
  font-size: 20px;
  background: #eeeeee;
  color: #161616;
}

.anon-space-id-block h2.anon-space-handle {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  word-break: break-word;
}

.anon-space-signature,
.anon-space-mood {
  margin: 4px 0 0;
  color: #a2a2a6;
  font-size: 11px;
  line-height: 1.45;
}

.anon-space-hero-title {
  display: none;
}

.anon-space-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.anon-space-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  background: #222226;
  color: #a2a2a6;
  font-size: 10px;
  font-weight: 700;
}

.anon-space-pill.is-base {
  background: rgba(255, 255, 255, 0.1);
  color: #e8e8ea;
}

.anon-space-pill.is-lock {
  background: rgba(255, 196, 120, 0.12);
  color: #e8c89a;
}

.anon-space-actor-pick {
  display: block;
  margin-top: 8px;
}

.anon-space-actor-pick .form-input {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #303034;
  background: #1b1b1e;
  color: #f3f3f4;
  font-size: 12px;
}

.anon-space-tabs {
  display: flex;
  gap: 0;
  padding: 0 16px;
  border-bottom: 1px solid #303034;
}

.anon-space-tab {
  flex: 1;
  padding: 11px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #a2a2a6;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.anon-space-tab.is-active {
  color: #f3f3f4;
  border-bottom-color: #f3f3f4;
}

.anon-space-feed {
  padding: 14px 16px 0;
  display: grid;
  gap: 12px;
}

.anon-space-unlock {
  padding: 14px;
  border: 1px solid #3a3a3e;
  border-radius: 10px;
  background: linear-gradient(135deg, #161618 0%, #1f1f22 100%);
}

.anon-space-unlock strong {
  display: block;
  font-size: 13px;
}

.anon-space-unlock p {
  margin: 6px 0 0;
  color: #a2a2a6;
  font-size: 11px;
  line-height: 1.5;
}

.anon-space-unlock-actions {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}

.anon-space-unlock-actions .btn {
  flex: 1;
  min-height: 34px;
}

.anon-space-unlock-status {
  margin-top: 9px;
  color: #8ec89a;
  font-size: 11px;
  font-weight: 700;
}

.anon-space-unlock-status.is-open {
  margin: 0 16px;
  color: #8ec89a;
}

.anon-unlock-cards {
  display: grid;
  gap: 10px;
}

.anon-unlock-card {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #3a3a3e;
  background: #161618;
}

.anon-unlock-card.is-request {
  border-color: #4a5560;
  background: linear-gradient(135deg, #161618 0%, #1c2026 100%);
}

.anon-unlock-card.is-granted {
  border-color: #3f6d52;
  background: linear-gradient(135deg, #152018 0%, #1b1f1e 100%);
}

.anon-unlock-card.is-denied {
  border-color: #6a4048;
  background: linear-gradient(135deg, #1c1518 0%, #21181b 100%);
}

.anon-unlock-card-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #a2a2a6;
  margin-bottom: 6px;
}

.anon-unlock-card-from {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #e8e8ea;
}

.anon-unlock-card-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #d2d2d5;
}

.anon-unlock-card-time {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  color: #7a7a80;
}

.anon-feed-card {
  position: relative;
  padding: 14px;
  border: 1px solid #303034;
  border-radius: 10px;
  background: #1b1b1e;
  overflow: hidden;
}

.anon-feed-card.is-locked .anon-feed-body {
  filter: blur(5px);
  opacity: 0.35;
}

.anon-feed-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: #a2a2a6;
  font-size: 11px;
  font-weight: 700;
}

.anon-feed-type {
  color: #a2a2a6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.anon-feed-body {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.anon-feed-note {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
}

.anon-feed-note-av {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #2a2a2e;
  color: #a2a2a6;
  font-size: 11px;
  font-weight: 800;
}

.anon-feed-note-meta {
  color: #a2a2a6;
  font-size: 10px;
}

.anon-feed-note-text {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.anon-space-edit-overlay {
  background: rgba(21, 21, 21, 0.42);
}

.anon-space-edit-sheet {
  max-width: 420px;
  margin: auto;
  background: #fff;
  color: #151515;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(21, 21, 21, 0.16);
}

.anon-space-edit-sheet .modal-header {
  border-bottom: 1px solid #ededee;
}

.anon-space-edit-sheet .modal-header h3 {
  color: #151515;
  font-size: 16px;
  font-weight: 700;
}

.anon-space-edit-sheet .btn-soft,
.anon-space-edit-sheet [data-space-edit-close] {
  background: transparent;
  border: 0;
  color: #8d8d92;
  box-shadow: none;
}

.anon-space-edit-body {
  display: grid;
  gap: 8px;
}

.anon-space-edit-body .form-label {
  color: #55585d;
  font-size: 12px;
  font-weight: 600;
}

.anon-space-edit-body .form-input {
  background: #f1f1f3;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #151515;
}

.anon-space-edit-body .form-input:focus {
  border-color: #c8c8cc;
  outline: none;
}

.anon-space-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 4px;
}

.anon-space-edit-actions .btn-outline {
  background: #fff;
  border: 1px solid #dfdfe2;
  color: #38383d;
}

.anon-space-edit-actions .btn-primary {
  background: #27282a;
  border-color: #27282a;
  color: #fff;
}

.anon-space-page .anon-empty {
  color: #a2a2a6;
}

.anon-space-unlock-count {
  margin-top: 8px;
  font-size: 12px;
  color: #8e8e93;
}

.anon-space-unlock-status.is-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.anon-post-card .anon-feed-body {
  white-space: pre-wrap;
}

.anon-post-image {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.anon-post-visual-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.anon-post-visual-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
  border-radius: 8px;
}

.anon-post-visual-btn .anon-post-image {
  margin-top: 0;
}

.anon-post-visual-pending {
  margin-top: 10px;
  font-size: 12px;
  color: #9a9aa0;
}

.anon-post-textimg-btn .textimg-polaroid {
  width: min(212px, 72vw);
  min-width: 168px;
}

.anon-space-page .anon-textimg-frame {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  border: 1px solid #3a3a3e;
  border-radius: 10px;
  background: #242428;
  overflow: hidden;
}

.anon-space-page .anon-textimg-label {
  padding: 8px 12px;
  border-bottom: 1px solid #343438;
  background: #2c2c30;
  color: #8d8d92;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.anon-space-page .anon-textimg-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px;
  gap: 8px;
  text-align: center;
}

.anon-space-page .anon-textimg-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #ececee;
  word-break: break-word;
  width: 100%;
}

.anon-space-page .anon-textimg-preview {
  display: grid;
  gap: 5px;
  width: 100%;
}

.anon-space-page .anon-textimg-line {
  font-size: 12px;
  line-height: 1.5;
  color: #9a9aa0;
  word-break: break-word;
  text-align: center;
}

.anon-space-supplement-row {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.anon-space-action-hint {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #7a7a80;
}

.anon-post-gen-image {
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #d6d6d8;
  font-size: 12px;
}

.anon-post-reply {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.anon-post-reply-from {
  color: #b0b0b5;
  margin-right: 6px;
}

.anon-post-actions {
  margin-top: 10px;
}

.anon-footprint-section-label {
  font-size: 12px;
  color: #8e8e93;
  margin: 4px 2px 8px;
}

.anon-footprint-section-label:not(:first-child) {
  margin-top: 4px;
}

/* 小组足迹：时间线条目，跟动态/来访记录的卡片视觉刻意区分开 */
.anon-footprint-timeline {
  display: grid;
  margin-bottom: 4px;
}

.anon-footprint-item {
  position: relative;
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 10px;
  padding-bottom: 16px;
}

.anon-footprint-item:last-child {
  padding-bottom: 2px;
}

.anon-footprint-item::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 15px;
  bottom: -2px;
  width: 1px;
  background: #303034;
}

.anon-footprint-item:last-child::before {
  display: none;
}

.anon-footprint-dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 2px;
  border-radius: 50%;
  background: #1b1b1e;
  border: 2px solid #6a6a70;
}

.anon-footprint-item-body {
  min-width: 0;
}

.anon-footprint-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.anon-footprint-item-head strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #e8e8ea;
}

.anon-footprint-item-head time {
  flex-shrink: 0;
  font-size: 10px;
  color: #7a7a80;
}

.anon-footprint-item-body p {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #b8b8bd;
}

/* ── 空间名片：简介/兴趣/小组集中在这一页，跟动态流的边框卡片刻意区分开 ── */
.anon-id-card {
  position: relative;
  padding: 30px 20px 22px;
  border: 1px solid #303034;
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 60%),
    #161618;
  text-align: center;
}

.anon-id-card-badge {
  position: absolute;
  left: 16px;
  top: 14px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #9c9ca1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.anon-id-card-avatar {
  width: 68px;
  height: 68px;
  margin: 6px auto 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #eeeeee;
  color: #161616;
  font-size: 20px;
}

.anon-id-card-avatar .anon-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anon-id-card-handle {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #f3f3f4;
}

.anon-id-card-signature {
  margin: 4px 0 0;
  font-size: 12px;
  color: #a2a2a6;
  font-style: italic;
}

.anon-id-card-divider {
  height: 1px;
  width: 60%;
  margin: 18px auto;
  background-image: linear-gradient(90deg, #3a3a3e 0 4px, transparent 4px 8px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
}

.anon-id-card-bio {
  margin: 0;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.65;
  color: #d2d2d5;
}

.anon-id-card-section {
  margin-top: 18px;
  text-align: left;
}

.anon-id-card-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #7a7a80;
  text-transform: uppercase;
}

.anon-id-card-tags,
.anon-id-card-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.anon-id-card-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d2d2d5;
  font-size: 11px;
}

.anon-id-card-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border: 1px solid #303034;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #d2d2d5;
  font-size: 11px;
}

.anon-id-card-group::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8ec89a;
}

.anon-space-gen-status {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #d6d6d8;
  font-size: 13px;
  text-align: center;
}

.anon-space-locked-posts {
  position: relative;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.anon-space-locked-count {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #d6d6d8;
}

.anon-space-lock-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #b8b8bd;
}

.anon-space-lock-toggle input {
  margin-top: 3px;
}

.anon-compose-image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anon-compose-image-preview {
  margin-top: 10px;
}

.anon-compose-image-preview img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.anon-space-locked-posts p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #8e8e93;
}

.anon-create-poster {
  min-height: 120px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--anon-border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.25)),
    repeating-linear-gradient(90deg, #dcdcdf 0 18px, #eeeeef 18px 36px);
}

.anon-create-poster strong {
  max-width: 210px;
  font-size: 22px;
  line-height: 1.15;
  color: #1f2022;
}

.anon-create-poster span {
  color: var(--anon-muted);
  font-size: 11px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── 匿名区 · 全局 Ins 模态/表单（一次性覆盖奶油 scrapbook） ── */
#modal-container .anon-modal-sheet,
.anon-page .anon-modal-sheet {
  background: #fff;
  color: #151515;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(21, 21, 21, 0.16);
}

#modal-container .anon-modal-sheet .modal-header,
.anon-page .anon-modal-sheet .modal-header {
  border-bottom: 1px solid #ededee;
}

#modal-container .anon-modal-sheet .modal-header h3,
.anon-page .anon-modal-sheet .modal-header h3 {
  color: #151515;
  font-size: 16px;
  font-weight: 700;
}

#modal-container .anon-modal-sheet .modal-body,
.anon-page .anon-modal-sheet .modal-body {
  color: #151515;
}

#modal-container .anon-modal-sheet .form-label,
.anon-page .form-label {
  color: #55585d;
  font-size: 12px;
  font-weight: 600;
}

#modal-container .anon-modal-sheet .form-input,
.anon-page .form-input,
.anon-page .anon-modal-sheet textarea.form-input {
  background: #f1f1f3;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #151515;
}

#modal-container .anon-modal-sheet .form-input:focus,
.anon-page .form-input:focus {
  border-color: #c8c8cc;
  outline: none;
}

#modal-container .anon-modal-sheet .btn-soft,
.anon-page .btn-soft {
  background: transparent;
  border: 0;
  color: #8d8d92;
  box-shadow: none;
}

#modal-container .anon-modal-sheet .btn-outline,
.anon-page .btn-outline {
  background: #fff;
  border: 1px solid #dfdfe2;
  color: #38383d;
}

#modal-container .anon-modal-sheet .btn-primary,
.anon-page .btn-primary {
  background: #27282a;
  border-color: #27282a;
  color: #fff;
}

#modal-container .modal-overlay:has(.anon-modal-sheet) {
  background: rgba(21, 21, 21, 0.42);
}

.anon-notice-sheet.anon-modal-sheet {
  box-shadow: 0 16px 48px rgba(21, 21, 21, 0.16);
}

#modal-container .scrapbook-card.anon-modal-sheet {
  background: #fff;
  border-color: #dfdfe2;
  box-shadow: 0 16px 48px rgba(21, 21, 21, 0.16);
}

#modal-container .chat-card-modal-sheet--anon .modal-header {
  background: #fff;
  border-bottom: 1px solid #ededee;
}

#modal-container .chat-card-modal-sheet--anon .chat-card-modal-body {
  background: #fff;
}

#modal-container .chat-card-modal-sheet--anon .chat-card-meta-note,
#modal-container .chat-card-modal-sheet--anon .chat-card-meta-label {
  color: #8d8d92;
}

#modal-container .chat-card-modal-sheet--anon .chat-card-meta-value {
  color: #151515;
}

#modal-container .chat-card-modal-sheet--anon .chat-bundle-item {
  border-bottom-color: #ededee;
}

#modal-container .chat-card-modal-sheet--anon .chat-bundle-avatar {
  border-radius: 6px;
  background: #f1f1f3;
  color: #55585d;
}

#modal-container .chat-card-modal-sheet--anon .chat-bundle-sender {
  color: #8d8d92;
}

#modal-container .chat-card-modal-sheet--anon .chat-bundle-time {
  color: #b3b3b8;
}

#modal-container .chat-card-modal-sheet--anon .chat-bundle-text {
  color: #151515;
}

#modal-container .chat-card-modal-sheet--anon .chat-bundle-image {
  border-radius: 6px;
}

#modal-container .anon-modal-sheet .edit-bubble-type-pill,
#modal-container .anon-modal-sheet .text-hint {
  color: #8d8d92;
}

#modal-container .anon-modal-sheet .edit-bubble-type-pill {
  background: #f4f4f5;
  border: 1px solid #ededee;
  color: #38383d;
}

.anon-notice-body {
  color: #55585d;
  font-size: 14px;
  line-height: 1.65;
}

.emoji-react-sheet.anon-modal-sheet {
  background: #fff;
  border: 1px solid #dfdfe2;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.emoji-react-sheet.anon-modal-sheet .modal-header {
  border-bottom: 1px solid #ededee;
}

.emoji-react-sheet.anon-modal-sheet .modal-header h3 {
  color: #151515;
  font-size: 15px;
  font-weight: 600;
}

.emoji-react-sheet.anon-modal-sheet .emoji-react-btn {
  background: #f4f4f5;
  border-radius: 6px;
}

.emoji-react-sheet.anon-modal-sheet .emoji-react-btn:active {
  background: #e8e8ea;
}
