/* ============================================================
   地球瓦片 · Earth Tiles
   风景主题 × 瓦罗兰所风格 设计系统
   主色: 瓦罗兰红 #ff4655 / 青碧 #00d4aa / 深夜蓝 #0d1220
   ============================================================ */

:root {
  --bg: #0d1220;
  --bg-2: #111a2e;
  --bg-3: #16213e;
  --panel: rgba(22, 33, 62, 0.72);
  --panel-solid: #16213e;
  --line: rgba(139, 147, 167, 0.18);
  --red: #ff4655;
  --red-dark: #d63a47;
  --teal: #00d4aa;
  --gold: #ffd700;
  --text: #ece8e1;
  --muted: #8b93a7;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 全局背景：暮色渐变 + 远山 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(255, 70, 85, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(0, 212, 170, 0.10), transparent 55%),
    linear-gradient(180deg, #0d1220 0%, #111a2e 45%, #0d1220 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

::selection { background: var(--red); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a3550; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ============ 顶部导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  height: 64px;
  background: rgba(13, 18, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  white-space: nowrap;
}

.nav-logo .logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), #ff7a5c);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  font-size: 18px;
}

.nav-logo .logo-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 3px;
  display: block;
  line-height: 1.1;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 7px 16px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  transition: all 0.2s;
}

.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--text); background: rgba(255, 70, 85, 0.15); box-shadow: inset 0 0 0 1px rgba(255, 70, 85, 0.35); }

.nav-user { display: flex; align-items: center; gap: 12px; }

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
  cursor: pointer;
  background: var(--bg-3);
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 26px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.2s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255, 70, 85, 0.45); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--teal); color: var(--teal); }

.btn-teal {
  background: linear-gradient(135deg, var(--teal), #00b08c);
  color: #06251e;
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0, 212, 170, 0.35); }

.btn-sm { padding: 6px 16px; font-size: 13px; }

/* ============ 页面容器 ============ */
.container { max-width: 1440px; margin: 0 auto; padding: 0 28px; }

.page { min-height: calc(100vh - 64px); }

/* ============ 首页 HERO ============ */
.hero {
  position: relative;
  padding: 96px 28px 150px;
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 170, 0.4);
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 28px;
  background: rgba(0, 212, 170, 0.08);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: 6px;
  line-height: 1.2;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--red) 20%, #ff9d7a 60%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin: 20px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 1px;
}

.hero-actions { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  margin: 56px auto 0;
  display: flex;
  justify-content: center;
  gap: clamp(30px, 6vw, 90px);
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.hero-stat:nth-child(2) .num { color: var(--red); }
.hero-stat:nth-child(3) .num { color: var(--gold); }
.hero-stat .label { color: var(--muted); font-size: 14px; letter-spacing: 3px; margin-top: 2px; }

/* 远山剪影 */
.hero-mountains {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  height: 180px;
  pointer-events: none;
  z-index: -1;
}

/* ============ 区块标题 ============ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 42px 0 22px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: "";
  width: 6px;
  height: 26px;
  background: linear-gradient(180deg, var(--red), var(--teal));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}

/* ============ 排序/筛选 ============ */
.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.tab {
  padding: 7px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.2s;
}
.tab:hover { color: var(--text); border-color: var(--muted); }
.tab.active { background: var(--red); border-color: var(--red); color: #fff; }

.search-box {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  gap: 8px;
}
.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  width: 160px;
}
.search-box input::placeholder { color: var(--muted); }

/* ============ 瀑布流 ============ */
.masonry {
  column-count: 4;
  column-gap: 18px;
  padding-bottom: 40px;
}
@media (max-width: 1200px) { .masonry { column-count: 3; } }
@media (max-width: 860px)  { .masonry { column-count: 2; } }
@media (max-width: 520px)  { .masonry { column-count: 1; } }

.tile-card {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  position: relative;
}

.tile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 70, 85, 0.4);
}

.tile-card .thumb { position: relative; overflow: hidden; background: #1c2540; }
.tile-card .thumb img { width: 100%; transition: transform 0.5s; }
.tile-card:hover .thumb img { transform: scale(1.05); }

.tile-card .loc-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(13, 18, 32, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 212, 170, 0.35);
  color: var(--teal);
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-card .body { padding: 14px 16px 12px; }

.tile-card .title {
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.tile-card .meta .avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-3);
}

