:root {
  --brand: #3664fb;
  --ink: #1a1a1a;
  --muted: #666;
  --surface: #f3f5f8;
  --soft-blue: #eef4ff;
  --jlc-page: #f0f2f6;
  --jlc-divider: #e5e8ef;
  --jlc-muted: #666;
  --jlc-ink: #1a1a1a;
  --jlc-blue: var(--brand);
  --content: 1600px;
  --heading: 40px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.65 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
button, select, input { font: inherit; }
img { max-width: 100%; }
.wrap { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 2; background: #fff; }
.site-header.scrolled { box-shadow: 0 2px 8px rgb(18 34 66 / 7%); }
.header-inner { min-height: 64px; display: flex; align-items: center; gap: 40px; }
.header-inner img { display: block; width: 132px; }
.header-inner nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.header-inner nav a { color: var(--ink); font-size: 14px; }
.header-inner nav a:hover { color: var(--brand); }
.hero { background: linear-gradient(115deg, #f2f7ff 8%, #eaf2ff 58%, #dcecff); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; height: 320px; }
.hero-copy { position: relative; z-index: 1; }
h1, .section h2 { font-size: var(--heading); line-height: 1.24; font-weight: 650; }
.hero-copy > p { margin-top: 12px; color: #4d4d4d; }
.hero-copy .hero-reward { margin-top: 8px; }
.hero-reward strong { color: #234ad0; font-size: 21px; }
.hero-art { width: 320px; height: 300px; object-fit: contain; justify-self: center; }
.section { padding-block: 70px; scroll-margin-top: 110px; }
#guide, #rules { background: var(--surface); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 28px; }
.meta, .note, .quota, .reward-foot, .footer-note { color: var(--muted); font-size: 14px; }
.steps, .cards, .award-grid-main, .award-grid-sub { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.step, .card, .award { border-radius: 12px; padding: 24px; min-width: 0; overflow-wrap: anywhere; }
.step { background: var(--surface); }
.step-no { font-size: 24px; font-weight: 600; color: #234ad0; line-height: 1.2; margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p, .card p, .desc { color: #4d4d4d; }
.step p + p { margin-top: 8px; }
.chip { display: inline-block; padding: 4px 8px; margin: 12px 8px 0 0; border-radius: 4px; background: #e8efff; color: #234ad0; font-size: 14px; }
.btn { border: 1px solid var(--brand); border-radius: 8px; background: var(--brand); color: white; min-height: 40px; padding: 7px 20px; cursor: pointer; font-size: 14px; font-weight: 400; }
.btn:hover { background: #2854e7; }
.step .btn, .step .note { margin-top: 12px; }
.requirement, .tips, .issue-note { background: var(--soft-blue); color: #333; padding: 16px 20px; border-radius: 8px; }
.requirement { margin-top: 16px; }
.track-head h3, .reward-head h3 { font-size: 24px; }
.slogan { margin-top: 8px; font-size: 18px; font-weight: 600; }
.cards { margin-block: 20px 16px; }
.card { background: white; }
.guide-icon { display: block; width: 28px; height: 28px; margin-bottom: 16px; }
.card h4 { font-size: 16px; margin-bottom: 8px; }
.guide-secondary, .reward-secondary { margin-top: 32px; }
.reward-head { margin-bottom: 16px; }
.award { background: var(--surface); }
.award.top { background: var(--soft-blue); }
.name { font-size: 18px; font-weight: 600; }
.money { color: #234ad0; font-size: clamp(18px, 2vw, 26px); font-weight: 650; margin: 12px 0 4px; }
.participation { margin-top: 16px; }
.participation .extra { margin-top: 8px; }
.corner { color: #234ad0; float: right; }
.reward-foot { margin-top: 16px; }
.eval-box, .explain { margin-top: 16px; padding: 16px 20px; background: var(--surface); border-radius: 8px; }
.eval-box strong, .explain strong { display: block; margin-bottom: 8px; }
.explain ul { list-style: none; padding: 0; margin: 0; }
.explain li + li { margin-top: 8px; }
.rules-layout { background: white; border-radius: 12px; padding: 24px 32px; }
.rules-layout ol { margin: 0; padding-left: 24px; }
.rules-layout li { padding-left: 8px; }
.rules-layout li + li { margin-top: 12px; }
.footer-note { margin-top: 16px; }
dialog { color: inherit; width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; }
dialog::backdrop { background: rgb(18 28 45 / 48%); }
body:has(dialog[open]) { overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--jlc-divider); padding: 16px 24px; }
.modal-head h2 { font-size: 16px; }
.close { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.close:hover { background: var(--surface); }
.close img { width: 16px; }
form { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-grid label { font-size: 14px; }
.form-grid input, .form-grid select { display: block; width: 100%; min-height: 40px; margin-top: 8px; padding: 0 12px; border: 1px solid var(--jlc-divider); border-radius: 8px; background: #fff; color: var(--ink); }
.form-grid select { appearance: none; padding-right: 32px; background: #fff url("assets/expand.svg") no-repeat right 12px center / 12px; }
.form-grid input::placeholder, .form-grid select:invalid { color: #999; }
.full { grid-column: 1/-1; }
.issue-note { font-size: 14px; margin-top: 20px; }
.issue-note strong { display: block; margin-bottom: 4px; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 20px; }
#form-status { font-size: 14px; color: var(--muted); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (max-width: 1680px) { :root { --content: 1264px; --heading: 32px; } }
@media (max-width: 760px) {
  :root { --heading: 28px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 8px 24px; padding-block: 12px; flex-wrap: wrap; }
  .header-inner nav { gap: 8px 16px; }
  .hero-inner { grid-template-columns: 1fr .65fr; }
  .hero-art { width: 100%; height: auto; }
  .section { padding-block: 48px; }
  .steps, .cards, .award-grid-main, .award-grid-sub { grid-template-columns: 1fr; }
  .rules-layout, .step, .card, .award { padding: 20px; }
}
@media (max-width: 450px) {
  .hero-inner { grid-template-columns: 1fr; grid-template-rows: auto 110px; align-content: center; gap: 8px; }
  .hero-art { width: 140px; height: 110px; justify-self: end; }
  .form-grid { grid-template-columns: 1fr; }
  .corner { float: none; margin-bottom: 8px; }
}

/* 用官网头图的左文右景结构承载两条赛道的素材。 */
.hero { background:#e9f3ff; }
.hero-inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); isolation:isolate; }
.hero-art { position:relative; display:flex; align-items:center; justify-content:center; gap:8px; width:100%; height:320px; }
.hero-art::before { content:""; position:absolute; z-index:-1; inset:0; background:url("assets/hero-background.png") center / cover no-repeat; mask-image:linear-gradient(90deg,transparent,#000 24%,#000 82%,transparent); opacity:.7; }
.hero-art img { width:min(42%,270px); height:auto; object-fit:contain; }
.hero-art .hero-open { margin-top:-24px; }
.hero-copy { padding-right:16px; }
.steps { list-style:none; margin:0; padding:0; }
.step { padding:24px 28px; }
.step-no { display:grid; place-items:center; width:40px; height:40px; background:#e9efff; border-radius:8px; font-size:16px; }
#guide .card { display:grid; grid-template-columns:44px minmax(0,1fr); align-items:start; gap:16px; padding:24px; }
.guide-icon { width:44px; height:44px; padding:10px; background:#eff4ff; border-radius:8px; margin:0; }
.reward-head { margin-bottom:16px; }
.participation { border-left:0; }
.award { padding:24px 28px; }
.money { color:var(--brand); }
.rules-layout li + li { padding-top:12px; border-top:1px solid #f0f2f5; }
.form-grid .light-dropdown { position:relative; margin-top:8px; }
.form-grid .light-dropdown summary { display:flex; align-items:center; min-height:40px; padding:0 32px 0 12px; border:1px solid var(--jlc-divider); border-radius:8px; cursor:pointer; background:#fff url("assets/expand.svg") no-repeat right 12px center / 12px; }
.form-grid .light-dropdown summary::-webkit-details-marker { display:none; }
.form-grid .light-dropdown summary[data-placeholder] { color:#999; }
.form-grid .light-dropdown-options { position:absolute; z-index:2; top:calc(100% + 6px); left:0; right:0; padding-block:4px; max-height:152px; overflow:auto; border:1px solid var(--jlc-divider); border-radius:8px; background:#fff; box-shadow:0 4px 16px #152c4d12; }
.form-grid .light-dropdown-options button { display:block; width:100%; border:0; background:#fff; padding:6px 12px; text-align:left; color:#333; cursor:pointer; }
.form-grid .light-dropdown-options button:hover { background:#f5f7fa; }
.form-grid .light-dropdown-options button[aria-pressed=true] { background:#edf3ff; color:var(--brand); }
.form-grid select[hidden] { display:none; }
@media(max-width:760px) {
  .hero-inner { grid-template-columns:1.15fr 1fr; }
  .hero-art img { width:48%; }
  .step,.award { padding:20px; }
}
@media(max-width:450px) {
  .hero-inner { grid-template-columns:1fr; grid-template-rows:auto 118px; gap:6px; }
  .hero-art { height:118px; justify-content:flex-end; }
  .hero-art img { width:112px; }
  .hero-art .hero-open { margin-top:-8px; }
  .hero-art::before { inset:0 0 0 15%; }
}
