/* ================================================
   艺启未来 - 全局样式
   腾讯风格 · 现代简洁 · 高端大气
================================================ */

:root {
  --primary: #1a6cff;
  --primary-dark: #0050e6;
  --primary-light: #e8f0ff;
  --secondary: #ff6b35;
  --accent: #7c3aed;
  --gold: #f5a623;
  --success: #07c160;
  --warning: #ff9f00;
  --danger: #ee0a24;
  --info: #1989fa;

  --bg-page: #f6f7f9;
  --bg-card: #ffffff;
  --bg-dark: #0d1117;
  --bg-dark2: #161b22;

  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #999;
  --text-light: #bbb;

  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
  --shadow-blue: 0 4px 20px rgba(26,108,255,.3);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --transition: all .25s ease;
  --nav-height: 64px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ===== Layout ===== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-lg { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.page-wrapper { min-height: 100vh; padding-top: var(--nav-height); }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.nav-logo span { color: var(--text-primary); }
.nav-logo img { height: 36px; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  cursor: pointer;
}
.nav-mobile-btn { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(26,108,255,.4); }
.btn-secondary { background: var(--bg-page); color: var(--text-primary); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #cc0a1e; }
.btn-success { background: var(--success); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-page); color: var(--text-primary); }
.btn-sm { padding: 6px 16px; font-size: 13px; border-radius: 6px; }
.btn-lg { padding: 14px 32px; font-size: 17px; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn-round { border-radius: var(--radius-full); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); }

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body { padding: 20px; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.card-footer { padding: 12px 20px; border-top: 1px solid var(--border-light); background: var(--bg-page); }

/* ===== Contest Cards ===== */
.contest-card { cursor: pointer; }
.contest-card .cover {
  position: relative;
  padding-top: 52%;
  overflow: hidden;
}
.contest-card .cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.contest-card:hover .cover img { transform: scale(1.06); }
.contest-card .badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.badge-hot { background: rgba(238,10,36,.85); color: #fff; }
.badge-new { background: rgba(7,193,96,.85); color: #fff; }
.badge-top { background: rgba(245,166,35,.85); color: #fff; }
.badge-closed { background: rgba(0,0,0,.5); color: #fff; }
.contest-card .info { padding: 14px; }
.contest-card .title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.contest-card .meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-muted); }
.contest-card .meta i { font-size: 12px; }
.contest-card .foot { padding: 10px 14px; border-top: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.contest-card .fee { font-size: 16px; font-weight: 700; color: var(--secondary); }
.contest-card .count { font-size: 12px; color: var(--text-muted); }
.countdown { display: inline-flex; align-items: center; gap: 3px; color: var(--danger); font-size: 12px; font-weight: 600; }

/* ===== Player Cards ===== */
.player-card { text-align: center; cursor: pointer; }
.player-card .avatar-wrap { position: relative; display: inline-block; margin: 20px auto 12px; }
.player-card .avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.player-card .level-badge { position: absolute; bottom: 0; right: 0; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: var(--radius-full); }
.player-card .name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.player-card .tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; padding: 0 12px 12px; }
.player-card .tag { background: var(--primary-light); color: var(--primary); font-size: 11px; padding: 2px 8px; border-radius: var(--radius-full); }

/* ===== News Cards ===== */
.news-card { display: flex; gap: 14px; padding: 16px; cursor: pointer; transition: var(--transition); }
.news-card:hover { background: var(--bg-page); }
.news-card + .news-card { border-top: 1px solid var(--border-light); }
.news-card .thumb { width: 100px; height: 70px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .content { flex: 1; min-width: 0; }
.news-card .headline { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .foot { margin-top: 6px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-light); }

/* ===== Tags ===== */
.tag { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: 12px; }
.tag-primary { background: var(--primary-light); color: var(--primary); }
.tag-success { background: rgba(7,193,96,.1); color: var(--success); }
.tag-danger { background: rgba(238,10,36,.1); color: var(--danger); }
.tag-warning { background: rgba(255,159,0,.1); color: var(--warning); }
.tag-muted { background: var(--bg-page); color: var(--text-muted); }

/* ===== Status Badges ===== */
.status { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.status::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; }
.status-pending::before { background: var(--warning); }
.status-active::before { background: var(--success); }
.status-rejected::before { background: var(--danger); }
.status-closed::before { background: var(--text-muted); }

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.form-label .required { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-primary);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,108,255,.12); }
.form-control:disabled { background: var(--bg-page); color: var(--text-muted); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 5px; }

/* ===== Input with icon ===== */
.input-group { position: relative; }
.input-group .form-control { padding-left: 42px; }
.input-group .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; }
.input-group-right .form-control { padding-right: 48px; }
.input-group-right .input-suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }

/* ===== Verification Code ===== */
.code-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.code-btn:disabled { background: var(--text-muted); cursor: not-allowed; }

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 28px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.section-title span { color: var(--primary); }
.section-subtitle { font-size: 15px; color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.section-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-header-row .section-title { font-size: 20px; margin: 0; }

/* ===== Grid ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ===== Stats ===== */
.stat-card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border-light); }
.stat-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--text-primary); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-trend { font-size: 12px; margin-top: 4px; }
.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

