/* ==========================================================================
   校园表白墙 · 樱花主题
   ========================================================================== */

:root {
  --ink: #38213f;
  --ink-soft: #6d5578;
  --ink-faint: #7a6878;
  --pink: #ffa9c6;
  --pink-deep: #ff6fa0;
  --rose: #ff4f86;
  --lilac: #b49bff;
  --sky: #9fd6ff;
  --cream: #fffbfd;
  --glass: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 120, 165, 0.16);
  --shadow-sm: 0 6px 18px rgba(176, 118, 156, 0.12);
  --shadow: 0 18px 42px rgba(176, 118, 156, 0.18);
  --shadow-lg: 0 30px 70px rgba(150, 95, 135, 0.24);
  --radius: 22px;
  --radius-sm: 14px;
  --serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --hand: "STKaiti", "KaiTi", "Kaiti SC", var(--serif);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(165deg, #fff6fa 0%, #f7f1ff 42%, #eef7ff 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(255, 143, 180, 0.3); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffc6da, #d6c4ff);
  border-radius: 10px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-track { background: transparent; }

/* ==========================================================================
   飘落花瓣
   ========================================================================== */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.petal {
  position: absolute;
  top: -8vh;
  width: 12px;
  height: 14px;
  border-radius: 60% 0 60% 0;
  background: linear-gradient(135deg, #ffd7e6, #ff9dc2);
  opacity: 0.75;
  filter: blur(0.2px);
  animation: petal-fall linear infinite;
  will-change: transform;
}

.petal.p2 { background: linear-gradient(135deg, #fff, #ffc8dd); opacity: 0.55; }
.petal.p3 { background: linear-gradient(135deg, #ffe6f2, #e2c9ff); opacity: 0.6; }

@keyframes petal-fall {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); }
  25%  { transform: translate3d(2.5vw, 22vh, 0) rotate(95deg); }
  50%  { transform: translate3d(-1.5vw, 50vh, 0) rotate(200deg); }
  75%  { transform: translate3d(2vw, 78vh, 0) rotate(300deg); }
  100% { transform: translate3d(-1vw, 112vh, 0) rotate(420deg); }
}

/* ==========================================================================
   通用组件
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(120deg, #ff8fb4, #ff6fa0 40%, #b88bff 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 96, 145, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover { box-shadow: 0 18px 38px rgba(255, 96, 145, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); box-shadow: none; }
.btn-mini { padding: 6px 14px; font-size: 13px; border-radius: 999px; }
.btn-danger { background: linear-gradient(120deg, #ff8080, #f2557a); color: #fff; box-shadow: 0 10px 22px rgba(240, 80, 110, 0.3); }

.field {
  position: relative;
  display: flex;
  align-items: center;
}

.input, .textarea, .select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input::placeholder, .textarea::placeholder { color: #bcaebb; }
.textarea { resize: vertical; min-height: 120px; line-height: 1.7; }

.input:focus, .textarea:focus {
  border-color: rgba(255, 111, 160, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 143, 180, 0.16);
}

.label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 6px 2px;
  letter-spacing: 0.06em;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 16px);
  background: rgba(56, 33, 63, 0.92);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 60;
  max-width: 86vw;
  text-align: center;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

.hidden { display: none !important; }

/* ==========================================================================
   暗号门
   ========================================================================== */
.gate-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  background: #2a1733;
}

.gate-bg {
  position: fixed;
  inset: 0;
  background: url("/static/img/gate.jpg") center 42% / cover no-repeat;
  transform: scale(1.04);
  animation: gate-drift 26s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes gate-drift {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.1) translateY(-1.6%); }
}

.gate-veil {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(58, 25, 70, 0.1) 0%, rgba(32, 13, 44, 0.78) 72%),
    linear-gradient(180deg, rgba(46, 20, 60, 0.15), rgba(24, 10, 36, 0.85));
  z-index: 1;
}

.gate {
  position: relative;
  z-index: 2;
  width: min(400px, 90vw);
  margin: 58px auto 40px;
  animation: gate-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes gate-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gate-card {
  position: relative;
  padding: 34px 30px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 80px rgba(15, 5, 25, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #fff;
  text-align: center;
}

.gate-mark {
  width: 62px;
  height: 62px;
  margin: -62px auto 14px;
  display: grid;
  place-items: center;
  font-size: 28px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffd0e2, #ff9ec1 55%, #c3a4ff);
  box-shadow: 0 12px 28px rgba(255, 120, 165, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  animation: float-mark 4.5s ease-in-out infinite;
}

@keyframes float-mark {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-7px) rotate(3deg); }
}

.gate-title {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.22em;
  margin: 0 0 6px;
  text-shadow: 0 4px 22px rgba(255, 130, 175, 0.55);
}

.gate-sub {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 220, 235, 0.75);
}

.gate-line {
  width: 46px;
  height: 2px;
  margin: 18px auto;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 215, 0.9), transparent);
}

.gate-tip {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 240, 247, 0.9);
  font-family: var(--hand);
  letter-spacing: 0.06em;
}

.gate-field { position: relative; }

.gate-input {
  width: 100%;
  padding: 15px 48px 15px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.14em;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gate-input::placeholder { color: rgba(255, 255, 255, 0.55); letter-spacing: 0.1em; }

.gate-input:focus {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 200, 220, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 160, 195, 0.22);
}

.eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.eye:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.gate-hint {
  min-height: 20px;
  margin: 10px 2px 0;
  font-size: 12.5px;
  text-align: left;
  color: rgba(255, 226, 238, 0.72);
  letter-spacing: 0.04em;
}

.gate-err {
  min-height: 20px;
  margin: 4px 0 8px;
  font-size: 13px;
  color: #ffc2cf;
  font-weight: 600;
}

.gate-btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border-radius: 16px;
}

.gate-foot {
  margin: 18px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
}

.shake { animation: shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-7px); }
  40%, 60% { transform: translateX(7px); }
}

.gate-fade { animation: gate-out 0.45s ease forwards; }

@keyframes gate-out {
  to { opacity: 0; transform: scale(1.06); filter: blur(6px); }
}

