/* ========== 全局变量 ========== */
:root {
  --primary: #4A90D9;
  --primary-light: #6BA5E7;
  --primary-dark: #3A7BC8;
  --accent: #7B61FF;
  --success: #52C41A;
  --warning: #FAAD14;
  --danger: #FF4D4F;
  --bg: #F5F6FA;
  --card: #FFFFFF;
  --text-primary: #1A1A2E;
  --text-secondary: #8C8C9A;
  --text-light: #B0B0BE;
  --border: #E8E8ED;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tab-height: 60px;
  --nav-height: 48px;
  --status-bar: 44px;
}

/* ========== 基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

#app {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* ========== 状态栏 ========== */
.status-bar {
  height: var(--status-bar);
  background: var(--card);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* ========== 导航栏 ========== */
.nav-bar {
  position: fixed;
  top: var(--status-bar);
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 99;
  border-bottom: 0.5px solid var(--border);
}

.nav-bar-transparent {
  background: transparent;
  border: none;
}

.nav-title {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-logo {
  font-size: 22px;
}

.nav-actions i {
  font-size: 22px;
  color: var(--text-secondary);
}

.nav-back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}

.step-counter {
  font-size: 13px;
  color: var(--primary);
  background: rgba(74, 144, 217, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
}

/* ========== 页面容器 ========== */
.page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  flex-direction: column;
  background: var(--bg);
}

.page.active {
  display: flex;
}

.page-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: calc(var(--status-bar) + var(--nav-height) + 8px) 16px calc(var(--tab-height) + var(--safe-bottom) + 16px);
  -webkit-overflow-scrolling: touch;
}

.no-padding-top {
  padding-top: 0 !important;
}

/* ========== 底部TabBar ========== */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--tab-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--card);
  display: flex;
  align-items: center;
  border-top: 0.5px solid var(--border);
  z-index: 100;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.tab-item i {
  font-size: 22px;
  color: var(--text-light);
  transition: all 0.2s;
}

.tab-item .tab-active-icon {
  display: none;
}

.tab-item span {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 500;
}

.tab-item.active i:first-child {
  display: none;
}

.tab-item.active .tab-active-icon {
  display: block;
  color: var(--primary);
}

.tab-item.active span {
  color: var(--primary);
  font-weight: 600;
}

.tab-center-btn {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: 0 4px 16px rgba(74, 144, 217, 0.4);
}

.tab-center-btn i {
  font-size: 24px;
  color: #fff !important;
}

.tab-center span {
  margin-top: -2px;
}

/* ========== Banner轮播 ========== */
.banner-swiper {
  margin-bottom: 20px;
  position: relative;
}

.banner-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--radius-lg);
}

.banner-track::-webkit-scrollbar {
  display: none;
}

.banner-slide {
  min-width: 100%;
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.banner-content {
  flex: 1;
  z-index: 1;
}

.banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
}

.banner-content h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.banner-content p {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 10px;
}

.banner-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.banner-btn:active {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0.96);
}

.banner-deco {
  font-size: 64px;
  opacity: 0.3;
  position: absolute;
  right: 16px;
  bottom: 8px;
  transform: rotate(-12deg);
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  transition: all 0.3s;
}

