﻿/* ================================================================
   ✦ 星际流光 — Stellar Glassmorphism Theme
   Save your space image as  bg.jpg  in the project root.
   A deep-space CSS gradient is used as fallback automatically.
   ================================================================ */

:root {
  --glass-bg:       rgba(16, 26, 62, 0.46);  /* ↑ lifted from (8,14,40,0.55) — lets stars bleed through */
  --glass-border:   rgba(255, 255, 255, 0.17);
  --glass-hover:    rgba(255, 255, 255, 0.13);
  --blur-sm:  blur(10px);
  --blur-md:  blur(22px);
  --blur-lg:  blur(36px);
  --text-primary:   #dde6f8;
  --text-secondary: rgba(221, 230, 248, 0.65);
  --text-muted:     rgba(221, 230, 248, 0.40);
  --accent:       #818cf8;
  --accent-blue:  #7dd3fc;
  --accent-pink:  #f0abfc;
  --accent-glow:  rgba(129, 140, 248, 0.35);
  --danger:  #f87171;
  --success: #6ee7b7;
  --warn:    #fcd34d;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.36), 0 0 0 0.5px rgba(129,140,248,0.16), inset 0 1px 0 rgba(255,255,255,0.10);
  --radius-card: 18px;
  --radius-sm:   9px;
  --radius-btn:  10px;
  --radius-pill: 999px;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    url('./bg.jpg') center / cover no-repeat fixed,
    radial-gradient(ellipse at 18% 55%, #0d1b4e 0%, #080c1c 55%, #18082a 100%);
  color: var(--text-primary);
  font-family: 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
}

/* Non-home pages: light veil + nebula glow — lets the star background breathe. */
body.app-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    /* 星云光晕 — 左上角冷蓝 */
    radial-gradient(ellipse 58% 48% at 12% 22%, rgba(58, 96, 210, 0.22) 0%, transparent 70%),
    /* 星云光晕 — 右下角深紫 */
    radial-gradient(ellipse 50% 58% at 88% 80%, rgba(108, 46, 196, 0.18) 0%, transparent 70%),
    /* 星云光晕 — 中部隐约暖调 */
    radial-gradient(ellipse 72% 38% at 52% 50%, rgba(18, 32, 88, 0.14) 0%, transparent 78%),
    /* 基础暗幕 — 比之前轻薄许多 */
    linear-gradient(180deg, rgba(6, 10, 28, 0.26) 0%, rgba(4, 8, 22, 0.42) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

body.app-page > * {
  position: relative;
  z-index: 1;
}

/* Fixed overlays (modals / toasts) must NOT be overridden by the rule above. */
body.app-page > [style*="position: fixed"],
body.app-page > .admin-modal,
body.app-page > .author-modal-overlay {
  position: fixed !important;
}

body::after {
  content: '联系开发者：xingji@qq.com';
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 260px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 0;
  background: rgba(5, 10, 32, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(235, 241, 255, 0.88);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

h1,h2,h3,h4 { color: var(--text-primary); }

/* ── Login / Verify ─────────────────────────────────────────── */
.landing-intro {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 3;
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.landing-brand {
  font-size: clamp(72px, 14vw, 150px);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.22);
  animation: landingBrandIn 1.4s ease forwards, landingSyncPulse 3s ease-in-out 1.4s infinite;
}

.landing-prompt {
  font-size: 15px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.74);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.landing-prompt.is-visible {
  opacity: 0.5;
  transform: translateY(0);
  animation: landingSyncPulse 3s ease-in-out infinite;
}

.landing-slogan {
  position: fixed;
  left: 50%;
  bottom: clamp(54px, 12vh, 112px);
  transform: translateX(-50%);
  width: min(88vw, 560px);
  text-align: center;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.14);
  z-index: 2;
  animation: landingSloganIn 1.5s ease forwards;
}

.verify-container {
  width: min(380px, calc(100vw - 36px));
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  padding: 36px 32px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  text-align: center;
  z-index: 4;
  opacity: 1;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.verify-container.hidden-before-start {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 26px)) scale(0.96);
}

.page-started .landing-intro {
  opacity: 0;
  transform: translateY(-18px);
}

.page-started .verify-container {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.verify-container h2 {
  margin-bottom: 22px;
  font-size: 22px;
  text-shadow: 0 0 18px var(--accent-glow);
}

/* ── Tabs ─────────────────────────────────────────────────────── */
.tab-box {
  display: flex;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--glass-border);
}
.tab-btn {
  flex: 1; padding: 10px; background: none; border: none;
  font-size: 15px; color: var(--text-secondary); cursor: pointer; transition: 0.25s;
}
.tab-btn.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
  text-shadow: 0 0 8px var(--accent-glow);
}

/* ── Inputs ─────────────────────────────────────────────────── */
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.email-code-row {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.email-code-row input {
  flex: 1;
  margin: 0;
}
input, select, textarea {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  outline: none;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(129,140,248,0.19);
  background: rgba(255,255,255,0.09);
}
select option { background: #0c1538; color: var(--text-primary); }

#sendBtn {
  width: 110px; margin-left: 0; cursor: pointer;
  border: 1px solid var(--accent);
  background: rgba(129,140,248,0.12);
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px; font-size: 13px; transition: 0.22s;
}
#sendBtn:hover { background: rgba(129,140,248,0.22); }
#sendBtn:disabled { border-color: var(--glass-border); color: var(--text-muted); background: transparent; }

#sendResetCodeBtn {
  width: 110px;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: rgba(129,140,248,0.12);
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 13px;
  transition: 0.22s;
}

#sendResetCodeBtn:hover { background: rgba(129,140,248,0.22); }
#sendResetCodeBtn:disabled { border-color: var(--glass-border); color: var(--text-muted); background: transparent; }

.text-link-btn {
  margin-top: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link-btn:hover {
  color: var(--accent-blue);
}

.forgot-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(8, 14, 34, 0.42);
}

/* ── Primary Button ─────────────────────────────────────────── */
.main-btn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff; border: none;
  border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 600;
  cursor: pointer; margin-top: 10px;
  letter-spacing: 0.5px; transition: 0.25s;
  box-shadow: 0 4px 18px rgba(124,58,237,0.45);
}
.main-btn:hover {
  background: linear-gradient(135deg, #5b52ef 0%, #8b44ff 100%);
  box-shadow: 0 6px 26px rgba(124,58,237,0.65);
  transform: translateY(-1px);
}

.hidden { display: none; }

@keyframes landingBrandIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
    filter: blur(10px);
  }
  to {
    opacity: 0.5;
    transform: translateY(0) scale(1);
    filter: blur(0);
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  }
}