/* ==========================================================================
   表白墙 · 导航与首屏
   ========================================================================== */
.shell { position: relative; z-index: 2; padding-bottom: 70px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(14px, 4vw, 40px);
  background: rgba(255, 250, 253, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.logo {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 19px;
  background: linear-gradient(140deg, #ffd7e7, #ff9ec1 55%, #b79cff);
  box-shadow: 0 8px 18px rgba(255, 120, 165, 0.32);
}

.nav-title {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.12em;
  margin: 0;
  white-space: nowrap;
}

.nav-spacer { flex: 1; }

.nav-link {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover { background: rgba(255, 158, 189, 0.16); color: var(--rose); }

.hero {
  position: relative;
  margin: clamp(14px, 3vw, 26px) clamp(14px, 4vw, 40px) 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-img {
  display: block;
  width: 100%;
  height: clamp(190px, 34vw, 330px);
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero:hover .hero-img { transform: scale(1.07); }

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 245, 250, 0.1) 0%, rgba(60, 25, 70, 0.12) 40%, rgba(52, 22, 66, 0.72) 100%);
}

.hero-text {
  position: absolute;
  left: clamp(18px, 4vw, 40px);
  right: clamp(18px, 4vw, 40px);
  bottom: clamp(16px, 3vw, 30px);
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  margin-bottom: 10px;
}

.hero-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 4.2vw, 40px);
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-shadow: 0 6px 30px rgba(50, 20, 60, 0.5);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats b {
  font-family: var(--serif);
  font-size: 20px;
  margin-right: 4px;
  color: #fff;
}

.notice-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px clamp(14px, 4vw, 40px) 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 235, 244, 0.9), rgba(240, 235, 255, 0.9));
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.notice-bar .pin { flex: none; opacity: 0.85; }

/* ==========================================================================
   发布框
   ========================================================================== */
.composer {
  margin: 18px clamp(14px, 4vw, 40px) 0;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.composer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.composer-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.1em;
}

.composer-title small {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-left: 8px;
}

.composer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.moods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
}

.mood {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  transition: all 0.18s ease;
  user-select: none;
}

.mood:hover { border-color: rgba(255, 111, 160, 0.5); color: var(--rose); }

