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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  padding: 16px;
  position: relative;
  overflow-x: hidden;
  background: #f8fafc;
}

/* Mesh Gradient Background */
.background-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #f8fafc;
}

.background-mesh::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(199, 210, 254, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(120px);
}

.background-mesh::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(120px);
}

/* Main Card */
.main-card {
  position: relative;
  z-index: 10;
  max-width: 460px;
  max-height: 90vh;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(40px);
  border-radius: 40px;
  box-shadow: 0 8px 40px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  padding: 20px 20px 12px;
  text-align: center;
  flex-shrink: 0;
}

.logo-container {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
}

.logo-icon {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.subtitle {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Nav Pills */
.nav-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-pill.active {
  background: #0f172a;
  color: white;
}

.nav-pill:not(.active) {
  background: white;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.nav-pill:hover { transform: scale(1.05); }

/* User Pill */
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 12px 6px 6px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.user-pill:hover { background: rgba(99, 102, 241, 0.12); }

.user-avatar-small {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  font-weight: 700;
}

.user-name-pill {
  font-size: 12px;
  font-weight: 500;
  color: #312e81;
}

/* Scroll Content */
.scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scroll-content::-webkit-scrollbar { display: none; }

/* Cards */
.card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.icon-circle.emerald { background: #d1fae5; color: #059669; }
.icon-circle.blue { background: #dbeafe; color: #2563eb; }
.icon-circle.purple { background: #ede9fe; color: #7c3aed; }

.card-header h2 {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

/* Quote Card */
.quote-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  position: relative;
  text-align: center;
}

.quote-bg {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 40px;
  color: #e2e8f0;
  line-height: 1;
}

.quote-content {
  position: relative;
  z-index: 1;
}

.quote-text {
  font-size: 15px;
  color: #334155;
  font-style: italic;
  line-height: 1.7;
}

.quote-author {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 12px;
}

.btn-text {
  margin-top: 20px;
  padding: 6px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-text:hover { background: #f8fafc; color: #334155; }

/* Custom Select */
.custom-select {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s;
}

.custom-select:hover { background: #f1f5f9; }

.select-value { display: flex; align-items: center; gap: 8px; }
.status-icon { font-size: 16px; }
.select-arrow { font-size: 10px; color: #94a3b8; transition: transform 0.2s; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 50;
}

.dropdown-menu.show { display: block; }

.dropdown-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover { background: #f8fafc; }

/* Input */
.input-field {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  color: #334155;
  transition: all 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transition: all 0.2s;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  transform: translateY(-1px);
}

.btn-primary:active { transform: scale(0.98); }

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-label { font-size: 12px; color: #94a3b8; }
.stat-value { font-size: 18px; font-weight: 700; color: #1e293b; }
.stat-divider { width: 1px; height: 32px; background: #e2e8f0; }

/* Timer */
.timer-display {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 40px;
  font-weight: 300;
  color: #6366f1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.timer-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pill.emerald { background: #10b981; color: white; }
.btn-pill.rose { background: #f43f5e; color: white; }
.btn-pill.gray { background: #f1f5f9; color: #475569; }
.btn-pill:hover { transform: scale(1.05); }
.btn-pill:active { transform: scale(0.95); }

/* Records */
.records-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.record-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  transition: background 0.2s;
}

.record-item:hover { background: #f8fafc; }

.record-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.record-content { flex: 1; min-width: 0; }

.record-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.record-user {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.record-status {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  margin-left: 8px;
}

.record-status.emerald { background: #d1fae5; color: #065f46; }
.record-status.amber { background: #fef3c7; color: #92400e; }

.record-time {
  font-size: 11px;
  color: #94a3b8;
  font-family: monospace;
}

.record-note {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.5;
}

/* Footer */
.footer {
  padding: 16px 24px;
  background: rgba(248, 250, 252, 0.8);
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Floating Settings */
.floating-settings {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.floating-settings:hover {
  transform: scale(1.1);
  color: #475569;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.modal.show { display: flex; }

.modal-content {
  background: white;
  padding: 32px 24px;
  border-radius: 24px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
  text-align: center;
}

/* Profile */
.profile-header { text-align: center; margin-bottom: 24px; }

.profile-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px;
}

.profile-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.avatar-option {
  font-size: 24px;
  padding: 12px;
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.avatar-option:hover { transform: scale(1.1); }
.avatar-option.selected { border-color: #6366f1; background: white; }

.heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.heatmap-day {
  aspect-ratio: 1;
  border-radius: 4px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #94a3b8;
}

.heatmap-day.checked { background: #10b981; color: white; }
.heatmap-day.today { border: 2px solid #6366f1; }

.profile-stats {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  margin-top: 16px;
}

.profile-stat { text-align: center; }

.profile-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: #6366f1;
}

.profile-stat-label {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 480px) {
  body { padding: 12px; }
  .main-card { border-radius: 28px; }
  .header { padding: 32px 20px 20px; }
  .scroll-content { padding: 16px; }
  .card { padding: 20px; border-radius: 20px; }
  .timer-display { font-size: 32px; }
}

/* 鱼塘页面特有样式 */
.section-header { margin-bottom: 16px; }

.pond-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.post-list { display: flex; flex-direction: column; gap: 12px; }

.pond-card, .post-card {
  background: white;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.2s;
}


.pond-card:hover, .post-card:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.pond-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pond-card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.pond-card-avatar { font-size: 20px; }

.pond-card-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.5;
}

.pond-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.pond-card-owner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.owner-avatar {
  font-size: 18px;
}

.owner-name {
  font-size: 12px;
  color: #64748b;
}

.pond-card-members {
  font-size: 12px;
  color: #94a3b8;
}



/* 帖子 */
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.post-meta { flex: 1; display: flex; flex-direction: column; }

.post-author {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.post-time {
  font-size: 11px;
  color: #94a3b8;
  font-family: monospace;
}

.post-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.post-content {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* 按钮增强 */
.btn-pill.indigo {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
}

.icon-circle.indigo { background: #e0e7ff; color: #4338ca; }

/* 空状态 */
.empty-tip {
  text-align: center;
  color: #94a3b8;
  padding: 40px 20px;
  font-size: 14px;
}

  background: #f8fafc;
}

/* 下拉菜单修复 - 使用 wrapper 定位 */
.select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s;
  position: relative;
  z-index: 10;
}

.custom-select:hover { background: #f1f5f9; }

.select-value { display: flex; align-items: center; gap: 8px; }
.status-icon { font-size: 16px; }
.select-arrow { font-size: 10px; color: #94a3b8; transition: transform 0.2s; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 100;
  display: none;
}

.dropdown-menu.show { display: block; animation: dropdownSlide 0.2s ease; }

@keyframes dropdownSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover { background: #f8fafc; }

/* Profile 视图切换 */
.profile-content { max-width: 420px; }

.profile-hint {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
}

.profile-nickname-display {
  cursor: pointer;
  text-align: center;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  margin: 16px 0;
  transition: background 0.2s;
}

.profile-nickname-display:hover {
  background: #f1f5f9;
}

[data-theme="dark"] .profile-nickname-display {
  background: #334155;
}

[data-theme="dark"] .profile-nickname-display:hover {
  background: #475569;
}

[data-theme="dark"] .profile-nickname-display p:first-child {
  color: #64748b;
}

[data-theme="dark"] .profile-nickname-display p:last-child {
  color: #64748b;
}

[data-theme="dark"] #profile-nickname-display {
  color: #f1f5f9;
}

/* 打卡表单间距优化 */
.checkin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-select {
  padding: 14px 16px;
  min-height: 52px;
}

.input-field {
  padding: 14px 16px;
  min-height: 52px;
}

.btn-primary {
  padding: 14px 24px;
  min-height: 52px;
}

/* 鱼塘详情页头部 */
.detail-header {
  margin-bottom: 16px;
}

.detail-header .btn-pill {
  padding: 10px 16px;
}

/* 鱼塘详情页按钮居中 */
#join-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* 发帖表单切换 */
.post-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.post-form-header .card-header {
  margin: 0 !important;
}

.toggle-icon {
  font-size: 24px;
  color: #64748b;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

#post-form-content {
  animation: slideDown 0.3s ease;
}

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

/* Profile 左上角汉堡菜单 */
.profile-content {
  position: relative;
}

.hamburger-menu {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
  z-index: 10;
}

.hamburger-menu:hover {
  background: #f1f5f9;
  color: #334155;
}

.settings-dropdown {
  position: absolute;
  top: 56px;
  left: 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 100;
  display: none;
  min-width: 140px;
}

.settings-dropdown.show {
  display: block;
  animation: dropdownSlide 0.2s ease;
}

.settings-dropdown-item {
  padding: 12px 16px;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-dropdown-item:hover {
  background: #f8fafc;
}

[data-theme="dark"] .hamburger-menu:hover {
  background: #334155;
  color: #f1f5f9;
}

[data-theme="dark"] .settings-dropdown {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .settings-dropdown-item {
  color: #f1f5f9;
}

[data-theme="dark"] .settings-dropdown-item:hover {
  background: #334155;
}

/* 页脚下移 */
.footer {
  margin-top: 48px;
}

/* 减少 scroll-content 高度，让页脚紧跟内容 */
.scroll-content {
  flex: 0 1 auto;
  max-height: none;
}

/* 帖子操作按钮 */
.post-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.post-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.post-action-btn:hover {
  background: #f1f5f9;
  color: #6366f1;
}

.like-icon { font-size: 16px; }

/* 评论区 */
.comments-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.comments-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.comment-item {
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid #f8fafc;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-author {
  font-weight: 600;
  color: #6366f1;
  margin-right: 6px;
}

.comment-content {
  color: #334155;
}

.comment-time {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 8px;
}

.comment-input-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.comment-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.comment-input:focus {
  border-color: #6366f1;
}

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

/* Tab 切换 */
.tabs-container {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid #6366f1;
  background: white;
  color: #6366f1;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  background: #f8fafc;
}

.tab-btn.active {
  background: #6366f1;
  color: white;
}

/* Segmented Control for Hot/All filter */
.segmented-control {
  display: flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}

.segment-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.segment-btn:hover {
  color: #334155;
}

.segment-btn.active {
  background: white;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
