:root {
  --brand: #0052d9;
  --brand-dark: #003cab;
  --brand-soft: #eaf2ff;
  --cyan: #00a4ff;
  --ink: #17233d;
  --muted: #5f6b7a;
  --line: #dce3ed;
  --surface: #ffffff;
  --bg: #f4f7fb;
  --danger: #c9353f;
  --success: #16835b;
  --shadow: 0 18px 48px rgba(20, 54, 110, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,227,237,.8);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  width: 156px;
  height: 40px;
  overflow: hidden;
}
.brand-logo {
  display: block;
  width: 156px;
  height: 156px;
  object-fit: cover;
  object-position: center;
}
.lang-switch {
  display: inline-flex; align-items: center; gap: 3px; padding: 4px;
  background: #eef3fa; border-radius: 999px;
}
.lang-switch button {
  min-width: 64px; border: 0; background: transparent; color: var(--muted);
  padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.lang-switch button.active { color: #fff; background: var(--brand); box-shadow: 0 4px 12px rgba(0,82,217,.22); }

.hero {
  padding: 28px 0 0;
  background:
    radial-gradient(circle at 74% 20%, rgba(0, 164, 255, .16), transparent 28%),
    linear-gradient(180deg, #04143f 0%, #061d53 100%);
}
.hero-cover-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.hero-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 8, 36, .36);
}

.event-introduction {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 26%, rgba(0, 112, 255, .3), transparent 31%),
    radial-gradient(circle at 86% 70%, rgba(0, 196, 255, .16), transparent 27%),
    linear-gradient(145deg, #061d53 0%, #052869 48%, #031844 100%);
}
.event-introduction::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .56;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(97,201,255,.55) 0 1px, transparent 1.5px);
  background-position: 0 0, 52px 28px;
  background-size: 118px 118px, 164px 164px;
}
.event-tech-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background-image:
    linear-gradient(rgba(126, 205, 255, .36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 205, 255, .36) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.event-glow {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(12px);
  opacity: .52;
}
.event-glow-left { left: -210px; top: 70px; background: rgba(0, 91, 255, .34); }
.event-glow-right { right: -180px; bottom: -130px; background: rgba(0, 204, 255, .2); }
.event-orbit {
  position: absolute;
  z-index: -1;
  right: -150px;
  top: 52px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(118, 211, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(118, 211, 255, .035), 0 0 0 108px rgba(118, 211, 255, .025);
}
.event-orbit::before,
.event-orbit::after {
  content: "";
  position: absolute;
  inset: 78px -20px;
  border: 1px solid rgba(118, 211, 255, .15);
  border-radius: 50%;
  transform: rotate(34deg);
}
.event-orbit::after { inset: -18px 132px; transform: rotate(-26deg); }
.event-introduction-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
  position: relative;
  z-index: 1;
}
.event-introduction-copy { max-width: 860px; }
.event-introduction-kicker {
  margin: 0 0 14px;
  color: #7bd8ff !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.event-introduction-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.event-introduction-copy h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin-top: 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, #4c8dff, #60e4ff);
  box-shadow: 0 0 22px rgba(86, 218, 255, .65);
}
.event-introduction-copy > p:not(.event-introduction-kicker) {
  margin: 0 0 18px;
  max-width: 850px;
  color: rgba(232, 243, 255, .82);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .01em;
}
.event-schedule {
  margin-top: 42px;
  padding: 26px;
  border: 1px solid rgba(130, 205, 255, .26);
  border-radius: 20px;
  background: rgba(4, 25, 72, .52);
  box-shadow: 0 22px 56px rgba(0, 8, 38, .22);
  backdrop-filter: blur(16px);
}
.event-schedule-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.event-schedule-mark {
  width: 4px;
  height: 22px;
  border-radius: 99px;
  background: linear-gradient(180deg, #4d8dff, #5ee5ff);
  box-shadow: 0 0 16px rgba(94, 229, 255, .7);
}
.event-schedule-heading h3 { margin: 0; font-size: 19px; }
.event-schedule-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.event-schedule-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 116px;
  overflow: hidden;
  border: 1px solid rgba(143, 211, 255, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
}
.event-schedule-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(145deg, rgba(0, 109, 255, .38), rgba(0, 190, 255, .14));
  border-right: 1px solid rgba(143, 211, 255, .16);
}
.event-schedule-date strong { font-size: 18px; line-height: 1.25; color: #fff; }
.event-schedule-date span { margin-top: 7px; color: rgba(218, 240, 255, .68); font-size: 12px; }
.event-schedule-content { display: flex; flex-direction: column; justify-content: center; padding: 18px; }
.event-schedule-content h4 { margin: 0; color: #fff; font-size: 15px; line-height: 1.55; }
.event-schedule-content p { margin: 7px 0 0; color: #8edfff; font-size: 12px; }
.travel-coverage {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(107, 220, 255, .38);
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(0, 99, 255, .24), rgba(0, 201, 255, .12));
}
.travel-coverage-icon {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(136, 224, 255, .48);
  border-radius: 50%;
  background: rgba(55, 176, 255, .14);
  box-shadow: inset 0 0 18px rgba(77, 210, 255, .12), 0 0 20px rgba(55, 183, 255, .12);
}
.travel-coverage-icon::before,
.travel-coverage-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 20px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #8fe8ff;
}
.travel-coverage-icon::after { transform: rotate(90deg); }
.travel-coverage-label { display: block; margin-bottom: 3px; color: #82ddff; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.travel-coverage strong { color: #fff; font-size: 15px; line-height: 1.55; }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .88; }
.hero h1 { margin: 18px 0 12px; font-size: clamp(36px, 5vw, 64px); line-height: 1.1; letter-spacing: -.035em; }
.hero-subtitle { margin: 0; font-size: clamp(20px, 2.3vw, 30px); font-weight: 500; color: rgba(255,255,255,.92); }
.hero-copy { margin: 28px 0 0; max-width: 680px; color: rgba(255,255,255,.8); font-size: 16px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.meta-chip { padding: 8px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; }
.invite-card {
  padding: 28px; border: 1px solid rgba(255,255,255,.32); border-radius: 24px;
  background: rgba(255,255,255,.13); backdrop-filter: blur(18px); box-shadow: 0 28px 70px rgba(0,20,70,.22);
}
.invite-card .kicker { font-size: 12px; letter-spacing: .16em; opacity: .76; }
.invite-card h2 { margin: 16px 0 10px; font-size: 24px; line-height: 1.3; }
.invite-card p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; }
.invite-line { width: 56px; height: 3px; background: #8ed9ff; margin: 22px 0; border-radius: 3px; }

.main-shell { width: min(980px, calc(100% - 32px)); margin: -34px auto 72px; position: relative; z-index: 3; }
.form-card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.form-intro { padding: 34px 42px 26px; border-bottom: 1px solid var(--line); }
.form-intro h2 { margin: 0 0 8px; font-size: 28px; }
.form-intro p { margin: 0; color: var(--muted); }
.progress-wrap { margin-top: 20px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.progress-track { height: 6px; background: #e9eef5; border-radius: 999px; overflow: hidden; }
.progress-bar { width: 0; height: 100%; background: linear-gradient(90deg, var(--brand), var(--cyan)); transition: width .25s ease; }
.form-section { padding: 34px 42px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 25px; }
.section-number { flex: 0 0 34px; height: 34px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-weight: 800; }
.section-heading h3 { margin: 1px 0 2px; font-size: 20px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field.full { grid-column: 1 / -1; }
.flight-card {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid #d9e3f2;
  border-radius: 14px;
  background: #f9fbff;
}
.flight-card-title { margin: 0 0 18px; color: var(--brand-dark); font-size: 17px; }
.flight-choice { margin-bottom: 16px; }
.conditional-fields { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 4px; }
.conditional-fields.visible { display: grid; }
.conditional-fields.route-fields .form-field:last-child { grid-column: 1 / -1; }
label.field-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.required { color: var(--danger); margin-left: 3px; }
.field-hint { margin-top: 6px; color: var(--muted); font-size: 12px; }
input, select, textarea {
  width: 100%; color: var(--ink); background: #fff; border: 1px solid #cfd8e6; border-radius: 10px;
  padding: 12px 14px; outline: none; transition: border-color .18s, box-shadow .18s;
}
textarea { min-height: 108px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,82,217,.11); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(201,53,63,.08); }
.error { display: none; margin-top: 6px; color: var(--danger); font-size: 12px; }
.error.visible { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-card, .topic-card {
  display: flex; align-items: center; gap: 9px; border: 1px solid #cfd8e6; border-radius: 10px; padding: 11px 14px;
  cursor: pointer; background: #fff; transition: .18s ease;
}
.radio-card:has(input:checked), .topic-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.radio-card input, .topic-card input, .consent input { width: auto; accent-color: var(--brand); }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.update-priority-list { grid-template-columns: 1fr; }
.update-priority-list .topic-card { min-height: 56px; }
.topic-count { margin-top: 10px; color: var(--muted); font-size: 12px; }
.other-topic { display: none; margin-top: 14px; }
.other-topic.visible { display: block; }
.privacy-note {
  display: flex; gap: 14px; padding: 16px; margin-bottom: 18px; color: #334a69;
  background: #f1f6ff; border: 1px solid #cee0ff; border-radius: 12px; font-size: 13px;
}
.privacy-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, #edf5ff, #dcecff);
  box-shadow: inset 0 0 0 1px rgba(47, 115, 178, .14);
}
.privacy-icon img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
}
.consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.consent input { margin-top: 4px; }
.submit-area { padding: 30px 42px 38px; }
.primary-btn {
  width: 100%; border: 0; border-radius: 11px; padding: 14px 22px; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), #087bf0); box-shadow: 0 10px 24px rgba(0,82,217,.22); transition: transform .18s, opacity .18s;
}
.primary-btn:hover:not(:disabled) { transform: translateY(-1px); }
.primary-btn:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.submit-note { text-align: center; margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.status-box { display: none; padding: 22px; margin: 0 42px 34px; border-radius: 12px; text-align: center; }
.status-box.success { display: block; color: #0d6344; background: #e9f8f1; border: 1px solid #b8e9d4; }
.status-box.failure { display: block; color: #8e2830; background: #fff0f1; border: 1px solid #f2c7cb; }
.site-footer { padding: 24px 16px 42px; text-align: center; color: #758195; font-size: 12px; }

.admin-page { min-height: 100vh; background: #f3f6fb; }
.admin-main { width: min(1240px, calc(100% - 32px)); margin: 36px auto 64px; }
.login-card { width: min(440px, 100%); margin: 80px auto; background: #fff; padding: 34px; border-radius: 18px; box-shadow: var(--shadow); }
.login-card h1 { margin: 0 0 8px; font-size: 25px; }
.login-card p { color: var(--muted); margin: 0 0 22px; }
.login-card .primary-btn { margin-top: 16px; }
.admin-panel { display: none; }
.admin-panel.visible { display: block; }
.admin-title-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 22px; }
.admin-title-row h1 { margin: 0; font-size: 28px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.secondary-btn, .danger-btn {
  border: 1px solid #cfd8e6; background: #fff; color: var(--ink); border-radius: 9px; padding: 9px 14px; font-weight: 700;
}
.secondary-btn.active { color: #0d6344; border-color: #9bd9bf; background: #e9f8f1; }
.danger-btn { color: var(--danger); border-color: #efc5c9; }
.admin-feedback { display: none; margin-bottom: 16px; padding: 13px 16px; border-radius: 10px; font-size: 13px; }
.admin-feedback.visible { display: block; }
.admin-feedback.success { color: #0d6344; border: 1px solid #b8e9d4; background: #e9f8f1; }
.admin-feedback.warning { color: #765413; border: 1px solid #efd89f; background: #fff8e8; }
.admin-feedback.failure { color: #8e2830; border: 1px solid #f2c7cb; background: #fff0f1; }
.filters { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) auto; gap: 12px; padding: 18px; background: #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(20,54,110,.07); margin-bottom: 18px; }
.stats { display: flex; gap: 12px; margin-bottom: 16px; }
.stat { min-width: 150px; padding: 15px 18px; border-radius: 12px; background: #fff; border-left: 4px solid var(--brand); }
.stat strong { display: block; font-size: 24px; }
.stat span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(20,54,110,.07); }
table { width: 100%; border-collapse: collapse; min-width: 1120px; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid #edf1f6; font-size: 13px; vertical-align: top; }
th { position: sticky; top: 0; color: #4f5e73; background: #f8fafd; font-size: 12px; }
.table-empty { padding: 50px; text-align: center; color: var(--muted); }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 16px; }

@media (max-width: 760px) {
  .site-header { height: 62px; }
  .header-inner { width: min(100% - 24px, 1180px); }
  .brand { width: 128px; height: 34px; }
  .brand-logo { width: 128px; height: 128px; }
  .lang-switch button { min-width: 54px; padding: 6px 9px; }
  .hero { padding: 16px 0 0; }
  .hero-cover-inner { width: min(100% - 20px, 1180px); }
  .hero-cover { border-radius: 12px; }
  .event-introduction-inner { width: min(100% - 28px, 980px); padding: 48px 0 72px; }
  .event-introduction-copy h2 { margin-bottom: 22px; font-size: 30px; }
  .event-introduction-copy > p:not(.event-introduction-kicker) { font-size: 15px; line-height: 1.78; }
  .event-schedule { margin-top: 32px; padding: 18px; border-radius: 16px; }
  .event-schedule-list { grid-template-columns: 1fr; }
  .event-schedule-item { grid-template-columns: 116px minmax(0, 1fr); min-height: 104px; }
  .event-schedule-date, .event-schedule-content { padding: 15px; }
  .event-schedule-date strong { font-size: 16px; }
  .travel-coverage { align-items: flex-start; padding: 18px; }
  .travel-coverage strong { font-size: 14px; }
  .event-orbit { right: -330px; top: 180px; }
  .main-shell { width: min(100% - 20px, 980px); margin-top: -28px; }
  .form-card { border-radius: 18px; }
  .form-intro, .form-section, .submit-area { padding-left: 20px; padding-right: 20px; }
  .form-grid, .topic-grid, .conditional-fields { grid-template-columns: 1fr; }
  .conditional-fields.route-fields .form-field:last-child { grid-column: auto; }
  .flight-card { padding: 18px; }
  .form-field.full { grid-column: auto; }
  .choice-row { display: grid; grid-template-columns: 1fr 1fr; }
  .status-box { margin-left: 20px; margin-right: 20px; }
  .admin-title-row { align-items: flex-start; flex-direction: column; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .wide, .filters button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