.mood.active {
  background: linear-gradient(120deg, #ffd3e3, #e7ddff);
  border-color: transparent;
  color: #b83b6b;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(255, 150, 185, 0.28);
}

.composer-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.counter {
  font-size: 12px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.counter.warn { color: #e2547a; font-weight: 600; }

.composer-foot .btn-primary { margin-left: auto; padding: 12px 30px; }

.anon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.switch {
  width: 38px;
  height: 21px;
  border-radius: 999px;
  background: #e9dcea;
  position: relative;
  transition: background 0.22s ease;
  flex: none;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(120, 80, 110, 0.3);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anon-toggle.on .switch { background: linear-gradient(120deg, #ff9ec1, #b79cff); }
.anon-toggle.on .switch::after { transform: translateX(17px); }

/* ==========================================================================
   表白卡片
   ========================================================================== */
.feed {
  margin: 22px clamp(14px, 4vw, 40px) 0;
  columns: 3 300px;
  column-gap: 18px;
}

.card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 20px 20px 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  animation: card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #ffb3cd, #d5c2ff 55%, #a8dcff);
  opacity: 0.9;
}

.card:nth-child(3n+2)::before { background: linear-gradient(90deg, #d5c2ff, #a8dcff); }
.card:nth-child(3n+3)::before { background: linear-gradient(90deg, #ffd9a8, #ffb3cd); }
.card:nth-child(3n+2) { background: linear-gradient(180deg, #fdfaff, #fff); }
.card:nth-child(3n+3) { background: linear-gradient(180deg, #fffdf7, #fff); }

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-family: var(--serif);
  color: #fff;
  background: linear-gradient(140deg, #ff9ec1, #b79cff);
  box-shadow: 0 6px 14px rgba(190, 130, 200, 0.25);
}

.avatar.c1 { background: linear-gradient(140deg, #ffb3cd, #ff7fa6); }
.avatar.c2 { background: linear-gradient(140deg, #c9b6ff, #8f6fff); }
.avatar.c3 { background: linear-gradient(140deg, #a8dcff, #6bb8f5); }
.avatar.c4 { background: linear-gradient(140deg, #ffdda8, #ffb066); }
.avatar.c5 { background: linear-gradient(140deg, #b8f0d8, #6fce9e); }

.who { flex: 1 1 auto; min-width: 0; }

.who-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.who-arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
}

.who-arrow em { font-style: normal; color: var(--pink-deep); }

.mood-tag {
  margin-left: auto;
  flex: none;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #b2406e;
  background: linear-gradient(120deg, #ffe3ee, #f0e6ff);
}

.quote {
  position: absolute;
  right: 16px;
  bottom: 40px;
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 1;
  color: rgba(255, 178, 205, 0.22);
  pointer-events: none;
}

.card-body {
  font-size: 15px;
  line-height: 1.85;
  color: #4a3350;
  white-space: pre-wrap;
  word-break: break-word;
  position: relative;
  z-index: 1;
  font-family: var(--hand);
  letter-spacing: 0.03em;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.card-time { font-size: 11.5px; color: var(--ink-faint); }

.like {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--ink-faint);
  padding: 5px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.like:hover { background: rgba(255, 158, 189, 0.14); color: var(--rose); }
.like.on { color: var(--rose); font-weight: 700; }
.like .heart { font-size: 15px; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.like.on .heart { transform: scale(1.15); }
.like.pop .heart { animation: heart-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }

@keyframes heart-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.55) rotate(-8deg); }
  100% { transform: scale(1.15); }
}

/* 骨架屏 */
.skeleton {
  break-inside: avoid;
  margin-bottom: 18px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sk-line {
  height: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #f6eef6 25%, #fdf7fb 50%, #f6eef6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.sk-line.w40 { width: 40%; }
.sk-line.w90 { width: 92%; }
.sk-line.w70 { width: 72%; }

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* 空状态 */
.feed.is-empty { columns: initial; }

.empty {
  columns: initial;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-faint);
}

.empty-emoji { font-size: 46px; display: block; margin-bottom: 10px; opacity: 0.8; }
.empty-text { font-family: var(--hand); font-size: 16px; letter-spacing: 0.08em; }

.feed-more {
  margin: 6px auto 0;
  display: flex;
  justify-content: center;
}

/* 页脚 */
.foot {
  margin-top: 40px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}

.foot b { color: var(--pink-deep); font-weight: 600; }

/* ==========================================================================
   后台
   ========================================================================== */
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 205, 225, 0.5), transparent 70%),
    linear-gradient(165deg, #fbf3fb, #f1eeff 60%, #eef7ff);
}

.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 16px;
}

.admin-login {
  width: min(380px, 92vw);
  padding: 34px 30px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.admin-login .gate-mark { margin: -58px auto 12px; }

.admin-login h1 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.16em;
  margin: 0 0 4px;
}

.admin-login p.sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 22px;
}

.admin-panel { max-width: 1080px; margin: 0 auto; padding: 26px clamp(14px, 3vw, 26px) 60px; }

.admin-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.admin-top h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.12em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.stat span { display: block; font-size: 12px; color: var(--ink-faint); letter-spacing: 0.1em; }
.stat b {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 26px;
  background: linear-gradient(120deg, #ff6fa0, #9b7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.tab {
  border: 0;
  background: transparent;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.tab.active {
  background: linear-gradient(120deg, #ff8fb4, #b88bff);
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 130, 200, 0.32);
}

.panel-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #fff;
  padding: clamp(16px, 2.4vw, 26px);
}

.row-list { display: flex; flex-direction: column; gap: 10px; }

.prow {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.prow:hover { box-shadow: var(--shadow-sm); border-color: rgba(255, 150, 185, 0.4); }
.prow.is-hidden { opacity: 0.62; background: #fdf7fa; }

.prow-id {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.8;
}

.prow-id b { display: block; font-size: 13px; color: var(--ink); }

.prow-main { min-width: 0; }

.prow-name { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.prow-name em { font-style: normal; color: var(--pink-deep); }

.prow-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5a4360;
  word-break: break-word;
  white-space: pre-wrap;
  max-height: 4.6em;
  overflow: auto;
}

.prow-meta { font-size: 11.5px; color: var(--ink-faint); margin-top: 6px; }

.prow-ops { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

.op {
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.op:hover { border-color: rgba(255, 111, 160, 0.5); color: var(--rose); background: #fff7fa; }
.op.danger:hover { border-color: rgba(240, 80, 110, 0.5); color: #e33b62; background: #fff5f7; }
.op.solid { background: linear-gradient(120deg, #ffd3e3, #e7ddff); border-color: transparent; color: #a8315f; font-weight: 600; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.form-block + .form-block { margin-top: 20px; }

.hint {
  font-size: 12px;
  color: var(--ink-faint);
  margin: 6px 2px 0;
  line-height: 1.7;
}

.warn-box {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff8ec;
  border: 1px solid #ffe0b3;
  font-size: 12.5px;
  color: #9a6a1f;
  line-height: 1.7;
}

.admin-foot { margin-top: 26px; text-align: center; font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.14em; }

/* 确认弹窗 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(48, 26, 58, 0.42);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 70;
  opacity: 0;
  transition: opacity 0.22s ease;
  padding: 20px;
}

.modal-mask.show { opacity: 1; }

.modal {
  width: min(360px, 92vw);
  background: #fff;
  border-radius: 22px;
  padding: 26px 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-mask.show .modal { transform: translateY(0) scale(1); }

.modal h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.1em;
}

.modal p { margin: 0 0 20px; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

.modal-ops { display: flex; gap: 10px; justify-content: center; }
.modal-ops .btn { min-width: 108px; padding: 10px 18px; font-size: 14px; }

/* ==========================================================================
   验证码
   ========================================================================== */
.cap-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cap-img {
  height: 48px;
  width: auto;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  user-select: none;
}

.cap-img:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.cap-img:active { transform: scale(0.97); }

.cap-note {
  margin: 6px 2px 0;
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.gate-cap { margin-top: 12px; }
.gate-cap .gate-input { padding: 13px 18px; letter-spacing: 0.12em; flex: 1 1 auto; width: auto; }
.gate-cap .cap-img { border-color: rgba(255, 255, 255, 0.45); }

/* ==========================================================================
   登录 / 注册
   ========================================================================== */
.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 16px;
  background:
    radial-gradient(70% 55% at 50% 8%, rgba(255, 214, 232, 0.85), transparent 70%),
    radial-gradient(60% 50% at 82% 92%, rgba(196, 214, 255, 0.7), transparent 72%),
    linear-gradient(165deg, #fff7fb, #f7f2ff 55%, #eef7ff 100%);
}

.auth-wrap { position: relative; z-index: 2; width: min(420px, 94vw); }

.auth-card {
  position: relative;
  padding: 34px 30px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #fff;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  animation: gate-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-logo {
  width: 58px;
  height: 58px;
  margin: -64px auto 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffd9e6, #ff9ec1 55%, #c3a4ff);
  box-shadow: 0 14px 30px rgba(255, 120, 165, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: float-mark 4.5s ease-in-out infinite;
}

.auth-title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--ink);
}

.auth-sub {
  margin: 0 0 22px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 243, 249, 0.9);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab.active {
  background: linear-gradient(120deg, #ff8fb4, #b88bff);
  color: #fff;
  box-shadow: 0 8px 20px rgba(220, 130, 200, 0.3);
}

.auth-err {
  min-height: 20px;
  margin: 12px 2px 8px;
  font-size: 12.5px;
  color: #e2547a;
  font-weight: 600;
}

.auth-btn { width: 100%; padding: 14px; font-size: 16px; letter-spacing: 0.12em; }

.auth-foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.auth-foot a { color: var(--pink-deep); }

/* ==========================================================================
   导航用户信息
   ========================================================================== */
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  max-width: 40vw;
}

.avatar.sm { width: 26px; height: 26px; font-size: 12px; flex: none; }

.me-name {
  font-size: 12.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prow-uname { font-size: 12px; color: var(--ink-faint); margin-left: 6px; font-weight: 400; }

@media (max-width: 620px) {
  .nav .user-chip .me-name { display: none; }
  .auth-card { padding: 30px 20px 20px; }
  .auth-title { font-size: 22px; }
  .cap-img { height: 44px; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 900px) {
  .feed { columns: 2 240px; }
  .composer-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .feed { columns: initial; }
  .card, .skeleton { margin-bottom: 14px; }
  .hero-img { height: 210px; }
  .hero-stats { gap: 12px; font-size: 12px; }
  .hero-stats b { font-size: 17px; }
  .prow { grid-template-columns: 1fr; }
  .prow-ops { justify-content: flex-start; }
  .nav { padding: 10px 14px; gap: 10px; }
  .nav-title { font-size: 16px; }
  .gate { margin-top: 26px; }
  .gate-card { padding: 30px 22px 22px; }
  .gate-title { font-size: 25px; }
  .composer-foot { flex-wrap: wrap; }
  .composer-foot .btn-primary { width: 100%; margin-left: 0; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   头衔徽章
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 8px 2px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  white-space: nowrap;
  vertical-align: 1px;
  border: 1px solid transparent;
}

.badge.kind-admin   { color: #b5304f; background: #ffe8ee; border-color: #ffc7d5; }
.badge.kind-dev     { color: #1e7a5a; background: #e5f8f0; border-color: #b7e8d5; }
.badge.kind-sponsor { color: #8a5a12; background: #fff3d9; border-color: #f6dda5; }
.badge.kind-vip     { color: #6b3fa8; background: #f3ebff; border-color: #dccbf7; }
.badge.kind-member  { color: #4f6b80; background: #eef5fb; border-color: #cfe2f0; }
.badge.kind-custom  { color: #a8467b; background: #ffeaf5; border-color: #ffcfe6; }

/* ==========================================================================
   回复区（论坛式讨论）
   ========================================================================== */
.reply-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--ink-faint);
  padding: 5px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.reply-toggle:hover { background: rgba(255, 158, 189, 0.14); color: var(--rose); }
.reply-toggle.open { color: var(--pink-deep); font-weight: 600; background: rgba(255, 158, 189, 0.12); }
.reply-toggle span[aria-hidden] { font-size: 13px; }

.replies {
  margin-top: 10px;
  padding: 12px 2px 2px;
  border-top: 1px dashed var(--line);
  animation: fade-up 0.28s ease both;
}

.reply-list { display: flex; flex-direction: column; gap: 10px; }

.reply-item {
  padding: 9px 12px;
  border-radius: 12px;
  background: #fdf7fa;
  border: 1px solid rgba(255, 150, 185, 0.14);
}

.reply-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.reply-who { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.reply-time { margin-left: auto; font-size: 11px; color: var(--ink-faint); }

.reply-del {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  color: var(--ink-faint);
  padding: 2px 6px;
  border-radius: 8px;
}

.reply-del:hover { color: #d24b6a; background: rgba(210, 75, 106, 0.08); }

.reply-text {
  font-size: 13px;
  line-height: 1.75;
  color: #5a4360;
  word-break: break-word;
  white-space: pre-wrap;
}

.reply-empty { font-size: 12px; color: var(--ink-faint); text-align: center; padding: 12px 0 6px; letter-spacing: 0.05em; }

.reply-form { display: flex; gap: 8px; margin-top: 10px; }
.reply-form .reply-input { flex: 1 1 auto; min-width: 0; padding: 9px 12px; font-size: 13px; }
.reply-form .btn { flex: none; }

/* ==========================================================================
   赞助榜页面
   ========================================================================== */
.sponsor-hero .hero-heading { font-size: 40px; }

.sponsor-intro {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.sponsor-intro-text h3,
.board-head h3 {
  margin: 0 0 8px;
  font-family: var(--hand);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.sponsor-intro-text p { margin: 0; font-size: 13.5px; line-height: 1.85; color: #5a4360; white-space: pre-wrap; }

.sponsor-contact {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 233, 243, 0.5);
  border: 1px dashed rgba(255, 140, 180, 0.35);
}

.contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.sponsor-contact p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--pink-deep); font-weight: 600; word-break: break-word; }

.board { margin-top: 24px; }

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.board-sub { font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.04em; }

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.sponsor-card {
  position: relative;
  padding: 16px 18px 15px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  animation: fade-up 0.5s ease both;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.sponsor-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: 74px;
  height: 74px;
  background: radial-gradient(circle at 100% 0, rgba(255, 190, 214, 0.28), transparent 70%);
  pointer-events: none;
}

.sponsor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(255, 150, 185, 0.45); }
.sponsor-card.t-gold { border-color: rgba(232, 180, 84, 0.5); }
.sponsor-card.t-silver { border-color: rgba(160, 176, 192, 0.5); }
.sponsor-card.t-bronze { border-color: rgba(196, 143, 112, 0.5); }

.sp-top { display: flex; align-items: center; gap: 10px; }
.sp-head { min-width: 0; flex: 1 1 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.sp-name { font-size: 14px; font-weight: 700; color: var(--ink); word-break: break-word; }

.sp-tier {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px 2px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a5a12;
  background: #fff3d9;
  border: 1px solid #f6dda5;
}

.sp-tier.t-gold,
.sp-tier.gold { color: #8a5a12; background: linear-gradient(135deg, #ffe9b6, #ffd88a); border-color: #f2cb7c; }
.sp-tier.t-silver,
.sp-tier.silver { color: #4f6072; background: linear-gradient(135deg, #eef3f8, #dfe8f1); border-color: #cbd8e4; }
.sp-tier.t-bronze,
.sp-tier.bronze { color: #7d4a2c; background: linear-gradient(135deg, #fbe6d8, #f3d2bc); border-color: #e2b899; }

.sp-amount { flex: none; font-size: 11.5px; color: var(--pink-deep); font-weight: 700; letter-spacing: 0.02em; }

.sp-msg {
  margin: 10px 0 0;
  font-family: var(--hand);
  font-size: 13.5px;
  line-height: 1.8;
  color: #6b5175;
  word-break: break-word;
}

.sp-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--pink-deep);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 111, 160, 0.5);
}

/* ==========================================================================
   后台：赞助行 / 空态 / 弹窗输入
   ========================================================================== */
.prow-empty {
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-faint);
  border-radius: 14px;
  background: #fdf7fa;
  border: 1px dashed var(--line);
  letter-spacing: 0.04em;
}

.modal .input { margin: 0 0 18px; width: 100%; }
.modal-title { margin: 0 0 8px; font-family: var(--hand); font-size: 20px; color: var(--ink); }
.modal-text { margin: 0 0 14px; font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); }

@media (max-width: 720px) {
  .sponsor-intro { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-hero .hero-heading { font-size: 30px; }
}

/* ==========================================================================
   举报
   ========================================================================== */
.report-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  color: #c9b4c6;
  padding: 5px 8px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.report-btn:hover { color: #d24b6a; background: rgba(210, 75, 106, 0.1); }

.report-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }

.report-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.report-chip:hover { border-color: rgba(255, 111, 160, 0.5); color: var(--rose); }

.report-chip.on {
  background: rgba(255, 158, 189, 0.2);
  border-color: rgba(255, 111, 160, 0.65);
  color: var(--pink-deep);
  font-weight: 700;
}

.report-modal { max-width: 420px; }
.report-modal .input { margin: 0 0 18px; width: 100%; }

/* ==========================================================================
   防火墙面板
   ========================================================================== */
select.input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, #b892ae 50%),
                    linear-gradient(135deg, #b892ae 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.waf-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .06em;
  background: rgba(184, 146, 174, .12);
  color: var(--ink-soft);
}

/* ==========================================================================
   设备 IP 标签
   ========================================================================== */
.ip-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .02em;
  color: #8a7a92;
  background: rgba(176, 148, 192, .1);
  border: 1px solid rgba(176, 148, 192, .18);
  white-space: nowrap;
}

.ip-chip.mini { font-size: 10px; padding: 1px 6px; }

.ip-note {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #7c6786;
  background: rgba(255, 233, 243, .55);
  border: 1px dashed rgba(255, 140, 180, .32);
}

.ip-note b { color: var(--pink-deep); }
.ip-note .ip-inline {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: .02em;
}

/* ==========================================================================
   卡片底部：信息行 + 操作行
   ========================================================================== */
.card-foot { flex-wrap: wrap; gap: 8px 10px; justify-content: space-between; }

.foot-meta { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }

.foot-ops { display: inline-flex; align-items: center; gap: 4px; }

.foot-ops .like { margin-left: 4px; }

/* 头衔徽章：长昵称时也能完整显示 */
.who-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; white-space: normal; }

.who { min-width: 0; }

/* ==========================================================================
   手机端全面适配（≤ 640px）
   ========================================================================== */
@media (max-width: 640px) {
  body { -webkit-text-size-adjust: 100%; }

  .shell { padding: 0 12px; }

  .nav { padding: 8px 10px; gap: 6px; flex-wrap: wrap; }
  .nav-title { font-size: 15px; }
  .nav-link { padding: 6px 8px; font-size: 12.5px; }
  .nav .user-chip { padding: 4px 8px; }

  .hero-img { height: 180px; }
  .hero-heading { font-size: 26px; }

  .card { padding: 16px 15px 13px; }
  .card-body { font-size: 14px; line-height: 1.85; }
  .card-foot { padding-top: 9px; margin-top: 11px; gap: 6px 8px; }
  .foot-meta { width: 100%; }
  .foot-ops { width: 100%; justify-content: flex-start; gap: 6px; }
  .foot-ops .like { margin-left: auto; }

  /* 手机上按钮要有足够大的点击区 */
  .reply-toggle { padding: 9px 12px; font-size: 13px; background: rgba(255, 158, 189, .1); }
  .report-btn { padding: 9px 12px; font-size: 15px; background: rgba(201, 180, 198, .1); }
  .like { padding: 8px 10px; }

  .who-name { font-size: 14.5px; }
  .badge { font-size: 11px; padding: 2px 8px; }
  .avatar { width: 34px; height: 34px; font-size: 14px; }

  .replies { padding: 12px 0 0; }
  .reply-form { flex-wrap: nowrap; gap: 6px; }
  .reply-form .reply-input { font-size: 14px; padding: 10px 12px; }
  .reply-form .btn { padding: 10px 14px; }
  .reply-item { padding: 9px 10px; }
  .reply-text { font-size: 13.5px; }
  .reply-head { gap: 5px; }
  .ip-chip.mini { font-size: 9.5px; }

  /* 弹窗（举报面板）改成底部抽屉，手机上更好点 */
  .modal-mask { place-items: end stretch; padding: 0; }
  .modal,
  .report-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
    text-align: left;
    max-height: 86vh;
    overflow-y: auto;
  }
  .modal-title { font-size: 18px; }
  .modal-ops { position: sticky; bottom: 0; background: #fff; padding-top: 10px; }
  .modal-ops .btn { flex: 1 1 0; min-width: 0; }
  .report-chip { padding: 8px 14px; font-size: 13px; }
  .report-modal .input { font-size: 14px; }

  .composer { padding: 18px 16px; }
  .composer-title { font-size: 17px; }
  .textarea { min-height: 110px; font-size: 15px; }
  .moods { gap: 6px; }
  .mood { padding: 7px 11px; font-size: 12.5px; }
  .composer-foot { gap: 10px; }
  .composer-foot .btn-primary { width: 100%; padding: 13px; font-size: 15px; }

  .ip-note { font-size: 11.5px; }
  .toast { left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* 手指操作时不要保留 hover 高亮 */
@media (hover: none) {
  .reply-toggle:hover,
  .report-btn:hover,
  .report-chip:hover { background: transparent; color: inherit; }
  .like:hover { transform: none; }
}

/* ==========================================================================
   给站长留言
   ========================================================================== */
.msg-modal { max-width: 480px; text-align: left; }
.msg-modal .modal-title { text-align: left; }

.msg-log { max-height: 220px; overflow-y: auto; margin: 4px 0 14px; }

.msg-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdf7fa;
  border: 1px solid rgba(255, 150, 185, 0.16);
  margin-bottom: 8px;
}

.msg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-faint);
  margin-bottom: 5px;
}

.msg-state { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: rgba(255, 233, 243, .7); color: var(--pink-deep); }
.msg-state.on { background: rgba(229, 248, 240, .9); color: #1e7a5a; }

.msg-body { font-size: 13px; line-height: 1.75; color: #4d3a55; white-space: pre-wrap; word-break: break-word; }

.msg-answer {
  margin-top: 7px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed rgba(255, 140, 180, .4);
  font-size: 12.5px;
  line-height: 1.7;
  color: #5a4360;
}

.msg-answer-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: #b5304f;
  background: #ffe8ee;
}

.msg-empty { padding: 18px 0; text-align: center; font-size: 12px; color: var(--ink-faint); }

.msg-modal .msg-ta { min-height: 96px; margin: 0 0 10px; }
.msg-modal .msg-contact { margin: 0 0 14px; }

/* ==========================================================================
   后台：筛选条 / 账号状态 / 留言行
   ========================================================================== */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}

.filter-chip:hover { border-color: rgba(255, 111, 160, .5); color: var(--rose); }
.filter-chip.on {
  background: rgba(255, 158, 189, .22);
  border-color: rgba(255, 111, 160, .65);
  color: var(--pink-deep);
  font-weight: 700;
}

.ustat { font-weight: 700; color: #1e7a5a; }
.ustat.off { color: #b5304f; }

.prow-ip { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: #8a7a92; }

.msg-row { align-items: flex-start; }
.msg-row.is-read { opacity: .82; }
.msg-text { white-space: pre-wrap; }

.msg-reply {
  margin-top: 8px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed rgba(255, 140, 180, .4);
  font-size: 12.5px;
  line-height: 1.7;
  color: #5a4360;
}

.msg-reply-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: #b5304f;
  background: #ffe8ee;
}

.msg-box { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.msg-box .msg-input { min-height: 76px; }
.msg-box .btn { align-self: flex-end; }

@media (max-width: 640px) {
  .msg-modal { text-align: left; }
  .msg-log { max-height: 40vh; }
  .filter-chips { gap: 6px; }
  .filter-chip { padding: 7px 12px; }
  .msg-box .btn { align-self: stretch; }
}

/* ========== 公告条 / 禁言提示 / 后台过滤与公告 ========== */
.ann-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 780px;
  margin: 14px auto 0;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(255, 246, 250, .82);
  border: 1px solid rgba(255, 173, 199, .55);
  box-shadow: 0 10px 26px rgba(226, 132, 168, .16);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ann-bar:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(226, 132, 168, .22); }

.ann-tag {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9dbb, #ff7fa8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}

.ann-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #6d4152;
  font-size: 13.5px;
}

.ann-open { flex: none; color: #d4638c; font-size: 12.5px; }

.ann-modal { max-width: 560px; text-align: left; }
.ann-list { display: flex; flex-direction: column; gap: 12px; max-height: 52vh; overflow-y: auto; margin-top: 6px; }
.ann-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fffafc;
  border: 1px solid rgba(255, 190, 210, .6);
}
.ann-card-title { display: flex; align-items: baseline; gap: 8px; font-weight: 700; color: #7a3c53; font-size: 14.5px; }
.ann-card-time { margin-left: auto; font-weight: 400; color: #b992a3; font-size: 11.5px; }
.ann-card-body { margin-top: 8px; color: #5f4350; font-size: 13.5px; line-height: 1.72; white-space: pre-wrap; }
.ann-empty { padding: 28px 10px; text-align: center; color: #b992a3; }

.mute-note {
  max-width: 780px;
  margin: 14px auto 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff0f2;
  border: 1px solid #ffbcc8;
  color: #a8324c;
  font-size: 13px;
  line-height: 1.7;
}

.ustat.mute { color: #b5304f; background: #ffe4ea; }

/* 一键关站 / 开站 */
.maint-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto 16px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(160, 210, 170, .5);
  box-shadow: 0 8px 22px rgba(140, 170, 150, .12);
}
.maint-bar.is-closed {
  background: #fff1f3;
  border-color: #ffbcc8;
  box-shadow: 0 8px 22px rgba(226, 132, 168, .18);
}
.maint-state { flex: none; font-weight: 700; color: #4f8558; font-size: 13px; letter-spacing: .04em; }
.maint-bar.is-closed .maint-state { color: #b5304f; }
.maint-hint { flex: 1; min-width: 180px; color: #8d7d98; font-size: 12.5px; line-height: 1.6; }

@media (max-width: 640px) {
  .maint-bar { margin: 0 12px 14px; padding: 12px 14px; }
  .maint-bar .btn { width: 100%; }
  .maint-hint { min-width: 0; flex-basis: 100%; order: 3; }
}

.ann-pin-label { display: inline-flex; align-items: center; gap: 6px; color: #7a5566; font-size: 13px; }

@media (max-width: 640px) {
  .ann-bar { margin: 10px 12px 0; padding: 10px 12px; gap: 8px; }
  .ann-text { font-size: 12.5px; }
  .ann-open { font-size: 12px; }
  .mute-note { margin: 10px 12px 0; font-size: 12.5px; }
  .ann-modal { max-width: 100%; }
  .ann-list { max-height: 46vh; }
}








/* ---------- 网易云音乐播放器 ---------- */
.music-fab {
  position: fixed; left: 18px; bottom: 18px; width: 56px; height: 56px;
  border-radius: 50%; cursor: pointer; z-index: 60;
  background: radial-gradient(circle at 50% 45%, #ff5d7a 0%, #d63a5c 46%, #2a2030 47%, #17131c 100%);
  box-shadow: 0 10px 24px rgba(157, 60, 96, .34), inset 0 0 0 2px rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.music-fab:hover { transform: translateY(-2px) scale(1.04); }
.music-fab-disc {
  position: absolute; inset: 6px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: conic-gradient(from 0deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%, rgba(255,255,255,.12) 70%, rgba(255,255,255,0));
  animation: musicSpin 9s linear infinite; animation-play-state: paused;
}
.music-fab.is-playing .music-fab-disc { animation-play-state: running; }
.music-fab-note { position: relative; font-size: 19px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.music-fab.is-active { box-shadow: 0 10px 26px rgba(214, 58, 92, .45), inset 0 0 0 2px rgba(255,255,255,.3); }

.music-card {
  position: fixed; left: 18px; bottom: 86px; width: 322px; z-index: 61;
  padding: 14px 15px 12px; border-radius: 20px;
  background: linear-gradient(165deg, #241b2b 0%, #1a1420 62%, #151019 100%);
  color: #fff; box-shadow: 0 20px 46px rgba(38, 16, 34, .42);
  border: 1px solid rgba(255, 140, 175, .22);
  animation: musicPop .22s ease;
}
@keyframes musicPop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes musicSpin { to { transform: rotate(360deg); } }

.music-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.music-tag {
  font-size: 11px; letter-spacing: .06em; color: #ffd7e2;
  background: rgba(229, 66, 92, .22); border: 1px solid rgba(255, 120, 150, .35);
  padding: 3px 9px; border-radius: 999px;
}
.music-min {
  border: 0; background: none; color: #a89db2; font-size: 15px; line-height: 1;
  cursor: pointer; padding: 4px 6px; border-radius: 8px;
}
.music-min:hover { color: #fff; background: rgba(255,255,255,.08); }

.music-body { display: flex; align-items: center; gap: 13px; }
.music-cover {
  position: relative; width: 74px; height: 74px; border-radius: 50%; flex: 0 0 74px;
  overflow: hidden; background: radial-gradient(circle at 50% 45%, #ff6f8c 0%, #c9375c 55%, #221a26 56%, #141019 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.16), 0 6px 16px rgba(0,0,0,.35);
}
.music-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.music-card.is-playing .music-cover img { animation: musicSpin 16s linear infinite; }
.music-ghost {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
}
.music-meta { flex: 1; min-width: 0; }
.music-name {
  font-size: 14px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.music-artist {
  font-size: 11.5px; color: #b0a3ba; margin-top: 3px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.music-bar {
  position: relative; height: 4px; border-radius: 4px; margin-top: 12px;
  background: rgba(255,255,255,.16); cursor: pointer;
}
.music-fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, #ff8aa8, #e5424a); transition: width .1s linear;
}
.music-time {
  display: flex; justify-content: space-between; font-size: 10.5px;
  color: #8d8098; margin-top: 6px; font-variant-numeric: tabular-nums;
}

.music-ops { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.music-i {
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.06); color: #d9cddf; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.music-i:hover { background: rgba(255,255,255,.14); color: #fff; }
.music-play {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(160deg, #ff6f8c, #d63a5c); color: #fff; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(214, 58, 92, .38);
}
.music-play:hover { filter: brightness(1.06); }

.music-pl { margin-top: 10px; max-height: 168px; overflow-y: auto; border-top: 1px solid rgba(255,255,255,.09); }
.music-row {
  display: flex; align-items: center; gap: 8px; padding: 8px 6px; border-radius: 10px;
  cursor: pointer; font-size: 12.5px;
}
.music-row:hover { background: rgba(255,255,255,.06); }
.music-row.on { color: #ffb3c6; }
.music-row-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-row-artist { color: #8d8098; font-size: 11px; max-width: 42%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-tip { margin-top: 9px; font-size: 10.5px; color: #7c6f86; letter-spacing: .04em; text-align: center; }

@media (max-width: 640px) {
  .music-fab { left: 12px; bottom: 14px; width: 50px; height: 50px; }
  .music-card {
    left: 10px; right: 10px; width: auto; bottom: 76px; padding: 13px 14px 11px;
    max-height: 74vh; display: flex; flex-direction: column; overflow: hidden;
  }
  .music-cover { width: 64px; height: 64px; flex: 0 0 64px; }
  .music-i { width: 34px; height: 34px; }
  .music-play { width: 46px; height: 46px; }
  .music-pl { max-height: 34vh; }
  .music-row { padding: 10px 8px; }
}

/* ---------- 个人主页 ---------- */
.prof-hero {
  display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap;
  margin: 18px auto 16px; max-width: 980px; padding: 24px 26px;
  border-radius: 22px; background: linear-gradient(150deg, rgba(255,255,255,.92), rgba(255,240,247,.86));
  box-shadow: 0 16px 40px rgba(176, 118, 156, .14);
  border: 1px solid rgba(255, 150, 185, .26);
}
.prof-avatar {
  width: 96px; height: 96px; border-radius: 50%; flex: 0 0 96px;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; color: #fff; letter-spacing: .02em;
  background: radial-gradient(circle at 30% 25%, #ffb3ce, #ff7fa6 45%, #d4638c 100%);
  box-shadow: 0 12px 26px rgba(212, 99, 140, .32), inset 0 -6px 16px rgba(160, 70, 110, .2);
  border: 3px solid rgba(255,255,255,.9);
}
.prof-avatar.sm { width: 56px; height: 56px; flex: 0 0 56px; font-size: 24px; border-width: 2px; }
.prof-avatar.tone-0 { background: radial-gradient(circle at 30% 25%, #ffc2d8, #ff7fa6 45%, #d4638c 100%); }
.prof-avatar.tone-1 { background: radial-gradient(circle at 30% 25%, #ffe4b5, #ffb36b 45%, #e08b4a 100%); }
.prof-avatar.tone-2 { background: radial-gradient(circle at 30% 25%, #cfe8ff, #8fb6ff 45%, #6d87d6 100%); }
.prof-avatar.tone-3 { background: radial-gradient(circle at 30% 25%, #d9ffe9, #8fdcb4 45%, #5fb894 100%); }
.prof-avatar.tone-4 { background: radial-gradient(circle at 30% 25%, #f0dcff, #b79bff 45%, #8a72d6 100%); }
.prof-avatar.tone-5 { background: radial-gradient(circle at 30% 25%, #ffe0e0, #ff9d9d 45%, #d47878 100%); }

.prof-main { flex: 1; min-width: 220px; }
.prof-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prof-name { margin: 0; font-size: 22px; font-weight: 700; color: #3b2542; letter-spacing: .02em; }
.prof-badge { font-size: 11.5px; }
.prof-sub { margin-top: 6px; font-size: 12.5px; color: #8b7797; letter-spacing: .02em; }
.prof-bio { margin: 10px 0 0; font-size: 13.5px; line-height: 1.85; color: #5d4569; white-space: pre-wrap; }
.prof-bio.is-empty { color: #a898b2; font-style: italic; }
.prof-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.prof-tag {
  font-size: 11.5px; color: #b9507a; background: rgba(255, 190, 214, .32);
  border: 1px solid rgba(233, 126, 168, .3); padding: 3px 9px; border-radius: 999px;
}
.prof-stats { display: flex; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
.prof-stat { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.prof-stat b { font-size: 19px; color: #c2517c; }
.prof-stat span { font-size: 11.5px; color: #96839f; letter-spacing: .04em; }
.prof-ops { display: flex; flex-direction: column; gap: 8px; margin-left: auto; }
.prof-ops .btn { white-space: nowrap; }

.prof-edit {
  max-width: 980px; margin: 0 auto 18px; padding: 24px 26px 20px; border-radius: 22px;
  background: rgba(255,255,255,.94); border: 1px solid rgba(255, 150, 185, .3);
  box-shadow: 0 16px 40px rgba(176, 118, 156, .16);
}
.prof-edit-title { margin: 0 0 16px; font-size: 16px; color: #3b2542; }
.prof-edit-title small { margin-left: 8px; font-size: 11.5px; color: #9d8aa8; font-weight: 400; }
.prof-avatar-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prof-avatar-row .input { max-width: 110px; }
.prof-emoji { display: flex; gap: 6px; flex-wrap: wrap; }
.prof-emoji button {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(233, 126, 168, .28); background: #fff7fb; font-size: 17px;
  transition: transform .14s ease, background .14s ease;
}
.prof-emoji button:hover { transform: translateY(-1px); background: #ffe9f3; }
.prof-edit-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(200, 150, 180, .35);
  flex-wrap: wrap;
}
.prof-edit-foot .hint { flex: 1; min-width: 200px; }

.prof-posts { max-width: 980px; margin: 0 auto 30px; }
.prof-posts-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.prof-posts-head .composer-title { margin: 0; font-size: 16px; }
.prof-post {
  padding: 16px 18px; margin-bottom: 12px; border-radius: 18px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(255, 165, 195, .22);
  box-shadow: 0 10px 26px rgba(176, 118, 156, .1);
}
.prof-post-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prof-post-mood { font-size: 12px; color: #b9507a; background: rgba(255, 200, 220, .35); padding: 2px 8px; border-radius: 999px; }
.prof-post-time { font-size: 11.5px; color: #9d8aa8; }
.prof-post-top-tag { font-size: 11px; color: #fff; background: #e08aab; padding: 2px 7px; border-radius: 6px; }
.prof-post-body { margin: 10px 0 10px; font-size: 14px; line-height: 1.85; color: #453050; white-space: pre-wrap; word-break: break-word; }
.prof-post-foot { display: flex; gap: 16px; font-size: 11.5px; color: #a08bab; }
.prof-empty { text-align: center; padding: 34px 20px; border-radius: 20px; background: rgba(255,255,255,.8); border: 1px dashed rgba(233, 160, 190, .5); }
.prof-empty-emoji { font-size: 34px; margin-bottom: 8px; }
.prof-empty p { margin: 0 0 14px; font-size: 13px; color: #8b7797; }

.prof-locked { max-width: 620px; margin: 30px auto; text-align: center; padding: 40px 26px; border-radius: 22px; background: rgba(255,255,255,.9); border: 1px solid rgba(255, 160, 190, .3); }
.prof-lock-emoji { font-size: 40px; margin-bottom: 10px; }
.prof-locked h3 { margin: 0 0 8px; font-size: 17px; color: #3b2542; }
.prof-locked p { margin: 0 0 18px; font-size: 13px; color: #8b7797; }

@media (max-width: 640px) {
  .prof-hero { margin: 12px; padding: 18px 16px; gap: 13px; border-radius: 18px; }
  .prof-avatar { width: 72px; height: 72px; flex: 0 0 72px; font-size: 32px; }
  .prof-name { font-size: 19px; }
  .prof-main { min-width: 0; }
  .prof-stats { gap: 16px; margin-top: 13px; }
  .prof-ops { flex-direction: row; width: 100%; margin-left: 0; }
  .prof-ops .btn { flex: 1; }
  .prof-edit { margin: 0 12px 16px; padding: 18px 16px 16px; }
  .prof-edit-foot .hint { min-width: 0; flex-basis: 100%; }
  .prof-edit-foot > div { width: 100%; display: flex; gap: 8px; }
  .prof-edit-foot .btn { flex: 1; }
  .prof-avatar-row .input { max-width: 84px; }
  .prof-posts { margin: 0 12px 24px; }
  .prof-post { padding: 14px 15px; }
}

/* 卡片上的昵称可以点进个人主页 */
.who-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(196, 118, 150, .45); }
.who-link:hover { color: #c2517c; border-bottom-color: #c2517c; }

/* 注册邮箱验证码 */
.mail-row { display: flex; gap: 8px; align-items: stretch; }
.mail-row .input { flex: 1; min-width: 0; }
.mail-btn { white-space: nowrap; padding: 0 14px; font-size: 12.5px; }
.mail-btn:disabled { opacity: .6; cursor: default; }
@media (max-width: 640px) { .mail-btn { padding: 0 10px; font-size: 12px; } }
