/* ============================================
   校园表白墙 - 主样式
   清新校园风：浅蓝/浅紫/奶白，圆角卡片，柔和阴影
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --pink: #ffb6c1;
  --purple: #c9a0dc;
  --blue: #a8d8ea;
  --green: #6bcb77;
  --green-dark: #4caf50;
  --cream: #fff9f5;
  --card-bg: rgba(255,255,255,0.85);
  --text: #333;
  --text-light: #999;
  --radius: 20px;
  --shadow: 0 4px 20px rgba(201,160,220,0.15);
}
html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #ffe4ec 0%, #e8d5f5 40%, #d4e8f7 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}
body.dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #e0e0e0;
  --card-bg: rgba(40,40,60,0.9);
  --text: #e0e0e0;
  --text-light: #888;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== 顶部导航 ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(135deg, rgba(255,182,193,0.9), rgba(201,160,220,0.9));
  backdrop-filter: blur(10px);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 0 0 24px 24px;
}
.topbar h1 { font-size: 20px; font-weight: 700; color: #333; }
body.dark .topbar h1 { color: #fff; }
.topbar .back-btn, .topbar .icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; color: #333;
}
.topbar .icon-btn .badge {
  position: absolute; top: -2px; right: -2px;
  background: #ff4757; color: #fff; font-size: 10px;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== 搜索框 ===== */
.search-box {
  margin: 12px 16px;
  background: rgba(255,255,255,0.9);
  border-radius: 25px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow);
}
.search-box input {
  flex: 1; border: none; background: transparent;
  font-size: 15px; outline: none; color: var(--text);
}
.search-box .search-icon { color: var(--text-light); font-size: 18px; }

