/* ========== 全局样式 - 西交利物浦大学主题 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a3c6e;
  --primary-light: #2a5a9e;
  --primary-dark: #0f2440;
  --accent: #c4a35a;
  --accent-light: #d4b86a;
  --bg: #f0f2f5;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --text-light: #888899;
  --border: #e0e3e8;
  --shadow: 0 2px 8px rgba(26, 60, 110, 0.1);
  --radius: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #fce4ec 0%, #e8f5e9 33%, #e3f2fd 66%, #f3e5f5 100%);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: 70px;
  min-height: 100vh;
}



/* ========== 顶部导航 ========== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(26, 60, 110, 0.3);
}

.top-bar .title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.top-bar .title .xjtlu-badge {
  font-size: 10px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
  vertical-align: middle;
}

.top-bar .actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-bar .actions a,
.top-bar .actions button {
  color: white;
  text-decoration: none;
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.top-bar .actions a:hover,
.top-bar .actions button:hover {
  background: rgba(255,255,255,0.15);
}

/* ========== 底部导航（手机适配优化） ========== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
  display: flex;
  border-top: 1px solid var(--border);
  padding-bottom: var(--safe-bottom);
  padding-top: 4px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  /* 适配 iPhone 底部安全区 */
  padding-bottom: max(env(safe-area-inset-bottom, 0px), 4px);
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  padding: 4px 0 6px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 10px;
  transition: color 0.2s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.bottom-nav a:active {
  opacity: 0.6;
}

.bottom-nav a.active {
  color: var(--primary);
}

.bottom-nav a.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 3px 3px;
}

.bottom-nav a .nav-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 1px;
  line-height: 1.2;
}

/* ========== 页面容器 ========== */
.page-content {
  padding-top: 52px;
  padding-bottom: 10px;
}

/* ========== 卡片样式（圆润可爱风格） ========== */
.card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  margin: 14px 16px;
  padding: 18px 16px 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

/* 卡片底部小装饰圆点 */
.card::after {
  content: '';
  position: absolute;
  bottom: 8px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.3;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card:active {
  transform: scale(0.97);
}




.card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.card .card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.card .card-category {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  margin-left: 8px;
  font-weight: 600;
}

/* 美食标签 - 红色 */
.card-category.tag-food {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
}

/* 娱乐标签 - 蓝色 */
.card-category.tag-entertainment {
  background: rgba(52, 152, 219, 0.12);
  color: #3498db;
}

/* 卡片底部装饰圆点颜色 - 美食红色 */
.card:has(.tag-food)::after {
  background: #e74c3c;
}

/* 卡片底部装饰圆点颜色 - 娱乐蓝色 */
.card:has(.tag-entertainment)::after {
  background: #3498db;
}



.card .card-content {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card .card-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
  max-height: 300px;
  object-fit: cover;
}

.card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  padding-top: 10px;
  border-top: 1px dashed #e8e8e8;
}


.card .like-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.card .like-btn.liked {
  color: #e74c3c;
}

.card .like-btn:active {
  animation: heartBeat 0.4s ease;
}

/* 点赞心跳动画 */
@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* 金色星星 */
.star-gold {
  color: #f59f00;
  text-shadow: 0 0 4px rgba(245, 159, 0, 0.3);
}