.tile-card .meta .spacer { flex: 1; }
.tile-card .meta .stat { display: inline-flex; align-items: center; gap: 4px; }
.tile-card .meta .stat.liked { color: var(--red); }

/* ============ 空态/加载 ============ */
.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty .icon { font-size: 52px; margin-bottom: 14px; opacity: 0.6; }

.loading { text-align: center; padding: 34px; color: var(--muted); letter-spacing: 2px; }

.spinner {
  display: inline-block;
  width: 26px; height: 26px;
  border: 3px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ 表单 ============ */
.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(10px);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.form-group label .req { color: var(--red); margin-left: 2px; }

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(13, 18, 32, 0.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.12);
}
.form-textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ============ 登录页 ============ */
.auth-wrap {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 36px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
}

.auth-card h2 { font-size: 26px; font-weight: 800; letter-spacing: 3px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 28px; letter-spacing: 1px; }

.auth-links { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-links a { color: var(--teal); }
.auth-links a:hover { text-decoration: underline; }

.auth-error {
  display: none;
  background: rgba(255, 70, 85, 0.12);
  border: 1px solid rgba(255, 70, 85, 0.4);
  color: #ff8a94;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 18px;
}

.wlls-note {
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 212, 170, 0.07);
  border: 1px dashed rgba(0, 212, 170, 0.35);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}
.wlls-note b { color: var(--teal); font-weight: 600; }

/* ============ 第三方登录（与瓦罗兰所一致） ============ */
.divider {
  display: flex;
  align-items: center;
  margin: 26px 0 20px;
  color: rgba(236, 232, 225, 0.35);
  font-size: 12px;
  letter-spacing: 1px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}
.divider span { padding: 0 20px; }

.oauth-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.oauth-btn {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  color: #ece8e1;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.oauth-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.08));
  opacity: 0;
  transition: opacity 0.3s;
}
.oauth-btn:hover::before { opacity: 1; }
.oauth-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.oauth-btn.wechat { color: #07c160; }
.oauth-btn.qq { color: #12b7f5; }
.oauth-btn.weibo { color: #e6162d; }
.oauth-btn.douyin { color: #ffffff; }
.oauth-btn.riot { color: #ff4655; }

/* 协议勾选 */
.agree-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.agree-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.agree-label a { color: var(--teal); }
.agree-label a:hover { text-decoration: underline; }

/* ============ 上传页 ============ */
.upload-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 26px;
  padding: 34px 0 60px;
}
@media (max-width: 960px) { .upload-layout { grid-template-columns: 1fr; } }

.dropzone {
  border: 2px dashed rgba(139, 147, 167, 0.4);
  border-radius: var(--radius);
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(22, 33, 62, 0.4);
}
.dropzone:hover, .dropzone.dragover {
  border-color: var(--teal);
  background: rgba(0, 212, 170, 0.06);
}
.dropzone .dz-icon { font-size: 48px; margin-bottom: 12px; }
.dropzone .dz-text { color: var(--muted); font-size: 14px; line-height: 2; }
.dropzone .dz-text b { color: var(--text); font-size: 16px; }

.upload-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }

.upload-item {
  display: flex;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  align-items: center;
}
.upload-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.upload-item .info { flex: 1; min-width: 0; }
.upload-item .name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.upload-item .status { font-size: 13px; margin-top: 4px; }
.upload-item .status.ok { color: var(--teal); }
.upload-item .status.err { color: var(--red); }
.upload-item .status.ing { color: var(--gold); }

.progress {
  height: 5px;
  border-radius: 3px;
  background: rgba(139, 147, 167, 0.2);
  margin-top: 8px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--red));
  transition: width 0.3s;
}

/* ============ 详情页 ============ */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  padding: 30px 0 60px;
  align-items: start;
}
@media (max-width: 1000px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-photo {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-photo .img-wrap { background: #0a0e1a; text-align: center; }
.detail-photo .img-wrap img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; }
.detail-photo .caption { padding: 18px 22px; }
.detail-photo .caption h1 { font-size: 22px; font-weight: 800; }
.detail-photo .caption .desc { color: var(--muted); margin-top: 8px; font-size: 15px; white-space: pre-wrap; }

.side-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}

.author-box { display: flex; align-items: center; gap: 14px; }
.author-box img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); background: var(--bg-3); }
.author-box .name { font-weight: 700; font-size: 16px; }
.author-box .sig { color: var(--muted); font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }

.meta-list { list-style: none; margin-top: 4px; }
.meta-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.meta-list li:last-child { border-bottom: none; }
.meta-list .k { color: var(--muted); width: 70px; flex-shrink: 0; }
.meta-list .v { flex: 1; word-break: break-all; }

.action-row { display: flex; gap: 12px; margin-top: 4px; }
.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(13, 18, 32, 0.6);
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s;
}
.action-btn:hover { border-color: var(--red); }
.action-btn.active-like { background: rgba(255, 70, 85, 0.16); border-color: var(--red); color: var(--red); }
.action-btn.active-fav { background: rgba(255, 215, 0, 0.12); border-color: var(--gold); color: var(--gold); }

/* 评论区 */
.comment-box textarea { width: 100%; }

.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.comment-item:last-child { border-bottom: none; }
.comment-item img.c-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--bg-3); flex-shrink: 0; }
.comment-item .c-main { flex: 1; min-width: 0; }
.comment-item .c-head { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.comment-item .c-name { font-weight: 700; font-size: 14px; }
.comment-item .c-time { color: var(--muted); }
.comment-item .c-text { margin-top: 5px; font-size: 14.5px; word-break: break-word; }
.comment-item .c-ops { margin-top: 6px; font-size: 12.5px; }
.comment-item .c-ops a { color: var(--muted); margin-right: 14px; cursor: pointer; }
.comment-item .c-ops a:hover { color: var(--teal); }
.comment-item .c-ops a.danger:hover { color: var(--red); }

/* 相关照片横条 */
.related-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.related-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
}
.related-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-item:hover img { transform: scale(1.08); }
.related-item .rt {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 10px 8px;
  font-size: 12px;
  background: linear-gradient(transparent, rgba(13, 18, 32, 0.9));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ============ 地图页 ============ */
.map-wrap { position: relative; height: calc(100vh - 64px); }
#worldMap { width: 100%; height: 100%; }

.map-side {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  max-width: 300px;
}
.map-side h3 { font-size: 17px; letter-spacing: 2px; }
.map-side p { color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.7; }
.map-side .legend { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.map-side .legend i {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}

.map-tip {
  width: 210px;
}
.map-tip img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }
.map-tip .t { font-weight: 700; font-size: 13.5px; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-tip .l { color: #9fb3c8; font-size: 12px; margin-top: 3px; }
.map-tip .a { color: #9fb3c8; font-size: 12px; margin-top: 3px; }

/* ============ 用户中心 ============ */
.profile-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin: 30px 0 10px;
  flex-wrap: wrap;
}
.profile-card .p-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); background: var(--bg-3); }
.profile-card .p-name { font-size: 22px; font-weight: 800; }
.profile-card .p-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.profile-card .p-sub .badge-wlls {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  background: rgba(255, 70, 85, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 70, 85, 0.4);
  margin-right: 8px;
}
.profile-stats { display: flex; gap: 34px; margin-left: auto; }
.profile-stats .num { font-size: 26px; font-weight: 800; color: var(--teal); text-align: center; }
.profile-stats .label { font-size: 12px; color: var(--muted); text-align: center; letter-spacing: 2px; }

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
}
.footer a { color: var(--teal); }
.footer .f-title { color: var(--text); font-weight: 700; letter-spacing: 3px; margin-bottom: 6px; }

/* ============ Toast ============ */
.toast-wrap {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.toast {
  padding: 11px 24px;
  border-radius: 10px;
  background: rgba(22, 33, 62, 0.95);
  border: 1px solid var(--teal);
  color: var(--text);
  font-size: 14px;
  box-shadow: var(--shadow);
  animation: toastIn 0.25s ease;
  max-width: 80vw;
}
.toast.error { border-color: var(--red); color: #ff9aa4; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ============ 照片墙标记动画 ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp 0.45s ease both; }

/* 响应式导航 */
@media (max-width: 760px) {
  .nav { padding: 0 14px; gap: 10px; }
  .nav-links a { padding: 6px 10px; font-size: 13.5px; }
  .nav-logo { font-size: 16px; }
  .container { padding: 0 14px; }
  .hero { padding: 64px 16px 120px; }
}