/* ===== Tab切换 ===== */
.tabs {
  display: flex; padding: 8px 16px; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tabs .tab {
  padding: 8px 20px; border-radius: 20px;
  font-size: 15px; color: var(--text-light);
  white-space: nowrap; cursor: pointer; transition: all 0.3s;
  background: transparent; border: none;
}
.tabs .tab.active {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff; font-weight: 600;
  box-shadow: 0 2px 10px rgba(201,160,220,0.4);
}

/* ===== 公告滚动 ===== */
.marquee {
  margin: 8px 16px; padding: 8px 14px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px; display: flex; align-items: center; gap: 8px;
  overflow: hidden; font-size: 13px; color: #666;
}
.marquee .label { color: var(--purple); font-weight: 600; white-space: nowrap; }
.marquee .content { flex: 1; overflow: hidden; white-space: nowrap; }
.marquee .content span { display: inline-block; animation: scroll 15s linear infinite; padding-left: 100%; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ===== 瀑布流卡片 ===== */
.waterfall {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; padding: 12px 16px 100px;
}
.post-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 14px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  background-clip: padding-box;
  animation: fadeIn 0.4s ease;
}
.post-card::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  z-index: -1; opacity: 0.6;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(201,160,220,0.3); }
.post-card .post-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.post-card .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff;
}
.post-card .nickname { font-size: 14px; font-weight: 600; flex: 1; }
.post-card .more-btn { color: var(--text-light); cursor: pointer; font-size: 18px; }
.post-card .post-content {
  font-size: 15px; line-height: 1.5; margin-bottom: 10px;
  word-break: break-all; display: -webkit-box;
  -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .post-images {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px;
}
.post-card .post-images img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
}
.post-card .post-images .img-placeholder {
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  background: linear-gradient(135deg, #f0e6f7, #e8f4fd);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 20px;
}
.post-card .post-actions {
  display: flex; align-items: center; gap: 12px;
  padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.05);
}
.post-card .action-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  color: var(--text-light); font-size: 13px; padding: 4px;
}
.post-card .action-btn.liked { color: #ff6b81; }
.post-card .action-btn.favorited { color: #ffa502; }
.post-card .action-btn svg { width: 18px; height: 18px; }
.post-card .tag {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; margin-right: 4px;
}
.tag-anonymous { background: #f0e6f7; color: #9b59b6; }
.tag-top { background: #ffe4e1; color: #ff4757; }
.tag-essence { background: #fff4e0; color: #ffa502; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== 底部TabBar ===== */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
  border-radius: 20px 20px 0 0;
}
body.dark .tabbar { background: rgba(30,30,50,0.95); }
.tabbar .tab-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--text-light); font-size: 11px; cursor: pointer;
  padding: 4px 12px; background: none; border: none;
}
.tabbar .tab-item.active { color: var(--purple); }
.tabbar .tab-item svg { width: 24px; height: 24px; }
.tabbar .tab-center {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  margin-top: -24px; box-shadow: 0 4px 15px rgba(107,203,119,0.5);
  color: #fff; font-size: 28px; cursor: pointer; border: none;
}

/* ===== 通用卡片 ===== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px; margin: 12px 16px;
  box-shadow: var(--shadow);
}
.card-title {
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
}

/* ===== 好友列表 ===== */
.friend-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.friend-item:last-child { border-bottom: none; }
.friend-item .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.friend-item .info { flex: 1; }
.friend-item .name { font-size: 16px; font-weight: 600; }
.friend-item .name .divider { color: var(--purple); margin: 0 6px; }
.friend-item .sig { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.friend-item .meta { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.btn-msg {
  padding: 6px 16px; border-radius: 16px;
  border: 1.5px solid var(--purple); color: var(--purple);
  background: transparent; font-size: 13px; cursor: pointer;
}
.btn-accept {
  padding: 6px 16px; border-radius: 16px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff; border: none; font-size: 13px; cursor: pointer;
}
.btn-reject {
  padding: 6px 16px; border-radius: 16px;
  border: 1.5px solid #ddd; color: #999;
  background: transparent; font-size: 13px; cursor: pointer;
}

/* ===== 发布页 ===== */
.publish-textarea {
  width: 100%; min-height: 160px; border: none;
  background: transparent; font-size: 16px; resize: none;
  outline: none; color: var(--text); line-height: 1.6;
}
.publish-textarea::placeholder { color: var(--text-light); }
.image-upload-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 12px 0;
}
.image-upload-grid .upload-slot {
  aspect-ratio: 1; border: 2px dashed var(--green);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; cursor: pointer;
  background: rgba(107,203,119,0.05);
}
.image-upload-grid .upload-slot .plus {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.image-upload-grid .upload-slot.dashed { border-color: #ddd; }
.image-upload-grid .upload-slot.dashed .plus { background: transparent; color: #ccc; }
.image-upload-grid .img-preview {
  aspect-ratio: 1; border-radius: 12px; position: relative; overflow: hidden;
}
.image-upload-grid .img-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-upload-grid .img-preview .remove {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px;
  background: rgba(0,0,0,0.5); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; cursor: pointer;
}
.option-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin: 12px 0;
}
.option-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px; border-radius: 14px;
  background: rgba(255,255,255,0.6); cursor: pointer;
  font-size: 12px; color: var(--text); transition: all 0.2s;
  border: 2px solid transparent;
}
.option-item.active {
  border-color: var(--purple);
  background: rgba(201,160,220,0.15);
}
.option-item .icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.love-word-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0;
}
.love-word-chip {
  padding: 8px 16px; border-radius: 18px; font-size: 13px;
  cursor: pointer; transition: transform 0.2s;
}
.love-word-chip:hover { transform: scale(1.05); }
.love-word-chip:nth-child(odd) { background: linear-gradient(135deg, #e8d5f5, #d4e8f7); }
.love-word-chip:nth-child(even) { background: linear-gradient(135deg, #ffe4ec, #fff4e0); }
.love-word-chip:nth-child(3n) { background: linear-gradient(135deg, #e8f5e9, #d4e8f7); }

/* ===== 聊天列表 ===== */
.chat-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.2s;
}
.chat-list-item:hover { background: rgba(255,255,255,0.3); }
.chat-list-item .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.chat-list-item .info { flex: 1; min-width: 0; }
.chat-list-item .name { font-size: 16px; font-weight: 600; }
.chat-list-item .last-msg {
  font-size: 13px; color: var(--text-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}
.chat-list-item .right { text-align: right; }
.chat-list-item .time { font-size: 12px; color: var(--text-light); }
.chat-list-item .unread {
  display: inline-block; min-width: 18px; height: 18px; padding: 0 5px;
  background: #ff4757; color: #fff; font-size: 11px;
  border-radius: 9px; line-height: 18px; margin-top: 4px;
}

/* ===== 聊天室 ===== */
.chat-room {
  padding-bottom: 70px; min-height: 100vh;
}
.chat-messages {
  padding: 16px; display: flex; flex-direction: column; gap: 16px;
}
.msg-row { display: flex; gap: 8px; max-width: 80%; }
.msg-row.mine { align-self: flex-end; flex-direction: row-reverse; }
.msg-row .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.msg-bubble {
  padding: 10px 14px; border-radius: 16px;
  font-size: 15px; line-height: 1.5; word-break: break-all;
  position: relative;
}
.msg-row:not(.mine) .msg-bubble {
  background: rgba(255,255,255,0.9);
  border-top-left-radius: 4px;
}
.msg-row.mine .msg-bubble {
  background: linear-gradient(135deg, var(--purple), #b088d4);
  color: #fff; border-top-right-radius: 4px;
}
.msg-time { font-size: 11px; color: var(--text-light); text-align: center; margin: 8px 0; }
.msg-status { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.chat-input-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.chat-input-bar input {
  flex: 1; padding: 10px 14px; border-radius: 20px;
  border: none; background: #f5f5f5; font-size: 15px; outline: none;
}
.chat-input-bar .send-btn {
  padding: 10px 18px; border-radius: 20px; border: none;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff; font-size: 14px; cursor: pointer;
}

/* ===== 个人中心 ===== */
.profile-header {
  padding: 30px 20px; text-align: center;
  background: linear-gradient(135deg, rgba(255,182,193,0.3), rgba(201,160,220,0.3));
}
.profile-header .avatar {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 12px;
  border: 3px solid #fff; box-shadow: var(--shadow);
}
.profile-header .nickname { font-size: 20px; font-weight: 700; }
.profile-header .signature { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.profile-stats {
  display: flex; justify-content: center; gap: 30px;
  margin-top: 16px;
}
.profile-stats .stat { text-align: center; }
.profile-stats .num { font-size: 20px; font-weight: 700; color: var(--purple); }
.profile-stats .label { font-size: 12px; color: var(--text-light); }
.menu-list { margin: 12px 16px; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--card-bg);
  border-radius: 14px; margin-bottom: 8px; cursor: pointer;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.menu-item:hover { transform: translateX(4px); }
.menu-item .icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.menu-item .label { flex: 1; font-size: 15px; }
.menu-item .arrow { color: var(--text-light); }

/* ===== 创意专区 ===== */
.creative-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 16px;
}
.creative-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 4px; border-radius: 16px; cursor: pointer;
  transition: transform 0.2s; position: relative;
}
.creative-item:hover { transform: translateY(-3px); }
.creative-item .icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.creative-item .name { font-size: 13px; font-weight: 500; }
.creative-item .new-badge {
  position: absolute; top: 4px; right: 4px;
  background: linear-gradient(135deg, #ff6b81, #ff4757);
  color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 8px;
}
.creative-banners {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 0 16px 100px;
}
.creative-banner {
  border-radius: 16px; padding: 20px; min-height: 100px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; position: relative; overflow: hidden;
}
.creative-banner .title { font-size: 18px; font-weight: 700; color: #333; }
.creative-banner .hot-badge {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,71,87,0.9); color: #fff;
  font-size: 10px; padding: 2px 8px; border-radius: 8px;
}

/* ===== 弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 200; display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s;
}
.modal-box {
  background: #fff; border-radius: 20px; padding: 24px;
  width: 85%; max-width: 360px; animation: slideUp 0.3s;
}
body.dark .modal-box { background: #2a2a40; color: #e0e0e0; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions button {
  flex: 1; padding: 10px; border-radius: 12px; border: none;
  font-size: 15px; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
}
.btn-secondary { background: #f0f0f0; color: #666; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text-light); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #eee; font-size: 15px; outline: none;
  background: rgba(255,255,255,0.8); color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--purple); }
.btn-block {
  width: 100%; padding: 14px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
  margin-top: 8px;
}

/* ===== 加载动画 ===== */
.loading {
  display: flex; justify-content: center; padding: 30px;
}
.loading .spinner {
  width: 30px; height: 30px; border: 3px solid rgba(201,160,220,0.3);
  border-top-color: var(--purple); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pull-refresh {
  text-align: center; padding: 12px; color: var(--text-light);
  font-size: 13px;
}

/* ===== 音乐播放器 ===== */
.music-player {
  position: fixed; bottom: 80px; right: 16px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; box-shadow: 0 4px 15px rgba(201,160,220,0.4);
  font-size: 20px;
}
.music-player.playing { animation: spin 4s linear infinite; }

/* ===== Toast ===== */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75); color: #fff; padding: 12px 24px;
  border-radius: 12px; font-size: 14px; z-index: 999;
  animation: fadeIn 0.2s;
}

/* ===== 后台样式 ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px; background: linear-gradient(180deg, #2a2a4a, #1a1a3a);
  color: #fff; padding: 20px 0; flex-shrink: 0;
}
.admin-sidebar .logo {
  font-size: 18px; font-weight: 700; text-align: center;
  padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar .menu-item {
  display: block; padding: 12px 24px; color: rgba(255,255,255,0.7);
  cursor: pointer; transition: all 0.2s; font-size: 14px;
}
.admin-sidebar .menu-item:hover, .admin-sidebar .menu-item.active {
  background: rgba(255,255,255,0.1); color: #fff;
  border-left: 3px solid var(--purple);
}
.admin-main { flex: 1; padding: 24px; background: #f5f5fa; overflow-x: auto; }
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.admin-header h2 { font-size: 22px; }
.admin-card {
  background: #fff; border-radius: 12px; padding: 20px;
  margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 20px;
}
.stat-card {
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.stat-card .num { font-size: 28px; font-weight: 700; color: var(--purple); }
.stat-card .label { font-size: 13px; color: #999; margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 12px; text-align: left; border-bottom: 1px solid #eee;
  font-size: 14px;
}
.admin-table th { background: #f9f9fc; font-weight: 600; color: #666; }
.admin-table tr:hover { background: #f9f9fc; }
.admin-btn {
  padding: 6px 14px; border-radius: 8px; border: none;
  font-size: 13px; cursor: pointer; margin-right: 6px;
}
.admin-btn.danger { background: #ff4757; color: #fff; }
.admin-btn.warning { background: #ffa502; color: #fff; }
.admin-btn.info { background: var(--purple); color: #fff; }
.admin-btn.default { background: #f0f0f0; color: #666; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px;
}
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-info { background: #d1ecf1; color: #0c5460; }

/* 响应式 */
@media (max-width: 480px) {
  .waterfall { gap: 10px; padding: 10px 12px 100px; }
  .post-card { padding: 12px; }
  .creative-grid { gap: 8px; }
  .creative-item .icon { width: 42px; height: 42px; font-size: 22px; }
}