/* 用户头像渐变圆底 */
.user-avatar-gradient {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.user-avatar-gradient:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.user-avatar-gradient:active {
  transform: scale(0.95);
}


.card .card-meta {
  display: flex;
  gap: 6px;
  align-items: center;
}

.user-avatar {
  font-size: 18px;
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background: rgba(26, 60, 110, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========== 表单样式 ========== */
.form-container {
  padding: 20px 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.btn-primary:active {
  opacity: 0.85;
  transform: scale(0.98);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:active {
  background: #e0e3e8;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== 分类标签 ========== */
.category-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.category-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ========== 排行榜 ========== */
.rank-header-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.rank-header-banner::before {
  content: 'XJTLU';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 60px;
  font-weight: 900;
  opacity: 0.08;
  letter-spacing: 4px;
}

.rank-header-banner .rank-icon {
  font-size: 36px;
  margin-bottom: 4px;
}

.rank-header-banner .rank-title-text {
  font-size: 18px;
  font-weight: 700;
}

.rank-header-banner .rank-subtitle {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.rank-1 { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #fff; }
.rank-2 { background: linear-gradient(135deg, #e0e0e0, #b0b0b0); color: #fff; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
.rank-other { background: var(--bg); color: var(--text-light); }

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-info .rank-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-info .rank-meta {
  font-size: 12px;
  color: var(--text-light);
}

.rank-likes {
  font-size: 14px;
  color: #e74c3c;
  font-weight: 600;
  white-space: nowrap;
}

/* ========== 卡片额外信息（推荐指数、价格等） ========== */
.card-extra {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  line-height: 1.6;
  border: 1px solid rgba(0, 0, 0, 0.04);
}


.daily-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  background: rgba(26, 60, 110, 0.08);
  color: var(--primary);
  font-size: 12px;
}

/* ========== 发布页额外字段 ========== */
.extra-fields {
  background: rgba(196, 163, 90, 0.06);
  border: 1px solid rgba(196, 163, 90, 0.15);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}

.extra-fields .extra-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.dine-type-select {
  display: flex;
  gap: 8px;
}

.dine-option {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 14px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  flex: 1;
  text-align: center;
}

.dine-option:active {
  transform: scale(0.95);
}

.dine-option.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.star-rating {
  display: flex;
  gap: 4px;
  font-size: 24px;
}


.star-rating .star {
  cursor: pointer;
  color: #ccc;
  transition: transform 0.15s, color 0.15s;
  user-select: none;
}

.star-rating .star:active {
  transform: scale(1.3);
}

.tag-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-option {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.tag-option:active {
  transform: scale(0.95);
}

.tag-option.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ========== 状态标签 ========== */
.status-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-approved {
  background: #d4edda;
  color: #155724;
}

.status-rejected {
  background: #f8d7da;
  color: #721c24;
}

/* ========== 空状态 ========== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 14px;
}

/* ========== 删除按钮 ========== */
.delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s;
  color: #e74c3c;
}
.delete-btn:hover {
  background: rgba(231, 76, 60, 0.1);
}
.delete-btn:active {
  transform: scale(0.9);
}

/* ========== Toast 提示 ========== */

.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 60, 110, 0.9);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 999;
  animation: toastIn 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ========== 加载动画 ========== */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

.loading::after {
  content: '...';
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* ========== 用户信息栏 ========== */
.user-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: white;
  margin: 0 16px 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.user-info-bar .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.user-info-bar .user-detail {
  flex: 1;
  margin-left: 12px;
}

.user-info-bar .user-detail .user-nickname {
  font-size: 15px;
  font-weight: 600;
}

.user-info-bar .user-detail .user-username {
  font-size: 12px;
  color: var(--text-light);
}

/* ========== 管理后台样式 ========== */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.admin-stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.admin-stat-card .stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.admin-stat-card .stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: var(--bg);
  font-weight: 600;
  position: sticky;
  top: 0;
}

.admin-actions {
  display: flex;
  gap: 6px;
}

.btn-sm {
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sm.approve {
  background: #27ae60;
  color: white;
}

.btn-sm.reject {
  background: #e74c3c;
  color: white;
}

.btn-sm.delete {
  background: #95a5a6;
  color: white;
}

/* ========== 用户标签气泡样式 ========== */
.user-tag-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, #c4a35a, #d4b86a);
  color: #1a3c6e;
  white-space: nowrap;
  line-height: 1.6;
  vertical-align: middle;
}

/* 已选标签徽章（我的页面） */
.tag-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--primary);
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.tag-badge:active {
  transform: scale(0.95);
  opacity: 0.8;
}

/* ========== 随机昵称按钮 ========== */
.random-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
}

.random-btn:active {
  background: var(--bg);
  transform: scale(0.95);
}

/* ========== 个人中心标签页 ========== */
.profile-tabs {
  display: flex;
  background: white;
  margin: 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-tab {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.profile-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ========== 西浦标识横幅 ========== */
.xjtlu-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 16px;
  text-align: center;
  color: white;
  margin: 0 16px 12px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.xjtlu-banner::after {
  content: 'XJTLU Taicang';
  position: absolute;
  bottom: -5px;
  right: -5px;
  font-size: 40px;
  font-weight: 900;
  opacity: 0.06;
  letter-spacing: 2px;
  pointer-events: none;
}

.xjtlu-banner .banner-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.xjtlu-banner .banner-sub {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ========== 弹窗遮罩层 ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 32px 24px 24px;
  width: 85%;
  max-width: 340px;
  text-align: center;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ========== 欢迎弹窗 ========== */
.welcome-modal .welcome-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.welcome-modal .welcome-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.welcome-modal .welcome-tips {
  text-align: left;
  margin-bottom: 24px;
}

.welcome-modal .welcome-tip {
  padding: 10px 14px;
  margin-bottom: 8px;
  background: #f8f9fb;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.welcome-modal .welcome-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 12px;
}

/* ========== 公告弹窗 ========== */
.announce-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.announce-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.announce-modal {
  background: white;
  border-radius: 16px;
  width: 88%;
  max-width: 380px;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.announce-modal.show {
  transform: scale(1) translateY(0);
}
.announce-header {
  background: linear-gradient(135deg, #1a3c6e, #0f2440);
  color: white;
  padding: 20px 20px 16px;
  border-radius: 16px 16px 0 0;
  text-align: center;
}
.announce-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
}
.announce-header h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}
.announce-body {
  padding: 16px 20px;
}
.announce-version {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-bottom: 14px;
}
.announce-item {
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  border-left: 3px solid #1a3c6e;
}
.announce-footer {
  padding: 12px 20px 20px;
  text-align: center;
}
.announce-btn {
  background: linear-gradient(135deg, #1a3c6e, #0f2440);
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.announce-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(26,60,110,0.3);
}
.announce-btn:active {
  transform: scale(0.95);
}

/* ========== 标签系统样式 ========== */
.tag-option {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  background: #f0f2f5;
  color: var(--text);
  border: 1px solid transparent;
  user-select: none;
}
.tag-option:hover {
  background: #e3e8f0;
  transform: scale(1.05);
}
.tag-option.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(26, 60, 110, 0.3);
}
.tag-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  background: var(--primary);
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.tag-badge:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
.user-tag-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 10px;
  background: rgba(26, 60, 110, 0.1);
  color: var(--primary);
  white-space: nowrap;
  line-height: 1.4;
}

/* ========== 响应式 ========== */
@media (min-width: 768px) {
  body {
    max-width: 480px;
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}