/* ===== Banner/Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d1117 0%, #1a3a6c 50%, #0d1117 100%);
  color: #fff;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,108,255,.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-title span { background: linear-gradient(135deg, #64a8ff, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Swiper Banner ===== */
.banner-swiper { border-radius: var(--radius-lg); overflow: hidden; }
.swiper-slide img { width: 100%; height: 400px; object-fit: cover; }
.swiper-pagination-bullet { background: rgba(255,255,255,.6); opacity: 1; }
.swiper-pagination-bullet-active { background: #fff; width: 20px; border-radius: var(--radius-full); }

/* ===== Tabs ===== */
.tabs { display: flex; border-bottom: 2px solid var(--border-light); margin-bottom: 24px; overflow-x: auto; }
.tab { padding: 12px 20px; font-size: 14px; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition); white-space: nowrap; }
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== Pagination ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 20px 0; }
.page-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.disabled { opacity: .4; cursor: not-allowed; }

/* ===== Breadcrumb ===== */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); padding: 14px 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-light); }
.breadcrumb .current { color: var(--text-primary); }

/* ===== Avatar ===== */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-lg { width: 80px; height: 80px; }
.avatar-xl { width: 120px; height: 120px; }
.avatar-placeholder { background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }

/* ===== Empty State ===== */
.empty { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 60px; margin-bottom: 16px; opacity: .3; }
.empty-text { color: var(--text-muted); font-size: 15px; }

/* ===== Loading ===== */
.loading { display: flex; align-items: center; justify-content: center; padding: 40px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Alert/Toast ===== */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.alert-success { background: rgba(7,193,96,.1); color: #05974a; border: 1px solid rgba(7,193,96,.2); }
.alert-danger { background: rgba(238,10,36,.08); color: #cc0000; border: 1px solid rgba(238,10,36,.15); }
.alert-warning { background: rgba(255,159,0,.1); color: #d07a00; border: 1px solid rgba(255,159,0,.2); }
.alert-info { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(26,108,255,.2); }

/* Toast */
#toast-container { position: fixed; top: 80px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  animation: slideIn .3s ease;
  min-width: 240px;
  max-width: 360px;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #fff; border-radius: var(--radius-lg); max-width: 520px; width: 100%; max-height: 90vh; overflow: auto; transform: translateY(20px); transition: transform .25s; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: 17px; font-weight: 600; }
.modal-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); cursor: pointer; color: var(--text-muted); font-size: 18px; }
.modal-close:hover { background: var(--bg-page); color: var(--text-primary); }
.modal-body { padding: 20px 24px; }
.modal-footer { padding: 14px 24px; border-top: 1px solid var(--border-light); display: flex; gap: 10px; justify-content: flex-end; }

/* ===== Sidebar ===== */
.sidebar-nav { background: var(--bg-card); border-radius: var(--radius); padding: 12px; border: 1px solid var(--border-light); }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
  margin-bottom: 2px;
}
.sidebar-nav a i { font-size: 16px; width: 20px; text-align: center; }
.sidebar-nav a:hover { background: var(--bg-page); color: var(--text-primary); }
.sidebar-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

/* ===== Dashboard Layout ===== */
.dashboard { display: flex; gap: 24px; padding: 24px 0; }
.dashboard-sidebar { width: 220px; flex-shrink: 0; position: sticky; top: calc(var(--nav-height) + 20px); height: fit-content; }
.dashboard-main { flex: 1; min-width: 0; }
.dash-header { margin-bottom: 20px; }
.dash-title { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.dash-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border-light); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: var(--bg-page); }
th { padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text-secondary); white-space: nowrap; font-size: 13px; }
td { padding: 14px 16px; border-top: 1px solid var(--border-light); color: var(--text-primary); vertical-align: middle; }
tr:hover td { background: rgba(26,108,255,.03); }
.table-actions { display: flex; gap: 6px; }
.table-actions .btn { padding: 5px 12px; font-size: 12px; }

