/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5fbff;
  color: #0f172a;
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== Variables (悦普深蓝科技 + 活泼 cyan) ===== */
:root {
  --primary: #1479c9;
  --primary-dark: #0b5ea8;
  --primary-light: #53a7e6;
  --primary-soft: #e0f2fe;
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --ink: #0b1a2e;
  --ink-2: #123456;
  --bg: #f5fbff;
  --bg-alt: #e8f6ff;
  --bg-dark: #0b1a2e;
  --card: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --border: #dbeafe;
  --border-soft: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 1px 2px rgba(11,26,46,.04);
  --shadow: 0 8px 24px rgba(20,121,201,.12);
  --shadow-lg: 0 16px 40px rgba(20,121,201,.18);
  --radius: 16px;
  --radius-sm: 10px;
  --gradient: linear-gradient(135deg, #1479c9 0%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  --gradient-cta: linear-gradient(135deg, #0b1a2e 0%, #123456 100%);
  --max-width: 1180px;
}

/* ===== Layout ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: 36px; font-weight: 800; color: var(--ink);
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-title::after {
  content: ''; display: block; width: 56px; height: 5px;
  background: var(--gradient); border-radius: 3px;
  margin: 16px auto 0;
}
.section-subtitle { font-size: 16px; color: var(--text-secondary); }
.page { display: none; min-height: 60vh; }
.page.active { display: block; }
.reveal-ready { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.reveal-ready.revealed { opacity: 1; transform: translateY(0); }
.ripple-host { position: relative; overflow: hidden; }
.click-ripple {
  position: absolute; width: 12px; height: 12px; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.5); transform: translate(-50%, -50%) scale(0);
  animation: click-ripple .55s ease-out forwards;
}
@keyframes click-ripple { to { opacity: 0; transform: translate(-50%, -50%) scale(18); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready { opacity: 1; transform: none; }
}

/* ===== Navbar (浅色科技风) ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20,121,201,.10);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img {
  height: 24px; width: auto; object-fit: contain; display: block;
}
.nav-logo-img.logo-yuepu { height: 25px; }
.nav-logo-img.logo-volcengine { height: 21px; }
.nav-logo-img.logo-trae { height: 20px; }
.nav-title-yp { color: var(--primary); font-size: 16px; font-weight: 700; }
.nav-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text-secondary);
  font-size: 14px; font-weight: 500; transition: all .2s;
}
.nav-link:hover { background: var(--primary-soft); color: var(--primary); }
.nav-link.active { background: var(--gradient); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .2s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 6px 20px rgba(20,121,201,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20,121,201,.45); }
.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.btn-danger-ghost { background: #fff; color: var(--danger); border: 1px solid #fecaca; }
.btn-danger-ghost:hover { background: #fef2f2; border-color: #fca5a5; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:not(:disabled):active { transform: translateY(1px) scale(.98); box-shadow: 0 3px 10px rgba(20,121,201,.2); }
.btn:focus-visible, .gate-choice:focus-visible, .nav-link:focus-visible {
  outline: 3px solid rgba(6,182,212,.28); outline-offset: 3px;
}

/* ===== 全站轻量动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .hero-badge { animation: float-chip 3s ease-in-out infinite; }
  .countdown-item:nth-child(2), .countdown-item:nth-child(4) { animation: float-soft 3.4s ease-in-out infinite .3s; }
  .timeline-item:hover .timeline-num { transform: translateY(-5px) rotate(-4deg) scale(1.06); color: #fff; background: var(--gradient); }
  .hero-feature { transition: transform .24s ease; }
  .hero-feature:hover { transform: translateY(-4px); }
}
@keyframes float-chip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ===== Hero (悦普浅蓝科技 + 活泼光晕) ===== */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(20,121,201,.18) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 70%, rgba(6,182,212,.14) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(20,121,201,.10) 0%, transparent 60%),
    linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 45%, #f5fbff 100%);
  z-index: -1;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,121,201,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,121,201,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .8;
}
.hero-bg::after {
  content: ''; position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,.16) 0%, transparent 65%);
  top: 10%; right: -10%; border-radius: 50%; filter: blur(80px);
}
.hero-inner { text-align: center; position: relative; color: var(--ink); }
.hero-brand-row { display: flex; justify-content: center; align-items: center; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-logo { height: 44px; width: auto; object-fit: contain; display: block; }
.hero-logo.logo-yuepu { height: 46px; }
.hero-logo.logo-volcengine { height: 40px; }
.hero-logo.logo-trae { height: 37px; }
.hero-times {
  font-size: 26px; font-weight: 300; color: var(--primary);
  font-family: inherit;
}
.hero-badge {
  display: inline-block; padding: 6px 18px;
  background: rgba(20,121,201,.10); color: var(--primary);
  border: 1px solid rgba(20,121,201,.25);
  border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 24px; letter-spacing: 1px;
}
.hero-title {
  font-size: 56px; font-weight: 800; color: var(--ink);
  margin-bottom: 20px; letter-spacing: -1px; line-height: 1.15;
}
.hero-subtitle {
  font-size: 22px; color: var(--primary); font-weight: 500;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 16px; color: var(--text-secondary);
  margin-bottom: 32px; line-height: 1.8; max-width: 720px; margin-left: auto; margin-right: auto;
}

/* Hero features strip */
.hero-features {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin: 0 auto 36px; max-width: 920px;
  padding: 20px 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,121,201,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.hero-feature {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 4px 18px;
}
.hero-feature strong { font-size: 16px; color: var(--ink); font-weight: 700; }
.hero-feature span { font-size: 12px; color: var(--text-secondary); }
.hero-feature.hero-feature-highlight {
  background: linear-gradient(135deg, rgba(20,121,201,.12) 0%, rgba(6,182,212,.08) 100%);
  border: 1.5px solid rgba(20,121,201,.2);
  border-radius: 14px;
  padding: 10px 22px;
  position: relative;
}
.hero-feature-emoji {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 4px;
  animation: trophy-bounce 2s ease-in-out infinite;
}
@keyframes trophy-bounce {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.12); }
}
.hero-feature-divider { width: 1px; height: 32px; background: rgba(20,121,201,.15); }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero .btn-ghost {
  background: #fff; color: var(--primary); border: 1.5px solid var(--border);
}
.hero .btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }

