/* ===== 心动告白 · 相亲者端（网页版） 苹果简约风 ===== */
:root {
  /* 设计令牌 */
  --accent:        #0A84FF;
  --accent-deep:   #0066CC;
  --accent-soft:   #E8F2FF;
  --accent-gray:   #5AC8FA;

  --success:       #34C759;
  --warning:       #FF9500;
  --danger:        #FF3B30;
  --rose:          #FF375F;
  --rose-deep:     #E01B45;
  --purple:        #AF52DE;

  --ink:           #1D1D1F;
  --ink-soft:      #6E6E73;
  --ink-tertiary:  #AEAEB2;

  --bg:            #F5F5F7;
  --card:          #FFFFFF;
  --line:          #E5E5EA;
  --line-soft:     #F2F2F7;

  --radius:        18px;
  --radius-sm:     12px;
  --radius-lg:     26px;

  --shadow-sm:     0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.04);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.08), 0 24px 64px rgba(0,0,0,0.06);

  --page-max:      1400px;
  --nav-h:         62px;
  --safe-b:        env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
               "Helvetica Neue", "Microsoft YaHei", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 8% -12%, rgba(10,132,255,0.07), transparent 60%),
    radial-gradient(900px 520px at 100% 108%, rgba(255,55,95,0.05), transparent 55%),
    var(--bg);
  min-height: 100vh;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ===== 统一图标组件 ===== */
.x-icon { display: inline-flex; align-items: center; justify-content: center; vertical-align: -0.15em; line-height: 0; flex: none; }
.x-icon svg { display: block; }

