:root {
  color-scheme: light;
  --bg: #f7fbff;
  --bg-2: #eaf4ff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --line: rgba(47, 124, 255, 0.18);
  --text: #102033;
  --muted: #5d718b;
  --cyan: #18bfff;
  --green: #2f7cff;
  --gold: #6ea8ff;
  --coral: #ff6b6b;
  --violet: #6f8cff;
  --shadow: 0 22px 70px rgba(43, 103, 190, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 16% 8%, rgba(24, 191, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 86% 14%, rgba(47, 124, 255, 0.16), transparent 28rem),
    linear-gradient(140deg, #ffffff 0%, #f6fbff 48%, #eaf4ff 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.84;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 124, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 124, 255, 0.075) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(47, 124, 255, 0.42), rgba(47, 124, 255, 0.08));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid rgba(47, 124, 255, 0.14);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(47, 124, 255, 0.34);
  background: linear-gradient(135deg, rgba(47, 124, 255, 0.18), rgba(24, 191, 255, 0.22));
  color: var(--green);
  font-weight: 900;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(47, 124, 255, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2c4664;
  font-size: 14px;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.primary-link.is-active,
.text-link:hover,
.ghost-link:hover {
  color: var(--green);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-strip {
  position: sticky;
  top: 76px;
  z-index: 18;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 11px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid rgba(47, 124, 255, 0.12);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-left: clamp(16px, 4vw, 54px);
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 26px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 26px), transparent 100%);
}

.module-strip::-webkit-scrollbar {
  display: none;
}

.module-strip a {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  scroll-snap-align: start;
  border: 1px solid rgba(47, 124, 255, 0.16);
  border-radius: 999px;
  padding: 0 16px;
  color: #38536e;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.module-strip a:hover {
  border-color: rgba(47, 124, 255, 0.4);
  color: var(--green);
}

.module-strip a.is-active {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 8px 20px rgba(47, 124, 255, 0.32);
}

.ghost-link,
.primary-link,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid rgba(47, 124, 255, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.primary-link,
.button.primary {
  border-color: rgba(47, 124, 255, 0.54);
  background: linear-gradient(135deg, #2f7cff, #18bfff);
  color: #ffffff;
  font-weight: 800;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.button:hover,
.primary-link:hover,
.ghost-link:hover {
  transform: translateY(-1px);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.module-page main > .page-active:not(.hero):not(.ticker) {
  display: grid;
  align-content: start;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
  padding-top: 56px;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-kv {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(47, 124, 255, 0.22);
  box-shadow: 0 30px 80px rgba(43, 103, 190, 0.28);
  isolation: isolate;
}

.hero-kv::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  background: linear-gradient(180deg, transparent 62%, rgba(11, 45, 92, 0.12));
}

.hero-kv img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.hero-kv:hover img {
  transform: scale(1.02);
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -28px;
  width: min(46vw, 520px);
  height: 180px;
  pointer-events: none;
  border-left: 2px solid rgba(47, 124, 255, 0.22);
  border-top: 2px solid rgba(24, 191, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(47, 124, 255, 0.08), transparent 58%),
    repeating-linear-gradient(90deg, rgba(47, 124, 255, 0.08) 0 1px, transparent 1px 42px);
  opacity: 0.72;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 840px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-theme {
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 16px;
  border: 1px solid rgba(47, 124, 255, 0.28);
  color: #1456d8;
  background: linear-gradient(120deg, rgba(47, 124, 255, 0.12), rgba(24, 191, 255, 0.12));
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(43, 103, 190, 0.12);
}

.hero-text,
.lead {
  max-width: 680px;
  color: #d9e6e8;
  font-size: 18px;
}

.hero-status-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-status-band span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(47, 124, 255, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  color: #1d65dd;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(43, 103, 190, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.auth-profile-actions {
  display: grid;
  gap: 10px;
  margin: 16px 0 10px;
}

.register-account {
  display: grid;
  gap: 10px;
}

.account-ok,
.account-need {
  border: 1px solid rgba(47, 124, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  padding: 18px;
}

.account-ok h3,
.account-need h3 {
  margin: 4px 0 6px;
}

.account-need .button {
  margin-top: 12px;
}

.field-counter {
  display: block;
  margin-top: 4px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

.keyword-field {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.keyword-label {
  font-size: 14px;
  color: var(--muted);
}

.keyword-presets,
.keyword-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-chip {
  border: 1px solid rgba(47, 124, 255, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: #38536e;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.keyword-chip:hover {
  border-color: rgba(47, 124, 255, 0.45);
  color: var(--green);
}

.keyword-chip.selected {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.keyword-add {
  display: flex;
  gap: 8px;
}

.keyword-add input {
  flex: 1;
}

.h5-quick-actions,
.h5-tabbar {
  display: none;
}

.hero-panel,
.guide-card,
.rules-section article,
.register-form,
.center-card,
.auth-card,
.status-card,
.account-hint,
.account-summary article,
.team-item,
.my-registration-item,
.contact-grid,
.highlight-list,
.admin-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: 8px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(47, 124, 255, 0.12), transparent 34%),
    repeating-linear-gradient(0deg, rgba(47, 124, 255, 0.07) 0 1px, transparent 1px 38px);
}

.hero-panel > * {
  position: relative;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-head strong {
  color: var(--gold);
  font-size: 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  min-height: 104px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: auto;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.18;
}

.hero-console {
  display: grid;
  grid-template-columns: 138px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(47, 124, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.console-core {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(47, 124, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(47, 124, 255, 0.12), rgba(24, 191, 255, 0.2)),
    repeating-linear-gradient(45deg, rgba(47, 124, 255, 0.08) 0 1px, transparent 1px 12px);
}

.console-core::before,
.console-core::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(47, 124, 255, 0.24);
  border-radius: 8px;
}

.console-core::after {
  inset: 32px;
  border-color: rgba(24, 191, 255, 0.34);
}

.console-core span {
  position: relative;
  z-index: 1;
  color: #1d65dd;
  font-size: 30px;
  font-weight: 900;
}

.console-stack {
  display: grid;
  gap: 10px;
}

.console-stack i {
  display: block;
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #2f7cff, #18bfff 58%, rgba(24, 191, 255, 0.12));
}

.console-stack i:nth-child(2) {
  width: 76%;
}

.console-stack i:nth-child(3) {
  width: 88%;
}

.console-stack i:nth-child(4) {
  width: 62%;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.ticker div {
  width: max-content;
  display: flex;
  gap: 34px;
  padding: 14px 0;
  animation: ticker 26s linear infinite;
  color: #dce8ea;
}

.ticker span {
  white-space: nowrap;
}

.route-detail[hidden] {
  display: none;
}

.route-detail {
  padding-top: 72px;
  padding-bottom: 38px;
}

.route-hero,
.article-detail {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 244, 255, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
}

body:has(.route-detail:not([hidden])) .hero {
  min-height: auto;
  padding-top: 48px;
}

.route-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.route-panel {
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
}

.route-panel strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 18px;
}

.route-panel li {
  margin-bottom: 10px;
  color: #d9e6e8;
}

.article-detail {
  max-width: 920px;
}

.article-body {
  margin-top: 24px;
  color: #d9e6e8;
  font-size: 17px;
}

.article-media {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.article-cover,
.video-panel img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.video-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(70, 230, 208, 0.2);
  background: rgba(255, 255, 255, 0.045);
}

.video-panel .button {
  position: absolute;
  left: 18px;
  bottom: 18px;
}

.video-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(145deg, rgba(70, 230, 208, 0.14), rgba(250, 199, 91, 0.08));
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.article-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.attachment-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.attachment-list h3 {
  margin-bottom: 4px;
}

.attachment-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.attachment-list span {
  color: var(--cyan);
  font-weight: 800;
}

@keyframes ticker {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

.split-section,
.register-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
}

.highlight-list {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.highlight-list article {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 540px;
  color: var(--muted);
}

.text-link {
  color: var(--cyan);
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.timeline article,
.track-card,
.award-card,
.judge-card,
.news-card,
.partner-item {
  position: relative;
  overflow: hidden;
  min-height: 166px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.035));
}

.timeline article::before,
.track-card::before,
.news-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--gold));
}

.timeline strong {
  display: block;
  color: var(--green);
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.track-card {
  min-height: 224px;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.track-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(47, 124, 255, 0.12), rgba(24, 191, 255, 0.16));
  color: #1d65dd;
  font-weight: 900;
}

.track-card:hover,
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 124, 255, 0.34);
  box-shadow: 0 26px 78px rgba(43, 103, 190, 0.2);
}

.track-card p,
.award-card p,
.judge-card p,
.news-card p {
  color: var(--muted);
}

.news-card {
  display: grid;
  gap: 14px;
  padding: 0;
}

.news-card.recommended {
  border-color: rgba(250, 199, 91, 0.3);
}

.news-cover {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(135deg, rgba(47, 124, 255, 0.12), rgba(24, 191, 255, 0.1)),
    repeating-linear-gradient(90deg, rgba(47, 124, 255, 0.08) 0 1px, transparent 1px 24px);
}

.news-cover img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  display: block;
}

.news-cover span,
.news-cover strong {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.news-cover.placeholder {
  min-height: 148px;
  display: grid;
  place-items: center;
}

.news-cover.placeholder span {
  position: static;
  color: rgba(29, 101, 221, 0.46);
  background: transparent;
}

.news-cover.placeholder strong {
  left: auto;
  bottom: auto;
  position: relative;
  color: #1d65dd;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(43, 103, 190, 0.16);
}

.news-card-body {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.news-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.news-controls button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.news-controls button.active,
.news-controls button:hover {
  border-color: rgba(70, 230, 208, 0.32);
  color: var(--text);
  background: rgba(70, 230, 208, 0.1);
}

.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.news-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-meta-line span {
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(70, 230, 208, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.track-card em {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cyan);
  font-style: normal;
  font-weight: 800;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  padding: 28px;
}

.guide-card.accent {
  border-color: rgba(255, 209, 102, 0.28);
  background: rgba(38, 32, 18, 0.66);
}

.guide-card li {
  margin-bottom: 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 8px;
}

.faq-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(155, 255, 114, 0.14);
  color: var(--green);
  font-weight: 900;
}

.faq-list h3 {
  margin-bottom: 6px;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.rules-section {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 24px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rules-section article {
  padding: 22px;
}

.rules-section article span {
  color: var(--coral);
  font-weight: 900;
}

.award-grid,
.judge-grid,
.news-grid,
.resource-grid,
.gallery-grid,
.partner-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.live-player {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.live-player iframe,
.live-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.live-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(70, 230, 208, 0.12), rgba(255, 209, 102, 0.06)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 22px);
}

.live-placeholder strong {
  color: var(--green);
  font-size: 34px;
}

.live-placeholder p {
  max-width: 420px;
  color: var(--muted);
}

.live-info {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
}

.live-info h3 {
  margin-bottom: 0;
}

.gallery-card {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.gallery-media {
  min-height: 150px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(70, 230, 208, 0.14), rgba(169, 148, 255, 0.11));
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-media span {
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
}

.resource-panel {
  margin-bottom: 18px;
}

.resource-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.resource-card {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
}

.resource-card.disabled {
  opacity: 0.72;
}

.resource-card h3 {
  margin-bottom: 8px;
}

.resource-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.resource-status {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.result-board {
  display: grid;
  gap: 12px;
}

.public-result,
.empty-result {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 120px 96px;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
}

.public-result.top-rank {
  border-color: rgba(255, 209, 102, 0.32);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(70, 230, 208, 0.06));
}

.public-result > strong {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-size: 22px;
}

.public-result h3 {
  margin-bottom: 4px;
}

.public-result p {
  margin: 0;
  color: var(--muted);
}

.public-result span {
  width: fit-content;
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--green);
  background: rgba(155, 255, 114, 0.1);
  font-weight: 800;
}

.public-result em {
  color: var(--gold);
  font-style: normal;
  font-size: 30px;
  font-weight: 900;
  text-align: right;
}

.empty-result {
  grid-template-columns: 1fr;
  min-height: 150px;
}

.empty-result p {
  color: var(--muted);
}

.award-card strong {
  display: block;
  color: var(--gold);
  font-size: 26px;
}

.news-card a {
  color: var(--cyan);
  font-weight: 800;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 16px;
  align-items: start;
}

.auth-card {
  padding: 22px;
}

.auth-forms {
  display: grid;
  gap: 16px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.auth-form {
  display: grid;
  gap: 14px;
}

.account-hint {
  display: grid;
  gap: 6px;
  min-height: 98px;
  margin-top: 18px;
  padding: 16px;
}

.account-hint strong,
.account-summary strong {
  color: var(--green);
}

.account-hint span,
.account-summary p {
  color: var(--muted);
}

.account-hint a {
  width: fit-content;
  color: var(--cyan);
  font-weight: 900;
}

.account-summary {
  margin-bottom: 14px;
}

.account-summary article {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.account-summary span {
  color: var(--muted);
  font-size: 13px;
}

.team-panel,
.my-registration-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.2fr;
  gap: 14px;
  align-items: start;
}

.team-list,
.my-registration-list,
.notification-list {
  display: grid;
  gap: 10px;
}

.team-item,
.my-registration-item,
.notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
}

.team-item p,
.my-registration-item p,
.notification-item p {
  margin: 0;
  color: var(--muted);
}

.team-item strong {
  color: var(--green);
}

.notification-panel {
  margin-bottom: 18px;
}

.notification-item {
  border-color: rgba(255, 255, 255, 0.08);
}

.notification-item.unread {
  border-color: rgba(255, 209, 102, 0.28);
  background: rgba(255, 209, 102, 0.065);
}

.notification-item h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.notification-item > span {
  color: var(--muted);
  font-size: 13px;
}

.register-section {
  align-items: start;
}

.center-grid {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 1.1fr;
  gap: 14px;
  align-items: start;
}

.center-card {
  min-height: 280px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.center-card h3 {
  margin-bottom: 4px;
}

.result-card {
  background: linear-gradient(145deg, rgba(70, 230, 208, 0.1), rgba(255, 255, 255, 0.045));
}

.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pills span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 4px 10px;
  color: #ffffff;
  background: var(--green);
  font-weight: 800;
  font-size: 13px;
}

.result-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.result-list div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-list dt {
  color: var(--muted);
}

.result-list dd {
  margin: 0;
  color: var(--text);
  word-break: break-word;
}

.result-list a {
  color: var(--cyan);
  font-weight: 800;
}

.register-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.register-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 12, 16, 0.48);
}

.register-progress button {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.register-progress span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  flex: 0 0 auto;
}

.register-progress button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.register-progress button.done {
  color: var(--green);
  background: rgba(155, 255, 114, 0.1);
}

.register-step-panel {
  display: grid;
  gap: 14px;
  min-height: 360px;
  align-content: start;
}

.step-tip,
.track-choice-note p,
.confirm-card p {
  margin: 0;
  color: var(--muted);
}

.track-choice-note,
.confirm-card {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(70, 230, 208, 0.18);
  background: rgba(70, 230, 208, 0.055);
}

.track-choice-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.confirm-card h3 {
  margin: 0 0 12px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.summary-grid div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.summary-grid dt {
  color: var(--muted);
  font-size: 12px;
}

.summary-grid dd {
  margin: 3px 0 0;
  color: var(--text);
  font-weight: 800;
  word-break: break-word;
}

.register-wizard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.register-wizard-actions .button:only-child,
.register-wizard-actions #registerSubmit {
  grid-column: span 2;
}

.register-wizard-actions:has(#registerPrev[hidden]) #registerNext {
  grid-column: 1 / -1;
}

.form-step {
  color: var(--green);
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  color: #d9e6e8;
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 12, 16, 0.78);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(70, 230, 208, 0.72);
  box-shadow: 0 0 0 3px rgba(70, 230, 208, 0.12);
}

.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkline input {
  width: 18px;
  min-height: 18px;
}

.full {
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
}

.status-card {
  min-height: 170px;
  margin-top: 22px;
  padding: 20px;
}

.status-card:empty::before {
  content: "提交后，这里会显示你的报名编号、团队邀请码和审核状态。";
  color: var(--muted);
}

.partner-item {
  min-height: 130px;
  display: grid;
  align-content: center;
}

.partner-item strong {
  font-size: 24px;
  color: var(--green);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.contact-grid article {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 22px;
  margin-top: 8px;
  padding: 26px clamp(16px, 4vw, 54px);
  color: var(--muted);
  border-top: 1px solid rgba(47, 124, 255, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.footer a:hover {
  color: var(--green);
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .route-hero,
  .split-section,
  .register-section,
  .rules-section {
    grid-template-columns: 1fr;
  }

  .timeline,
  .track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .award-grid,
  .judge-grid,
  .news-grid,
  .partner-wall,
  .center-grid,
  .auth-layout,
  .team-grid,
  .rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 20% 5%, rgba(24, 191, 255, 0.16), transparent 18rem),
      linear-gradient(180deg, #ffffff, #f6fbff 52%, #eaf4ff);
  }

  body::before {
    background-size: 42px 42px;
    opacity: 0.56;
  }

  .topbar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    min-height: 62px;
    padding: 9px 12px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(47, 124, 255, 0.14);
  }

  .module-strip {
    position: fixed;
    left: 0;
    right: 0;
    top: 62px;
    z-index: 19;
    gap: 9px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(47, 124, 255, 0.12);
    scroll-padding-left: 12px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 22px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 22px), transparent 100%);
  }

  .module-strip a {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  main {
    padding-top: 116px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 14px;
  }

  .brand span:last-child {
    min-width: 0;
  }

  .brand strong {
    max-width: 188px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    font-size: 10px;
  }

  .top-actions {
    margin-left: auto;
  }

  .top-actions .ghost-link {
    display: none;
  }

  .primary-link {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
  }

  .section-heading,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .section-shell {
    width: calc(100% - 24px);
    padding: 32px 0 42px;
    scroll-margin-top: 74px;
  }

  .hero {
    min-height: calc(100svh - 62px);
    grid-template-columns: 1fr;
    align-content: start;
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 28px;
  }

  .hero-copy::before {
    left: -10px;
    top: -16px;
    width: calc(100vw - 28px);
    height: 112px;
  }

  .module-page main > .page-active:not(.hero):not(.ticker) {
    min-height: auto;
  }

  h1 {
    max-width: 360px;
    margin-bottom: 12px;
    font-size: 40px;
    line-height: 1.04;
  }

  h2 {
    margin-bottom: 12px;
    font-size: 27px;
    line-height: 1.14;
  }

  h3 {
    font-size: 17px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .hero-theme {
    margin-bottom: 12px;
    padding: 6px 9px;
    font-size: 13px;
  }

  .hero-text,
  .lead {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-status-band {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 16px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .hero-status-band::-webkit-scrollbar {
    display: none;
  }

  .hero-status-band span {
    flex: 0 0 auto;
    min-height: 32px;
    font-size: 12px;
  }

  .module-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .button,
  .ghost-link,
  .primary-link {
    border-radius: 8px;
  }

  .button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  .h5-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .h5-quick-actions a {
    min-height: 72px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 10px 6px;
    border: 1px solid rgba(70, 230, 208, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
  }

  .h5-quick-actions span {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
  }

  .h5-quick-actions strong {
    font-size: 13px;
    line-height: 1.2;
  }

  .hero-panel {
    padding: 14px;
    box-shadow: 0 16px 44px rgba(43, 103, 190, 0.16);
  }

  .hero-console {
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .console-core span {
    font-size: 22px;
  }

  .console-core::before {
    inset: 12px;
  }

  .console-core::after {
    inset: 24px;
  }

  .panel-head {
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .panel-head span {
    font-size: 13px;
  }

  .panel-head strong {
    font-size: 18px;
    white-space: nowrap;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .metric {
    min-height: 82px;
    padding: 12px;
  }

  .metric span {
    font-size: 12px;
  }

  .metric strong {
    margin-top: 8px;
    font-size: 18px;
  }

  .timeline,
  .track-grid,
  .award-grid,
  .judge-grid,
  .news-grid,
  .partner-wall,
  .resource-grid,
  .resource-strip,
  .gallery-grid,
  .article-gallery,
  .live-layout,
  .guide-grid,
  .rule-grid,
  .center-grid,
  .auth-layout,
  .team-grid,
  .public-result,
  .notification-item,
  .metric-grid,
  .form-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .ticker div {
    gap: 20px;
    padding: 10px 0;
    font-size: 13px;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 14px;
  }

  .section-heading p {
    max-width: 100%;
    font-size: 14px;
  }

  .split-section,
  .register-section,
  .rules-section,
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .highlight-list,
  .guide-card,
  .rules-section article,
  .register-form,
  .center-card,
  .contact-grid,
  .status-card,
  .route-hero,
  .article-detail {
    padding: 16px;
  }

  .timeline {
    gap: 10px;
  }

  .timeline article,
  .track-card,
  .award-card,
  .judge-card,
  .news-card,
  .resource-card,
  .gallery-card,
  .partner-item {
    min-height: auto;
    padding: 15px;
  }

  .live-player,
  .live-player iframe,
  .live-placeholder {
    min-height: 260px;
  }

  .live-placeholder strong {
    font-size: 24px;
  }

  .live-info {
    padding: 16px;
  }

  .gallery-media {
    min-height: 132px;
  }

  .track-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }

  .track-card span {
    grid-row: span 3;
    margin: 0;
  }

  .track-card h3 {
    margin-bottom: 6px;
  }

  .track-card p {
    margin-bottom: 0;
    font-size: 13px;
  }

  .track-card em {
    margin-top: 8px;
    font-size: 13px;
  }

  .faq-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .faq-list span {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .public-result,
  .notification-item,
  .empty-result {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }

  .public-result > strong {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .public-result h3 {
    font-size: 16px;
  }

  .public-result p {
    font-size: 12px;
    line-height: 1.45;
  }

  .public-result span {
    grid-column: 2 / 3;
    width: fit-content;
    padding: 4px 8px;
    font-size: 12px;
  }

  .public-result em {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    align-self: center;
    font-size: 23px;
  }

  .register-section > div:first-child {
    display: grid;
    gap: 8px;
  }

  .status-card {
    min-height: 118px;
    margin-top: 4px;
  }

  .register-form,
  .auth-card,
  .center-card {
    gap: 12px;
  }

  .register-progress {
    grid-template-columns: repeat(5, 62px);
    gap: 6px;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: none;
  }

  .register-progress::-webkit-scrollbar {
    display: none;
  }

  .register-progress button {
    min-height: 44px;
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
    line-height: 1.1;
  }

  .register-progress span {
    width: 21px;
    height: 21px;
    font-size: 11px;
  }

  .register-step-panel {
    min-height: 0;
    gap: 12px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .register-wizard-actions {
    grid-template-columns: 1fr;
  }

  .register-wizard-actions #registerSubmit {
    grid-column: auto;
  }

  .auth-layout {
    gap: 12px;
  }

  .auth-card,
  .account-hint,
  .account-summary article {
    padding: 16px;
  }

  .auth-tabs button {
    min-height: 38px;
    font-size: 13px;
  }

  .form-step {
    padding-top: 4px;
    font-size: 13px;
  }

  label {
    font-size: 13px;
  }

  input,
  textarea,
  select {
    min-height: 46px;
    border-radius: 8px;
    font-size: 15px;
  }

  textarea {
    min-height: 120px;
  }

  .center-grid {
    gap: 12px;
  }

  .team-grid,
  .team-item,
  .my-registration-item {
    grid-template-columns: 1fr;
  }

  .center-card {
    min-height: auto;
  }

  .result-list div {
    grid-template-columns: 68px 1fr;
  }

  .contact-grid article {
    padding: 12px;
  }

  .footer {
    padding: 28px 14px 96px;
    font-size: 13px;
  }

  .h5-tabbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(47, 124, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 44px rgba(43, 103, 190, 0.18);
    backdrop-filter: blur(18px);
  }

  .h5-tabbar a {
    min-width: 0;
    min-height: 50px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 11px;
  }

  .h5-tabbar i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--cyan);
    font-style: normal;
    font-size: 10px;
    font-weight: 900;
  }

  .h5-tabbar strong {
    font-weight: 800;
    line-height: 1;
  }

  .h5-tabbar a[aria-current="page"] {
    color: var(--text);
    background: rgba(155, 255, 114, 0.1);
  }

  .h5-tabbar a[aria-current="page"] i {
    color: #ffffff;
    background: linear-gradient(135deg, var(--green), var(--cyan));
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 35px;
  }

  .brand strong {
    max-width: 154px;
  }

  .h5-quick-actions strong {
    font-size: 12px;
  }
}

/* Tech blue + white visual system */
.hero-text,
.lead,
.ticker div,
.route-panel li,
.article-body,
td,
.desktop-nav,
.module-strip a,
.h5-quick-actions strong,
.news-card p,
.resource-card p,
.gallery-card p,
.track-card p,
.guide-card p,
.rules-section p,
.center-card p,
.auth-card p,
.status-card p,
.contact-grid p,
.footer {
  color: var(--muted);
}

.hero-panel,
.guide-card,
.rules-section article,
.register-form,
.center-card,
.auth-card,
.status-card,
.account-hint,
.account-summary article,
.team-item,
.my-registration-item,
.contact-grid,
.highlight-list,
.admin-card,
.route-hero,
.article-detail,
.route-panel,
.metric,
.news-card,
.resource-card,
.gallery-card,
.track-card,
.partner-card,
.judge-card,
.timeline-item,
.faq-item,
.award-card,
.live-card,
.result-card,
.notification-item,
.step-card,
.form-card {
  border-color: rgba(47, 124, 255, 0.16);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.route-hero,
.article-detail {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 244, 255, 0.78));
}

.panel-head,
th,
td,
.ticker,
.section-head,
.form-row,
.notification-item,
.account-summary,
.article-gallery figure,
.attachment-list,
.video-panel {
  border-color: rgba(47, 124, 255, 0.14);
}

.metric,
.ticker,
.route-panel,
.article-gallery figure,
.attachment-list,
.video-panel,
.h5-quick-actions a,
.news-filter button,
input,
textarea,
select {
  background: rgba(255, 255, 255, 0.78);
}

input,
textarea,
select {
  color: var(--text);
  border-color: rgba(47, 124, 255, 0.2);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(47, 124, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.1);
}

.eyebrow,
.route-panel strong,
.table-link,
.stat-card strong,
.article-meta,
.news-meta,
.metric strong,
.panel-head strong,
.brand-mark,
.desktop-nav a:hover,
.desktop-nav a.is-active,
.primary-link.is-active,
.text-link:hover,
.ghost-link:hover {
  color: var(--green);
}

.hero-theme,
.tag,
.badge,
.status-pill,
.media-badge {
  border-color: rgba(47, 124, 255, 0.18);
  color: #1d65dd;
  background: rgba(47, 124, 255, 0.08);
}

.button.primary,
.primary-link,
.module-strip a.is-active,
.news-filter button.active,
.h5-tabbar a[aria-current="page"] i,
.toast {
  color: #ffffff;
  background: linear-gradient(135deg, #2f7cff, #18bfff);
}

.ghost-link,
.button.secondary,
.news-filter button,
.h5-quick-actions a {
  color: #24405e;
  background: rgba(255, 255, 255, 0.72);
}

.ghost-link:hover,
.button.secondary:hover,
.news-filter button:hover {
  border-color: rgba(47, 124, 255, 0.38);
  background: rgba(232, 244, 255, 0.9);
}

.video-placeholder {
  color: var(--green);
  background: linear-gradient(145deg, rgba(47, 124, 255, 0.1), rgba(24, 191, 255, 0.1));
}

.h5-quick-actions {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(47, 124, 255, 0.14);
  box-shadow: 0 18px 52px rgba(43, 103, 190, 0.16);
}

@media (max-width: 760px) {
  .topbar {
    border-bottom-color: rgba(47, 124, 255, 0.14);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 36px rgba(43, 103, 190, 0.12);
  }

  .desktop-nav,
  .top-actions {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(47, 124, 255, 0.14);
    box-shadow: 0 16px 44px rgba(43, 103, 190, 0.14);
  }

  .module-strip {
    background: rgba(255, 255, 255, 0.92);
  }

  .h5-tabbar {
    border-color: rgba(47, 124, 255, 0.18);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 44px rgba(43, 103, 190, 0.18);
  }

  .h5-tabbar i {
    background: rgba(47, 124, 255, 0.08);
  }

  .h5-tabbar a[aria-current="page"] {
    color: var(--green);
    background: rgba(47, 124, 255, 0.08);
  }
}

/* 组织架构表 */
.org-table {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.org-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(47, 124, 255, 0.16);
  border-radius: 14px;
  background: rgba(47, 124, 255, 0.05);
}

.org-row span {
  flex: 0 0 84px;
  font-size: 13px;
  color: var(--muted, #5b6b88);
}

.org-row strong {
  font-size: 15px;
  font-weight: 600;
}

/* 联系方式：二维码 + 社媒 */
.contact-extra {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
}

.contact-qrcodes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.qr-card {
  margin: 0;
  text-align: center;
  display: grid;
  gap: 8px;
}

.qr-card img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(47, 124, 255, 0.18);
  background: #fff;
}

.qr-card figcaption {
  font-size: 13px;
  color: var(--muted, #5b6b88);
}

.contact-social {
  display: grid;
  gap: 10px;
}

.contact-social > span {
  font-size: 13px;
  color: var(--muted, #5b6b88);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(47, 124, 255, 0.22);
  background: rgba(47, 124, 255, 0.06);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.social-links a:hover {
  background: rgba(47, 124, 255, 0.12);
}

/* 协议 / 声明详情页 */
.legal-body {
  max-width: 880px;
  display: grid;
  gap: 16px;
  line-height: 1.85;
}

.legal-body p {
  margin: 0;
  color: var(--text, #1f2a44);
}

/* 评委头像 / 单位、合作伙伴 Logo */
.judge-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid rgba(47, 124, 255, 0.18);
}

.judge-unit {
  font-weight: 600;
  color: var(--green, #2f7cff);
}

.partner-logo {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

a.partner-item {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.partner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(43, 103, 190, 0.16);
}

/* 验证码 + 第三方登录 */
.code-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.code-row label {
  flex: 1;
}

.code-row .button {
  white-space: nowrap;
  flex: 0 0 auto;
}

.code-row .button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.oauth-block {
  margin-top: 18px;
  text-align: center;
}

.oauth-divider {
  display: block;
  font-size: 13px;
  color: var(--muted, #5b6b88);
  margin-bottom: 12px;
  position: relative;
}

.oauth-buttons {
  display: flex;
  gap: 12px;
}

.oauth-button {
  flex: 1;
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(47, 124, 255, 0.22);
  background: rgba(47, 124, 255, 0.06);
  color: inherit;
}

.oauth-button.wechat {
  border-color: rgba(7, 193, 96, 0.35);
  background: rgba(7, 193, 96, 0.1);
}

.oauth-button.github {
  border-color: rgba(36, 41, 47, 0.3);
  background: rgba(36, 41, 47, 0.08);
}

/* ---------- premium polish (tech blue) ---------- */
.track-card,
.news-card,
.award-card,
.judge-card,
.gallery-card,
.resource-card,
.partner-card,
.live-card,
.metric {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}

.track-card:hover,
.news-card:hover,
.award-card:hover,
.judge-card:hover,
.gallery-card:hover,
.resource-card:hover,
.partner-card:hover,
.live-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 124, 255, 0.42);
  box-shadow: 0 28px 64px rgba(43, 103, 190, 0.22);
}

/* Section heading accent bar for a more designed, high-end rhythm */
.section-heading > div > h2,
.split-section h2,
.rules-section h2,
.register-section h2,
.contact-section h2 {
  position: relative;
  padding-left: 16px;
}

.section-heading > div > h2::before,
.split-section h2::before,
.rules-section h2::before,
.register-section h2::before,
.contact-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2f7cff, #18bfff);
}

/* Stronger, more premium metric numbers */
.metric strong {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

/* Crisper primary buttons */
.button.primary,
.primary-link {
  box-shadow: 0 14px 34px rgba(47, 124, 255, 0.32);
}

.button.primary:hover,
.primary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(47, 124, 255, 0.4);
}

/* ===========================================================================
   Cyber-Athletic Precision — design refresh (ref: stitch/DESIGN.md)
   Clean white "lab-grade" surfaces, electric-blue accents, dot-grid backdrop,
   soft 1px borders + low-contrast diffuse shadows, Inter + JetBrains Mono.
   Only restyles tokens/colors/surfaces/fonts so layout & mobile stay intact.
   =========================================================================== */
:root {
  --bg: #f6f9fe;
  --bg-2: #eef4ff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #ffffff;
  --line: rgba(45, 140, 240, 0.14);
  --text: #121a26;
  --muted: #5b6b80;
  --green: #1d6dff;
  --cyan: #2d8cf0;
  --electric: #2d8cf0;
  --ink: #0a0f1a;
  --shadow: 0 4px 22px rgba(0, 82, 255, 0.06);
  --shadow-lg: 0 22px 54px rgba(0, 82, 255, 0.12);
  --radius-card: 14px;
}

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background:
    radial-gradient(880px 460px at 88% -10%, rgba(45, 140, 240, 0.12), transparent 60%),
    radial-gradient(700px 420px at -5% 0%, rgba(0, 82, 255, 0.06), transparent 55%),
    #f6f9fe;
}

body::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(45, 140, 240, 0.07) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 1;
}

/* Glassy, whiter chrome */
.topbar { background: rgba(255, 255, 255, 0.82); border-bottom: 1px solid var(--line); }
.module-strip { background: rgba(255, 255, 255, 0.86); border-bottom: 1px solid var(--line); }

/* Unified white card surfaces with soft borders + diffuse shadow */
.guide-card, .rules-section article, .register-form, .center-card, .auth-card,
.status-card, .account-hint, .account-summary article, .team-item, .my-registration-item,
.contact-grid, .highlight-list article, .route-hero, .article-detail, .route-panel,
.metric, .news-card, .resource-card, .gallery-card, .track-card, .partner-card,
.judge-card, .timeline-item, .faq-item, .award-card, .live-card, .result-card,
.notification-item, .step-card, .form-card, .confirm-card, .org-row, .account-ok, .account-need {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

/* Interactive cards: subtle lift on hover (Level 2 elevation) */
.news-card, .resource-card, .gallery-card, .track-card, .judge-card,
.partner-card, .award-card, .timeline-item, .faq-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.news-card:hover, .resource-card:hover, .gallery-card:hover, .track-card:hover,
.judge-card:hover, .partner-card:hover, .award-card:hover, .timeline-item:hover, .faq-item:hover {
  border-color: rgba(45, 140, 240, 0.5);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Primary = solid electric gradient; secondary = ghost with blue border */
.button.primary, .primary-link {
  background: linear-gradient(135deg, #0052ff, #2d8cf0);
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 82, 255, 0.22);
}
.button.primary:hover, .primary-link:hover {
  box-shadow: 0 16px 38px rgba(0, 82, 255, 0.3);
}
.button.secondary {
  background: #ffffff;
  border: 1px solid rgba(45, 140, 240, 0.5);
  color: #0a4ed6;
}

/* Broadcast-style mono for data points */
#countdown, .metric strong, .ticker span, .panel-head strong,
.form-step, .public-result > strong, .field-counter {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0;
}

/* Label caps eyebrow */
.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--electric);
}

/* KV framed like a broadcast still */
.hero-kv {
  border: 4px solid #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

/* Hero stats/countdown as an obsidian panel (reference dark blocks) */
.hero-panel {
  background: linear-gradient(160deg, #0a0f1a, #10243f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eaf2ff;
}
.hero-panel .panel-head span { color: rgba(255, 255, 255, 0.62); }
.hero-panel #countdown, .hero-panel .panel-head strong { color: #ffffff; }
.hero-panel .metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.hero-panel .metric span { color: rgba(255, 255, 255, 0.6); }
.hero-panel .metric strong { color: #5db4ff; }

/* Track cards: circular icon vibe + clear hover affordance */
.track-card span {
  color: var(--electric);
}

/* ===========================================================================
   Personal center — mobile-app module layout
   =========================================================================== */
/* Profile hero (identity + quick stats + actions) */
.account-summary { margin-bottom: 14px; }
.profile-hero {
  display: grid;
  gap: 16px;
  padding: 20px !important;
  border-radius: 20px !important;
  background: linear-gradient(150deg, #0a0f1a 0%, #10243f 58%, #16407a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #eaf2ff;
  box-shadow: var(--shadow-lg) !important;
}
.profile-id { display: flex; align-items: center; gap: 14px; }
.profile-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0052ff, #2d8cf0);
  box-shadow: 0 8px 22px rgba(0, 82, 255, 0.4);
}
.profile-meta { display: grid; gap: 2px; min-width: 0; }
.profile-meta span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.profile-meta strong { font-size: 20px; color: #fff; line-height: 1.2; }
.profile-meta p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.profile-stats a {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 10px 4px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.profile-stats a:active,
.profile-stats a:hover { background: rgba(255, 255, 255, 0.08); }
.profile-stats b {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 20px;
  font-weight: 700;
  color: #5db4ff;
}
.profile-stats span { font-size: 12px; color: rgba(255, 255, 255, 0.68); }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-actions .button { width: 100%; }
.profile-hero.is-guest .profile-actions { grid-template-columns: 1fr; }

/* Module launcher grid (app-style tiles with badges) */
.center-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 20px;
}
.center-module {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.center-module:hover { transform: translateY(-2px); border-color: rgba(45, 140, 240, 0.5); box-shadow: var(--shadow-lg); }
.center-module:active { transform: scale(0.97); }
.center-module .cm-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--electric);
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.12), rgba(45, 140, 240, 0.14));
}
.center-module .cm-ic svg { width: 22px; height: 22px; }
.center-module span { font-size: 13px; font-weight: 700; letter-spacing: 0.2px; }
.center-module em {
  position: absolute;
  top: 8px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: #ff4d4f;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(255, 77, 79, 0.4);
}
.center-module em.is-zero { display: none; }

/* Module sections: rounded scroll targets + jump highlight */
.center-module-card { scroll-margin-top: 116px; border-radius: 18px; }
@keyframes centerFlash {
  0% { box-shadow: 0 0 0 0 rgba(45, 140, 240, 0); }
  28% { box-shadow: 0 0 0 3px rgba(45, 140, 240, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(45, 140, 240, 0); }
}
.center-flash { animation: centerFlash 1.1s ease; }

/* Team module: create/join vs. existing-team display + members */
.team-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}
.team-or::before,
.team-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.register-team-existing .team-current {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.team-current { display: grid; gap: 14px; }
.team-current-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.team-current-head h3 { margin: 2px 0; }
.member-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.member-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}
.member-name { font-weight: 700; }
.member-role {
  font-size: 12px;
  font-weight: 800;
  color: #0a4ed6;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(45, 140, 240, 0.12);
}
.member-role.is-owner { color: #fff; background: linear-gradient(135deg, #0052ff, #2d8cf0); }
.member-phone { font-size: 13px; color: var(--muted); font-family: "JetBrains Mono", ui-monospace, monospace; }

@media (max-width: 760px) {
  .center-modules { gap: 8px; }
  .center-module { padding: 14px 6px; border-radius: 14px; }
  .center-module .cm-ic { width: 42px; height: 42px; }
  .profile-meta strong { font-size: 18px; }
  .profile-stats b { font-size: 18px; }
  .member-list li { grid-template-columns: 1fr auto; }
  .member-phone { grid-column: 1 / -1; }
  .team-current-head .button { width: 100%; }
}
