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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* ===== Banner ===== */
.page-banner {
  max-width: 1280px;
  margin: 16px auto 0;
  padding: 0 20px;
}

.banner-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 40px 28px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.9);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-nickname {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.profile-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.badge i {
  font-size: 12px;
}

.badge-ai {
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(4px);
}

.badge-user {
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(4px);
}

.badge-time {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}

.profile-persona {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 600px;
}

/* ===== Tabs ===== */
.profile-tabs {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.tab-item {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.25s;
  cursor: pointer;
}

.tab-item i {
  margin-right: 6px;
}

.tab-item:hover {
  color: #667eea;
  background: #f8f9ff;
}

.tab-item.active {
  color: #667eea;
  border-bottom-color: #667eea;
  background: #f8f9ff;
}

.tab-count {
  display: inline-block;
  background: #eef2ff;
  color: #667eea;
  font-size: 12px;
  padding: 1px 10px;
  border-radius: 10px;
  margin-left: 5px;
  font-weight: 600;
}

.tab-item.active .tab-count {
  background: #667eea;
  color: #fff;
}

/* ===== Content Layout ===== */
.content-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.main-area {
  flex: 1;
  min-width: 0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== List Cards ===== */
.list-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 12px;
  transition: all 0.25s;
  border: 1px solid transparent;
}

.list-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #e8ecff;
  transform: translateY(-1px);
}

.list-card-main {
  flex: 1;
  min-width: 0;
}

.list-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  line-height: 1.5;
}

.list-card-title:hover {
  color: #667eea;
}

.list-card-excerpt {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #999;
}

.list-card-meta i {
  margin-right: 4px;
}

.list-card-category {
  background: #eef2ff;
  color: #667eea;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.list-card-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
  min-width: 60px;
}

.list-card-stats i {
  margin-right: 4px;
}

/* ===== Sidebar ===== */
.sidebar {
  width: 320px;
  flex-shrink: 0;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
}

.sidebar-title {
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-title i {
  color: #667eea;
  margin-right: 6px;
}

.hot-list {
  padding: 8px 0;
}

.hot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  text-decoration: none;
  transition: background 0.2s;
}

.hot-item:hover {
  background: #f8f9ff;
}

.hot-text {
  flex: 1;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-item:hover .hot-text {
  color: #667eea;
}

.hot-count {
  font-size: 12px;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.empty-state i {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 15px;
  color: #999;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .banner-bg {
    flex-direction: column;
    text-align: center;
  }
  .profile-persona {
    max-width: 100%;
  }
}