/* ===== 统一按钮系统（Apple 风格） ===== */
.btn, .btn-primary, .btn-rose, .btn-soft, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 20px; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer;
  color: #fff; background: var(--ink);
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, filter .18s ease, opacity .18s ease;
  -webkit-tap-highlight-color: transparent; white-space: nowrap; user-select: none;
}
.btn:hover, .btn-primary:hover, .btn-rose:hover, .btn-soft:hover, .btn-ghost:hover { filter: brightness(1.04); }
.btn:active, .btn-primary:active, .btn-rose:active, .btn-soft:active, .btn-ghost:active { transform: scale(0.97); }
.btn:focus-visible, .btn-primary:focus-visible, .btn-rose:focus-visible, .btn-soft:focus-visible, .btn-ghost:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(10,132,255,0.32); }
.btn:disabled, .btn[disabled],
.btn-primary:disabled, .btn-rose:disabled, .btn-soft:disabled, .btn-ghost:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-deep)); box-shadow: 0 6px 18px rgba(10,132,255,0.30); }
.btn-rose { background: linear-gradient(180deg, var(--rose), var(--rose-deep)); box-shadow: 0 6px 18px rgba(255,55,95,0.30); }
.btn-soft { background: var(--line-soft); color: var(--ink); }
.btn-soft:hover { background: #E9E9EE; filter: none; }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 0.5px solid var(--line); }
.btn-ghost:hover { background: var(--line-soft); color: var(--ink); filter: none; }
.btn .x-icon { margin-right: 1px; }

/* 选择器 / 输入框聚焦态统一视觉语言 */
input:focus, textarea:focus, select:focus { outline: none; }
::selection { background: rgba(10,132,255,0.22); }

/* ===== 顶部导航 ===== */
.topnav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 28px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}
.topnav .logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em;
  white-space: nowrap; cursor: pointer;
}
.topnav .logo .mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gray));
  box-shadow: 0 3px 10px rgba(10,132,255,0.3);
}
.topnav .links { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.topnav .links::-webkit-scrollbar { display: none; }
.topnav .links a {
  padding: 8px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.topnav .links a:hover { color: var(--ink); background: var(--line-soft); }
.topnav .links a.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.topnav .links a .dot {
  display: inline-block; margin-left: 5px; min-width: 15px; height: 15px; line-height: 15px;
  border-radius: 8px; background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700; text-align: center; padding: 0 4px; vertical-align: 1px;
}
.topnav .right { display: flex; align-items: center; gap: 12px; }
.topnav .user {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 12px 5px 5px; border-radius: 22px;
  background: var(--line-soft); cursor: pointer;
  transition: background 0.15s ease;
}
.topnav .user:hover { background: #E9E9EE; }
.topnav .user .av {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gray));
}
.topnav .user .nm { font-size: 13px; font-weight: 600; white-space: nowrap; }
.topnav .logout {
  border: none; background: transparent; color: var(--ink-soft);
  font-size: 13px; cursor: pointer; padding: 6px 10px; border-radius: 8px;
}
.topnav .logout:hover { color: var(--danger); background: rgba(255,59,48,0.08); }

/* ===== 页面容器 ===== */
.page {
  width: 100%; max-width: var(--page-max);
  margin: 0 auto; padding: 26px 28px 60px;
}
.page-head { margin-bottom: 22px; }
.page-head h1 {
  margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 10px;
}
.page-head .sub { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.page-head .sub b { color: var(--accent); font-weight: 600; }

.section-title {
  font-size: 15px; font-weight: 700; margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px; letter-spacing: -0.01em;
}
.section-title .dot {
  width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
}

/* ===== 卡片 ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  border: 0.5px solid var(--line);
}

/* ===== 推荐页布局 ===== */
.discover-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 26px; align-items: start; }

.filter-panel { position: sticky; top: calc(var(--nav-h) + 20px); }
.filter-panel .card { padding: 18px; }
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-note {
  margin-top: 16px; padding: 11px 13px; border-radius: 10px;
  background: rgba(255, 55, 95, 0.07);
  font-size: 12.5px; line-height: 1.7; color: var(--ink-soft);
}
.filter-note b { color: var(--rose); font-weight: 700; }
.filter-group > label {
  display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft);
  margin-bottom: 9px; letter-spacing: 0.04em; text-transform: uppercase;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 7px 14px; border-radius: 9px;
  background: var(--line-soft); border: 0.5px solid transparent;
  font-size: 13px; cursor: pointer; color: var(--ink-soft); font-weight: 500;
  transition: all 0.15s ease; user-select: none;
}
.chip:hover { background: #E9E9EE; color: var(--ink); }
.chip.active {
  background: var(--ink); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.chip.accent.active { background: var(--accent); box-shadow: 0 3px 10px rgba(10,132,255,0.28); }

.text-input {
  width: 100%; border: 0.5px solid var(--line); border-radius: 10px;
  padding: 10px 13px; font-size: 14px; outline: none; background: #FAFAFC; color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.text-input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(10,132,255,0.13); }

.result-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 12px; flex-wrap: wrap;
}
.result-bar .cnt { font-size: 13px; color: var(--ink-soft); }
.result-bar .cnt b { color: var(--ink); font-weight: 700; }

/* ===== 候选人卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 20px;
}
.pcard {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; border: 0.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s cubic-bezier(.2,.8,.3,1), box-shadow 0.22s ease;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard .cover {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(400px 220px at 50% 26%, rgba(10,132,255,0.10), transparent 62%),
    linear-gradient(135deg, var(--accent-soft), #F0EFF4);
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pcard .cover img { width: 100%; height: 100%; object-fit: cover; }
.pcard .cover .av-lg {
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-gray));
  box-shadow: 0 10px 30px rgba(10,132,255,0.3), 0 2px 8px rgba(0,0,0,0.06);
  letter-spacing: -0.03em;
}
.pcard .cover .ribbon {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  color: var(--accent); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 8px;
  border: 0.5px solid rgba(0,0,0,0.06);
}
.pcard .cover .ribbon.fav { color: var(--rose); }
.pcard .cover .peek {
  position: absolute; inset: auto 0 0 0;
  display: flex; gap: 8px; padding: 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.42));
  opacity: 0; transition: opacity 0.2s ease;
}
.pcard:hover .cover .peek { opacity: 1; }
.pcard .cover .peek button {
  flex: 1; height: 34px; border: none; border-radius: 9px;
  background: rgba(255,255,255,0.94); color: var(--ink);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: transform 0.12s ease, background 0.15s;
}
.pcard .cover .peek button:hover { background: #fff; }
.pcard .cover .peek button:active { transform: scale(0.96); }

.pcard .body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.pcard .nm-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.pcard .nm { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.pcard .age { font-size: 13px; color: var(--ink-soft); }
.pcard .line1 { font-size: 13px; color: var(--ink-soft); margin-top: 5px; line-height: 1.5; }
.pcard .line2 { font-size: 12px; color: var(--ink-tertiary); margin-top: 3px; line-height: 1.5; }
.pcard .intro {
  font-size: 12.5px; color: var(--ink-soft); margin-top: 9px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard .foot { margin-top: auto; padding-top: 13px; display: flex; gap: 8px; }
.pcard .foot button {
  flex: 1; height: 36px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: var(--line-soft);
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.pcard .foot button:hover { background: #E9E9EE; color: var(--ink); }
.pcard .foot button:active { transform: scale(0.96); }
.pcard .foot button.primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep)); color: #fff;
  box-shadow: 0 4px 12px rgba(10,132,255,0.28);
}
.pcard .foot button.primary:hover { filter: brightness(1.06); }
.pcard .foot button.on { background: rgba(255,55,95,0.1); color: var(--rose); }

.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.tag {
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 11.5px; padding: 3px 9px; border-radius: 7px; font-weight: 500;
  letter-spacing: 0.01em;
}
.tag.warm { background: rgba(255,149,0,0.12); color: #B26A00; }

/* ===== 分页 ===== */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.pager button {
  min-width: 36px; height: 36px; padding: 0 13px;
  border-radius: 10px; border: 0.5px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 500; color: var(--ink-soft); cursor: pointer;
  transition: all 0.15s ease;
}
.pager button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pager button:disabled { opacity: 0.42; cursor: not-allowed; }
.pager button.cur { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.pager .info { font-size: 13px; color: var(--ink-soft); padding: 0 8px; }

/* ===== 右侧抽屉（详情 / 聊天） ===== */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(3px);
  animation: fadeIn .2s ease;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(520px, 100%);
  background: var(--bg);
  box-shadow: -20px 0 60px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
  animation: slideIn .28s cubic-bezier(.2,.85,.3,1);
}
.drawer-head {
  height: var(--nav-h); flex-shrink: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 0 18px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 0.5px solid var(--line);
}
.drawer-head .back { cursor: pointer; font-size: 24px; line-height: 1; color: var(--accent); width: 24px; }
.drawer-head .t { flex: 1; min-width: 0; }
.drawer-head .t1 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.drawer-head .t2 { font-size: 11px; color: var(--ink-soft); margin-top: 1px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideIn { from { transform: translateX(100%) } to { transform: translateX(0) } }

/* 详情抽屉内容 */
.detail-hero {
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-soft), #F0EFF4);
  position: relative; box-shadow: var(--shadow-md);
}
.detail-hero img { width: 100%; height: 320px; object-fit: cover; display: block; }
.detail-hero .av-lg {
  width: 132px; height: 132px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 50px; font-weight: 700; color: #fff; margin: 44px auto;
  background: linear-gradient(135deg, var(--accent), var(--accent-gray));
  box-shadow: 0 14px 44px rgba(10,132,255,0.32);
}
.detail-photos { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; margin-bottom: 14px; }
.detail-photos img { width: 108px; height: 138px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.detail-kv { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 0.5px solid var(--line); font-size: 14px; }
.detail-kv:last-child { border-bottom: none; }
.detail-kv .k { color: var(--ink-soft); }
.detail-kv .v { font-weight: 500; text-align: right; }
.detail-actions { display: flex; gap: 10px; margin: 16px 0 30px; }
.detail-actions button {
  flex: 1; height: 46px; border-radius: 13px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600;
  transition: transform 0.12s ease, opacity 0.15s ease;
}
.detail-actions button:active { transform: scale(0.97); opacity: 0.9; }
.btn-ghost { background: var(--line-soft) !important; color: var(--ink) !important; }
.btn-rose { background: linear-gradient(180deg, var(--rose), var(--rose-deep)) !important; box-shadow: 0 6px 20px rgba(255,55,95,0.3); }
.btn-blue { background: linear-gradient(180deg, var(--accent), var(--accent-deep)) !important; box-shadow: 0 6px 20px rgba(10,132,255,0.32); }

/* ===== 聊天 ===== */
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; }
.bubble-row { display: flex; margin-bottom: 12px; }
.bubble-row.me { justify-content: flex-end; }
.bubble {
  max-width: 76%; padding: 10px 14px; border-radius: 18px;
  font-size: 14px; line-height: 1.55;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  word-break: break-word;
}
.bubble-row.them .bubble { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; border: 0.5px solid var(--line); }
.bubble-row.me .bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.chat-input {
  flex-shrink: 0; display: flex; gap: 10px; padding: 12px 14px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(18px);
  border-top: 0.5px solid var(--line);
}
.chat-input input {
  flex: 1; border: none; background: var(--line-soft);
  border-radius: 18px; padding: 10px 16px; font-size: 14px; outline: none;
  transition: background 0.15s;
}
.chat-input input:focus { background: #EFEFF4; }
.chat-input button {
  border: none; background: var(--accent); color: #fff;
  border-radius: 18px; padding: 0 22px; font-weight: 600; cursor: pointer;
  transition: transform 0.12s, opacity 0.15s;
}
.chat-input button:active { transform: scale(0.95); opacity: 0.9; }

/* ===== 列表项 ===== */
.list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; background: var(--card);
  border-radius: var(--radius-sm); margin-bottom: 9px;
  border: 0.5px solid var(--line); cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s;
}
.list-item:hover { border-color: rgba(10,132,255,0.35); box-shadow: var(--shadow-sm); }
.list-item:active { transform: scale(0.995); }
.list-item .meta-col { flex: 1; min-width: 0; }
.list-item .t1 { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.list-item .t2 { color: var(--ink-soft); font-size: 12.5px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .arrow { color: var(--ink-tertiary); font-size: 18px; }

.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 18px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-gray));
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ===== 通用两栏（消息 / 活动 / 我的） ===== */
.split { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 24px; align-items: start; }
.side-panel { position: sticky; top: calc(var(--nav-h) + 20px); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }

/* ===== 活动卡片 ===== */
.act-card .act-cover {
  height: 112px; border-radius: var(--radius-sm);
  background:
    radial-gradient(300px 150px at 50% 30%, rgba(175,82,222,0.14), transparent 60%),
    linear-gradient(135deg, var(--accent-soft), #F0EFF4);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; margin-bottom: 12px;
}
.act-card .act-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.act-card .act-meta { color: var(--ink-soft); font-size: 12.5px; margin-top: 7px; line-height: 1.7; }
.act-card .act-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; }
.act-status { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 9px; }
.act-status.open { background: rgba(52,199,89,0.13); color: #248A3D; }
.act-status.closed { background: var(--line-soft); color: var(--ink-tertiary); }

/* ===== 我的 ===== */
.me-hero {
  background:
    radial-gradient(460px 220px at 0% 50%, rgba(10,132,255,0.22), transparent 62%),
    linear-gradient(135deg, #1D1D1F 0%, #424245 100%);
  border-radius: var(--radius-lg); color: #fff; padding: 26px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow-md); margin-bottom: 20px;
}
.me-hero .avatar-big {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; border: 0.5px solid rgba(255,255,255,0.3);
  flex-shrink: 0; background-size: cover;
}
.me-hero .hm { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.me-hero .hm-sub { opacity: 0.9; font-size: 13.5px; margin-top: 5px; }
.me-hero .stat-row { display: flex; gap: 26px; margin-left: auto; }
.me-hero .stat { text-align: right; }
.me-hero .stat .n { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.me-hero .stat .l { font-size: 11.5px; opacity: 0.78; margin-top: 2px; }

.menu-list { display: grid; gap: 9px; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; background: var(--card);
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--line);
  cursor: pointer; font-weight: 500; font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.menu-item:hover { border-color: rgba(10,132,255,0.32); box-shadow: var(--shadow-sm); }
.menu-item:active { transform: scale(0.995); }
.menu-item .mi-ico { width: 30px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.menu-item .mi-arrow { margin-left: auto; color: var(--ink-tertiary); }

/* ===== 登录（网页端分栏） ===== */
.login-page {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr;
}
.login-brand {
  background:
    radial-gradient(700px 420px at 22% 18%, rgba(10,132,255,0.36), transparent 62%),
    radial-gradient(600px 380px at 78% 84%, rgba(255,55,95,0.26), transparent 60%),
    linear-gradient(150deg, #1D1D1F 0%, #2C2C2E 55%, #3A3A3C 100%);
  color: #fff; padding: 56px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.login-brand::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 80% 12%, rgba(255,255,255,0.09), transparent 60%);
  pointer-events: none;
}
.login-brand .mark {
  width: 52px; height: 52px; border-radius: 16px; font-size: 25px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.24);
}
.login-brand h1 {
  font-size: 44px; margin: 0 0 14px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.12;
}
.login-brand .lg-main { display: block; }
.login-brand .lg-sub {
  display: block; margin-top: 12px;
  font-size: 27px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35;
  opacity: 0.82;
}
.login-brand p { font-size: 17px; opacity: 0.82; margin: 0; line-height: 1.7; max-width: 400px; }
.login-brand .feats { display: flex; flex-direction: column; gap: 13px; margin-top: 34px; }
.login-brand .feat { display: flex; align-items: center; gap: 11px; font-size: 14.5px; opacity: 0.9; }
.login-brand .feat .ic {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  background: rgba(255,255,255,0.13); border: 0.5px solid rgba(255,255,255,0.2);
}
.login-panel { display: flex; align-items: center; justify-content: center; padding: 40px 32px; background: var(--bg); }
.login-form { width: 100%; max-width: 400px; }
.login-form h2 { font-size: 27px; margin: 0 0 6px; font-weight: 800; letter-spacing: -0.03em; }
.login-form .lead { color: var(--ink-soft); font-size: 14px; margin: 0 0 24px; }
.login-tabs { display: flex; margin-bottom: 22px; background: var(--line-soft); border-radius: 11px; padding: 4px; }
.login-tabs .lt {
  flex: 1; text-align: center; padding: 9px; border-radius: 9px;
  font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: all 0.15s ease; font-size: 14px;
}
.login-tabs .lt.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 7px; font-weight: 500; }
.field input {
  width: 100%; border: 0.5px solid var(--line); border-radius: 11px;
  padding: 13px 14px; font-size: 15px; outline: none;
  background: #FAFAFC; color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(10,132,255,0.14); }
.login-btn {
  width: 100%; border: none; border-radius: 13px; padding: 14px;
  font-size: 15.5px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  cursor: pointer; margin-top: 8px;
  box-shadow: 0 6px 20px rgba(10,132,255,0.32);
  transition: transform 0.12s, box-shadow 0.15s, opacity 0.15s;
  letter-spacing: -0.01em;
}
.login-btn:active { transform: scale(0.98); opacity: 0.9; }
.login-tip { text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 18px; line-height: 1.8; }
.login-tip a { color: var(--accent); text-decoration: none; font-weight: 500; cursor: pointer; }
.login-tip a:hover { text-decoration: underline; }

/* ===== 空态 / 加载 ===== */
.empty { text-align: center; color: var(--ink-soft); padding: 60px 20px; }
.empty .e-ico { display: flex; justify-content: center; color: var(--ink-tertiary); opacity: 0.7; }
.empty .e-txt { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.spin-pad { padding: 60px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.spin-pad::after {
  content: ''; display: block; margin: 14px auto 0;
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid var(--line); border-top-color: var(--accent);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ===== Element Plus 覆盖 ===== */
.el-dialog { border-radius: 16px !important; }
.el-dialog__header { padding: 20px 24px 10px !important; margin-right: 0 !important; }
.el-dialog__body { padding: 12px 24px 4px !important; }
.el-dialog__footer { padding: 14px 24px 20px !important; }
.el-button { border-radius: 9px !important; }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}
@media (max-width: 900px) {
  .discover-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
}
@media (max-width: 860px) {
  .login-page { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .login-brand {
    padding: 18px 22px; gap: 13px;
    flex-direction: row; align-items: center; justify-content: flex-start;
  }
  .login-brand h1 { font-size: 21px; margin: 0; }
  .login-brand .lg-sub { display: none; }
  .login-brand p, .login-brand .feats, .login-brand > div:last-child { display: none; }
  .login-brand .mark { width: 38px; height: 38px; font-size: 18px; border-radius: 12px; }
}
/* ===== 会员到期提醒 ===== */
.vip-tip {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  padding: 13px 16px; border-radius: 14px; background: var(--accent-soft);
}
.vip-tip .vi { font-size: 22px; }
.vip-tip .vt { flex: 1; min-width: 0; }
.vip-tip .vt-t { font-size: 14px; font-weight: 700; color: var(--ink); }
.vip-tip .vt-s { margin-top: 3px; font-size: 12px; color: var(--ink-soft); }
.vip-tip .vip-btn {
  flex: none; padding: 8px 16px; border: none; border-radius: 10px; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
}
.vip-tip.warn { background: rgba(255, 149, 0, 0.14); }
.vip-tip.warn .vt-t { color: #B26A00; }
.vip-tip.expired { background: rgba(255, 55, 95, 0.12); }
.vip-tip.expired .vt-t { color: var(--rose-deep); }
.vip-tip.expired .vip-btn { background: var(--rose); }
.vip-tip.never { background: linear-gradient(135deg, rgba(255,55,95,0.1), rgba(255,164,92,0.14)); }
.vip-warn { color: var(--rose) !important; font-weight: 600; }
.form-sec {
  margin: 14px 0 10px; padding-bottom: 6px; border-bottom: 0.5px solid var(--line-soft);
  font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.02em;
}
.form-sec:first-child { margin-top: 0; }

/* ===== 资料卡（朋友圈样式） ===== */
.poster-card {
  position: relative; padding: 26px 24px 22px; overflow: hidden;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--rose), #FFA45C) 1;
}
.poster-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.poster-head-txt { min-width: 0; }
.poster-title { font-size: 27px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.poster-sub { margin-top: 5px; font-size: 13.5px; color: var(--ink-soft); }
.poster-avatar {
  flex: none; width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 30px; font-weight: 800; overflow: hidden;
}
.poster-avatar img { width: 100%; height: 100%; object-fit: cover; }
.poster-rows { margin-top: 18px; padding-top: 16px; border-top: 0.5px solid var(--line-soft); }
.poster-row { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; font-size: 14.5px; line-height: 1.6; }
.poster-row .ri { flex: none; font-size: 16px; line-height: 1.5; }
.poster-row .rl { flex: none; color: var(--ink-tertiary); }
.poster-row .rv { color: var(--ink); word-break: break-word; }
.poster-req {
  margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(124, 77, 255, 0.09); color: #6B3FE0;
  font-size: 14px; line-height: 1.7; font-weight: 500;
}
.poster-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-tertiary); }
.poster-wm {
  position: absolute; left: 50%; top: 62%; transform: translate(-50%, -50%) rotate(-20deg);
  font-size: 26px; font-weight: 800; color: rgba(224, 52, 74, 0.13);
  white-space: nowrap; pointer-events: none;
}
.poster-foot {
  margin-top: 18px; padding-top: 14px; border-top: 0.5px solid var(--line-soft);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.poster-actions { display: flex; gap: 10px; margin-top: 18px; }
.poster-btn-main, .poster-btn-ghost {
  flex: 1; margin: 0 !important; padding: 12px !important; font-size: 15px !important; box-shadow: none !important;
}
.poster-btn-ghost { background: var(--line-soft) !important; color: var(--ink) !important; }

@media (max-width: 720px) {
  .topnav { padding: 0 16px; gap: 14px; }
  .topnav .logo span:not(.mark) { display: none; }
  .page { padding: 18px 16px 48px; }
  .page-head h1 { font-size: 22px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .me-hero { flex-wrap: wrap; }
  .me-hero .stat-row { margin-left: 0; width: 100%; justify-content: space-between; }
  .me-hero .stat { text-align: left; }
  .el-dialog { width: calc(100vw - 28px) !important; }
  .el-drawer { width: calc(100vw - 20px) !important; }
}