/* 倒计时 */
.deadline-strip {
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,121,201,.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20,121,201,.15);
  backdrop-filter: blur(10px);
}
.deadline-copy { text-align: left; }
.deadline-copy span { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.deadline-copy strong { font-size: 22px; color: var(--ink); font-weight: 700; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 68px); gap: 10px; }
.countdown-item {
  min-width: 68px; min-height: 68px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #53a7e6 0%, #1479c9 100%);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(20,121,201,.35);
}
.countdown-item strong { font-size: 26px; line-height: 1; color: #fff; font-weight: 800; }
.countdown-item span { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 6px; }

/* ===== 激励与权益 ===== */
.rewards-section { padding-top: 56px; padding-bottom: 56px; }
.rewards-shell {
  position: relative; overflow: hidden;
  padding: 42px;
  border: 1px solid #b9def7;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 8%, rgba(22,100,255,.12), transparent 32%),
    radial-gradient(circle at 4% 100%, rgba(35,200,222,.11), transparent 30%),
    linear-gradient(135deg, #eef8ff 0%, #ffffff 50%, #f2fbff 100%);
  box-shadow: 0 18px 52px rgba(20,121,201,.12);
}
.rewards-shell::before {
  content: ""; position: absolute; width: 260px; height: 260px;
  right: -105px; top: -120px; border: 36px solid rgba(22,100,255,.045); border-radius: 50%;
}
.rewards-heading {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 30px;
}
.section-kicker {
  display: inline-block; margin-bottom: 10px; color: var(--primary);
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
}
.rewards-heading h2 { margin: 0 0 8px; color: var(--ink); font-size: clamp(28px, 4vw, 42px); line-height: 1.2; }
.rewards-heading p { margin: 0; color: var(--text-secondary); font-size: 16px; }
.rewards-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reward-card {
  position: relative; min-height: 235px; padding: 26px 22px;
  border: 1px solid rgba(20,121,201,.14); border-radius: 18px;
  background: rgba(255,255,255,.88); box-shadow: 0 10px 28px rgba(15,86,141,.08);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.reward-card:hover { transform: translateY(-5px); border-color: rgba(20,121,201,.35); box-shadow: 0 18px 36px rgba(15,86,141,.14); }
.reward-card-main { background: linear-gradient(155deg, #1479c9, #219ee0); border-color: transparent; }
.reward-card-trae { background: linear-gradient(155deg, #f4f8ff, #e8f1ff); border-color: #b9cff8; }
.reward-index { position: absolute; right: 18px; top: 14px; color: rgba(20,121,201,.13); font-size: 42px; font-weight: 900; line-height: 1; }
.reward-card-main .reward-index { color: rgba(255,255,255,.18); }
.reward-label {
  display: inline-flex; padding: 5px 10px; margin-bottom: 32px;
  border-radius: 999px; background: var(--primary-soft); color: var(--primary);
  font-size: 12px; font-weight: 800;
}
.reward-card-main .reward-label { background: rgba(255,255,255,.18); color: #fff; }
.reward-card h3 { position: relative; margin: 0 0 12px; color: var(--ink); font-size: 21px; line-height: 1.3; }
.reward-card p { position: relative; margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.75; }
.reward-card-main h3, .reward-card-main p { color: #fff; }
.reward-card-main p { color: rgba(255,255,255,.82); }
.rewards-note { position: relative; z-index: 1; margin-top: 18px; color: #678098; font-size: 12px; text-align: right; }

/* ===== Stats ===== */
.stats-section { padding: 0; margin-top: -56px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: var(--card); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.stat-number {
  font-size: 40px; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }

/* ===== Timeline (横向时间轴) ===== */
.timeline-track {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  position: relative; padding: 24px 0;
}
.timeline-track::before {
  content: ''; position: absolute;
  left: 4%; right: 4%; top: 84px; height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
  z-index: 0; border-radius: 3px;
}
.timeline-item {
  position: relative; z-index: 1;
  text-align: center; padding: 0 4px;
}
.timeline-num {
  width: 60px; height: 60px; line-height: 58px;
  margin: 0 auto 20px;
  background: #fff; color: var(--primary);
  border: 3px solid var(--primary);
  border-radius: 50%;
  font-size: 18px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(20,121,201,.2);
  transition: transform .24s ease, background .24s ease, color .24s ease, box-shadow .24s ease;
}
.timeline-item:hover .timeline-num { box-shadow: 0 10px 24px rgba(20,121,201,.28); }
.timeline-date {
  font-size: 13px; color: var(--primary);
  font-weight: 700; margin-bottom: 6px;
}
.timeline-item h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.timeline-item p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* ===== Benefits ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit-card {
  background: var(--card); border-radius: var(--radius);
  padding: 36px 24px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: all .3s;
}
.benefit-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light);
}
.benefit-icon {
  width: 64px; height: 64px; line-height: 64px;
  margin: 0 auto 20px;
  background: var(--gradient-soft);
  border-radius: 16px;
  font-size: 32px;
}
.benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.benefit-card p { font-size: 14px; color: var(--text-secondary); }

/* ===== Audience (全体员工) ===== */
.audience-hero {
  background: var(--gradient); border-radius: var(--radius);
  padding: 56px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.audience-hero::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.audience-big {
  font-size: 72px; font-weight: 900; letter-spacing: -2px;
  margin-bottom: 12px; position: relative;
  text-shadow: 0 4px 20px rgba(11,26,46,.15);
}
.audience-meta {
  font-size: 20px; font-weight: 500; opacity: .92;
  margin-bottom: 28px; position: relative;
}
.audience-tags {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  position: relative;
}
.audience-tags span {
  display: inline-block; padding: 8px 18px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; font-size: 14px; font-weight: 600;
}

/* ===== Entry (个人战 / 团队战) ===== */
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.entry-card {
  background: var(--card); border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all .3s;
}
.entry-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.entry-card-team { border: 2px solid var(--primary); background: linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%); }
.entry-card li.highlight {
  color: var(--primary); font-weight: 700;
}
.entry-card li.highlight::before { color: var(--cyan); }
.entry-tag {
  display: inline-block; padding: 4px 12px;
  background: var(--gradient); color: #fff;
  border-radius: 999px; font-size: 12px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: 1px;
}
.entry-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.entry-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.entry-card ul { list-style: none; padding: 0; }
.entry-card li {
  font-size: 14px; color: var(--text); padding: 6px 0 6px 22px;
  position: relative;
}
.entry-card li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== Tools Grid ===== */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tool-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px; text-align: center;
  transition: all .3s; position: relative; overflow: hidden;
}
.tool-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.tool-icon { font-size: 36px; margin-bottom: 14px; }
.tool-tag {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 10px; background: var(--gradient); color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700;
}
.tool-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.tool-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.tool-card.tool-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%);
}

/* ===== Track Grid (4 个赛道) ===== */
.track-intro {
  background: var(--primary-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px;
  text-align: center; font-size: 15px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 32px;
}
.track-intro strong { color: var(--primary); }
.track-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.track-grid.four { grid-template-columns: repeat(4, 1fr); }
.track-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px; text-align: left;
  transition: all .3s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}
.track-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.track-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.track-card:hover::before { transform: scaleX(1); }
.track-num { font-size: 36px; font-weight: 800; color: var(--primary-light); line-height: 1; }
.track-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.track-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.track-scenes {
  font-size: 12px; color: var(--text-light); line-height: 1.6;
  padding-top: 12px; border-top: 1px dashed var(--border);
}

/* ===== Scoring Rules (新规则) ===== */
.scoring-hero {
  background: var(--gradient); border-radius: var(--radius);
  padding: 42px 32px; text-align: center;
  margin-bottom: 48px; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.scoring-hero::before {
  content: ''; position: absolute; top: -60%; right: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.scoring-title {
  font-size: 24px; font-weight: 700; opacity: .85;
  margin-bottom: 16px; position: relative;
}
.scoring-equals {
  font-size: 42px; font-weight: 800;
  margin-bottom: 16px; line-height: 1; position: relative;
}
.scoring-parts {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; position: relative;
}
.scoring-part {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 18px 24px;
  min-width: 170px;
  backdrop-filter: blur(8px);
}
.scoring-badge {
  font-size: 16px; font-weight: 700;
  margin-bottom: 6px;
}
.scoring-badge.cyan { color: #a5f3fc; }
.scoring-badge.dark { color: #e0f2fe; }
.scoring-weight {
  font-size: 28px; font-weight: 800;
}
.scoring-plus {
  font-size: 28px; font-weight: 300; opacity: .7;
}
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.criteria-grid.five { grid-template-columns: repeat(5, 1fr); }
.criteria-card {
  background: var(--card); border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  border: 1px solid var(--border); transition: all .3s;
}
.criteria-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.criteria-score {
  font-size: 42px; font-weight: 800; color: var(--primary);
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.criteria-score span { font-size: 16px; color: var(--text-light); }
.criteria-card h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.criteria-card p { font-size: 14px; color: var(--text-secondary); }
.review-section { position: relative; overflow: hidden; }
.review-section::before {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  top: -260px; right: -180px; pointer-events: none;
  background: radial-gradient(circle, rgba(6,182,212,.14), transparent 68%);
}
.review-stage-grid.three-stages {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; align-items: stretch;
}
.review-stage-card {
  --stage-color: #1479c9; --stage-soft: #e8f6ff;
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px;
  border: 1px solid color-mix(in srgb, var(--stage-color) 24%, white);
  border-radius: 22px; background: #fff; overflow: hidden;
  box-shadow: 0 12px 32px rgba(15,86,141,.09); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.review-stage-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 5px;
  background: linear-gradient(90deg, var(--stage-color), #67e8f9);
}
.review-stage-card:hover { transform: translateY(-8px); border-color: var(--stage-color); box-shadow: 0 22px 48px rgba(15,86,141,.16); }
.preliminary-stage { --stage-color: #1479c9; --stage-soft: #e8f4ff; }
.experience-stage { --stage-color: #06a6c7; --stage-soft: #e7fbff; }
.final-stage { --stage-color: #6d5ce7; --stage-soft: #f0edff; }
.review-stage-head {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: start;
  gap: 12px; min-height: 86px; padding: 4px 0 18px; border-bottom: 1px solid var(--border-soft);
}
.review-stage-num {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px;
  color: #fff; background: var(--stage-color); font-size: 14px; font-weight: 800;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--stage-color) 30%, transparent);
}
.review-stage-head h3 { margin: 0 0 5px; color: var(--ink); font-size: 18px; line-height: 1.4; }
.review-stage-head p { margin: 0; color: var(--stage-color); font-size: 12px; font-weight: 700; }
.stage-weight {
  min-width: 58px; padding: 6px 9px; border-radius: 999px; text-align: center;
  color: var(--stage-color); background: var(--stage-soft); font-size: 15px; font-weight: 900;
}
.stage-metric-list { display: grid; gap: 9px; margin-top: 18px; }
.stage-metric-list > div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: center;
  min-height: 60px; padding: 10px 12px; border: 1px solid transparent; border-radius: 13px;
  background: color-mix(in srgb, var(--stage-soft) 72%, white); transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.stage-metric-list > div:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--stage-color) 28%, white); background: var(--stage-soft); }
.stage-metric-list span { min-width: 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.stage-metric-list b { color: var(--stage-color); font-size: 15px; white-space: nowrap; }
.stage-metric-list small { grid-column: 1 / -1; color: var(--text-secondary); font-size: 11px; line-height: 1.45; }
.review-stage-note {
  margin: auto 0 0; padding-top: 16px; color: var(--text-light); font-size: 12px; line-height: 1.6;
}

/* ===== Material Grid (提交材料) ===== */
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.material-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  transition: all .3s;
}
.material-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.material-icon { font-size: 36px; margin-bottom: 16px; display: inline-block; }
.material-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.material-card p { font-size: 13px; color: var(--text-secondary); }

/* ===== CTA ===== */
.cta-section { padding: 48px 0 88px; }
.cta-box {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 64px 40px; text-align: center; color: var(--ink);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-box::before {
  content: ''; position: absolute;
  top: -40%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20,121,201,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-box p { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; position: relative; }
.cta-box .btn-primary:hover { background: var(--primary-dark); color: #fff; }

/* ===== 报名关联入口 ===== */
.participation-gate {
  margin: 0 auto 26px; padding: 32px; text-align: center;
  border: 1px solid #b9def7; border-radius: 20px;
  background: linear-gradient(135deg, #eef8ff, #fff);
  box-shadow: 0 14px 38px rgba(20,121,201,.10);
}
.participation-gate h2 { margin: 2px 0 10px; color: var(--ink); font-size: 26px; }
.participation-gate p { max-width: 660px; margin: 0 auto 22px; color: var(--text-secondary); line-height: 1.75; }
.participation-gate.confirmed { padding: 20px; }
.participation-gate.confirmed h2, .participation-gate.confirmed p, .participation-gate.confirmed .section-kicker { display: none; }
.gate-choices { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.intent-choices { display: grid; grid-template-columns: repeat(3, 1fr); }
.gate-choice {
  position: relative; min-height: 90px; padding: 17px 44px 17px 18px;
  border: 2px solid var(--border); border-radius: 16px;
  background: #fff; color: var(--text); font: 600 14px "Microsoft YaHei", sans-serif; cursor: pointer;
  text-align: left; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.gate-choice::after {
  content: ''; position: absolute; top: 16px; right: 16px; width: 22px; height: 22px;
  border: 2px solid #b8c9d9; border-radius: 50%; background: #fff; transition: all .2s ease;
}
.gate-choice strong, .gate-choice span { display: block; }
.gate-choice span { margin-top: 5px; color: var(--text-light); font-size: 12px; font-weight: 400; line-height: 1.45; }
.gate-choice:hover { border-color: var(--primary-light); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,121,201,.12); }
.gate-choice.selected {
  border-color: var(--primary); color: #fff; background: var(--gradient);
  transform: translateY(-4px); box-shadow: 0 14px 28px rgba(20,121,201,.25);
}
.gate-choice.selected::after {
  content: '✓'; display: grid; place-items: center; border-color: #fff;
  background: #fff; color: var(--primary); font-size: 14px; font-weight: 900;
}
.gate-choice.selected span { color: rgba(255,255,255,.84); }
.gate-choice.primary { border-color: var(--border); color: var(--text); background: #fff; box-shadow: none; }
.gate-choice.primary:hover { border-color: var(--primary-light); box-shadow: 0 10px 24px rgba(20,121,201,.12); }
.gate-choice.primary.selected { border-color: var(--primary); color: #fff; background: var(--gradient); box-shadow: 0 14px 28px rgba(20,121,201,.25); }
.gate-choice.primary.selected span { color: rgba(255,255,255,.84); }
.gate-note { margin-top: 16px; color: var(--primary); font-weight: 600; }
.registration-mode-note, .early-stage-tip {
  margin-bottom: 22px; padding: 13px 16px; border: 1px solid #b9def7; border-radius: 12px;
  background: #eef8ff; color: #075985; font-size: 13px; line-height: 1.65;
}
.early-stage-tip { margin-bottom: 16px; background: #fffaf0; border-color: #fed7aa; color: #9a4f08; }
.light-only-label { display: none; }
.light-registration .complete-only-required { display: none; }
.light-registration .light-only-label { display: inline; }
.light-registration .form-step:not([data-step="1"]) .required { display: none; }
.success-edit-code {
  width: max-content; margin: 12px auto; padding: 12px 24px;
  border: 1px dashed var(--primary); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: .08em;
}
.success-warning { margin: 8px 0 22px; color: #a45b08; font-size: 13px; }

/* ===== 上传参赛作品 ===== */
.work-upload-page { max-width: 1020px; }
.work-login-card {
  display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 28px;
  padding: 30px; border: 1px solid var(--border); border-radius: 18px;
  background: #fff; box-shadow: var(--shadow);
}
.work-login-copy strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 20px; }
.work-login-copy span { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.work-login-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.work-login-fields input {
  min-width: 0; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: 14px "Microsoft YaHei", sans-serif;
}
.work-submit-shell { animation: fadeIn .3s ease; }
.work-submit-topbar {
  position: sticky; top: 68px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 18px; padding: 14px 20px; border: 1px solid #b9def7; border-radius: 14px;
  background: rgba(244,251,255,.94); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(20,121,201,.08);
}
.work-submit-topbar span { color: var(--text-light); font-size: 12px; }
.work-submit-topbar strong { display: block; color: var(--ink); font-size: 16px; }
.work-form-section {
  margin-bottom: 20px; padding: 32px; border: 1px solid var(--border); border-radius: 18px;
  background: #fff; box-shadow: 0 10px 32px rgba(15,86,141,.07);
}
.work-section-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.work-section-head > span {
  flex: 0 0 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: var(--gradient); color: #fff; font-weight: 800;
}
.work-section-head h2 { margin: 0 0 5px; color: var(--ink); font-size: 22px; }
.work-section-head p { margin: 0; color: var(--text-secondary); font-size: 13px; }
.upload-rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 16px; }
.upload-rule-grid > div { padding: 14px; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--bg-alt); }
.upload-rule-grid strong { display: block; color: var(--ink); font-size: 13px; }
.upload-rule-grid span { display: block; margin-top: 5px; color: var(--text-light); font-size: 12px; line-height: 1.5; }
.submission-checklist { display: grid; gap: 12px; margin-top: 10px; padding: 20px; border-radius: 14px; background: #f1f9ff; border: 1px solid #cde8fa; }
.submission-checklist strong { color: var(--ink); }
.submission-checklist label { display: flex; align-items: flex-start; gap: 10px; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
.submission-checklist input { margin-top: 3px; accent-color: var(--primary); }
.work-save-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; border: 1px solid #b9def7; border-radius: 16px;
  background: linear-gradient(135deg, #eef8ff, #fff); box-shadow: var(--shadow);
}
.work-save-bar span { color: var(--text-secondary); font-size: 13px; }
.work-save-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.work-detail-title { margin-top: 28px !important; background: linear-gradient(135deg, #e7f5ff, #f5fbff) !important; border: 1px solid #b9def7; }
.work-detail-title .detail-label { color: var(--primary); font-size: 15px; font-weight: 800; }

/* ===== Form Page ===== */
.form-page { max-width: 880px; padding: 56px 24px; }
.form-header { text-align: center; margin-bottom: 40px; }
.form-header h1 {
  font-size: 36px; font-weight: 800; margin-bottom: 8px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.form-header p { color: var(--text-secondary); }
.form-container {
  background: var(--card); border-radius: 18px;
  padding: 44px; box-shadow: var(--shadow); border: 1px solid var(--border);
}

/* Step Indicator */
.step-indicator { display: flex; align-items: center; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; gap: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  background: var(--bg-alt); color: var(--text-light);
  border: 2px solid var(--border); transition: all .3s;
}
.step-item.active .step-circle { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(20,121,201,.3); }
.step-item.completed .step-circle { background: var(--success); color: #fff; border-color: transparent; }
.step-label { font-size: 12px; color: var(--text-light); white-space: nowrap; }
.step-item.active .step-label { color: var(--primary); font-weight: 600; }
.step-item.completed .step-label { color: var(--success); }
.step-line { width: 32px; height: 2px; background: var(--border); margin: 0 4px; margin-bottom: 18px; }
.step-line.completed { background: var(--success); }

/* Form Steps */
.form-step { display: none; animation: fadeIn .3s ease; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.form-step-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--bg-alt); color: var(--ink); }

/* Form Elements */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.required { color: var(--danger); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text);
  background: #fff; transition: all .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20,121,201,.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group.full { grid-column: 1 / -1; }
.form-hint { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
.field-hint { font-size: 12px; color: var(--text-light); }
.field-hint-inline { font-size: 12px; color: var(--text-secondary); font-weight: normal; }
.multi-select { position: relative; width: 100%; }
.multi-select summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 44px; padding: 11px 14px; cursor: pointer; list-style: none;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff;
  color: var(--text); font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.multi-select summary::-webkit-details-marker { display: none; }
.multi-select[open] summary { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,121,201,.12); }
.multi-select-arrow { color: var(--text-light); font-size: 18px; transition: transform .2s; }
.multi-select[open] .multi-select-arrow { transform: rotate(180deg); }
.multi-select-menu {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  box-shadow: 0 16px 40px rgba(20, 68, 105, .16);
}
.multi-select-menu label { margin: 0; cursor: pointer; }
.multi-select-menu input { position: absolute; opacity: 0; pointer-events: none; }
.multi-select-menu span {
  display: block; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-secondary); font-size: 13px; font-weight: 500; text-align: center; transition: all .2s;
}
.multi-select-menu label:hover span { border-color: var(--primary-light); color: var(--primary); background: var(--primary-soft); }
.multi-select-menu input:checked + span { border-color: var(--primary); color: #fff; background: var(--gradient); box-shadow: 0 4px 10px rgba(20,121,201,.2); }
.multi-select-hint { margin-top: 7px; line-height: 1.6; color: #8a98a8; }

/* Choice Cards */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice-card { display: block; cursor: pointer; position: relative; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px; text-align: center;
  background: #fff; transition: all .2s;
}
.choice-card:hover .choice-body { border-color: var(--primary-light); }
.choice-card input:checked + .choice-body {
  border-color: var(--primary); background: var(--primary-soft);
  box-shadow: 0 4px 16px rgba(20,121,201,.15);
}
.choice-icon { font-size: 32px; margin-bottom: 12px; }
.choice-body strong { display: block; font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.choice-body em { font-style: normal; font-size: 13px; color: var(--text-secondary); }

/* Tag Items */
.tag-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tag-grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tag-item { cursor: pointer; }
.tag-item input { position: absolute; opacity: 0; pointer-events: none; }
.tag-item span {
  display: inline-block; padding: 8px 16px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 13px; color: var(--text);
  background: #fff; transition: all .2s; width: 100%; text-align: center;
}
.tag-item:hover span { border-color: var(--primary-light); color: var(--primary); }
.tag-item input:checked + span {
  background: var(--gradient); color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(20,121,201,.25);
}

/* Radio Group */
.radio-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-item {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: #fff;
  transition: all .2s;
}
.radio-item:hover { border-color: var(--primary-light); }
.radio-item input { accent-color: var(--primary); }
.radio-item input:checked + .radio-label { color: var(--primary); font-weight: 600; }
.radio-item:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }

/* Conditional Block */
.conditional-block {
  margin: 16px 0 20px; padding: 20px;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px; text-align: center;
  cursor: pointer; transition: all .2s;
  background: var(--bg-alt);
}
.upload-zone:hover { border-color: var(--primary); background: var(--primary-soft); }
.upload-icon { font-size: 48px; margin-bottom: 12px; color: var(--primary); }
.upload-zone p { font-size: 14px; color: var(--text-secondary); margin: 4px 0; }
.upload-formats { font-size: 12px !important; color: var(--text-light) !important; }
.upload-list { margin-top: 16px; }
.upload-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: #fff;
  border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.upload-item-info { display: flex; align-items: center; gap: 12px; }
.upload-item-icon { font-size: 24px; }
.upload-item-name { font-size: 14px; color: var(--text); }
.upload-item-size { font-size: 12px; color: var(--text-light); }
.upload-item-remove { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 18px; }

/* Form Preview */
.form-preview {
  margin-top: 24px; padding: 24px;
  background: var(--bg-alt); border-radius: var(--radius);
}
.form-preview h3 { font-size: 16px; margin-bottom: 16px; }
.preview-content { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.preview-row { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: #fff; border-radius: var(--radius-sm); }
.preview-row.full { grid-column: 1 / -1; }
.preview-label { font-size: 12px; color: var(--text-light); }
.preview-value { font-size: 14px; color: var(--text); word-break: break-word; }

/* Form Nav */
.form-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-soft);
  flex-wrap: wrap; gap: 12px;
}
.form-nav-right { display: flex; align-items: center; gap: 12px; }
.draft-hint { font-size: 12px; color: var(--text-light); }

/* Success Screen */
.success-screen { text-align: center; padding: 60px 20px; }
.success-icon {
  width: 80px; height: 80px; line-height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient); color: #fff;
  border-radius: 50%; font-size: 48px;
  box-shadow: 0 12px 32px rgba(20,121,201,.3);
}
.success-screen h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.success-screen > p { font-size: 16px; color: var(--text-secondary); }
.success-project { font-size: 20px; font-weight: 700; color: var(--primary); margin: 16px 0 8px; }
.success-id {
  display: inline-block; padding: 6px 16px;
  background: var(--primary-soft); color: var(--primary);
  border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Page Header ===== */
.page-header { text-align: center; padding: 56px 24px 32px; }
.page-header h1 {
  font-size: 36px; font-weight: 800; margin-bottom: 8px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-header p { color: var(--text-secondary); }

/* ===== Project Showcase Cards ===== */
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding-bottom: 60px; }
.project-card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden; transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.project-card-img { width: 100%; height: 180px; object-fit: cover; background: var(--bg-alt); }
.project-card-body { padding: 20px; }
.project-card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.project-card-dept { font-size: 12px; color: var(--primary); margin-bottom: 8px; font-weight: 600; }
.project-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.project-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-card-tag {
  padding: 2px 10px; background: var(--primary-soft); color: var(--primary);
  border-radius: 999px; font-size: 11px; font-weight: 600;
}

/* ===== Judge Page ===== */
.judge-page { padding: 40px 24px 80px; }
.judge-login {
  max-width: 420px; margin: 80px auto;
  background: var(--card); padding: 40px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.judge-login h2 {
  font-size: 24px; font-weight: 700; margin-bottom: 8px; text-align: center;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.judge-login p { font-size: 14px; color: var(--text-secondary); text-align: center; margin-bottom: 24px; }

/* ===== Judge Dashboard ===== */
#page-judge {
  min-height: calc(100vh - 68px);
  padding: 38px 24px 72px;
  background:
    radial-gradient(circle at 10% 0%, rgba(6,182,212,.08), transparent 30%),
    linear-gradient(180deg, #f7fcff 0%, #eef8ff 100%);
}
.judge-login { display: flex; align-items: center; justify-content: center; min-height: 62vh; padding: 48px 24px; }
.login-box {
  width: 100%; max-width: 460px; padding: 42px;
  background: rgba(255,255,255,.98); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow-lg); text-align: center;
}
.login-icon { font-size: 44px; margin-bottom: 14px; }
.login-box h2 { font-size: 28px; color: var(--ink); margin-bottom: 8px; }
.login-box p { color: var(--text-secondary); margin-bottom: 24px; }
.login-box input {
  width: 100%; min-height: 50px; padding: 12px 16px; margin-bottom: 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); font: inherit; font-size: 16px; text-align: center;
}
.login-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(20,121,201,.10); }
.login-error { min-height: 22px; margin-top: 12px; color: var(--danger); font-size: 14px; font-weight: 600; }

.judge-dashboard {
  width: min(1180px, 100%); margin: 0 auto; padding: 0;
}
.judge-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 18px;
}
.judge-header h1 { font-size: 32px; line-height: 1.2; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.judge-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.judge-actions .btn { min-height: 40px; }

.judge-info-bar { margin-bottom: 20px; }
.judge-info-display {
  display: flex; align-items: center; gap: 13px; min-height: 70px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.judge-info-display.judge-info-empty { justify-content: space-between; border-color: #fbbf24; background: #fffbeb; }
.judge-info-display.judge-info-empty span { color: #92400e; font-size: 14px; font-weight: 600; }
.judge-info-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-size: 17px; font-weight: 800;
  box-shadow: 0 6px 14px rgba(20,121,201,.20);
}
.judge-info-avatar.small { width: 30px; height: 30px; font-size: 13px; }
.judge-info-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.judge-info-name { color: var(--ink); font-size: 16px; font-weight: 700; }
.judge-info-dept { color: var(--text-secondary); font-size: 13px; }

.judge-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-bottom: 28px;
}
.judge-stat-card {
  position: relative; min-height: 112px; padding: 20px 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.judge-stat-card::after {
  content: ''; position: absolute; right: -20px; bottom: -28px; width: 86px; height: 86px;
  border-radius: 50%; background: rgba(20,121,201,.06);
}
.judge-stat-card:hover { transform: translateY(-2px); border-color: #9bd2f5; box-shadow: var(--shadow); }
.judge-stat-num { color: var(--primary); font-size: 34px; line-height: 1.1; font-weight: 800; }
.judge-stat-label { margin-top: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 600; }

.judge-tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.tab {
  min-height: 44px; padding: 10px 18px; margin-bottom: -1px;
  border: 0; border-bottom: 3px solid transparent; background: transparent;
  color: var(--text-secondary); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.judge-filter-bar {
  display: grid; grid-template-columns: minmax(240px, 1fr) 180px; gap: 12px;
  margin-bottom: 18px; padding: 14px;
  background: rgba(255,255,255,.72); border: 1px solid var(--border); border-radius: 14px;
}
.judge-filter-bar input,
.judge-filter-bar select,
.status-select {
  min-height: 42px; padding: 9px 13px; border: 1.5px solid var(--border);
  border-radius: 9px; background: #fff; color: var(--text); font: inherit; font-size: 14px;
}
.judge-filter-bar input:focus,
.judge-filter-bar select:focus,
.status-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,121,201,.10); }

.judge-project-list { display: flex; flex-direction: column; gap: 12px; }
.judge-project-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px;
  min-height: 104px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.judge-project-item:hover { transform: translateY(-2px); border-color: #9bd2f5; box-shadow: var(--shadow); }
.judge-project-info { min-width: 0; }
.judge-project-name { margin-bottom: 7px; color: var(--ink); font-size: 18px; line-height: 1.35; font-weight: 750; overflow-wrap: anywhere; }
.judge-project-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; color: var(--text-secondary); font-size: 13px; }
.judge-project-meta span { display: inline-flex; align-items: center; }
.judge-project-meta span + span::before { content: '•'; margin-right: 14px; color: #a7c5da; }
.judge-project-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.status-select { min-width: 108px; min-height: 38px; padding: 7px 10px; cursor: pointer; }
.judge-score-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 70px; min-height: 58px; padding: 7px 12px;
  border-radius: 11px; background: var(--gradient-soft);
}
.judge-score-num { color: var(--primary); font-size: 21px; line-height: 1; font-weight: 800; }
.judge-score-label { margin-top: 5px; color: var(--text-secondary); font-size: 11px; }
.judge-score-badge.unscored { background: #f1f5f9; }
.judge-score-badge.unscored .judge-score-num { color: var(--text-light); }

.empty-state { padding: 70px 24px; text-align: center; color: var(--text-light); }
.empty-state-icon { margin-bottom: 12px; font-size: 42px; }
.leaderboard { display: flex; flex-direction: column; gap: 10px; }
.leaderboard-item {
  display: flex; align-items: center; gap: 16px; padding: 17px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.leaderboard-item.top-1 { border-color: #f6c453; background: linear-gradient(90deg, #fffbea, #fff); }
.leaderboard-item.top-2 { border-color: #b8c4d2; background: linear-gradient(90deg, #f8fafc, #fff); }
.leaderboard-item.top-3 { border-color: #e8a85b; background: linear-gradient(90deg, #fff7ed, #fff); }
.leaderboard-rank { min-width: 48px; text-align: center; font-size: 24px; font-weight: 800; }
.leaderboard-rank.gold { color: #d99a00; }
.leaderboard-rank.silver { color: #7c8b9e; }
.leaderboard-rank.bronze { color: #b66a21; }
.leaderboard-info { flex: 1; min-width: 0; }
.leaderboard-name { color: var(--ink); font-size: 16px; font-weight: 700; }
.leaderboard-meta { color: var(--text-secondary); font-size: 13px; }
.leaderboard-score { color: var(--primary); font-size: 25px; font-weight: 800; }

/* ===== Admin & Scoring Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(11,26,46,.48); backdrop-filter: blur(6px);
}
.modal-overlay.active { display: flex; }
.modal {
  display: flex; flex-direction: column; width: min(760px, 100%); max-height: 88vh; overflow: hidden;
  background: #fff; border: 1px solid rgba(255,255,255,.72); border-radius: 20px;
  box-shadow: 0 24px 70px rgba(11,26,46,.28); animation: modalIn .24s ease-out;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { color: var(--ink); font-size: 20px; font-weight: 750; }
.modal-close { padding: 2px 8px; border: 0; background: transparent; color: var(--text-light); font-size: 30px; line-height: 1; cursor: pointer; }
.modal-close:hover { color: var(--ink); }
.modal-body { padding: 24px; overflow-y: auto; }
.detail-section { margin-bottom: 22px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.detail-label { margin-bottom: 5px; color: var(--primary); font-size: 13px; font-weight: 700; }
.detail-value { color: var(--text); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.detail-value.muted { color: var(--text-light); }
.scoring-judge-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 12px 15px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; font-size: 14px; }
.scoring-judge-bar.judge-info-empty { justify-content: space-between; background: #fffbeb; border-color: #fcd34d; }
.score-item { margin-bottom: 20px; }
.score-item-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.score-item-label { color: var(--ink); font-size: 15px; font-weight: 700; }
.score-item-max { color: var(--text-light); font-size: 13px; }
.score-slider-container { display: flex; align-items: center; gap: 14px; }
.score-slider { flex: 1; accent-color: var(--primary); }
.score-value-box { min-width: 50px; padding: 7px 10px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); text-align: center; font-size: 16px; font-weight: 800; }
.score-total-box { display: flex; align-items: center; justify-content: space-between; margin: 22px 0; padding: 16px 20px; border-radius: 13px; background: var(--gradient); color: #fff; }
.score-total-label { font-weight: 700; }
.score-total-value { font-size: 29px; font-weight: 800; }
.scoring-comment { margin-bottom: 20px; }
.scoring-comment textarea { width: 100%; min-height: 90px; padding: 12px; resize: vertical; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; }
.existing-scores { margin-bottom: 20px; }
.existing-scores h4 { margin-bottom: 10px; color: var(--text-secondary); font-size: 14px; }
.score-record { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding: 11px 14px; background: var(--bg-alt); border-radius: 9px; font-size: 14px; }
.score-record-name { font-weight: 650; }
.score-record-total { color: var(--primary); font-weight: 800; }
.judge-manage-add { display: grid; grid-template-columns: 1fr 1fr auto; gap: 9px; margin-bottom: 18px; }
.judge-manage-add input { min-width: 0; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 9px; font: inherit; }
.judge-manage-list { display: flex; flex-direction: column; gap: 9px; max-height: 380px; overflow-y: auto; }
.judge-manage-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.judge-manage-text { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.judge-manage-name { color: var(--ink); font-size: 14px; font-weight: 700; }
.judge-manage-dept { color: var(--text-secondary); font-size: 13px; }
.judge-manage-pwd { display: flex; flex-direction: column; align-items: center; padding: 5px 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 7px; }
.pwd-label { color: #15803d; font-size: 10px; }
.pwd-value { color: #166534; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 800; letter-spacing: 1px; }

@media (max-width: 900px) {
  .judge-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .judge-project-item { grid-template-columns: 1fr; }
  .judge-project-right { justify-content: flex-start; }
}
@media (max-width: 640px) {
  #page-judge { padding: 24px 14px 56px; }
  .judge-header { align-items: flex-start; flex-direction: column; }
  .judge-header h1 { font-size: 27px; }
  .judge-actions { width: 100%; justify-content: flex-start; }
  .judge-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .judge-stat-card { min-height: 96px; padding: 16px; }
  .judge-stat-num { font-size: 29px; }
  .judge-filter-bar { grid-template-columns: 1fr; padding: 11px; }
  .judge-project-item { padding: 17px; }
  .judge-project-right { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .judge-project-right .btn, .judge-project-right .status-select { width: 100%; }
  .judge-score-badge { min-width: 0; }
  .judge-project-meta span + span::before { display: none; }
  .judge-project-meta { flex-direction: column; align-items: flex-start; gap: 3px; }
  .detail-grid { grid-template-columns: 1fr; }
  .judge-manage-add { grid-template-columns: 1fr; }
  .modal-overlay { padding: 12px; }
  .modal-body { padding: 18px; }
}

/* ===== Footer ===== */
.footer {
  background: #fff; color: var(--text-secondary);
  padding: 44px 24px; text-align: center; font-size: 13px;
  border-top: 1px solid var(--border);
}
.footer-brand { color: var(--ink); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.footer p { margin: 4px 0; }
.footer-meta { margin-top: 16px; font-size: 12px; color: var(--text-light); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .timeline-track { grid-template-columns: repeat(3, 1fr); }
  .timeline-track::before { display: none; }
  .track-grid { grid-template-columns: repeat(2, 1fr); }
  .track-grid.four { grid-template-columns: repeat(2, 1fr); }
  .review-stage-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria-grid, .criteria-grid.five { grid-template-columns: repeat(3, 1fr); }
  .material-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 36px; }
  .hero-logo { height: 34px; width: auto; }
  .hero-logo.logo-yuepu { height: 36px; }
  .hero-logo.logo-volcengine { height: 31px; }
  .hero-logo.logo-trae { height: 29px; }
  .rewards-shell { padding: 26px 18px; border-radius: 18px; }
  .rewards-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .rewards-grid { grid-template-columns: 1fr; }
  .reward-card { min-height: auto; }
  .rewards-note { text-align: left; }
  .nav-logo-img { height: 18px; }
  .nav-logo-img.logo-yuepu { height: 19px; }
  .nav-logo-img.logo-volcengine { height: 16px; }
  .nav-logo-img.logo-trae { height: 15px; }
  .nav-title-yp { font-size: 14px; }
  .hero-features { flex-direction: column; gap: 16px; }
  .hero-feature-divider { width: 32px; height: 1px; }
  .deadline-strip { flex-direction: column; gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-track { grid-template-columns: repeat(2, 1fr); }
  .track-grid, .material-grid, .benefits-grid, .entry-grid, .tools-grid {
    grid-template-columns: 1fr;
  }
  .track-grid.four { grid-template-columns: 1fr; }
  .audience-big { font-size: 44px; }
  .audience-tags span { font-size: 13px; padding: 6px 14px; }
  .scoring-part { min-width: 140px; padding: 14px 18px; }
  .scoring-weight { font-size: 22px; }
  .final-score-row { grid-template-columns: 1fr 54px 1.6fr; }
  .final-score-row > * { padding: 10px 8px; font-size: 11px; }
  .form-grid, .preview-content { grid-template-columns: 1fr; }
  .work-login-card { grid-template-columns: 1fr; padding: 22px; }
  .work-login-fields { grid-template-columns: 1fr; }
  .work-form-section { padding: 24px 18px; }
  .multi-select-menu { grid-template-columns: repeat(2, 1fr); }
  .upload-rule-grid { grid-template-columns: 1fr; }
  .work-save-bar { align-items: stretch; flex-direction: column; }
  .work-save-bar .btn { width: 100%; }
  .participation-gate { padding: 26px 18px; }
  .intent-choices { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
