:root {
  color-scheme: light;
  --navy: #142447;
  --muted: #536581;
  --blue: #2558e5;
  --blue-deep: #12359f;
  --paper: #eff4ff;
  --line: #dce5f4;
  --orange: #ff8e54;
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  display: flow-root;
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  color: var(--navy);
  background: radial-gradient(ellipse at 20% 15%, #fff 0, transparent 40%), var(--paper);
}
button, input, textarea { font: inherit; }

.shell {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  width: min(1110px, 100% - 72px);
  margin: clamp(34px, 8vh, 86px) auto 46px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 76px #224a961b;
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 110px;
  min-height: 625px;
  overflow: hidden;
  padding: 44px clamp(30px, 4.3vw, 64px) 35px;
  border-radius: 28px 0 0 28px;
  color: #fff;
  background: linear-gradient(150deg, var(--blue) 0%, #1e4cdb 49%, var(--blue-deep) 100%);
}
.hero-copy, .event-detail { position: relative; z-index: 2; }
.event-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #ffffff57;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 650;
}
.event-type span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
h1 {
  margin: 27px 0 19px;
  color: #fff;
  font-size: clamp(42px, 4.35vw, 62px);
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
h1 span { margin-inline-start: .05em; color: #ffac7f; }
.hero p {
  max-width: 20em;
  margin: 0;
  color: #ecf2ff;
  font-size: 15px;
  line-height: 1.8;
}
.hero-signup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: #312033;
  font-weight: 800;
  text-decoration: none;
}
.hero-signup:hover { background: #ffab82; }
.hero-signup:focus-visible { outline-color: #fff; }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 300px;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 22px, #d6e4ff21 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, #d6e4ff21 22px 23px);
  mask-image: linear-gradient(0deg, #000 0 62%, transparent 100%);
}
.art-disc, .art-orbit { position: absolute; display: block; }
.art-disc {
  right: -20px;
  bottom: -150px;
  width: 342px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 22%, #ffc4a3 0%, #ff9d66 29%, #fa6542 72%);
  box-shadow: -12px -8px 55px #ff92564a;
}
.art-orbit {
  right: -76px;
  bottom: -100px;
  width: 434px;
  aspect-ratio: 2.18;
  border: 1px solid #fff9;
  border-radius: 50%;
  transform: rotate(-34deg);
}
.art-orbit-two {
  right: -85px;
  bottom: -79px;
  width: 465px;
  border-color: #ffd8c6a0;
}
.event-detail {
  align-self: flex-start;
  min-width: min(100%, 240px);
  padding: 13px 15px;
  border: 1px solid #ffffff4d;
  border-radius: 11px;
  background: #103487e6;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}
.event-detail h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  font-size: 14px;
  letter-spacing: 0;
}
.event-detail dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 12px;
  margin: 0;
}
.event-detail dt { color: #dbe7ff; }
.event-detail dd { min-width: 0; margin: 0; }
.schedule-list { display: grid; gap: 6px; padding: 0; margin: 0 0 13px; list-style: none; }
.schedule-list a {
  display: block;
  padding: 7px 9px;
  border: 1px solid #ffffff3d;
  border-radius: 7px;
  color: #fff;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.schedule-list a[aria-current="true"] { border-color: #ffc4a3; background: #ffffff26; }
.schedule-list a:focus-visible { outline-color: #ffc4a3; }
.schedule-list small { display: block; color: #ecf2ff; font-size: 11px; font-weight: 400; }
.schedule-list a:has(.schedule-choice-action) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
}
.schedule-list a:has(.schedule-choice-action):hover { background: #344d77; }
.schedule-list strong { font-size: 15px; }
.schedule-list a:has(.schedule-choice-action) small { margin-top: 3px; font-size: 12px; }
.schedule-choice-action { padding: 4px 8px; border-radius: 6px; background: #ffd7ba; color: #392229; font-size: 12px; }
.schedule-list a[aria-current="true"] .schedule-choice-action { background: #e6efff; color: #173c79; }
.registration-activity {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin: 0 0 18px; padding: 13px 15px; border: 1px solid #d7e3f7; border-left: 4px solid var(--orange);
  border-radius: 9px; background: #f1f6ff; color: var(--navy); overflow-wrap: anywhere;
}
.registration-activity span, .registration-activity small { display: block; color: var(--muted); font-size: 13px; }
.registration-activity strong { display: block; margin: 3px 0; color: var(--navy); font-size: 18px; }
.registration-activity a { color: var(--blue-deep); font-size: 14px; font-weight: 700; }
.event-description {
  margin-bottom: 25px;
  padding: 17px 19px;
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  background: #f3f7ff;
}
.event-description h3 { margin: 0 0 8px; font-size: 17px; color: var(--blue-deep); }
.event-description p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.calendar {
  position: relative;
  width: 16px;
  height: 15px;
  flex: 0 0 16px;
  border: 1px solid #ffcdb4;
  border-radius: 3px;
}
.calendar::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  border-top: 1px solid #ffcdb4;
}

.card {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: 45px clamp(25px, 4.25vw, 62px);
  border-radius: 0 28px 28px 0;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 29px;
  padding-bottom: 19px;
  border-bottom: 1px solid #e6edf9;
}
h2 { margin: 0; font-size: 31px; font-weight: 800; line-height: 1.25; letter-spacing: -.04em; }
.card-heading > span, .privacy { color: var(--muted); font-size: 13px; }
.card-heading > span { flex-shrink: 0; }
.required { color: #b6411b; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.group-title {
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-size: 17px;
  line-height: 1.35;
}
.group-title-next {
  margin-top: 29px;
  padding-top: 22px;
  border-top: 1px solid #e6edf9;
}
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 15px; }
.wide { grid-column: 1 / -1; }
label { min-width: 0; font-size: 14px; font-weight: 700; }
input:not([type="checkbox"]), textarea, .account-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f7f9ff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  transition: border-color 150ms, background-color 150ms;
}
input:focus, textarea:focus, .account-form select:focus { border-color: var(--blue); background: #fff; }
.purpose-group { margin-bottom: 21px; }
.purpose-group legend { padding: 0; font-size: 14px; font-weight: 700; }
.purpose-group legend span:not(.required) { color: var(--muted); font-weight: 400; }
.purpose-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.purpose-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 43px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f7f9ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.purpose-option:has(input:checked) { border-color: var(--blue); background: #ebf1ff; color: var(--blue-deep); }
.purpose-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.purpose-other { margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--orange); }
textarea { min-height: 102px; resize: vertical; }
#registration-form .fields input { min-height: 44px; padding-block: 10px; }
#registration-form .fields textarea { min-height: 92px; padding-block: 10px; }
#registration-form .purpose-other textarea { min-height: 68px; }
::placeholder { color: #566b8f; opacity: 1; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.privacy { margin: 12px 0 0; line-height: 1.6; text-align: center; }
.form-error { margin: 14px 0 0; color: #a82d24; font-size: 14px; line-height: 1.55; }
.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 53px;
  margin-top: 25px;
  padding: 10px 18px;
  border: 0;
  border-radius: 11px;
  background: var(--orange);
  color: #312033;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 150ms;
}
.submit:hover:enabled { background: #ffa477; }
.submit:disabled, fieldset[disabled] .submit { opacity: .75; cursor: wait; }
.submit span { font-size: 20px; line-height: 1; }
.shell.is-confirmed {
  display: block;
  width: min(520px, 100% - 32px);
  margin: clamp(17px, 5vh, 54px) auto 28px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 42px #162c551a;
}
.is-confirmed > .hero, .is-confirmed .event-description { display: none; }
.is-confirmed > .card { display: block; padding: 0; }
.success-header {
  padding: 20px clamp(18px, 5vw, 28px) 19px;
  border-top: 3px solid var(--orange);
  background: #142950;
  color: #fff;
}
.success-status { display: flex; align-items: center; gap: 10px; }
.success-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #142950;
  font-size: 19px;
  font-weight: 800;
}
.success-event {
  margin: 10px 0 0;
  color: #e4efff;
  font-size: 16px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.success h2 { font-size: clamp(24px, 6.4vw, 31px); overflow-wrap: anywhere; }
.success-content {
  display: grid;
  gap: 14px;
  padding: 17px clamp(18px, 5vw, 28px) 21px;
}
.success-greeting, .success-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.success-details {
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f4f7fc;
}
.success-details > div { padding: 10px 0; }
.success-details > div + div { border-top: 1px solid var(--line); }
.success-details dt { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.success-details dd { margin: 3px 0 0; font-size: 16px; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
.success-details [data-receipt-time] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.success-details time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.success-details .event-timezone { color: var(--muted); font-size: 13px; font-weight: 500; }
.success-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.success-back:hover { background: var(--blue-deep); }

.receipt-check-in {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.receipt-check-in h3 { margin: 0; color: var(--navy); font-size: 16px; }
.receipt-check-in p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.receipt-check-in a { color: var(--blue-deep); font-size: 14px; font-weight: 700; }
.check-in-qr { display: block; max-width: 100%; height: auto; margin: 0 auto; background: #fff; }
.check-in-card {
  width: min(440px, 100% - 32px);
  margin: clamp(18px, 5vh, 48px) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 13px 36px #162c5518;
}
.check-in-card header { padding: 16px 20px; border-top: 3px solid var(--orange); background: #142950; color: #fff; }
.check-in-card h1 { margin: 0; font-size: 25px; }
.check-in-content { display: grid; gap: 12px; padding: 18px 20px 20px; }
.check-in-content p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.check-in-content .check-in-event { color: var(--navy); font-size: 17px; font-weight: 750; }
.check-in-link {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 8px 12px; border-radius: 8px; background: #edf3ff; color: var(--blue-deep);
  font-size: 14px; font-weight: 700; text-align: center; text-decoration: none;
}
.check-in-option { display: block; padding: 8px 0; color: var(--navy); }
.check-in-option input { width: auto; margin-right: 6px; }

.activity-share label { color: var(--navy); font-size: 14px; font-weight: 700; }
.activity-share input { min-width: 0; min-height: 44px; margin: 0; font-size: 14px; }
.activity-share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.activity-share-actions button { border: 0; background: var(--blue); color: #fff; cursor: pointer; }
.activity-share-back { color: var(--blue-deep); font-size: 14px; text-align: center; }

.activity-share { width: min(900px, 100% - 32px); }
.activity-share-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.activity-share-layout > section { align-content: start; min-width: 0; }
.share-poster { border-left: 1px solid var(--line); background: #f6f9ff; }
.share-poster h2 { color: var(--navy); font-size: 22px; }
.poster-templates { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.poster-templates legend { margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.poster-templates label {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px;
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.poster-templates label:has(input:checked) { border-color: var(--blue); color: var(--blue-deep); background: #edf3ff; }
.poster-templates input { width: auto; min-height: 0; accent-color: var(--blue); }
.activity-poster-preview { display: block; width: min(300px, 100%); height: auto; margin-inline: auto; border-radius: 8px; }
.poster-download { background: var(--blue); color: #fff; }
.poster-download:hover { background: var(--blue-deep); }
@media (max-width: 700px) {
  .activity-share-layout { grid-template-columns: minmax(0, 1fr); }
  .share-poster { border-top: 1px solid var(--line); border-left: 0; }
}
.activity-delete { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.activity-delete button {
  min-height: 44px; padding: 8px 14px; border: 1px solid #ebc0bc; border-radius: 8px;
  background: #fff4f2; color: #932a23; font-weight: 700; cursor: pointer;
}
.deleted-activities summary { min-height: 36px; padding: 6px 0; color: var(--navy); font-weight: 750; cursor: pointer; }

.admin-shell { width: min(850px, 100% - 36px); margin: 34px auto; }
.organizer-login {
  width: min(800px, 100% - 36px);
  margin: clamp(24px, 12vh, 106px) auto 30px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 72px #17428522;
}
.organizer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 54px;
  min-width: 0;
  padding: 29px clamp(23px, 4vw, 43px) 36px;
  color: #fff;
  background: radial-gradient(ellipse at 96% 86%, #486be9 0, transparent 57%),
    linear-gradient(145deg, #244fd9, #102977);
}
.organizer-brand a { width: fit-content; color: #fff; font-size: 14px; text-underline-offset: 4px; }
.organizer-brand a:focus-visible { outline-color: #fff; }
.organizer-brand p { margin: 0; font-size: clamp(30px, 4.5vw, 48px); font-weight: 820; line-height: 1.12; }
.organizer-brand span { color: #ffba96; }
.organizer-login-panel { align-self: center; min-width: 0; padding: clamp(24px, 4.7vw, 48px); }
.organizer-login-panel h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.2;
}
.organizer-login-intro { margin: 10px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.organizer-login-panel form label { display: block; }
.organizer-login-panel input[type="password"] { min-height: 44px; padding-block: 10px; }
.organizer-login-panel input[aria-invalid="true"] { border-color: #b9412e; background: #fff8f6; }
.organizer-login-panel button { margin-top: 19px; }
.admin-header, .admin-card-heading, .admin-events li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.admin-header { margin-bottom: 18px; }
.admin-header h1 { margin: 0; color: var(--navy); font-size: clamp(28px, 6vw, 42px); }
.admin-shell a { color: var(--blue-deep); font-size: 14px; font-weight: 700; }
.admin-card {
  padding: clamp(18px, 5vw, 30px);
  margin-bottom: 18px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 36px #224a9612;
}
.admin-card h2 { font-size: 23px; }
.admin-events { padding: 0; margin: 12px 0 0; list-style: none; }
.admin-events li { padding: 11px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-events small { display: block; margin-top: 5px; color: var(--muted); }
.admin-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.admin-logout { min-height: 44px; padding: 5px 9px; border: 0; background: transparent; color: var(--blue-deep); cursor: pointer; font-size: 14px; }
.admin-logout:hover { text-decoration: underline; }
.admin-form { margin-top: 17px; }
.admin-notice { color: var(--blue-deep); font-size: 14px; }
.admin-copy-fields { margin-top: 17px; }
.copy-collapsible:not(.admin-card) { margin-top: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
.copy-collapsible summary { min-height: 44px; padding: 9px 3px; color: var(--blue-deep); font-size: 16px; font-weight: 750; cursor: pointer; }
.copy-collapsible > .admin-copy-fields { margin-top: 8px; }
.copy-sections { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.copy-sections h3 { margin: 0; color: var(--navy); font-size: 17px; }
.copy-sections p { margin: 5px 0 11px; color: var(--muted); font-size: 14px; }
.copy-section-list { display: grid; gap: 10px; }
.copy-section-list:not(:empty) { margin-bottom: 13px; }
.copy-section { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px; }
.copy-section-heading, .copy-section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.copy-section-heading { justify-content: space-between; margin-bottom: 6px; }
.copy-sections button {
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf3ff;
  color: var(--blue-deep);
  font-weight: 700;
  cursor: pointer;
}
.copy-sections .copy-section-remove { background: #fff; color: var(--muted); }
.copy-sections .copy-section-save { border-color: var(--blue-deep); background: var(--blue-deep); color: #fff; }
.copy-sections button:disabled { opacity: .6; cursor: default; }
.admin-registration-entry { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.admin-registration-entry p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.admin-shell .admin-list-link { padding: 9px 14px; border-radius: 8px; background: var(--blue); color: #fff; text-decoration: none; }
.registration-filter { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.registration-filter label { display: grid; gap: 4px; }
.registration-filter select, .registration-filter button {
  min-height: 38px; max-width: min(100%, 280px); padding: 6px 10px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--navy); font: inherit;
}
.registration-filter button { cursor: pointer; }
.registration-record { border-top: 1px solid var(--line); }
.registration-record:first-of-type { margin-top: 16px; }
.registration-record summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 8px;
  padding: 13px 0; cursor: pointer; overflow-wrap: anywhere;
}
.registration-record summary::before { content: "▸"; color: var(--blue-deep); }
.registration-record[open] summary::before { content: "▾"; }
.registration-record summary small { display: block; margin-top: 3px; }
.registration-record :is(small, time, dt) { color: var(--muted); font-size: 13px; }
.registration-record dl {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 14px 18px;
  margin: 0 0 14px; padding: 15px; border-radius: 9px; background: #f3f6ff; overflow-wrap: anywhere;
}
.registration-record dd { margin: 3px 0 0; white-space: pre-wrap; }
.registration-pagination { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: var(--muted); font-size: 14px; }
@media (max-width: 480px) {
  .registration-record summary { grid-template-columns: auto minmax(0, 1fr); }
  .registration-record summary time { grid-column: 2; }
}

.account-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.account-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #ffffff70;
  border-radius: 9px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.account-links a:focus-visible { outline-color: #ffc4a3; }
.account-shell { width: min(480px, 100% - 32px); margin: 34px auto; }
.account-card { margin-top: 15px; }
.account-card h1 { margin: 0 0 19px; color: var(--navy); font-size: clamp(27px, 8vw, 36px); }
.account-shell a { color: var(--blue-deep); font-weight: 700; }
.account-form label { display: block; margin-top: 14px; }
.account-hint, .account-footer { color: var(--muted); font-size: 14px; line-height: 1.55; }
.account-hint { margin: 6px 0 12px; }
.account-logout {
  margin-top: 22px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--blue-deep);
  cursor: pointer;
}
.account-bookings { list-style: none; padding: 0; }
.account-bookings li { padding: 10px 0; border-top: 1px solid var(--line); }
.account-bookings small { display: block; margin-top: 4px; color: var(--muted); }
.phone-dialog {
  width: min(430px, 100% - 32px);
  max-height: 90vh;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  color: var(--navy);
}
.phone-dialog::backdrop { background: #1124478c; }
.phone-send {
  min-height: 42px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--blue-deep);
  cursor: pointer;
}
.phone-send:disabled { cursor: default; opacity: .6; }

@media (max-width: 1000px) {
  .shell { width: min(900px, 100% - 48px); }
  .card { padding-inline: 28px; }
  #contact::placeholder { font-size: 14px; }
}
@media (min-width: 761px) {
  .hero { justify-content: flex-start; gap: 28px; }
}
@media (max-width: 760px) {
  .organizer-login { grid-template-columns: minmax(0, 1fr); width: min(480px, 100% - 32px); }
  .organizer-brand { gap: 22px; padding: 19px 24px 26px; }
  .shell {
    grid-template-columns: minmax(0, 1fr);
    width: min(560px, 100% - 32px);
    margin: 20px auto 30px;
    border-radius: 22px;
  }
  .hero {
    min-height: 0;
    gap: 25px;
    padding: 24px clamp(20px, 6vw, 37px);
    border-radius: 22px 22px 0 0;
  }
  h1 { margin-block: 20px 11px; font-size: clamp(39px, 9vw, 53px); }
  .hero p { max-width: 19.5em; font-size: 14px; }
  .event-detail { padding: 10px 12px; font-size: 12px; }
  .hero-art { left: 40%; height: 205px; }
  .art-disc {
    right: -88px;
    bottom: -112px;
    width: 235px;
    opacity: .78;
  }
  .art-orbit { width: 290px; right: -130px; bottom: -61px; }
  .art-orbit-two { width: 315px; right: -134px; bottom: -48px; }
  .card { padding: 26px clamp(18px, 5.5vw, 36px) 30px; border-radius: 0 0 22px 22px; }
  .card-heading { margin-bottom: 21px; padding-bottom: 14px; }
  h2 { font-size: 25px; }
}
@media (max-width: 455px) {
  .fields { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .hero p { max-width: 16.5em; }
}
@media (prefers-reduced-motion: reduce) {
  input, textarea, .submit { transition: none; }
}

.salon-edition { --salon-city-image: url("./salon-city-def29f571aaf.webp"); }

/* 城市会刊样式只作用于公开报名页。 */
body:has(.salon-edition) {
  background: #f3f6fb;
}
.salon-edition {
  --navy: #182b47;
  --muted: #4e5e72;
  --blue: #214ea5;
  --blue-deep: #193666;
  --line: #dce4ef;
  --orange: #ff8a3d;
}
.salon-edition:not(.is-confirmed) {
  display: block;
  width: min(1216px, calc(100% - 64px));
  margin: 34px auto 60px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.salon-edition > .hero {
  min-height: 0;
  justify-content: flex-start;
  gap: 26px;
  padding: clamp(23px, 4.1vw, 58px);
  border-radius: 20px;
  background: #142950;
}
.salon-edition .hero-art {
  inset: 0 0 0 35%;
  height: auto;
  mask-image: none;
  background: linear-gradient(90deg, #142950 0%, #1429504d 42%, #14295020 100%),
    var(--salon-city-image) center 53% / cover;
}
.salon-edition .hero-art > span { display: none; }
.salon-edition .hero-copy { width: min(64%, 620px); }
.salon-edition .event-type { padding: 0; border: 0; border-radius: 0; color: #c8dbff; font-size: 14px; }
.salon-edition .event-type span { background: currentColor; }
.salon-edition h1 {
  margin: 14px 0 clamp(17px, 2.2vw, 30px);
  font-size: clamp(42px, calc(28px + 6.1vw), 116px);
  line-height: 1.12;
  letter-spacing: -.065em;
}
.salon-edition h1 span {
  color: var(--orange);
  margin-inline-start: .04em;
  font-family: system-ui, sans-serif;
  font-weight: 780;
  line-height: 0;
}
.salon-edition .hero-copy h1 { white-space: pre-line; overflow-wrap: anywhere; }
.salon-edition .hero-copy #event-intro {
  max-width: 21em;
  color: #edf4ff;
  font-size: clamp(16px, calc(11px + 1.1vw), 27px);
  line-height: 1.7;
}
.salon-edition .hero-signup {
  min-height: 44px;
  margin-top: 21px;
  padding-inline: 14px;
  border-radius: 7px;
  background: var(--orange);
  color: #142950;
  font-size: 14px;
}
.salon-edition .hero-signup:hover {
  background: var(--orange);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.salon-edition .calendar,
.salon-edition .calendar::before,
.salon-edition .schedule-list a[aria-current="true"] { border-color: var(--orange); }
.salon-edition :is(.schedule-list, .account-links) a:focus-visible { outline-color: var(--orange); }

.salon-edition .event-detail {
  align-self: stretch;
  min-width: 0;
  padding: 17px 0 0;
  border: 0;
  border-top: 1px solid #7891b4;
  border-radius: 0;
  background: transparent;
}
.salon-edition .event-detail h2 { margin-bottom: 9px; font-size: 15px; }
.salon-edition .event-detail dl {
  grid-template-columns: max-content minmax(0, max-content);
  gap: 4px 12px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 12px 7px 0;
  border-radius: 7px;
  background: #142950d9;
  font-size: 14px;
}
.salon-edition .event-detail dd { overflow-wrap: anywhere; }
.salon-edition .schedule-list { max-width: 42rem; }
.salon-edition .schedule-list a { background: #142950e6; }
.salon-edition .schedule-list a[aria-current="true"] { background: #294573; }
.salon-edition:not(.is-confirmed) > .card {
  max-width: 950px;
  margin: 18px auto 0;
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.salon-edition:not(.is-confirmed) > .activity-audience {
  padding: clamp(17px, 3vw, 32px);
}
.activity-audience h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.3;
}
.activity-audience ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: audience-item;
}
.activity-audience li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #e7edf5;
  color: var(--navy);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 28px;
  overflow-wrap: anywhere;
  counter-increment: audience-item;
}
.activity-audience li:last-child { padding-bottom: 0; }
.activity-audience li::before {
  content: counter(audience-item);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eaf1ff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.salon-edition .event-description {
  margin: 0 0 20px;
  padding: 13px 15px;
  border-left-color: var(--orange);
  border-radius: 6px;
  background: #f4f7fb;
}
.salon-edition .event-description h3 { color: var(--navy); font-size: 15px; }
.salon-edition .card-heading {
  margin-bottom: 23px;
  padding-bottom: 14px;
  border-color: var(--line);
}
.salon-edition:not(.is-confirmed) .card-heading h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
}
.salon-edition .group-title { color: var(--navy); font-size: 18px; }
.salon-edition .fields { gap: 15px 18px; }
.salon-edition .fields :is(input, textarea) { border-radius: 9px; background: #fbfcfe; }
.salon-edition .fields :is(input, textarea):focus { background: #fff; }
.salon-edition .purpose-option { border-radius: 9px; background: #fff; font-weight: 500; }
.salon-edition .purpose-option:has(input:checked) { background: #edf3ff; }
.salon-edition .submit { border-radius: 9px; background: var(--blue); color: #fff; }
.salon-edition .submit:hover:enabled { background: #1a418c; }
.salon-edition #signup, .salon-edition#registration { scroll-margin-top: 16px; }

.schedule-choice-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 7px 14px; background: var(--orange); font-size: 14px; text-align: center;
}
.landing-intro { align-content: start; }
.landing-intro-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.landing-intro-heading h2 { font-size: clamp(23px, 3.4vw, 32px); }
.participation-condition, .event-description .participation-condition {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 0;
  padding: 5px 10px; border-radius: 7px; background: #fff0e4; color: #713d23; font-size: 13px;
}
.participation-condition strong { font-size: 15px; color: #763719; }
.landing-intro-lead { max-width: 45em; margin: 14px 0 0; color: var(--muted); line-height: 1.7; }
.landing-topics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  gap: 16px; margin-top: 23px;
}
.landing-topics > div { padding: 13px 15px; border-top: 2px solid var(--orange); background: #f3f6ff; border-radius: 8px; }
.landing-topics h3 { margin: 0 0 7px; font-size: 16px; }
.landing-topics h3, .landing-topics p { overflow-wrap: anywhere; }
.landing-topics p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; white-space: pre-line; }
.activity-page #activity-intro { scroll-margin-top: 14px; }
.activity-page:not(.is-confirmed) > #signup:not(:target),
.activity-page.is-confirmed > :is(.activity-audience, .activity-overview, .activity-visit) { display: none; }
.activity-overview .activity-back {
  display: inline-flex; align-items: center; min-height: 40px;
  margin-top: 8px;
  color: var(--blue-deep); font-size: 14px; font-weight: 700;
}
.activity-page :is(.activity-overview, .activity-visit) h2 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
.activity-description p {
  margin: 0; color: var(--muted); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere;
}
.activity-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin-top: 16px; }
.activity-gallery img { display: block; width: 100%; height: auto; max-height: 420px; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 8px; background: #e7eef9; }
.activity-visit .activity-gallery { margin: 0 0 20px; }
.activity-visit p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.activity-visit a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--blue-deep); font-size: 14px; font-weight: 700;
}
.activity-image-upload { margin-top: 14px; }
.activity-image-upload p { color: var(--muted); font-size: 13px; }
.activity-image-upload button, .admin-activity-gallery button {
  min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: #edf3ff; color: var(--blue-deep); font: inherit; cursor: pointer;
}
.admin-activity-gallery button { margin-top: 7px; }
@media (max-width: 520px) {
  .schedule-choice-action { max-width: 8em; padding-inline: 8px; }
}

@media (max-width: 820px) {
  .salon-edition:not(.is-confirmed) { width: calc(100% - 36px); margin-top: 22px; }
}
@media (max-width: 560px) {
  .salon-edition:not(.is-confirmed) { width: calc(100% - 28px); margin: 14px auto 32px; }
  .salon-edition > .hero { gap: 20px; border-radius: 14px; }
  .salon-edition .hero-art {
    inset: 0;
    background: linear-gradient(90deg, #142950ee, #14295089), var(--salon-city-image) 62% center / cover;
  }
  .salon-edition .hero-copy { width: 100%; }
  .salon-edition .event-detail dl { padding: 5px 0; background: none; font-size: 13px; }
  .salon-edition:not(.is-confirmed) > .card { margin-top: 12px; padding: 17px; }
  .salon-edition .fields { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .salon-edition .event-description { margin-bottom: 16px; }
}


.public-schedule-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  color: #f6f9ff;
  font-weight: 750;
  text-underline-offset: 4px;
}
.public-schedule-link:hover { color: #ffc9a6; }
.public-schedule-link:focus-visible { outline-color: var(--orange); }
.public-schedule {
  width: min(850px, calc(100% - 32px));
  margin: clamp(18px, 5vw, 44px) auto 48px;
}
.public-schedule-header {
  padding: clamp(18px, 4.5vw, 34px);
  border-radius: 16px;
  background: #142950;
  color: #fff;
}
.public-schedule-header a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #dce8ff;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}
.public-schedule-header a:focus-visible { outline-color: var(--orange); }
.public-schedule-header h1 { margin: 8px 0 0; font-size: clamp(26px, 6vw, 40px); line-height: 1.22; }
.public-schedule-group { margin-top: 24px; }
.public-schedule-group h2 { margin: 0 0 10px; font-size: clamp(18px, 3vw, 22px); }
.public-schedule-items { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.public-schedule-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(12px, 3vw, 20px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}
.public-schedule-item:hover { border-color: #a5bbef; }
.public-schedule-item:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.public-schedule-info { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.public-schedule-info strong { font-size: clamp(16px, 2vw, 19px); line-height: 1.35; }
.public-schedule-meta { display: flex; flex-wrap: wrap; gap: 2px 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.public-schedule-detail { color: var(--blue-deep); font-size: 13px; font-weight: 750; white-space: nowrap; }
.public-schedule-empty { margin: 22px 0 0; color: var(--muted); }
