/* 兽瑞 · 全局样式（含标签系统） */

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Comic Sans MS', '幼圆', 'Yuanti SC', sans-serif; }

body {
  background: #fff3e6;
  background-image: radial-gradient(circle at 20% 30%, #ffe7d1 0%, #ffd9b5 80%);
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 2rem 1rem;
}

.fluff-ball {
  position: fixed; width: 150px; height: 150px;
  background: #f7d9aa; border-radius: 50%;
  filter: blur(40px); opacity: 0.4; z-index: 0; pointer-events: none;
}
.fluff-ball:nth-child(1) { top: -30px; left: -30px; }
.fluff-ball:nth-child(2) { bottom: -50px; right: -20px; width: 200px; height: 200px; background: #eac28b; }

.container {
  max-width: 1200px; width: 100%;
  background: rgba(255, 250, 240, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 48px 48px 32px 32px;
  box-shadow: 0 20px 40px rgba(160, 100, 40, 0.15), 0 8px 20px rgba(120, 70, 20, 0.1);
  border: 2px solid #ffe3c9;
  padding: 2rem; position: relative; z-index: 2;
}

/* ===== 头部 ===== */
.header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 1.8rem; gap: 1rem;
}
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 3rem; filter: drop-shadow(0 8px 6px rgba(180,120,50,0.2)); }
.logo-text h1 { font-size: 2.5rem; font-weight: 700; color: #5e3c1f; letter-spacing: 2px; text-shadow: 3px 3px 0 #f7e1c1; line-height: 1.1; }
.logo-text p { font-size: 1rem; color: #a67b4c; font-style: italic; padding-left: 6px; }

.nav-links {
  display: flex; gap: 1.2rem; align-items: center;
  background: #fbe9d8; padding: 0.7rem 1.5rem; border-radius: 60px;
  border: 1px solid #f3cfaa;
  box-shadow: inset 0 2px 5px #f0d7bb, 0 5px 10px rgba(150,100,50,0.1);
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none; color: #7a5a38; font-weight: 600;
  padding: 0.4rem 0.8rem; border-radius: 30px; transition: all 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.nav-links a:hover { background: #edcba7; color: #3f2c18; transform: translateY(-2px); box-shadow: 0 6px 10px rgba(160,120,70,0.15); }
.nav-links a.active { background: #dbb185; color: #2f1f0e; box-shadow: 0 4px 8px rgba(140,90,30,0.2); }
.user-badge {
  display: flex; align-items: center; gap: 8px;
  background: #f8e5d2; border-radius: 40px;
  padding: 0.3rem 1rem 0.3rem 0.6rem; border: 1px solid #ebcbaa; text-decoration: none;
}
.user-badge .avatar { font-size: 1.8rem; }
.user-badge span { font-weight: 600; color: #6a4c2b; }

.main-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 1.2rem; }
@media (max-width: 760px) { .main-grid { grid-template-columns: 1fr; } }
.feed { display: flex; flex-direction: column; gap: 1.5rem; }

.empty-state { background: #fffbf4; border-radius: 32px; padding: 4rem 2rem; text-align: center; border: 2px dashed #edd7c2; color: #b18e66; }
.empty-state .emoji { font-size: 4rem; margin-bottom: 1rem; display: block; opacity: 0.7; }
.empty-state h3 { font-size: 1.4rem; color: #7a5a38; margin-bottom: 0.8rem; }
.empty-state p { line-height: 1.6; }

.post-card {
  background: #fffbf4; border-radius: 32px 32px 32px 12px;
  padding: 1.6rem 1.8rem; border: 1px solid #f3dcc4;
  box-shadow: 0 8px 18px rgba(180,130,80,0.08);
  transition: all 0.25s ease; position: relative; backdrop-filter: blur(4px);
}
.post-card:hover { box-shadow: 0 18px 28px rgba(150,100,50,0.12); transform: scale(1.005); border-color: #e6c7a8; }
.post-card::before {
  content: "🐾"; position: absolute; left: -10px; top: 20px;
  font-size: 1.8rem; filter: drop-shadow(0 4px 4px rgba(140,90,40,0.2));
  opacity: 0.5; transform: rotate(-15deg);
}
.post-header { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.post-avatar {
  width: 48px; height: 48px; background: #e6cfb5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: 0 0 0 2px #f3e1cf, 0 6px 10px rgba(150,100,50,0.15);
  flex-shrink: 0;
}
.post-info { flex: 1; }
.post-info .name { font-weight: 700; color: #593e24; font-size: 1.1rem; }
.post-info .handle { font-size: 0.85rem; color: #b18e66; }
.post-info .tag { font-size: 0.75rem; background: #f0dcc8; color: #6f4f2c; padding: 0.15rem 0.7rem; border-radius: 30px; display: inline-block; margin-top: 3px; font-weight: 600; }
.admin-badge { background: #ffd700; color: #7a5a00; padding: 0.15rem 0.6rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700; }
.post-time { font-size: 0.8rem; color: #b18e66; white-space: nowrap; }
.post-content { color: #3e2d1c; line-height: 1.6; font-size: 1.05rem; margin: 0.8rem 0 1rem; border-left: 4px solid #f0cfaa; padding-left: 16px; word-break: break-word; }

.post-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 1rem 0; }
.post-media .preview-img, .post-media .preview-video {
  width: 100%; max-height: 400px; object-fit: cover;
  border-radius: 20px; cursor: pointer;
  border: 2px solid #f3dcc4; transition: 0.2s;
}
.post-media .preview-img:hover { transform: scale(1.02); box-shadow: 0 8px 20px rgba(150,100,50,0.2); }

.post-actions { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.8rem; border-top: 1px solid #f5e5d6; padding-top: 0.8rem; }
.action-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: none; padding: 0.5rem 1rem;
  border-radius: 30px; font-size: 0.95rem; cursor: pointer;
  color: #ad8864; font-weight: 600; transition: all 0.2s; font-family: inherit;
}
.action-btn:hover { background: #f6ede3; color: #5a3d24; }
.action-btn.liked { color: #e74c3c; }
.action-btn.liked:hover { background: #fdeaea; }
.action-btn.retweeted { color: #27ae60; }
.action-btn.retweeted:hover { background: #eafaf1; }

.replies-section { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px dashed #edd7c2; }
.replies-list { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 0.8rem; }
.reply-item { display: flex; gap: 10px; padding: 0.6rem 0.8rem; background: #fff9f2; border-radius: 20px; border: 1px solid #f5e5d6; }
.reply-avatar { width: 36px; height: 36px; background: #efe0d0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.reply-body { flex: 1; min-width: 0; }
.reply-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reply-name { font-weight: 700; color: #593e24; font-size: 0.9rem; }
.reply-handle { font-size: 0.75rem; color: #b18e66; }
.reply-time { font-size: 0.75rem; color: #c4a17a; margin-left: auto; }
.reply-content { color: #4a3826; font-size: 0.92rem; margin-top: 4px; line-height: 1.4; word-break: break-word; }
.reply-form { display: flex; gap: 8px; align-items: center; }
.reply-input { flex: 1; background: #f9f0e7; border: 1px solid #f0dccb; border-radius: 40px; padding: 0.6rem 1.2rem; font-size: 0.9rem; color: #4a3826; outline: none; font-family: inherit; }
.reply-input:focus { border-color: #dbb185; background: #fff; }
.reply-submit { background: #dbb185; border: none; padding: 0.6rem 1.2rem; border-radius: 40px; font-weight: 700; color: #3b2a18; font-size: 0.9rem; cursor: pointer; font-family: inherit; transition: 0.15s; white-space: nowrap; }
.reply-submit:hover { background: #cfa070; }

.compose-box { background: #fffbf7; border-radius: 32px; padding: 1.2rem 1.5rem; border: 1px solid #edd7c2; margin-bottom: 1.8rem; box-shadow: 0 4px 12px rgba(190,140,90,0.08); }
.compose-row { display: flex; align-items: flex-start; gap: 12px; }
.compose-avatar { font-size: 2.2rem; background: #efe0d0; border-radius: 50%; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.compose-input { flex: 1; background: #f9f0e7; border: 1px solid #f0dccb; border-radius: 24px; padding: 0.8rem 1.4rem; color: #4a3826; font-weight: 500; font-size: 1rem; outline: none; resize: none; min-height: 60px; font-family: inherit; line-height: 1.5; }
.compose-input:focus { border-color: #dbb185; background: #fff; }
.compose-footer { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 0.8rem; flex-wrap: wrap; }
.upload-label { display: flex; align-items: center; gap: 6px; background: #f3e1d0; padding: 0.5rem 1rem; border-radius: 30px; cursor: pointer; color: #6a4c2b; font-weight: 600; font-size: 0.9rem; margin-right: auto; transition: 0.15s; }
.upload-label:hover { background: #edd7c2; }
.compose-char { font-size: 0.8rem; color: #b18e66; }
.compose-char.warning { color: #e74c3c; font-weight: 700; }
.compose-btn { background: #dbb185; border: none; padding: 0.7rem 1.8rem; border-radius: 40px; font-weight: 700; color: #3b2a18; font-size: 0.95rem; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.compose-btn:hover { background: #cfa070; transform: translateY(-1px); }
.compose-btn:active { transform: translateY(1px); }
.compose-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.media-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 1rem; }
.media-preview-item { position: relative; aspect-ratio: 1; }
.media-preview-item img, .media-preview-item video { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 2px solid #f3dcc4; }
.remove-media { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: #e74c3c; color: #fff; border: 2px solid #fff; cursor: pointer; font-weight: 700; line-height: 1; font-size: 14px; }

.sidebar { display: flex; flex-direction: column; gap: 1.8rem; }
.widget { background: #fff9f2; border-radius: 28px; padding: 1.6rem 1.5rem; border: 1px solid #f1ddcc; box-shadow: 0 10px 16px rgba(180,130,80,0.08); }
.widget h3 { color: #4f371f; font-size: 1.3rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 10px; border-bottom: 2px dashed #e5cdb5; padding-bottom: 0.6rem; }
.widget ul { list-style: none; }
.widget li { padding: 0.6rem 0; border-bottom: 1px solid #f5e5d6; display: flex; align-items: center; gap: 12px; color: #5e422c; font-weight: 500; }
.widget li:last-child { border: none; }
.widget .emoji-bullet { font-size: 1.4rem; width: 28px; text-align: center; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 10px; }

.welcome-card { background: linear-gradient(135deg, #ffefdd, #ffe1c6); border-radius: 28px; padding: 1.8rem 1.5rem; color: #543b22; border: 1px solid #f7dbbc; box-shadow: inset 0 2px 8px #fff5ea, 0 10px 16px rgba(180,130,80,0.1); }
.welcome-card h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.welcome-card p { font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; }

.footer { margin-top: 2.5rem; text-align: center; font-size: 0.9rem; color: #b28b62; border-top: 1px solid #f0d9c4; padding-top: 1.5rem; }
.footer span { font-weight: 600; color: #8e6a44; }

.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px); background: #5e3c1f; color: #fff3e6; padding: 0.8rem 1.8rem; border-radius: 40px; font-weight: 600; font-size: 0.95rem; opacity: 0; transition: all 0.3s; z-index: 999; pointer-events: none; box-shadow: 0 10px 30px rgba(90,50,20,0.3); max-width: 90vw; text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { background: #c0392b; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.post-card.new-post { animation: fadeInUp 0.4s ease; }

.lightbox { position: fixed; inset: 0; background: rgba(30,15,5,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 2rem; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 95%; max-height: 95%; border-radius: 20px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 3rem; color: #fff; cursor: pointer; line-height: 1; }
.lightbox-close:hover { color: #dbb185; }

.profile-header { background: linear-gradient(135deg, #ffefdd, #ffe1c6); border-radius: 32px; padding: 2.5rem 2rem; text-align: center; border: 1px solid #f7dbbc; margin-bottom: 2rem; box-shadow: inset 0 2px 10px #fff5ea; }
.profile-header .big-avatar { font-size: 5rem; margin-bottom: 1rem; }
.profile-header h1 { color: #5e3c1f; font-size: 1.8rem; margin-bottom: 0.3rem; }
.profile-header .handle { color: #a67b4c; font-size: 1rem; margin-bottom: 0.8rem; }
.profile-header .bio { color: #6a4c2b; font-size: 0.95rem; line-height: 1.6; max-width: 500px; margin: 0 auto; }
.profile-stats { display: flex; justify-content: center; gap: 2.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.profile-stats .stat { text-align: center; }
.profile-stats .stat .num { font-size: 1.6rem; font-weight: 700; color: #5e3c1f; }
.profile-stats .stat .label { font-size: 0.85rem; color: #a67b4c; }
.section-title { color: #4f371f; font-size: 1.2rem; margin: 1rem 0 1.2rem; padding-bottom: 0.5rem; border-bottom: 2px dashed #e5cdb5; }

.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; width: 100%; }
.admin-header { background: linear-gradient(135deg, #f5d5b0, #e8bd94); border-radius: 32px; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; box-shadow: 0 8px 20px rgba(160,110,50,0.2); }
.admin-header h1 { color: #4a2f18; font-size: 1.6rem; }
.admin-header .links a { color: #6a4c2b; text-decoration: none; font-weight: 600; padding: 0.5rem 1rem; border-radius: 30px; background: rgba(255,255,255,0.4); margin-left: 0.5rem; transition: 0.15s; }
.admin-header .links a:hover { background: rgba(255,255,255,0.7); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.stat-card { background: #fff9f2; border-radius: 28px; padding: 1.5rem; border: 1px solid #f1ddcc; box-shadow: 0 8px 16px rgba(180,130,80,0.08); }
.stat-card .label { color: #a67b4c; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.stat-card .value { color: #5e3c1f; font-size: 2rem; font-weight: 700; }

.admin-section { background: #fff9f2; border-radius: 28px; padding: 1.8rem; border: 1px solid #f1ddcc; margin-bottom: 2rem; box-shadow: 0 8px 16px rgba(180,130,80,0.08); }
.admin-section h2 { color: #4f371f; font-size: 1.3rem; margin-bottom: 1.2rem; padding-bottom: 0.6rem; border-bottom: 2px dashed #e5cdb5; }
.admin-section table { width: 100%; border-collapse: collapse; }
.admin-section th, .admin-section td { padding: 0.8rem; text-align: left; border-bottom: 1px solid #f5e5d6; color: #5e422c; }
.admin-section th { color: #8a6a48; font-weight: 700; font-size: 0.9rem; }
.admin-section tr:hover { background: #fffbf6; }

.btn-danger { background: #e74c3c; color: #fff; border: none; padding: 0.4rem 1rem; border-radius: 20px; cursor: pointer; font-weight: 600; font-family: inherit; transition: 0.15s; }
.btn-danger:hover { background: #c0392b; }

.msg { background: #eafaf1; color: #27ae60; padding: 1rem 1.5rem; border-radius: 20px; margin-bottom: 1.5rem; font-weight: 600; border: 1px solid #c3e6cb; }
.thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; border: 1px solid #f3dcc4; cursor: pointer; margin-right: 4px; }

/* ===== 兽瑞首页 landing 顶部导航 ===== */
.landing-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.8rem 1.5rem;
  background: rgba(255,250,240,0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ffe3c9;
}
.landing-topbar-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.landing-topbar-brand { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 700; color: #5e3c1f; }
.landing-topbar-links { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; }
.landing-topbar-links a { text-decoration: none; color: #7a5a38; font-weight: 600; padding: 0.4rem 1rem; border-radius: 30px; transition: 0.15s; }
.landing-topbar-links a:hover { background: #f3e1d0; color: #3f2c18; }
.landing-topbar-links .user-badge { background: #f8e5d2; padding: 0.3rem 1rem 0.3rem 0.6rem; border: 1px solid #ebcbaa; display: flex; align-items: center; gap: 6px; }
.landing-topbar-links .user-badge .avatar { font-size: 1.4rem; }

/* ===== 绒毛兽标签系统 ===== */
.tags-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; background: #fffbf7; border-radius: 24px; padding: 0.9rem 1.2rem; border: 1px solid #f3dcc4; margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(190,140,90,0.06); }
.tags-bar-title { color: #6a4c2b; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.tags-bar-list { display: flex; flex-wrap: wrap; gap: 0.5rem; flex: 1; }
.tag-chip { background: #f3e1d0; color: #6e4e2e; padding: 0.35rem 0.9rem; border-radius: 30px; font-size: 0.9rem; font-weight: 600; text-decoration: none; border: 1px solid #e9d4bd; transition: 0.15s; white-space: nowrap; }
.tag-chip:hover { background: #e3cdb5; color: #3f2c18; transform: translateY(-1px); }
.tag-chip.active { background: #dbb185; color: #3b2a18; box-shadow: 0 4px 8px rgba(140,90,30,0.2); border-color: #c69b6a; }
.tag-add-btn { background: #dbb185; color: #3b2a18; border: 1px solid #c69b6a; border-radius: 30px; padding: 0.4rem 1rem; font-weight: 700; font-size: 0.9rem; cursor: pointer; font-family: inherit; transition: 0.15s; white-space: nowrap; box-shadow: 0 3px 0 #b58b5a; }
.tag-add-btn:hover { background: #e8c19a; transform: translateY(-1px); }
.tag-add-btn:active { transform: translateY(3px); box-shadow: 0 0 0 #b58b5a; }

.compose-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0.6rem 0.5rem 0; border-top: 1px dashed #f0dccb; margin-top: 0.6rem; }
.compose-tags-label { color: #8a6a48; font-weight: 600; font-size: 0.9rem; }
.tag-select-chip { background: #f9f0e7; color: #8a6a48; padding: 0.35rem 0.9rem; border-radius: 30px; font-size: 0.85rem; font-weight: 600; cursor: pointer; border: 1px solid #f0dccb; transition: 0.15s; user-select: none; }
.tag-select-chip:hover { background: #f3e1d0; color: #6a4c2b; }
.tag-select-chip.active { background: #dbb185; color: #3b2a18; border-color: #c69b6a; box-shadow: 0 2px 6px rgba(140,90,30,0.2); }

.post-tag-link { color: #6f4f2c; text-decoration: none; font-weight: 600; margin-right: 6px; transition: 0.15s; }
.post-tag-link:hover { color: #b58b5a; text-decoration: underline; }

.tag-cloud-link { background: #f3e1d0; padding: 0.4rem 1rem; border-radius: 40px; font-size: 0.9rem; color: #6e4e2e; font-weight: 600; border: 1px solid #e9d4bd; text-decoration: none; transition: 0.15s; display: inline-block; margin: 0 4px 6px 0; }
.tag-cloud-link:hover { background: #e3cdb5; color: #3f2c18; }

.tag-modal { position: fixed; inset: 0; background: rgba(60,40,20,0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 1rem; }
.tag-modal-content { background: #fffbf7; border-radius: 32px; padding: 2rem; max-width: 460px; width: 100%; border: 2px solid #ffe3c9; box-shadow: 0 30px 60px rgba(90,50,20,0.3); max-height: 90vh; overflow-y: auto; }
.tag-modal-content h3 { color: #5e3c1f; font-size: 1.4rem; margin-bottom: 0.6rem; text-align: center; }
.tag-modal-desc { color: #a67b4c; font-size: 0.9rem; text-align: center; margin-bottom: 1.5rem; line-height: 1.5; }
.tag-modal-input { width: 100%; padding: 0.9rem 1.2rem; border: 2px solid #f0dccb; border-radius: 20px; background: #fff; font-size: 1rem; outline: none; font-family: inherit; color: #4a3826; }
.tag-modal-input:focus { border-color: #dbb185; }
.tag-modal-actions { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.tag-modal-cancel, .tag-modal-submit { flex: 1; padding: 0.8rem; border: none; border-radius: 30px; font-weight: 700; font-size: 0.95rem; cursor: pointer; font-family: inherit; transition: 0.15s; }
.tag-modal-cancel { background: #f3e1d0; color: #6a4c2b; }
.tag-modal-cancel:hover { background: #edd7c2; }
.tag-modal-submit { background: #dbb185; color: #3b2a18; box-shadow: 0 4px 0 #b58b5a; }
.tag-modal-submit:hover { background: #e8c19a; }
.tag-modal-submit:active { transform: translateY(4px); box-shadow: 0 0 0 #b58b5a; }
.tag-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.tag-modal-status { margin-top: 1rem; min-height: 24px; }
.tag-modal-success { background: #eafaf1; color: #27ae60; padding: 0.7rem 1rem; border-radius: 16px; font-weight: 600; text-align: center; border: 1px solid #c3e6cb; }
.tag-modal-error { background: #fdeaea; color: #c0392b; padding: 0.7rem 1rem; border-radius: 16px; font-weight: 600; text-align: center; border: 1px solid #f5c6c6; }

.my-requests-title { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed #f0dccb; color: #6a4c2b; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.6rem; }
.my-request-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.9rem; background: #f9f0e7; border-radius: 14px; margin-bottom: 0.5rem; font-size: 0.9rem; }
.req-label { color: #5e3c1f; font-weight: 600; }
.req-status { font-weight: 700; font-size: 0.8rem; }
.req-status.pending { color: #e67e22; }
.req-status.approved { color: #27ae60; }
.req-status.rejected { color: #c0392b; }

.tag-review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.tag-review-item { background: #fffbf7; border-radius: 20px; padding: 1.2rem; border: 1px solid #f0dccb; display: flex; flex-direction: column; gap: 0.8rem; }
.tag-review-item .tag-label { font-size: 1.1rem; font-weight: 700; color: #5e3c1f; }
.tag-review-item .tag-meta { font-size: 0.85rem; color: #a67b4c; line-height: 1.5; }
.tag-review-actions { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.tag-approve-btn, .tag-reject-btn { flex: 1; padding: 0.5rem; border: none; border-radius: 20px; font-weight: 700; font-size: 0.85rem; cursor: pointer; font-family: inherit; transition: 0.15s; }
.tag-approve-btn { background: #27ae60; color: #fff; }
.tag-approve-btn:hover { background: #219a52; }
.tag-reject-btn { background: #e74c3c; color: #fff; }
.tag-reject-btn:hover { background: #c0392b; }

.tag-approved-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.tag-approved-item { background: #eafaf1; color: #27ae60; padding: 0.4rem 1rem; border-radius: 30px; font-size: 0.9rem; font-weight: 600; border: 1px solid #c3e6cb; display: inline-flex; align-items: center; gap: 0.5rem; }
.tag-delete-btn { background: transparent; border: none; color: #c0392b; font-weight: 700; cursor: pointer; font-size: 1rem; padding: 0 0.3rem; font-family: inherit; }
.tag-delete-btn:hover { color: #7a1f15; }

/* ===== 登录/注册 ===== */
.auth-box { max-width: 440px; margin: 4rem auto; background: rgba(255,250,240,0.92); backdrop-filter: blur(10px); border-radius: 40px; padding: 2.5rem; border: 2px solid #ffe3c9; box-shadow: 0 20px 40px rgba(160,100,40,0.15); }
.auth-box.wide { max-width: 500px; margin: 3rem auto; }
.auth-box h1 { text-align: center; color: #5e3c1f; margin-bottom: 0.5rem; font-size: 2rem; }
.auth-box .sub { text-align: center; color: #a67b4c; margin-bottom: 2rem; font-style: italic; }
.auth-box .form-group { margin-bottom: 1.2rem; }
.auth-box label { display: block; color: #6a4c2b; font-weight: 600; margin-bottom: 0.5rem; }
.auth-box input[type=text], .auth-box input[type=password] { width: 100%; padding: 0.9rem 1.2rem; border: 2px solid #f0dccb; border-radius: 20px; background: #fffbf7; font-size: 1rem; outline: none; font-family: inherit; transition: 0.15s; }
.auth-box input:focus { border-color: #dbb185; background: #fff; }
.auth-box .btn { width: 100%; padding: 1rem; border: none; border-radius: 40px; background: #dbb185; color: #3b2a18; font-weight: 700; font-size: 1.05rem; cursor: pointer; box-shadow: 0 6px 0 #b58b5a; font-family: inherit; margin-top: 0.5rem; transition: 0.08s; }
.auth-box .btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #b58b5a; }
.auth-box .link { text-align: center; margin-top: 1.5rem; color: #8a6a48; }
.auth-box .link a { color: #b58b5a; font-weight: 700; text-decoration: none; }
.auth-box .link a:hover { text-decoration: underline; }
.back-home { text-align: center; margin-top: 1rem; font-size: 0.9rem; }
.back-home a { color: #a67b4c; text-decoration: none; font-weight: 600; }
.back-home a:hover { color: #6a4c2b; }

.avatar-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.5rem; background: #fffbf7; border-radius: 20px; padding: 0.8rem; border: 2px solid #f0dccb; }
.avatar-option { font-size: 1.8rem; padding: 0.4rem 0.6rem; border-radius: 16px; background: #f3e1d0; cursor: pointer; border: 2px solid transparent; transition: 0.15s; user-select: none; }
.avatar-option:hover { background: #edd7c2; transform: scale(1.1); }
.avatar-option.selected { border-color: #dbb185; background: #ffe7c8; transform: scale(1.1); box-shadow: 0 4px 10px rgba(180,120,60,0.2); }
.hint { font-size: 0.8rem; color: #b18e66; margin-top: 0.3rem; padding-left: 0.5rem; }

/* ===== 兽瑞首页 landing ===== */
.landing-wrap { max-width: 960px; width: 100%; margin: 0 auto; padding: 6rem 1rem 2rem; display: flex; flex-direction: column; align-items: center; min-height: 100vh; justify-content: center; position: relative; z-index: 2; }
.landing-hero { background: rgba(255,250,240,0.85); backdrop-filter: blur(12px); border-radius: 60px 60px 40px 40px; padding: 4rem 3rem; border: 2px solid #ffe3c9; box-shadow: 0 30px 60px rgba(160,100,40,0.2); text-align: center; width: 100%; position: relative; overflow: hidden; }
.landing-hero::before { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,220,180,0.35) 0%, transparent 70%); animation: rotate 30s linear infinite; z-index: 0; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.landing-hero > * { position: relative; z-index: 1; }
.landing-icon { font-size: 6rem; line-height: 1; margin-bottom: 1rem; animation: bounce 3s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.landing-hero h1 { font-size: 4rem; color: #5e3c1f; letter-spacing: 8px; text-shadow: 4px 4px 0 #f7e1c1, 6px 6px 0 rgba(180,120,60,0.15); margin-bottom: 0.5rem; font-weight: 800; }
.landing-hero .tagline { font-size: 1.3rem; color: #a67b4c; font-style: italic; letter-spacing: 3px; margin-bottom: 2.5rem; }
.landing-hero .desc { font-size: 1.05rem; color: #6a4c2b; line-height: 1.9; max-width: 600px; margin: 0 auto 2.5rem; }
.enter-btn { display: inline-flex; align-items: center; gap: 12px; padding: 1.3rem 3.5rem; background: #dbb185; color: #3b2a18; font-size: 1.3rem; font-weight: 800; border-radius: 60px; border: none; text-decoration: none; cursor: pointer; box-shadow: 0 8px 0 #b58b5a, 0 14px 30px rgba(180,120,60,0.3); transition: 0.08s linear; letter-spacing: 2px; font-family: inherit; }
.enter-btn:hover { background: #e8c19a; transform: translateY(-2px); box-shadow: 0 10px 0 #b58b5a, 0 16px 34px rgba(180,120,60,0.35); }
.enter-btn:active { transform: translateY(6px); box-shadow: 0 2px 0 #b58b5a, 0 8px 20px rgba(180,120,60,0.25); }
.enter-btn .arrow { font-size: 1.5rem; transition: 0.2s; }
.enter-btn:hover .arrow { transform: translateX(6px); }
.landing-stats { display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; flex-wrap: wrap; }
.landing-stats .stat { text-align: center; }
.landing-stats .num { font-size: 2rem; font-weight: 800; color: #5e3c1f; }
.landing-stats .label { font-size: 0.9rem; color: #a67b4c; margin-top: 0.2rem; }
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 3rem; width: 100%; }
.feature-card { background: rgba(255,251,244,0.85); border-radius: 28px; padding: 1.5rem; border: 1px solid #f3dcc4; text-align: center; box-shadow: 0 8px 18px rgba(180,130,80,0.08); transition: 0.2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 24px rgba(180,130,80,0.15); border-color: #e6c7a8; }
.feature-card .emoji { font-size: 2.2rem; margin-bottom: 0.5rem; }
.feature-card .title { color: #5e3c1f; font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.feature-card .desc { color: #a67b4c; font-size: 0.85rem; line-height: 1.5; }

@media (max-width: 640px) {
  .landing-hero { padding: 3rem 1.5rem; border-radius: 40px 40px 28px 28px; }
  .landing-hero h1 { font-size: 2.8rem; letter-spacing: 5px; }
  .landing-hero .tagline { font-size: 1rem; }
  .enter-btn { padding: 1rem 2rem; font-size: 1.1rem; }
  .landing-icon { font-size: 4rem; }
}

/* ===== 安装向导 ===== */
.install-box { max-width: 760px; margin: 0 auto; background: rgba(255,250,240,0.92); backdrop-filter: blur(10px); border-radius: 40px; padding: 2.5rem; border: 2px solid #ffe3c9; box-shadow: 0 20px 40px rgba(160,100,40,0.2); }
.install-logo { text-align: center; margin-bottom: 2rem; }
.install-logo .icon { font-size: 4rem; }
.install-logo h1 { font-size: 2.2rem; color: #5e3c1f; text-shadow: 3px 3px 0 #f7e1c1; letter-spacing: 3px; }
.install-logo p { color: #a67b4c; font-style: italic; margin-top: 0.3rem; }
.steps { display: flex; justify-content: center; gap: 0.8rem; margin-bottom: 2rem; flex-wrap: wrap; }
.step-item { padding: 0.5rem 1.2rem; border-radius: 40px; background: #f3e1d0; color: #8a6a48; font-weight: 600; font-size: 0.9rem; }
.step-item.active { background: #dbb185; color: #3b2a18; box-shadow: 0 4px 8px rgba(140,90,30,0.2); }
.step-item.done { background: #b8d4a8; color: #3d5a2c; }
.diag-list { background: #fffbf7; border-radius: 24px; padding: 1.5rem; border: 1px solid #f0dccb; margin-bottom: 1.5rem; }
.diag-item { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px dashed #f0dccb; flex-wrap: wrap; gap: 8px; }
.diag-item:last-child { border: none; }
.diag-item .label { color: #6a4c2b; font-weight: 600; font-size: 0.95rem; }
.diag-item .value { color: #5e422c; font-family: monospace; font-size: 0.9rem; }
.diag-item .note { color: #b18e66; font-size: 0.8rem; margin-left: 8px; }
.diag-item .status { font-size: 1.2rem; }
.diag-item.ok .status { color: #27ae60; }
.diag-item.fail .status { color: #e74c3c; }
.radio-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.radio-item { flex: 1; min-width: 200px; padding: 1rem 1.2rem; border-radius: 20px; background: #fffbf7; border: 2px solid #f0dccb; cursor: pointer; transition: 0.15s; }
.radio-item:hover { border-color: #dbb185; }
.radio-item.selected { border-color: #dbb185; background: #ffe7c8; box-shadow: 0 4px 12px rgba(180,120,60,0.15); }
.radio-item input { display: none; }
.radio-item .title { font-weight: 700; color: #5e3c1f; margin-bottom: 0.3rem; font-size: 1rem; }
.radio-item .desc { font-size: 0.85rem; color: #a67b4c; line-height: 1.4; }
.alert { padding: 1rem 1.5rem; border-radius: 20px; margin-bottom: 1.5rem; font-weight: 600; }
.alert.error { background: #fdeaea; color: #c0392b; border: 1px solid #f5c6c6; }
.alert.success { background: #eafaf1; color: #27ae60; border: 1px solid #c3e6cb; }
.alert.info { background: #eaf4fd; color: #2980b9; border: 1px solid #c3def0; }
.db-test-msg { padding: 0.8rem 1.2rem; border-radius: 16px; margin-top: 0.8rem; font-weight: 600; font-size: 0.9rem; }
.db-test-msg.ok { background: #eafaf1; color: #27ae60; border: 1px solid #c3e6cb; }
.db-test-msg.fail { background: #fdeaea; color: #c0392b; border: 1px solid #f5c6c6; }
.success-box { text-align: center; padding: 2rem 0; }
.success-box .big-icon { font-size: 5rem; margin-bottom: 1rem; }
.success-box h2 { color: #27ae60; margin-bottom: 1rem; font-size: 1.8rem; }
.success-box p { color: #5e422c; line-height: 1.8; margin-bottom: 1.5rem; }
.links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.links a { padding: 0.8rem 2rem; border-radius: 40px; text-decoration: none; font-weight: 700; }
.links a.primary { background: #dbb185; color: #3b2a18; box-shadow: 0 4px 0 #b58b5a; }
.links a.secondary { background: #f3e1d0; color: #6a4c2b; border: 2px solid #e5cdb5; }