.banner-dot.active {
  width: 18px;
  background: var(--primary);
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-more {
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

/* 核心功能卡片 */
.core-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:active {
  transform: scale(0.97);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.feature-ip .feature-icon {
  color: var(--primary);
}

.feature-video .feature-icon {
  color: var(--accent);
}

.feature-quick .feature-icon {
  color: #43E97B;
}

.feature-follow .feature-icon {
  color: #F5576C;
}

.feature-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

.feature-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 18px;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.06;
}

.feature-ip::after {
  background: var(--primary);
}

.feature-video::after {
  background: var(--accent);
}

.feature-quick::after {
  background: #43E97B;
}

.feature-follow::after {
  background: #F5576C;
}

/* 快捷工具 */
.quick-tools {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon i {
  font-size: 22px;
  color: #fff;
}

.tool-item span {
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
}

/* 最近项目 */
.project-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

.project-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.project-thumb.done {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.project-thumb i {
  font-size: 22px;
  color: #fff;
}

.project-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 8px;
  padding: 1px 5px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
}

.badge-progress {
  background: var(--warning);
}

.badge-done {
  background: var(--success);
}

.project-info {
  flex: 1;
  min-width: 0;
}

.project-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.project-progress {
  height: 3px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.5s;
}

.project-progress.full .progress-bar {
  background: linear-gradient(90deg, #43e97b, #38f9d7);
}

.project-time {
  font-size: 11px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* 教程帮助 */
.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.help-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.help-card:active {
  transform: scale(0.96);
}

.help-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.help-card span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ========== IP档案 ========== */
.profile-card-main {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-card-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.profile-card-avatar.small img {
  width: 40px;
  height: 40px;
}

.profile-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.default-tag {
  font-size: 10px;
  background: var(--primary);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.profile-card-info p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.persona-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tag {
  font-size: 11px;
  color: var(--primary);
  background: rgba(74, 144, 217, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
}

.profile-card-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.action-btn:active {
  background: var(--bg);
}

.action-btn i {
  font-size: 20px;
  color: var(--primary);
}

.action-btn span {
  font-size: 11px;
  color: var(--text-secondary);
}

.profile-card-secondary {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.profile-card-secondary .profile-card-header {
  margin-bottom: 0;
}

.create-profile-btn {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.2s;
}

.create-profile-btn:active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(74, 144, 217, 0.04);
}

.create-profile-btn i {
  font-size: 20px;
}

/* ========== 创作中心 ========== */
.sub-tabs {
  display: flex;
  gap: 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.sub-tab {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sub-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(74, 144, 217, 0.3);
}

.sub-tab i {
  font-size: 16px;
}

.sub-content {
  display: none;
}

.sub-content.active {
  display: block;
}

.smart-video-intro {
  text-align: center;
  padding: 24px 16px;
  background: var(--card);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.intro-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.smart-video-intro h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.smart-video-intro p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 11步流程 */
.steps-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px;
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.step-item {
  text-align: center;
  cursor: pointer;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(74, 144, 217, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin: 0 auto 4px;
  transition: all 0.3s;
}

.step-item:hover .step-num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.step-label {
  font-size: 9px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.step-line {
  width: 12px;
  height: 2px;
  background: var(--border);
  margin-bottom: 18px;
}

/* 快捷步骤卡片 */
.quick-step-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s;
}

.quick-step-card:active {
  transform: scale(0.98);
}

.qs-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.qs-content {
  flex: 1;
}

.qs-content h4 {
  font-size: 14px;
  font-weight: 600;
}

.qs-content p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.quick-step-card>i {
  color: var(--text-light);
  font-size: 18px;
}

/* 爆款跟拍 */
.filter-tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  -webkit-overflow-scrolling: touch;
}

.filter-tags::-webkit-scrollbar {
  display: none;
}

.filter-tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  background: var(--card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
}

.filter-tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.viral-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s;
}

.viral-card:active {
  transform: scale(0.98);
}

.viral-cover {
  height: 140px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viral-cover-placeholder i {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.3);
}

.viral-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.viral-info {
  padding: 12px;
}

.viral-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}

.viral-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.viral-heat {
  font-size: 12px;
  color: #F5576C;
  font-weight: 600;
}

.viral-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(74, 144, 217, 0.1);
  color: var(--primary);
}

.viral-tag.tag-trust {
  background: rgba(82, 196, 26, 0.1);
  color: var(--success);
}

.viral-tag.tag-convert {
  background: rgba(245, 87, 108, 0.1);
  color: #F5576C;
}

.viral-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

/* ========== 工具箱 ========== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.tool-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.tool-grid-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.tool-grid-icon i {
  font-size: 24px;
  color: #fff;
}

.tool-grid-item span {
  font-size: 12px;
  color: var(--text-secondary);
}

.compliance-tool-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.compliance-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.compliance-header i {
  font-size: 28px;
  color: var(--primary);
}

.compliance-header h4 {
  font-size: 15px;
  font-weight: 600;
}

.compliance-header p {
  font-size: 12px;
  color: var(--text-secondary);
}

.compliance-input-area textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 14px;
  resize: none;
  margin-bottom: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.compliance-input-area textarea:focus {
  border-color: var(--primary);
}

.compliance-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.score-circle {
  text-align: center;
  margin-bottom: 16px;
}

.score-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #38f9d7);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.score-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.issue-item {
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border-left: 3px solid;
}

.issue-high {
  background: rgba(255, 77, 79, 0.06);
  border-color: var(--danger);
}

.issue-mid {
  background: rgba(250, 173, 20, 0.06);
  border-color: var(--warning);
}

.issue-badge {
  font-size: 11px;
  font-weight: 600;
}

.issue-item p {
  font-size: 13px;
  margin-top: 4px;
}

.issue-item del {
  color: var(--danger);
}

.issue-suggest {
  color: var(--success);
  font-weight: 500;
}

/* ========== 我的页面 ========== */
.mine-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: calc(var(--status-bar) + var(--nav-height) + 24px) 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mine-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.mine-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.mine-vip {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mine-vip i {
  color: #FFD700;
}

.mine-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: var(--radius);
  margin: -16px 16px 16px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

.mine-section {
  margin: 0 16px 16px;
}

.mine-section-title {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 8px;
  padding-left: 4px;
}

.mine-list {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mine-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.mine-list-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 48px;
  right: 16px;
  height: 0.5px;
  background: var(--border);
}

.mine-list-item:active {
  background: var(--bg);
}

.mine-list-item>i:first-child {
  font-size: 20px;
  width: 20px;
  text-align: center;
}

.mine-list-item>span {
  flex: 1;
  font-size: 14px;
}

.mine-list-item>i:last-child {
  color: var(--text-light);
  font-size: 18px;
}

.mine-badge {
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 600;
}

.mine-version {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  padding: 20px 0;
}

/* ========== 智能成片流程 ========== */
.step-indicator {
  position: fixed;
  top: calc(var(--status-bar) + var(--nav-height));
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--card);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  border-bottom: 0.5px solid var(--border);
}

.step-indicator::-webkit-scrollbar {
  display: none;
}

.si-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--border);
  color: var(--text-light);
  transition: all 0.3s;
  cursor: pointer;
}

.si-dot.done {
  background: var(--primary);
  color: #fff;
}

.si-dot.current {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.2);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(74, 144, 217, 0.1);
  }
}

.si-line {
  width: 8px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

.si-line.done {
  background: var(--primary);
}

.studio-content {
  flex: 1;
  overflow-y: auto;
  padding: calc(var(--status-bar) + var(--nav-height) + 50px) 16px calc(70px + var(--safe-bottom));
}

.studio-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: var(--card);
  display: flex;
  gap: 12px;
  border-top: 0.5px solid var(--border);
  z-index: 98;
}

/* Studio步骤内容 */
.studio-step {
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.studio-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.studio-step p.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.option-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}

.option-card:active,
.option-card.selected {
  border-color: var(--primary);
  background: rgba(74, 144, 217, 0.03);
}

.option-card.selected::after {
  content: '✓';
  position: absolute;
  right: 14px;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

.option-card {
  position: relative;
}

.option-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.option-info h4 {
  font-size: 14px;
  font-weight: 600;
}

.option-info p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ========== 创建IP档案 ========== */
.profile-step-indicator {
  position: fixed;
  top: calc(var(--status-bar) + var(--nav-height));
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--card);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5px solid var(--border);
}

.ps-step {
  text-align: center;
}

.ps-step span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  background: var(--border);
  color: var(--text-light);
  transition: all 0.3s;
}

.ps-step.active span {
  background: var(--primary);
  color: #fff;
}

.ps-step.done span {
  background: var(--success);
  color: #fff;
}

.ps-step p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.ps-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px 18px;
  transition: background 0.3s;
}

.ps-line.active {
  background: var(--primary);
}

/* 赛道选择网格 */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.track-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.track-item:active,
.track-item.selected {
  border-color: var(--primary);
  background: rgba(74, 144, 217, 0.04);
}

.track-item .track-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.track-item span {
  font-size: 12px;
  font-weight: 500;
}

/* 表单元素 */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.form-select-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-select-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: all 0.2s;
}

