/* 国际象棋教学小程序 - 共享样式（微信小程序风格） */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #6b4423;
  --primary-light: #8b5e3c;
  --accent: #d4a373;
  --success: #07c160;
  --warning: #ffa940;
  --danger: #fa5151;
  --bg: #f0f2f5;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-light: #8a8a8a;
  --border: #ececec;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); }

/* 顶部 Header */
.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; padding: 18px 16px 24px; position: relative;
}
.header h1 { font-size: 18px; font-weight: 600; }
.header .sub { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.header .actions { position: absolute; right: 14px; top: 16px; }
.btn {
  border: none; cursor: pointer; border-radius: 8px;
  font-size: 13px; padding: 8px 14px; transition: opacity .2s;
}
.btn:active { opacity: 0.7; }
.btn-primary { background: rgba(255,255,255,0.25); color: #fff; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; padding: 12px; font-size: 14px; }
.btn-save { background: var(--primary); color: #fff; }

/* 概览卡片 */
.overview { display: flex; gap: 10px; padding: 0 16px; margin-top: -14px; }
.ov-card {
  flex: 1; background: var(--card); border-radius: 12px;
  padding: 14px 8px; text-align: center; box-shadow: var(--shadow);
}
.ov-card .num { font-size: 24px; font-weight: 700; color: var(--primary); }
.ov-card .num.danger { color: var(--danger); }
.ov-card .num.success { color: var(--success); }
.ov-card .label { font-size: 11px; color: var(--text-light); margin-top: 2px; }

/* 班级筛选 */
.tabs { display: flex; gap: 8px; padding: 16px; overflow-x: auto; }
.tab {
  padding: 6px 16px; border-radius: 16px; font-size: 13px;
  background: var(--card); color: var(--text-light); border: 1px solid var(--border);
  white-space: nowrap; cursor: pointer;
}
.tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 学生卡片 */
.list { padding: 0 16px 24px; }
.card {
  background: var(--card); border-radius: 12px; padding: 14px;
  margin-bottom: 12px; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .15s;
}
.card:active { transform: scale(0.99); }
.card-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: var(--accent); flex-shrink: 0;
}
.card-info { flex: 1; min-width: 0; }
.card-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.title-tag {
  font-size: 10px; background: var(--primary); color: #fff;
  padding: 1px 5px; border-radius: 4px; font-weight: 600;
}
.level-tag { font-size: 10px; padding: 1px 6px; border-radius: 4px; margin-left: 2px; }
.level-tag.高级 { background: #fff3e0; color: #b8860b; }
.level-tag.中级 { background: #e3f2fd; color: #1565c0; }
.level-tag.初级 { background: #e8f5e9; color: #2e7d32; }
.chess-user { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.status-badge {
  font-size: 11px; padding: 4px 10px; border-radius: 12px; font-weight: 600; white-space: nowrap;
}
.status-badge.done { background: #e6f9ee; color: var(--success); }
.status-badge.pending { background: #fff4e6; color: var(--warning); }
.status-badge.fail { background: #ffeef0; color: var(--danger); }
.status-badge.wait { background: #f5f5f5; color: var(--text-light); }

/* 进度条 */
.progress-row { margin-top: 12px; }
.progress-row + .progress-row { margin-top: 10px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.progress-label .name { color: var(--text-light); }
.progress-label .val { font-weight: 600; }
.progress-bar { height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; transition: width .6s ease; }
.progress-fill.games { background: var(--primary-light); }
.progress-fill.puzzles { background: var(--accent); }
.progress-fill.done { background: var(--success); }
.card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-light);
}
.card-foot .rating { display: flex; gap: 10px; }
.rating span { font-weight: 600; color: var(--text); }
.link { color: var(--primary); font-weight: 600; }

/* 空状态 / loading */
.empty { text-align: center; padding: 40px 20px; color: var(--text-light); font-size: 13px; }
.loading { text-align: center; padding: 30px; color: var(--text-light); }
.spinner {
  width: 28px; height: 28px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.8); color: #fff; padding: 10px 20px;
  border-radius: 8px; font-size: 13px; z-index: 9999; max-width: 90%;
  animation: fadein .3s;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* 学生档案页 */
.profile-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; padding: 20px 16px; text-align: center;
}
.profile-header .avatar-lg {
  width: 72px; height: 72px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.4);
  object-fit: cover; background: var(--accent);
}
.profile-header .pname { font-size: 18px; font-weight: 600; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.profile-header .pmeta { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.section { background: var(--card); margin: 12px; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.section h3 { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat-box { background: #fafafa; border-radius: 8px; padding: 10px; }
.stat-box .mode { font-size: 11px; color: var(--text-light); }
.stat-box .rating { font-size: 18px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.stat-box .rec { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.goal-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.goal-row:last-child { border-bottom: none; }
.goal-row .gname { font-size: 13px; }
.goal-row .gval { font-size: 13px; font-weight: 600; color: var(--primary); }
.chart-wrap { position: relative; height: 200px; }

/* 返回栏 */
.nav-back {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  background: var(--card); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 10;
}
.nav-back a { color: var(--text); text-decoration: none; font-size: 14px; }

/* 规则设置页 */
.rule-card { background: var(--card); margin: 12px; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.rule-card h3 { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.rule-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.rule-row:last-child { border-bottom: none; }
.rule-row label { font-size: 13px; color: var(--text); }
.rule-input {
  width: 70px; padding: 6px 10px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 13px; text-align: right;
}
.rule-input:focus { outline: none; border-color: var(--primary); }
.save-bar { padding: 16px; position: sticky; bottom: 0; background: var(--bg); }
.alert-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.alert-item:last-child { border-bottom: none; }
.alert-item .ai-left { flex: 1; }
.alert-item .ai-name { font-size: 13px; font-weight: 600; }
.alert-item .ai-meta { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.alert-item .ai-status { font-size: 11px; padding: 3px 8px; border-radius: 10px; }
.notice-preview {
  background: #fafafa; border-left: 3px solid var(--success); padding: 10px 12px;
  border-radius: 6px; font-size: 12px; color: var(--text); line-height: 1.6;
}
.notice-preview .nt { font-weight: 600; }

/* ===== 多平台支持 ===== */
/* 平台徽章（彩色小标签） */
.platform-tag {
  font-size: 10px; padding: 1px 6px; border-radius: 4px;
  color: #fff; font-weight: 600; margin-left: 4px; vertical-align: middle;
  letter-spacing: 0.2px;
}
.chess-user .platform-tag { margin-left: 6px; }

/* 战术分进度条（能力值，0~3000 映射） */
.progress-fill.tactic {
  background: linear-gradient(90deg, var(--accent), #e8c39e);
}
.tactic-score {
  font-weight: 700; color: var(--accent); font-size: 13px;
}
.tactic-row .progress-label .name { color: var(--text-light); }

/* 平台筛选子标签 */
.sub-tabs { padding-top: 0 !important; margin-top: -8px; }
.sub-tabs .tab { font-size: 11px; padding: 4px 12px; }

/* 平台编辑区 */
.platform-edit {
  background: #fafafa; border-radius: 8px; padding: 12px;
}
.platform-edit .pe-row { margin-bottom: 10px; }
.platform-edit .pe-row:last-child { margin-bottom: 0; }
.platform-edit label { display: block; font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.platform-select, .platform-input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 13px; background: #fff;
  font-family: inherit;
}
.platform-select:focus, .platform-input:focus { outline: none; border-color: var(--primary); }
.platform-input { text-align: left; }

/* 战术分大卡片 */
.tactic-box {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #faf3e8, #f5ead8);
  border-radius: 8px; padding: 12px 14px; margin-bottom: 10px;
}
.tactic-box .tb-label { font-size: 12px; color: var(--text-light); }
.tactic-box .tb-score { font-size: 26px; font-weight: 700; color: var(--primary); }
.tactic-box .tb-sub { font-size: 11px; color: var(--text-light); }

/* ===== 底部 TabBar 导航 ===== */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: var(--card);
  display: flex; box-shadow: 0 -1px 12px rgba(0,0,0,0.06);
  z-index: 100; padding-bottom: env(safe-area-inset-bottom);
}
.tabbar-item {
  flex: 1; text-align: center; padding: 8px 0 6px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; color: var(--text-light); transition: color .2s;
}
.tabbar-item .tb-icon { font-size: 20px; line-height: 1; }
.tabbar-item .tb-text { font-size: 10px; }
.tabbar-item.active { color: var(--primary); }
.tabbar-item.active .tb-icon { transform: translateY(-1px); }
/* 主页面内容底部留出 tabbar 空间 */
.has-tabbar { padding-bottom: 64px; }

/* ===== 登录页 ===== */
.login-app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 30%, var(--bg) 30%); }
.login-hero { text-align: center; padding: 56px 20px 40px; color: #fff; }
.login-hero .logo { font-size: 52px; }
.login-hero h1 { font-size: 22px; font-weight: 700; margin-top: 10px; }
.login-hero p { font-size: 13px; opacity: 0.85; margin-top: 6px; }
.login-card {
  background: var(--card); border-radius: 16px 16px 0 0; margin: 0; padding: 24px 20px;
  min-height: calc(100vh - 180px);
}
.role-pick { display: flex; gap: 8px; margin-bottom: 20px; }
.role-pick .rp-item {
  flex: 1; text-align: center; padding: 12px 4px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer; transition: all .2s;
}
.role-pick .rp-item .rp-emoji { font-size: 24px; }
.role-pick .rp-item .rp-name { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.role-pick .rp-item.active { border-color: var(--primary); background: #faf3e8; }
.role-pick .rp-item.active .rp-name { color: var(--primary); font-weight: 600; }
.input-group { margin-bottom: 14px; }
.input-group label { display: block; font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.input-row { display: flex; gap: 8px; }
.input-row .code-btn {
  flex-shrink: 0; padding: 0 14px; border: 1px solid var(--primary);
  color: var(--primary); background: #fff; border-radius: 8px; font-size: 12px; white-space: nowrap;
}
.input-row .code-btn:disabled { color: var(--text-light); border-color: var(--border); }
.form-input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; background: #fff; font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--primary); }
.wx-login-btn {
  width: 100%; padding: 13px; border: none; border-radius: 8px;
  background: var(--success); color: #fff; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.wx-login-btn:active { opacity: 0.85; }
.login-tip { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 14px; line-height: 1.6; }
.demo-accounts { margin-top: 18px; background: #fafafa; border-radius: 8px; padding: 12px; }
.demo-accounts .da-title { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.demo-accounts .da-item { display: flex; justify-content: space-between; font-size: 12px; padding: 5px 0; border-bottom: 1px dashed var(--border); cursor: pointer; }
.demo-accounts .da-item:last-child { border-bottom: none; }
.demo-accounts .da-item .da-role { color: var(--primary); font-weight: 600; }

/* ===== 俱乐部介绍页 ===== */
.club-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; padding: 36px 20px 28px; text-align: center;
}
.club-banner h1 { font-size: 22px; font-weight: 700; }
.club-banner p { font-size: 13px; opacity: 0.9; margin-top: 8px; }
.club-section { background: var(--card); margin: 12px; border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.club-section h3 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.philo-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.philo-item:last-child { border-bottom: none; }
.philo-item .pi-head { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.philo-item .pi-text { font-size: 13px; color: var(--text); line-height: 1.7; }
.teacher-card { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.teacher-card:last-child { border-bottom: none; }
.teacher-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.teacher-info { flex: 1; }
.teacher-info .t-name { font-size: 14px; font-weight: 600; }
.teacher-info .t-title { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.teacher-info .t-tags { display: flex; gap: 6px; margin-top: 5px; }
.teacher-info .t-tag { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: #faf3e8; color: var(--primary); }
.teacher-info .t-desc { font-size: 12px; color: var(--text); margin-top: 5px; line-height: 1.6; }
/* 单人师资大卡片 */
.teacher-card.featured { flex-direction: column; align-items: center; text-align: center; padding: 20px 12px; background: linear-gradient(180deg, #faf3e8 0%, #fff 100%); border-radius: 12px; border: 1px solid #f0e2cc; }
.teacher-card.featured .teacher-avatar { width: 72px; height: 72px; font-size: 38px; margin-bottom: 10px; }
.teacher-card.featured .teacher-info { width: 100%; }
.teacher-card.featured .teacher-info .t-name { font-size: 18px; }
.teacher-card.featured .teacher-info .t-title { font-size: 12px; margin-top: 4px; }
.teacher-card.featured .teacher-info .t-tags { justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.teacher-card.featured .teacher-info .t-tag { font-size: 11px; padding: 2px 8px; }
.teacher-card.featured .teacher-info .t-desc { font-size: 13px; margin-top: 10px; line-height: 1.7; }
/* 微信号联系方式醒目卡片 */
.wechat-card { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(135deg, #07c160 0%, #06ad56 100%); border-radius: 12px; color: #fff; }
.wechat-card .wc-icon { font-size: 32px; }
.wechat-card .wc-info { flex: 1; }
.wechat-card .wc-label { font-size: 12px; opacity: 0.9; }
.wechat-card .wc-val { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; margin-top: 2px; }
.wechat-card .wc-copy { font-size: 12px; padding: 6px 12px; background: rgba(255,255,255,0.25); border-radius: 6px; }
.culture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.culture-item { background: #fafafa; border-radius: 8px; padding: 14px 10px; text-align: center; }
.culture-item .ci-emoji { font-size: 28px; }
.culture-item .ci-head { font-size: 13px; font-weight: 600; margin-top: 6px; color: var(--primary); }
.culture-item .ci-text { font-size: 11px; color: var(--text-light); margin-top: 4px; line-height: 1.5; }
.contact-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.contact-row:last-child { border-bottom: none; }
.contact-row .c-label { color: var(--text-light); }
.contact-row .c-val { font-weight: 600; color: var(--text); }

/* ===== 游客引导视图 ===== */
.guest-banner { background: linear-gradient(135deg, #6b4423, #8b5e3c); color: #fff; padding: 32px 20px 28px; text-align: center; border-radius: 0 0 20px 20px; }
.guest-banner .gb-logo { font-size: 48px; }
.guest-banner h1 { font-size: 26px; margin-top: 8px; letter-spacing: 2px; }
.guest-banner .gb-slogan { font-size: 13px; opacity: 0.92; margin-top: 8px; }
.guest-intro { margin: 16px; padding: 16px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.7; color: var(--text); }
.guest-intro b { color: var(--primary); }
.guest-features { margin: 0 16px; }
.guest-features h3 { font-size: 15px; margin-bottom: 12px; }
.feature-item { display: flex; gap: 12px; padding: 14px; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); margin-bottom: 10px; }
.feature-item .fi-icon { font-size: 28px; flex-shrink: 0; }
.feature-item .fi-head { font-size: 14px; font-weight: 600; color: var(--primary); }
.feature-item .fi-text { font-size: 12px; color: var(--text-light); margin-top: 4px; line-height: 1.5; }
.guest-login-btn { display: block; margin: 20px 16px 24px; padding: 14px; text-align: center; background: var(--primary); color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px rgba(107,68,35,0.3); }
.guest-hint { text-align: center; font-size: 12px; color: var(--text-light); padding: 0 20px 20px; }

/* ===== 学生个人练习视图 ===== */
.student-welcome { background: linear-gradient(135deg, #6b4423, #8b5e3c); color: #fff; padding: 24px 20px; }
.student-welcome .sw-hi { font-size: 13px; opacity: 0.9; }
.student-welcome .sw-name { font-size: 22px; font-weight: 700; margin-top: 4px; }
.student-welcome .sw-role { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.my-section-title { font-size: 15px; font-weight: 600; margin: 16px 16px 10px; color: var(--text); }
.my-practice-card { margin: 0 16px; }
.my-status-banner { margin: 16px; padding: 14px 16px; border-radius: 10px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.my-status-banner.done { background: #eefbf0; color: var(--success); }
.my-status-banner.fail { background: #fff5f5; color: var(--danger); }
.my-status-banner.wait { background: #fff8ec; color: #d68910; }
.my-status-banner .msb-icon { font-size: 22px; }

/* ===== 学习指南页 ===== */
.guide-tabs { display: flex; background: var(--card); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.guide-tab { flex: 1; text-align: center; padding: 12px 4px; font-size: 13px; color: var(--text-light); cursor: pointer; border-bottom: 2px solid transparent; }
.guide-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.path-card { background: var(--card); margin: 12px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.path-head { padding: 14px; color: #fff; }
.path-head .ph-name { font-size: 16px; font-weight: 700; }
.path-head .ph-meta { font-size: 12px; opacity: 0.9; margin-top: 4px; }
.path-body { padding: 14px; }
.path-body .pb-title { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.path-body .pb-goal { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; padding: 5px 0; line-height: 1.6; }
.path-body .pb-goal::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.book-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.book-item:last-child { border-bottom: none; }
.book-cover { width: 40px; height: 52px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--primary)); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.book-info { flex: 1; }
.book-info .b-name { font-size: 13px; font-weight: 600; }
.book-info .b-author { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.book-info .b-level { display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 4px; background: #e3f2fd; color: #1565c0; margin-top: 4px; }
.book-info .b-desc { font-size: 12px; color: var(--text); margin-top: 5px; line-height: 1.6; }
.principle-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.principle-item:last-child { border-bottom: none; }
.principle-item .pr-head { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.principle-item .pr-text { font-size: 13px; color: var(--text); line-height: 1.7; }
.classic-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.classic-item:last-child { border-bottom: none; }
.classic-item .cl-name { font-size: 14px; font-weight: 600; }
.classic-item .cl-meta { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.classic-item .cl-desc { font-size: 12px; color: var(--text); margin-top: 5px; line-height: 1.6; }
.classic-item .cl-play { display: inline-block; margin-top: 6px; font-size: 11px; color: var(--primary); border: 1px solid var(--primary); padding: 2px 10px; border-radius: 10px; }

/* ===== 我的页 ===== */
.me-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; padding: 30px 20px 24px; text-align: center; }
.me-avatar { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center; font-size: 32px; }
.me-name { font-size: 17px; font-weight: 600; margin-top: 8px; }
.me-role { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.me-role-tag { display: inline-block; background: rgba(255,255,255,0.25); padding: 2px 10px; border-radius: 10px; }
.me-section { background: var(--card); margin: 12px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.me-row { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; text-decoration: none; color: var(--text); }
.me-row:last-child { border-bottom: none; }
.me-row:active { background: #fafafa; }
.me-row .mr-icon { font-size: 18px; margin-right: 12px; }
.me-row .mr-label { flex: 1; font-size: 14px; }
.me-row .mr-arrow { color: var(--text-light); font-size: 14px; }
.me-bind { background: #faf3e8; border-radius: 8px; padding: 14px; margin: 12px; }
.me-bind .mb-title { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.me-bind .mb-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.me-bind .mb-row .mb-val { font-weight: 600; }

/* ===== 推送记录 ===== */
.notify-item { background: var(--card); margin: 12px; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.notify-item .ni-head { display: flex; justify-content: space-between; align-items: center; }
.notify-item .ni-name { font-size: 14px; font-weight: 600; }
.notify-item .ni-time { font-size: 11px; color: var(--text-light); }
.notify-item .ni-content { font-size: 12px; color: var(--text); margin-top: 8px; line-height: 1.6; background: #fafafa; padding: 10px; border-radius: 6px; }
.notify-item .ni-meta { font-size: 11px; color: var(--text-light); margin-top: 6px; display: flex; gap: 12px; }
.notify-item .ni-sent { color: var(--success); font-weight: 600; }