/* ===== Filter Bar ===== */
.filter-bar { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 150px; }
.filter-label { font-size: 14px; color: var(--text-secondary); white-space: nowrap; flex-shrink: 0; }
.filter-select { 
  flex: 1; 
  min-width: 120px;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--border); 
  border-radius: var(--radius-sm); 
  font-size: 14px; 
  color: var(--text-primary); 
  background: #fff; 
  outline: none; 
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.filter-select:focus { border-color: var(--primary); }
.filter-search { display: flex; align-items: center; gap: 8px; flex: 2; min-width: 250px; }
.filter-search input { flex: 1; }

/* ===== Back to Home ===== */
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.back-home:hover { background: var(--bg-page); color: var(--primary); }

/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.6); padding: 60px 0 30px; }
.footer > .container { display: grid; grid-template-columns: 2fr 3fr; gap: 60px; align-items: start; margin-bottom: 40px; }

/* 品牌区 - 主角 */
.footer-brand { }
.footer-brand .logo { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { 
  width: 36px; height: 36px; border-radius: 50%; 
  background: rgba(255,255,255,.08); 
  display: flex; align-items: center; justify-content: center; 
  font-size: 18px; color: rgba(255,255,255,.5); 
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

/* 导航板块 - 配角 */
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: #fff; }

/* ===== Progress ===== */
.progress { background: var(--border-light); border-radius: var(--radius-full); overflow: hidden; height: 8px; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: var(--radius-full); transition: width .6s ease; }
.progress-labeled { display: flex; align-items: center; gap: 10px; }
.progress-labeled .progress { flex: 1; }
.progress-labeled .val { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* ===== Level Badges ===== */
.level-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.level-1 { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); color: #555; }
.level-2 { background: linear-gradient(135deg, #cd7f32, #f5a623); color: #fff; }
.level-3 { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); color: #333; }
.level-4 { background: linear-gradient(135deg, #ffd700, #ff9500); color: #a30000; }

/* ===== Rich Text Display ===== */
.rich-content { font-size: 15px; line-height: 1.8; color: var(--text-primary); }
.rich-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 12px 0; }
.rich-content p { margin-bottom: 12px; }
.rich-content h1, .rich-content h2, .rich-content h3 { margin: 20px 0 12px; font-weight: 700; }

/* ===== Floating Buttons ===== */
.fab { position: fixed; bottom: 30px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 12px; }
.fab-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; transition: var(--transition); border: none; }
.fab-primary { background: var(--primary); }
.fab-primary:hover { background: var(--primary-dark); transform: scale(1.1); }
.fab-success { background: var(--success); }

/* ===== Work Grid ===== */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.work-thumb { position: relative; padding-top: 100%; cursor: pointer; overflow: hidden; }
.work-thumb img, .work-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.work-thumb:hover img { transform: scale(1.08); }
.work-thumb .play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); color: #fff; font-size: 32px; opacity: 0; transition: opacity .3s; }
.work-thumb:hover .play-icon { opacity: 1; }
.work-thumb .video-badge { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; }

/* ===== Upload Area ===== */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-page);
}
.upload-area:hover, .upload-area.drag-over { border-color: var(--primary); background: var(--primary-light); }
.upload-area .upload-icon { font-size: 48px; color: var(--text-light); margin-bottom: 12px; }
.upload-area .upload-text { font-size: 15px; color: var(--text-muted); }
.upload-area .upload-hint { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* ===== Quill Editor ===== */
.ql-toolbar { border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important; }
.ql-container { border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important; min-height: 200px; font-family: inherit; font-size: 15px; }

/* ===== Admin Specific ===== */
.admin-nav { background: var(--bg-dark2); height: 100vh; width: 240px; flex-shrink: 0; position: fixed; left: 0; top: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: 20px; z-index: 100; }
.admin-nav::-webkit-scrollbar { width: 4px; }
.admin-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }
.admin-nav .brand { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 8px; position: sticky; top: 0; background: var(--bg-dark2); z-index: 1; }
.admin-nav .brand-name { font-size: 16px; font-weight: 700; color: #fff; }
.admin-nav .brand-sub { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.admin-nav .nav-section { padding: 6px 12px; font-size: 11px; text-transform: uppercase; color: rgba(255,255,255,.25); letter-spacing: 1px; margin-top: 8px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; margin: 1px 8px; border-radius: var(--radius-sm); color: rgba(255,255,255,.55); font-size: 14px; transition: var(--transition); text-decoration: none; }
.admin-nav a i { font-size: 15px; width: 18px; }
.admin-nav a:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.admin-nav a.active { background: var(--primary); color: #fff; }
.admin-nav .nav-bottom { position: sticky; bottom: 0; background: var(--bg-dark2); border-top: 1px solid rgba(255,255,255,.06); padding: 12px 8px; margin-top: 16px; }
.admin-nav .nav-bottom a { padding: 10px 16px; color: rgba(255,255,255,.4); font-size: 13px; }
.admin-nav .nav-bottom a:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.admin-nav .nav-bottom a.logout:hover { color: #ef4444; }
.admin-content { margin-left: 240px; min-height: 100vh; background: var(--bg-page); }
.admin-header { background: #fff; border-bottom: 1px solid var(--border-light); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.admin-body { padding: 24px; }
.admin-page-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--text-primary); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 36px; }
  .footer { padding: 40px 0 24px; }
  .footer > .container { gap: 40px; margin-bottom: 30px; }
  .footer-links { gap: 20px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 56px; }
  .nav-menu { display: none; }
  .nav-mobile-btn { display: block; }
  
  /* 通用表单控件统一高度 */
  input[type="text"],
  input[type="tel"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="date"],
  input[type="datetime-local"],
  select,
  textarea {
    height: 46px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    box-sizing: border-box;
  }
  textarea {
    height: auto !important;
    min-height: 100px !important;
  }
  select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
  }
  
  /* 赛事详情页手机端单列布局 - 强制覆盖内联样式 */
  .mobile-contest-detail,
  div.container[style*="padding-bottom:120px"],
  div.container[style*="padding-bottom:100px"] {
    display: block !important;
    padding-bottom: 80px !important;
  }
  .mobile-contest-detail > div[style*="grid-template-columns"],
  div.container[style*="padding-bottom:120px"] > div[style*="grid-template-columns"],
  div.container[style*="padding-bottom:100px"] > div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .mobile-contest-detail > div[style*="grid-template-columns"] > div:last-child,
  div.container[style*="padding-bottom:120px"] > div[style*="grid-template-columns"] > div:last-child,
  div.container[style*="padding-bottom:100px"] > div[style*="grid-template-columns"] > div:last-child {
    display: none !important;
    width: 100% !important;
  }
  .mobile-contest-detail > div:first-child,
  .container[style*="padding-bottom:120px"] > div:first-child,
  .container[style*="padding-bottom:100px"] > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .mobile-contest-detail > div:first-child > div:last-child,
  .container[style*="padding-bottom:120px"] > div:first-child > div:last-child,
  .container[style*="padding-bottom:100px"] > div:first-child > div:last-child {
    display: none !important;
  }
  
  /* 赛事详情页内容区域单列 */
  .mobile-contest-detail .card,
  .container[style*="padding-bottom:120px"] .card {
    margin-bottom: 16px !important;
  }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .dashboard { flex-direction: column; }
  .dashboard-sidebar { width: 100%; position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 40px 0; }
  .form-row { grid-template-columns: 1fr; }
  .admin-nav { width: 200px; }
  .admin-content { margin-left: 200px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  
  /* Hero区域手机端优化 */
  .hero { padding: 50px 0 40px !important; }
  .hero .container > div { 
    grid-template-columns: 1fr !important; 
    gap: 30px !important; 
  }
  .hero-title { font-size: 24px !important; line-height: 1.3; }
  .hero-sub { font-size: 14px !important; max-width: 100% !important; }
  .hero-actions { flex-direction: column; gap: 10px !important; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero > .container > div > div:first-child { text-align: center; }
  .hero > .container > div > div:first-child > div:first-child { justify-content: center; }
  .hero > .container > div > div:first-child > div { align-items: center; }
  .hero > .container > div > div:last-child { display: none !important; }
  
  /* 统计数据手机端 */
  .hero > .container > div > div:first-child > div:last-child {
    justify-content: center;
    gap: 16px !important;
  }
  .hero > .container > div > div:first-child > div:last-child > div {
    min-width: 60px;
    text-align: center;
  }
  .hero > .container > div > div:first-child > div:last-child > div > div:first-child {
    font-size: 20px !important;
  }
  
  /* Footer手机端 - 优化布局和层次感 */
  .footer { padding: 28px 0 20px; }
  .footer > .container { 
    grid-template-columns: 1fr; 
    gap: 0; 
    margin-bottom: 0;
  }
  
  /* 品牌区 - 主角 - 大字醒目 */
  .footer-brand { 
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 20px;
  }
  .footer-brand .logo { font-size: 22px; justify-content: center; display: flex; margin-bottom: 10px; }
  .footer-brand p { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.4); margin-bottom: 12px; }
  .footer-social { justify-content: center; }
  
  /* 导航板块 - 配角 - 三个并排显示 */
  .footer-links { 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 12px !important; 
    margin-bottom: 20px;
  }
  .footer-col { text-align: center; }
  .footer-col h4 { 
    font-size: 13px; 
    margin-bottom: 12px; 
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-weight: 600;
  }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a { font-size: 12px; color: rgba(255,255,255,.5); }
  .footer-col ul li a:hover { color: #fff; }
  .footer-bottom { 
    flex-direction: column; 
    gap: 8px; 
    text-align: center; 
    padding-top: 16px;
  }
  
  /* 板块标题手机端 */
  .section-header-row { 
    flex-direction: column; 
    align-items: flex-start !important; 
    gap: 12px !important; 
  }
  .section-title { font-size: 20px !important; }
  .section-header-row .btn { width: 100%; text-align: center; }
  
  /* 赛事详情页手机端 - 768px */
  .breadcrumb { flex-wrap: wrap; font-size: 12px; gap: 4px; }
  
  /* 强制覆盖内联grid样式 */
  .mobile-contest-detail > div[style*="grid"],
  .mobile-contest-detail > div[style*="1fr"],
  div.container[style*="padding-bottom:120px"] > div,
  div.container[style*="padding-bottom:100px"] > div { 
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important; 
    gap: 16px !important; 
  }
  
  /* 隐藏右侧边栏 */
  .mobile-contest-detail > div[style*="grid"] > div:last-child,
  .mobile-contest-detail > div[style*="1fr 340px"] > div:last-child,
  div.container[style*="padding-bottom:120px"] > div > div:last-child,
  div.container[style*="padding-bottom:100px"] > div > div:last-child { 
    display: none !important; 
    width: 100% !important;
  }
  
  /* 左侧内容宽度100% */
  .mobile-contest-detail > div[style*="grid"] > div:first-child,
  .mobile-contest-detail > div[style*="1fr 340px"] > div:first-child,
  div.container[style*="padding-bottom:120px"] > div > div:first-child,
  div.container[style*="padding-bottom:100px"] > div > div:first-child { 
    width: 100% !important; 
  }
  .mobile-contest-detail .card,
  .container[style*="padding-bottom:120px"] .card,
  .container[style*="padding-bottom:100px"] .card { margin-bottom: 16px !important; }
  .mobile-contest-detail .card-body,
  .container[style*="padding-bottom:120px"] .card-body,
  .container[style*="padding-bottom:100px"] .card-body { padding: 16px !important; }
  .mobile-contest-detail h1,
  .container[style*="padding-bottom:120px"] h1,
  .container[style*="padding-bottom:100px"] h1 { font-size: 18px !important; }
  .mobile-contest-detail img,
  .container[style*="padding-bottom:120px"] img,
  .container[style*="padding-bottom:100px"] img { height: 220px !important; }
  .mobile-contest-detail > div > div:first-child > div:nth-child(2),
  .container[style*="padding-bottom:120px"] > div > div:first-child > div:nth-child(2),
  .container[style*="padding-bottom:100px"] > div > div:first-child > div:nth-child(2) { 
    display: none !important; 
  }
  
  /* 赛事详情页 - 信息网格单列显示 */
  .mobile-contest-detail > div > div:first-child > div:first-child > div:nth-child(3),
  .container[style*="padding-bottom:120px"] > div > div:first-child > div:first-child > div:nth-child(3),
  .container[style*="padding-bottom:100px"] > div > div:first-child > div:first-child > div:nth-child(3) {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .mobile-contest-detail > div > div:first-child > div:first-child > div:nth-child(3) > div,
  .container[style*="padding-bottom:120px"] > div > div:first-child > div:first-child > div:nth-child(3) > div,
  .container[style*="padding-bottom:100px"] > div > div:first-child > div:first-child > div:nth-child(3) > div {
    padding: 10px !important;
  }
  .mobile-contest-detail > div > div:first-child > div:first-child > div:nth-child(3) > div > div:first-child,
  .container[style*="padding-bottom:120px"] > div > div:first-child > div:first-child > div:nth-child(3) > div > div:first-child,
  .container[style*="padding-bottom:100px"] > div > div:first-child > div:first-child > div:nth-child(3) > div > div:first-child {
    display: none !important;
  }
  .mobile-contest-detail > div > div:first-child > div:first-child > div:nth-child(3) > div > div:last-child > div:first-child,
  .container[style*="padding-bottom:120px"] > div > div:first-child > div:first-child > div:nth-child(3) > div > div:last-child > div:first-child,
  .container[style*="padding-bottom:100px"] > div > div:first-child > div:first-child > div:nth-child(3) > div > div:last-child > div:first-child {
    font-size: 10px !important;
  }
  .mobile-contest-detail > div > div:first-child > div:first-child > div:nth-child(3) > div > div:last-child > div:last-child,
  .container[style*="padding-bottom:120px"] > div > div:first-child > div:first-child > div:nth-child(3) > div > div:last-child > div:last-child,
  .container[style*="padding-bottom:100px"] > div > div:first-child > div:first-child > div:nth-child(3) > div > div:last-child > div:last-child {
    font-size: 12px !important;
  }
  
  /* 选手详情页手机端 */
  .page-wrapper > div:nth-child(2) { height: 180px !important; }
  .card[style*="margin-top:-60px"] { 
    margin-top: -40px !important; 
    margin-left: 12px !important; 
    margin-right: 12px !important; 
  }
  .card[style*="margin-top:-60px"] .card-body { padding: 16px !important; }
  .card[style*="margin-top:-60px"] > .card-body > div:first-child { 
    flex-direction: column !important; 
    align-items: center !important; 
    text-align: center !important; 
    gap: 12px !important; 
  }
  .card[style*="margin-top:-60px"] > .card-body > div:first-child > div:first-child { 
    margin-top: -30px !important; 
    margin-bottom: 8px !important; 
  }
  .card[style*="margin-top:-60px"] img[style*="width:100px"] { 
    width: 80px !important; 
    height: 80px !important; 
    font-size: 28px !important; 
  }
  .card[style*="margin-top:-60px"] h1 { font-size: 18px !important; }
  
  /* 艺人卡片手机端 */
  .player-card { padding: 16px 12px !important; }
  .player-card .avatar { width: 60px !important; height: 60px !important; }
  .player-card .name { font-size: 14px; }
  .player-card .tags { flex-wrap: wrap; justify-content: center; }
  
  /* 赛事卡片手机端 */
  .contest-card .info { padding: 12px; }
  .contest-card .title { font-size: 14px; }
  .contest-card .meta { flex-direction: column; gap: 4px; }
  .contest-card .foot { flex-direction: column; gap: 8px; align-items: flex-start; }
  
  /* 表单控件平板端对齐 - 统一高度和样式 */
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-group { margin-bottom: 16px; }
  .form-control, .form-input, .form-select, .form-textarea {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    height: 46px;
    line-height: 1.4;
  }
  select.form-control, select.form-input, select.form-select { height: 46px; }
  textarea.form-control, textarea.form-textarea { height: auto; min-height: 100px; }
  
  /* 搜索框对齐 */
  .search-box { padding: 12px 16px; border-radius: 10px; height: 46px; }
  .search-box input { height: 22px; }
  
  /* 选择框对齐 */
  select.form-control, select.form-input, select.form-select {
    padding-right: 40px;
    background-position: right 14px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px;
  }
  
  /* 日期选择器对齐 */
  input[type="date"], input[type="datetime-local"] {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    height: 46px;
    line-height: 1.4;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  /* 所有筛选/过滤选择框统一 */
  .filter-bar select, .filter-bar input,
  .filter-row select, .filter-row input,
  div[role="search"] select, div[role="search"] input,
  .filter select, .filters select, .filter-bar * select, .filter-bar * input {
    height: 46px !important;
    padding: 12px 40px 12px 14px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
  }
  
  /* 筛选栏手机端自适应 - 768px */
  .filter-bar { 
    flex-wrap: wrap; 
    gap: 12px; 
    padding: 16px;
  }
  .filter-bar .filter-group { 
    flex: 1 1 calc(50% - 6px); 
    min-width: 120px; 
    margin-bottom: 0;
  }
  .filter-bar .filter-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
  }
  .filter-bar select, .filter-bar input { 
    width: 100%; 
    height: 42px !important;
    background-color: #fff !important;
    border: 1px solid #e0e0e0 !important;
  }
  .filter-bar select {
    padding-right: 36px !important;
  }
  
  /* 输入框带图标 */
  .input-group .form-control { 
    padding-left: 38px; 
    height: 44px;
  }
  .input-group .input-icon { 
    left: 12px; 
    font-size: 16px; 
  }
  .input-group-right .form-control { 
    padding-right: 44px; 
  }
  
  /* 报名按钮 */
  #mobile-signup-btn { display: block !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  
  /* 通用表单控件统一高度 - 480px */
  input[type="text"],
  input[type="tel"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="date"],
  input[type="datetime-local"],
  select,
  textarea {
    height: 42px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box;
  }
  textarea {
    height: auto !important;
    min-height: 80px !important;
  }
  select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px !important;
    padding-right: 36px !important;
  }
  
  /* 赛事详情页480px单列布局 */
  .mobile-contest-detail > div[style*="grid"],
  .mobile-contest-detail > div[style*="1fr"],
  .container[style*="padding-bottom:120px"] > div:first-child,
  .container[style*="padding-bottom:100px"] > div:first-child,
  div[style*="grid-template-columns:1fr 340px"] {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .mobile-contest-detail > div[style*="grid"] > div:last-child,
  .mobile-contest-detail > div[style*="1fr 340px"] > div:last-child,
  .container[style*="padding-bottom:120px"] > div:first-child > div:last-child,
  .container[style*="padding-bottom:100px"] > div:first-child > div:last-child,
  div[style*="grid-template-columns:1fr 340px"] > div:last-child {
    display: none !important;
    width: 100% !important;
  }
  .mobile-contest-detail > div[style*="grid"] > div:first-child,
  .mobile-contest-detail > div[style*="1fr 340px"] > div:first-child {
    width: 100% !important;
  }
  .news-card { flex-direction: column; }
  .news-card .thumb { width: 100%; height: 160px; }
  .swiper-slide img { height: 200px; }
  .admin-nav { display: none; }
  .admin-content { margin-left: 0; }
  
  /* 更多手机端优化 */
  .section { padding: 30px 0; }
  .section-title { font-size: 18px !important; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-header-row .btn { width: 100%; text-align: center; }
  .section-header p { font-size: 12px !important; }
  
  /* Hero区域进一步优化 */
  .hero { padding: 40px 0 30px !important; }
  .hero-title { font-size: 22px !important; }
  .hero-sub { font-size: 13px !important; margin-bottom: 24px !important; }
  .hero-actions { gap: 8px !important; }
  .hero-actions .btn { padding: 12px 20px; font-size: 14px; }
  
  /* 艺人卡片手机端 */
  .player-card { padding: 16px 12px !important; }
  .player-card .avatar { width: 56px !important; height: 56px !important; }
  .player-card .name { font-size: 14px; }
  .player-card .tags { flex-wrap: wrap; justify-content: center; }
  .player-card .tags .tag { font-size: 11px; padding: 2px 8px; }
  
  /* 赛事卡片手机端 */
  .contest-card .cover { padding-top: 56%; }
  .contest-card .info { padding: 10px; }
  .contest-card .title { font-size: 13px; }
  .contest-card .meta { flex-direction: column; gap: 4px; font-size: 11px; }
  .contest-card .foot { 
    flex-direction: row !important; 
    justify-content: space-between; 
    align-items: center !important;
    padding: 10px;
    border-top: 1px solid var(--border-light);
  }
  .contest-card .fee { font-size: 14px; font-weight: 600; }
  
  /* 新闻卡片手机端 */
  .grid-2[style*="gap:0"] { gap: 12px !important; }
  .grid-2[style*="gap:0"] > .card { border-radius: var(--radius) !important; border-left: 1px solid var(--border-light) !important; }
  
  /* 平台优势手机端 */
  .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .grid-4 > div { padding: 16px 8px !important; }
  .grid-4 > div > div:first-child { 
    width: 44px !important; 
    height: 44px !important; 
    font-size: 18px !important; 
    border-radius: 12px !important;
  }
  .grid-4 > div h3 { font-size: 13px !important; margin-bottom: 6px !important; }
  .grid-4 > div p { font-size: 11px !important; display: none; }
  
  /* CTA区域手机端 */
  section[style*="linear-gradient(135deg,#1a6cff"] { 
    padding: 40px 0 !important; 
  }
  section[style*="linear-gradient(135deg,#1a6cff"] h2 { 
    font-size: 20px !important; 
    margin-bottom: 10px !important;
  }
  section[style*="linear-gradient(135deg,#1a6cff"] p { 
    font-size: 13px !important; 
    margin-bottom: 24px !important;
  }
  section[style*="linear-gradient(135deg,#1a6cff"] .btn { 
    padding: 12px 24px; 
    font-size: 14px; 
  }
  
  /* 统计数据手机端 */
  .hero > .container > div > div:first-child > div:last-child {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px !important;
    margin-top: 24px !important;
  }
  .hero > .container > div > div:first-child > div:last-child > div {
    min-width: 60px;
  }
  .hero > .container > div > div:first-child > div:last-child > div > div:first-child {
    font-size: 18px !important;
  }
  .hero > .container > div > div:first-child > div:last-child > div > div:last-child {
    font-size: 11px !important;
  }
  
  /* Footer进一步优化 - 小屏幕 */
  .footer { padding: 20px 0 16px; }
  .footer > .container { 
    grid-template-columns: 1fr; 
    gap: 0; 
  }
  
  /* 品牌区 */
  .footer-brand { 
    padding-bottom: 16px; 
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer-brand .logo { font-size: 20px; }
  .footer-brand p { font-size: 11px; display: none; }
  
  /* 三个导航并排 - 保持水平 */
  .footer-links { 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 6px !important; 
    margin-bottom: 16px;
  }
  .footer-col { text-align: center; padding: 0 4px; }
  .footer-col h4 { 
    font-size: 11px; 
    margin-bottom: 6px; 
    padding-bottom: 4px;
  }
  .footer-col ul li { margin-bottom: 4px; }
  .footer-col ul li a { font-size: 10px; }
  .footer-bottom { font-size: 11px; }
    padding-bottom: 6px;
  }
  .footer-col ul li { margin-bottom: 5px; }
  .footer-col ul li a { font-size: 11px; }
  
  /* 底部版权 */
  .footer-bottom { 
    flex-direction: column; 
    gap: 6px; 
    text-align: center; 
    font-size: 11px;
    padding-top: 16px;
  }
  
  /* 新闻列表手机端 */
  .news-card { padding: 12px; }
  .news-card .headline { font-size: 14px; }
  .news-card .foot { font-size: 11px; }
  
  /* 表单控件手机端对齐 - 统一高度 */
  .form-row { grid-template-columns: 1fr !important; gap: 12px !important; }
  .form-group { margin-bottom: 12px; }
  .form-label { font-size: 13px; margin-bottom: 6px; }
  .form-control, .form-input, .form-select, .form-textarea {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    height: 42px;
    line-height: 1.4;
  }
  select.form-control, select.form-input, select.form-select { height: 42px; }
  textarea.form-control, textarea.form-textarea { height: auto; min-height: 80px; }
  .form-control::placeholder, .form-input::placeholder { font-size: 13px; }
  
  /* 搜索框对齐 */
  .search-box, .search-input, div[style*="search"] {
    padding: 10px 14px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    height: 42px !important;
  }
  .search-box input, .search-input input {
    font-size: 14px !important;
  }
  
  /* 选择框对齐 */
  select.form-control, select.form-input, select.form-select {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
  }
  
  /* 日期选择器对齐 */
  input[type="date"], input[type="datetime-local"] {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    height: 42px;
    line-height: 1.4;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  /* 所有筛选/过滤选择框统一 - 480px */
  .filter-bar select, .filter-bar input,
  .filter-row select, .filter-row input,
  div[role="search"] select, div[role="search"] input,
  .filter select, .filters select, .filter-bar * select, .filter-bar * input {
    height: 42px !important;
    padding: 10px 36px 10px 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
  }
  
  /* 筛选栏手机端自适应 - 480px */
  .filter-bar { 
    flex-direction: column; 
    gap: 10px; 
    padding: 12px;
  }
  .filter-bar .filter-group { 
    width: 100%; 
    flex: none;
    min-width: unset;
  }
  .filter-bar .filter-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
  }
  .filter-bar select, .filter-bar input { 
    width: 100%; 
    height: 42px !important;
    background-color: #fff !important;
    border: 1px solid #e0e0e0 !important;
  }
  
  /* 报名按钮手机端优化 */
  #mobile-signup-btn { display: block !important; }
  .container[style*="padding-bottom:100px"] { padding-bottom: 80px !important; }
  
  /* 输入框带图标 */
  .input-group .form-control { 
    padding-left: 36px; 
    height: 42px;
    font-size: 14px;
  }
  .input-group .input-icon { 
    left: 10px; 
    font-size: 15px; 
  }
  .input-group-right .form-control { 
    padding-right: 40px; 
  }
  
  /* 登录/注册卡片 */
  .card[style*="border-radius:20px"] {
    margin: 0 8px;
    border-radius: 16px !important;
  }
  .card[style*="border-radius:20px"] > div {
    padding: 24px 20px !important;
  }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ===== Selection ===== */
::selection { background: rgba(26,108,255,.15); }