@keyframes landingSyncPulse {
  0%, 100% {
    opacity: 0.5;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  }
  50% {
    opacity: 0.96;
    text-shadow: 0 0 34px rgba(255, 255, 255, 0.3), 0 0 70px rgba(180, 210, 255, 0.16);
  }
}

@keyframes landingSloganIn {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 640px) {
  body::after {
    width: min(72vw, 240px);
    height: 40px;
    right: 0;
    bottom: 0;
    padding: 0 10px;
    font-size: 11px;
  }

  .landing-intro {
    gap: 14px;
    padding: 0 18px;
  }

  .landing-brand {
    letter-spacing: 0.12em;
  }

  .landing-prompt {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .landing-slogan {
    bottom: 48px;
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  .verify-container {
    padding: 28px 20px;
  }
}

/* ── Profile Container ──────────────────────────────────────── */
.profile-container {
  width: 440px;
  margin: 40px auto 60px;
  padding: 30px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.section { margin-bottom: 25px; text-align: left; }
.section label {
  display: block; margin-bottom: 8px;
  font-size: 14px; color: var(--text-secondary); font-weight: 700;
}

/* ── Avatar ─────────────────────────────────────────────────── */
.avatar-section { display: flex; flex-direction: column; align-items: center; }
.avatar-preview {
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(129,140,248,0.13);
  display: flex; justify-content: center; align-items: center;
  color: var(--text-muted);
  margin-bottom: 10px; overflow: hidden;
  border: 2px dashed rgba(129,140,248,0.4);
  transition: 0.25s;
}
.avatar-preview:hover {
  border-color: var(--accent);
  background: rgba(129,140,248,0.2);
}

.avatar-cropper-wrap {
  width: 100%;
  max-width: 320px;
  margin-top: 12px;
}

.avatar-cropper-box {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(3,7,18,0.45);
}

.avatar-cropper-box img {
  display: block;
  max-width: 100%;
}

.avatar-crop-actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.default-avatar-label {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.default-avatar-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.default-avatar-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.default-avatar-item {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.16);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  background: rgba(15,23,42,0.55);
}

.default-avatar-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.default-avatar-item:hover {
  transform: translateY(-2px);
  border-color: rgba(125,211,252,0.7);
}

.default-avatar-item.is-center {
  transform: scale(1.05);
}

.default-avatar-item.is-selected {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(125,211,252,0.25);
}

.avatar-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-nav-btn:hover {
  border-color: var(--accent-blue);
  background: rgba(125,211,252,0.14);
}

/* ── Small Button ───────────────────────────────────────────── */
.small-btn {
  padding: 7px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 13px;
  transition: 0.22s;
}
.small-btn:hover {
  background: rgba(255,255,255,0.14);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.24);
}

/* ── Split Group ────────────────────────────────────────────── */
.split-group { display: flex; flex-direction: row; gap: 15px; }
.half-input  { flex: 1; }

/* ── Tags ───────────────────────────────────────────────────── */
.tags-display { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag {
  background: rgba(129,140,248,0.18);
  color: var(--accent-blue);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px; cursor: pointer;
  border: 1px solid rgba(129,140,248,0.3);
  transition: 0.2s;
}
.tag:hover {
  background: rgba(248,113,113,0.18);
  color: var(--danger);
  border-color: rgba(248,113,113,0.35);
}

/* ── Album ──────────────────────────────────────────────────── */
.album-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.album-placeholder {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.04);
  border: 2px dashed var(--glass-border);
  border-radius: 10px;
  display: flex; justify-content: center; align-items: center;
  color: var(--text-muted); cursor: pointer; transition: 0.22s;
}
.album-placeholder:hover {
  background: rgba(129,140,248,0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Recommend Items ────────────────────────────────────────── */
.recommend-box { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rec-item {
  background: rgba(125,211,252,0.1);
  color: var(--accent-blue);
  padding: 4px 10px;
  border-radius: 6px; font-size: 12px; cursor: pointer;
  border: 1px solid rgba(125,211,252,0.22);
  transition: 0.2s;
}
.rec-item:hover { background: rgba(125,211,252,0.2); color: #bae6fd; }
.rec-item.is-active {
  background: rgba(129,140,248,0.28);
  color: #e2e8f0;
  border-color: rgba(129,140,248,0.5);
}

/* ── Post Preview ───────────────────────────────────────────── */
.post-preview-layout { display: flex; gap: 15px; margin-bottom: 10px; align-items: flex-start; }
.post-preview-img {
  width: 90px; height: 90px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; border: 1px solid var(--glass-border);
}
.post-preview-text {
  flex: 1; color: var(--text-secondary); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis; white-space: pre-wrap;
}
.read-more-wrapper { text-align: right; margin-top: -5px; margin-bottom: 10px; }
.read-more-btn {
  background: none; border: none; color: var(--accent);
  cursor: pointer; font-size: 14px; font-weight: 700; padding: 0;
}
.read-more-btn:hover { text-decoration: underline; }
.post-full-content { display: none; color: var(--text-secondary); line-height: 1.6; }

/* ── Post Tag Badge ─────────────────────────────────────────── */
.post-tag {
  background: rgba(125,211,252,0.14); color: var(--accent-blue);
  padding: 2px 8px; border-radius: 12px; font-size: 12px;
  margin-left: 8px; display: inline-block; font-weight: normal;
  border: 1px solid rgba(125,211,252,0.24);
}

/* ── Top Nav ────────────────────────────────────────────────── */
.top-nav {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(5,10,32,0.72);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  padding: 10px 40px;
  border-bottom: 1px solid var(--glass-border);
  position: sticky; top: 0; z-index: 1000;
}
.nav-left { display: flex; align-items: center; gap: 40px; }
.logo {
  margin: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 22px; font-weight: 800; cursor: pointer;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.nav-links { display: flex; gap: 10px; }
.nav-item {
  text-decoration: none; color: var(--text-secondary);
  font-weight: 600; padding: 8px 16px;
  border-radius: var(--radius-pill); transition: 0.22s; font-size: 15px;
}
.nav-item.has-unread-dot { position: relative; padding-right: 24px; }
.nav-item.has-unread-dot::after {
  content: ''; position: absolute; top: 6px; right: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.7);
}
.nav-item:hover, .nav-item.active {
  background: rgba(129,140,248,0.15); color: var(--accent);
}

/* ── Search Box ─────────────────────────────────────────────── */
.nav-center { flex: 1; display: flex; justify-content: center; padding: 0 20px; }
.search-box {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  padding: 5px 15px; width: 100%; max-width: 400px;
  border: 1px solid var(--glass-border); transition: 0.28s;
}
.search-box:focus-within {
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(129,140,248,0.14);
}
.search-box input {
  border: none; background: transparent; flex: 1; padding: 6px;
  outline: none; font-size: 14px; margin-bottom: 0;
  color: var(--text-primary); width: auto; box-shadow: none;
}
.search-box input:focus { border-color: transparent; box-shadow: none; }

/* ── Author Modal ───────────────────────────────────────────── */
.author-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  z-index: 2100; display: flex; justify-content: center; align-items: center;
  padding: 16px; box-sizing: border-box;
}
.author-modal-card {
  background: rgba(8,16,46,0.78);
  backdrop-filter: var(--blur-md); -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--glass-border);
  width: 100%; max-width: 420px; border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 10px;
  max-height: 88vh;
}
#authorProfileContent {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 182, 255, 0.86) rgba(7, 12, 34, 0.62);
}
#authorProfileContent::-webkit-scrollbar {
  width: 10px;
}
#authorProfileContent::-webkit-scrollbar-track {
  background: rgba(7, 12, 34, 0.62);
  border-radius: 999px;
}
#authorProfileContent::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(170, 195, 255, 0.96), rgba(112, 144, 238, 0.95));
  border-radius: 999px;
  border: 2px solid rgba(7, 12, 34, 0.62);
  box-shadow: 0 0 10px rgba(145, 172, 255, 0.45);
}
#authorProfileContent::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(196, 215, 255, 1), rgba(132, 163, 250, 1));
}
.author-profile-box {
  background: rgba(255,255,255,0.05); border-radius: 14px; padding: 14px;
  border: 1px solid var(--glass-border);
  display: flex; flex-direction: column; align-items: center; position: relative;
}
.author-profile-toolbar {
  width: 100%; display: flex; justify-content: flex-start; align-items: center;
  min-height: 24px; margin-bottom: 4px;
}
.author-profile-toolbar-spacer { display: block; width: 1px; height: 1px; }
.author-profile-avatar {
  width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(129,140,248,0.5); margin-bottom: 10px;
  box-shadow: 0 0 16px rgba(129,140,248,0.3);
}
.author-profile-name  { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 5px; }
.author-profile-info  { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; font-weight: 700; }
.author-profile-bio   { font-size: 13px; color: var(--text-primary); margin-bottom: 10px; font-style: italic; opacity: 0.85; }
.match-bio            { font-size: 12px; color: rgba(221,230,248,0.75); margin: 4px 0 10px; font-style: italic; }
.author-profile-course{ font-size: 12px; color: var(--warn); margin-bottom: 10px; }
.author-profile-tags  { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 14px; min-height: 24px; }
.author-profile-tags .common-tag,
.common-tag {
  background: rgba(125,211,252,0.14); color: var(--accent-blue);
  padding: 4px 8px; border-radius: 12px; font-size: 12px;
  border: 1px solid rgba(125,211,252,0.24); display: inline-block;
}
.author-action-row { width: 100%; display: flex; gap: 10px; align-items: stretch; }
.author-status-note {
  width: 100%; box-sizing: border-box; margin-bottom: 12px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.05); color: var(--text-secondary);
  font-size: 12px; line-height: 1.5; border: 1px solid var(--glass-border);
}
.author-status-warn { background: rgba(251,191,36,0.1); color: var(--warn); border-color: rgba(251,191,36,0.24); }
.author-interest-btn {
  flex: 1; border: 1px solid rgba(248,113,113,0.35); border-radius: var(--radius-pill);
  padding: 10px 0; background: rgba(248,113,113,0.18);
  color: var(--danger); font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.author-interest-btn:hover { background: rgba(248,113,113,0.28); }
.author-interest-btn:disabled {
  background: rgba(255,255,255,0.04); color: var(--text-muted);
  cursor: not-allowed; border-color: var(--glass-border);
}
.author-block-btn {
  min-width: 58px; border: 1px solid var(--glass-border); border-radius: var(--radius-pill);
  padding: 4px 10px; background: rgba(255,255,255,0.07); color: var(--text-secondary);
  font-size: 12px; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.author-block-btn:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }
.action-neutral-btn       { color: var(--text-muted); }
.action-neutral-btn:hover { color: var(--text-secondary); }
.author-posts-section { width: 100%; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--glass-border); }
.author-posts-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.author-posts-list {
  display: flex; flex-direction: column; gap: 10px;
  max-height: 260px; overflow-y: auto; padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 182, 255, 0.82) rgba(7, 12, 34, 0.56);
}
.author-posts-list::-webkit-scrollbar {
  width: 9px;
}
.author-posts-list::-webkit-scrollbar-track {
  background: rgba(7, 12, 34, 0.56);
  border-radius: 999px;
}
.author-posts-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(164, 188, 255, 0.94), rgba(112, 144, 238, 0.9));
  border-radius: 999px;
  border: 2px solid rgba(7, 12, 34, 0.56);
}
.author-posts-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(189, 210, 255, 1), rgba(130, 160, 247, 1));
}
.author-post-item {
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  border-radius: 10px; padding: 10px 12px;
}
.author-post-time    { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.author-post-content { font-size: 13px; color: var(--text-secondary); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.author-post-image   { width: 100%; margin-top: 8px; border-radius: 8px; max-height: 180px; object-fit: cover; }
.author-posts-empty  { padding: 18px 10px; border-radius: 10px; background: rgba(255,255,255,0.04); color: var(--text-muted); font-size: 13px; text-align: center; }
.author-album-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.author-album-image  { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; border: 1px solid var(--glass-border); }
.post-author-clickable { cursor: pointer; }