.form-select-btn:active,
.form-select-btn.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--primary);
}

/* 人设标签云 */
.persona-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.persona-tag-item {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: all 0.2s;
}

.persona-tag-item:active,
.persona-tag-item.selected {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
}

/* ========== 按钮 ========== */
.btn-primary {
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(74, 144, 217, 0.3);
}

.btn-primary:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.btn-secondary {
  flex: 1;
  padding: 12px 20px;
  background: var(--card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-secondary:active {
  background: var(--bg);
}

.btn-large {
  padding: 14px 24px;
  font-size: 16px;
  border-radius: var(--radius);
}

.btn-small {
  padding: 4px 12px;
  font-size: 11px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 6px;
  font-family: inherit;
}

/* ========== 模态框 ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s;
}

.modal-overlay.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-sheet {
  background: var(--card);
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.modal-header i {
  font-size: 22px;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-body {
  padding: 16px 20px 32px;
}

.gen-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}

.gen-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.gen-content {
  font-size: 14px;
  line-height: 1.6;
}

.gen-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.gen-actions span {
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.toast.show {
  opacity: 1;
}

/* ========== 朋友圈文案 ========== */
.wechat-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wechat-type-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wechat-type-item.selected {
  border-color: var(--primary);
  background: rgba(74, 144, 217, 0.06);
}

.wt-icon {
  font-size: 24px;
}

.wechat-type-item span:last-child {
  font-size: 12px;
  font-weight: 500;
}

/* ========== 全年活动日历 ========== */
.activity-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ac-month {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.ac-month:active,
.ac-month.active {
  border-color: var(--primary);
  background: rgba(74, 144, 217, 0.06);
}

.ac-num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.ac-label {
  display: block;
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ========== 爆款详情 ========== */
.viral-preview {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.viral-preview-player {
  height: 200px;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.viral-preview-player i {
  font-size: 56px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s;
}

.viral-preview-player:hover i {
  transform: scale(1.1);
}

.viral-preview-player span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.viral-preview-stats {
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 16px;
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== 海报网格 ========== */
.poster-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
}

.poster-categories::-webkit-scrollbar {
  display: none;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.poster-item {
  cursor: pointer;
  transition: transform 0.2s;
}

.poster-item:active {
  transform: scale(0.96);
}

.poster-preview {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.poster-item p {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* ========== 素材管理 ========== */
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.material-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.material-item:active {
  transform: scale(0.96);
}

.material-item i {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.8);
}

.material-item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.material-item.upload {
  background: var(--bg) !important;
  border: 2px dashed var(--border);
}

.material-item.upload i {
  color: var(--text-light);
}

.material-item.upload span {
  color: var(--text-secondary);
}

/* ========== 配套内容列表 ========== */
.content-tab-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-tab-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s;
}

.content-tab-item:active {
  transform: scale(0.98);
}

.cti-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cti-icon i {
  font-size: 20px;
  color: #fff;
}

.cti-info {
  flex: 1;
}

.cti-info h4 {
  font-size: 14px;
  font-weight: 600;
}

.cti-info p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ========== 加载动画 ========== */
.loading-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 20px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: dotBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dotBounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}


/* ========== IP管理页 - 新组件 ========== */
.ip-progress-bar {
  padding: 12px 0 8px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.ip-quick-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.ip-action-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.ip-action-chip:active {
  background: rgba(74, 144, 217, 0.1);
  color: var(--primary);
}

.ip-action-chip i {
  font-size: 16px;
}

/* 数字人卡片 */
.dh-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.dh-cards::-webkit-scrollbar {
  display: none;
}

.dh-card {
  min-width: 140px;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.dh-preview {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dh-info {
  padding: 10px;
}

.dh-info h4 {
  font-size: 13px;
  font-weight: 600;
}

.dh-info p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.dh-status {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  font-weight: 500;
}

.dh-active {
  background: rgba(82, 196, 26, 0.1);
  color: var(--success);
}

/* 声音列表 */
.voice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voice-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.voice-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.voice-info {
  flex: 1;
}

.voice-info h4 {
  font-size: 13px;
  font-weight: 600;
}

.voice-info p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.voice-play {
  cursor: pointer;
}

.voice-play i {
  font-size: 28px;
  color: var(--primary);
}

/* 合规内联提示条 */
.compliance-inline-tip {
  background: linear-gradient(135deg, rgba(82, 196, 26, 0.08), rgba(74, 144, 217, 0.08));
  border: 1px solid rgba(82, 196, 26, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

.compliance-inline-tip i {
  font-size: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.compliance-inline-tip b {
  color: var(--primary);
}

/* 合规徽章 */
.five-input-wrap {
  position: relative;
}

.compliance-inline-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: all 0.3s;
}

.compliance-inline-badge.good {
  background: rgba(82, 196, 26, 0.1);
  color: var(--success);
}

.compliance-inline-badge.warn {
  background: rgba(250, 173, 20, 0.12);
  color: #d48806;
}

.compliance-inline-badge.danger {
  background: rgba(255, 77, 79, 0.1);
  color: var(--danger);
}

/* 合规警告详情 */
.compliance-warn-detail {
  background: rgba(255, 77, 79, 0.04);
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--danger);
}

/* 五件套头像选择 */
.five-avatar-grid {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.five-avatar-opt {
  flex: 1;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.five-avatar-opt.selected {
  border-color: var(--primary);
  background: rgba(74, 144, 217, 0.05);
}

.five-avatar-opt span {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.five-avatar-opt p {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 0;
}

/* 置顶视频列表 */
.five-pin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.five-pin-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.five-pin-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.five-pin-item h4 {
  font-size: 13px;
  font-weight: 600;
}

.five-pin-item p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.five-pin-type {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  flex-shrink: 0;
}

.type-trust {
  background: rgba(82, 196, 26, 0.1);
  color: var(--success);
}

.type-convert {
  background: rgba(245, 87, 108, 0.1);
  color: #F5576C;
}

.type-traffic {
  background: rgba(74, 144, 217, 0.1);
  color: var(--primary);
}

/* 30天选题计划 */
.topic-plan-preview {
  margin-top: 10px;
}

.topic-day {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.topic-day:last-child {
  border-bottom: none;
}

.td-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  min-width: 36px;
}

.td-type {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  flex-shrink: 0;
}

.td-title {
  font-size: 13px;
  flex: 1;
}

/* 合规规则列表 */
.compliance-rules-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-item {
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
}

.cr-danger {
  background: rgba(255, 77, 79, 0.04);
  border-color: var(--danger);
}

.cr-warning {
  background: rgba(250, 173, 20, 0.04);
  border-color: var(--warning);
}

.cr-safe {
  background: rgba(82, 196, 26, 0.04);
  border-color: var(--success);
}

.cr-badge {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.cr-text p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.cr-text b {
  color: var(--text-primary);
}

/* ========== 响应式 ========== */
@media (min-width: 500px) {
  #app {
    max-width: 414px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    position: relative;
    height: 100vh;
  }

  .status-bar,
  .nav-bar,
  .tab-bar,
  .step-indicator,
  .studio-footer,
  .profile-step-indicator {
    max-width: 414px;
    left: 50%;
    transform: translateX(-50%);
  }
}