:root {
  --red: #ed1515;
  --deep-red: #d90909;
  --ink: #202020;
  --muted: #999;
  --pink: #fff5f4;
  --line: #e5e5e5;
  --shadow: 0 14px 38px rgba(201, 41, 30, .12);
}

* {
  box-sizing: border-box;
}

html {
  background: #f2f2f2;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 225, 222, .8), transparent 33%),
    #f2f2f2;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.site-shell {
  width: min(100%, 1000px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #fffafa;
  box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.hero {
  position: relative;
  background: url("back.jpg?_=v1.1") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 55%);
}

.hero-home {
  height: clamp(450px, 90vw, 530px);
  background-position: center 5%;
}

.hero-brand {
  position: relative;
  z-index: 1;
  width: 70%;
  margin: 0 auto;
  padding-top: 35px;
}

.brand-image {
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto;
}

.brand-slogan {
  display: block;
  width: 58%;
  margin: -29px 12% 0 auto;
  height: auto;
}

.home-content,
.signup-content {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 233, 230, .8), transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(255, 233, 230, .62), transparent 32%),
    #fffdfc;
}

.home-content {
  margin-top: -44px;
  padding: 75px 8% 48px;
  border-radius: 50% 50% 0 0 / 55px 55px 0 0;
}

.section-tag {
  position: absolute;
  top: -28px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 330px;
  height: 58px;
  color: var(--red);
  font-size: 25px;
  letter-spacing: 3px;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 32px;
  background: rgba(255, 249, 248, .9);
  box-shadow: 0 5px 15px rgba(210, 52, 43, .09);
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}

.section-tag-icon {
  width: 30px;
  height: 30px;
  margin-right: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.welcome-header,
.signup-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  color: var(--red);
}

.title-art {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.title-art-welcome {
  width: 70%;
  max-width: 760px;
  height: 110px;
  object-fit: contain;
}

.title-art-signup {
  width: 48%;
  height: 90px;
}

.welcome-header h1,
.signup-title h1 {
  margin: 0;
  font-family: STKaiti, KaiTi, "Microsoft YaHei", serif;
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: .17em;
  text-indent: .17em;
  text-shadow: 0 3px 4px rgba(237, 21, 21, .12);
}

.laurel {
  color: rgba(237, 21, 21, .18);
  font-family: Georgia, serif;
  font-size: 72px;
  transform: scaleX(.65);
}

.laurel-left {
  transform: scaleX(-.65);
}

.title-rule {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
}

.title-rule i {
  width: 120px;
  height: 1px;
  background: var(--red);
}

.title-rule b {
  font-size: 18px;
}

.welcome-copy {
  margin: 30px 0 34px;
  text-align: center;
  font-size: 23px;
  line-height: 1.75;
  letter-spacing: 3px;
}

.home-actions {
  display: grid;
  gap: 22px;
}

.action-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 0 85px;
  border-radius: 46px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(201, 41, 30, .18);
}

.action-primary {
  min-height: 88px;
  color: #fff;
  border: 5px solid #fff;
  background: linear-gradient(90deg, #e80808, #f51b11 55%, #e70909);
}

.action-secondary {
  min-height: 60px;
  color: #222;
  background: rgba(255, 255, 255, .92);
}

.action-button strong {
  font-size: 34px;
  letter-spacing: 6px;
}

.action-secondary strong {
  font-size: 24px;
}

.action-icon {
  position: absolute;
  left: 18%;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.monitor-icon {
  color: var(--red);
}

.action-arrow {
  position: absolute;
  right: 6%;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.action-secondary .action-arrow {
  color: #777;
  width: 27px;
  height: 27px;
}

.contact-card {
  display: grid;
  gap: 0;
  margin-top: 30px;
  padding: 24px 42px 38px;
  font-style: normal;
  border-radius: 28px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 28px rgba(190, 62, 52, .08);
}

.contact-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  min-height: 58px;
  font-size: 24px;
}

.contact-row + .contact-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(237, 21, 21, .24);
}

.contact-row:last-child {
  grid-template-columns: 50px minmax(0, 1fr);
}

.contact-link {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.contact-link span {
  margin-left: 12px;
  font-weight: 400;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--red);
  place-items: center;
  border: 1px solid #ffd3cf;
  border-radius: 50%;
  background: #fff7f6;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* 报到页 */
.hero-signup {
  height: 305px;
  background-image: url("back2.jpg?_=v1.1");
  background-position: center center;
}

.signup-brand {
  position: relative;
  z-index: 1;
  display: block;
  width: 52%;
  padding: 34px 0 0 42px;
}

.back-home {
  position: absolute;
  z-index: 2;
  top: 35px;
  right: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  border: 1px solid rgba(237, 21, 21, .5);
  border-radius: 30px;
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(5px);
}

.back-home-icon {
  width: 25px;
  height: 25px;
  margin-right: 6px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.signup-content {
  margin-top: -42px;
  padding: 42px 40px 28px;
  border-radius: 50% 50% 0 0 / 60px 60px 0 0;
}

.signup-title {
  gap: 25px;
  margin-bottom: 36px;
}

.signup-title h1 {
  font-size: clamp(48px, 6vw, 68px);
}

.signup-title .laurel {
  font-size: 60px;
}

.signup-form {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 28px 66px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-error {
  display: none;
  grid-column: 2;
  margin: 6px 4px 0;
  color: #e31919;
  font-size: 14px;
  line-height: 1.45;
}

.field-error.show {
  display: block;
}

.field-wrap.has-error input,
.field-wrap.has-error select,
.gender-options.has-error .gender-option {
  border-color: #e31919;
  box-shadow: 0 0 0 3px rgba(227, 25, 25, .07);
}

.form-row > label,
.form-row .row-label {
  padding: 0;
  font-size: 20px;
  font-weight: 400;
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  z-index: 1;
  left: 18px;
  width: 30px;
  height: 30px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.field-wrap input,
.field-wrap select {
  width: 100%;
  height: 57px;
  padding: 0 18px 0 60px;
  color: #111;
  font-size: 19px;
  font-weight: 500;
  outline: none;
  border: 1px solid #d8d8d8;
  border-radius: 17px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field-wrap input::placeholder,
.field-wrap select:invalid {
  color: #111;
  opacity: 1;
}

.field-wrap input:focus,
.field-wrap select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 21, 21, .09);
}

.select-chevron {
  position: absolute;
  right: 22px;
  width: 22px;
  height: 22px;
  color: #999;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.field-wrap select {
  appearance: none;
}

.gender-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gender-option {
  display: flex;
  height: 57px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #333;
  font-size: 22px;
  font-weight: 700;
  border: 1px solid #d8d8d8;
  border-radius: 17px;
  cursor: pointer;
}

.gender-option:has(input:checked) {
  color: var(--red);
  border-color: var(--red);
}

.gender-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gender-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.notice {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 12px 28px;
  border: 1px solid #ffc7c2;
  border-radius: 17px;
  background: #fff4f2;
}

.notice p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.notice strong {
  color: var(--red);
  font-size: 19px;
}

.notice-assurance {
  color: #666;
}

.notice-icon {
  display: grid;
  flex: 0 0 48px;
  height: 48px;
  color: var(--red);
  place-items: center;
  border: 1px solid #ffd0cc;
  border-radius: 50%;
  background: #fff;
}

.notice-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.submit-button {
  display: flex;
  width: 100%;
  min-height: 84px;
  margin: 16px 0 32px;
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 5px solid #fff;
  border-radius: 46px;
  background: linear-gradient(90deg, #ec0808, #f31810 55%, #e80606);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.submit-icon {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.submit-button strong {
  font-size: 37px;
  letter-spacing: 5px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: .65;
}

.submit-success {
  display: none;
  padding: 62px 20px 80px;
  text-align: center;
}

.signup-content.is-success .signup-form,
.signup-content.is-success .notice,
.signup-content.is-success .submit-button {
  display: none;
}

.signup-content.is-success .submit-success {
  display: block;
}

.success-icon {
  display: grid;
  width: 112px;
  height: 112px;
  margin: 0 auto 25px;
  color: #fff;
  place-items: center;
  font-size: 62px;
  font-weight: 700;
  border: 8px solid #ffe0dd;
  border-radius: 50%;
  background: linear-gradient(145deg, #f52a20, #dc0808);
  box-shadow: 0 15px 32px rgba(225, 20, 15, .22);
}

.success-icon svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.submit-success h2 {
  margin: 0;
  color: var(--red);
  font-size: 42px;
  letter-spacing: 6px;
}

.submit-success p {
  margin: 22px 0 32px;
  color: #555;
  font-size: 20px;
  line-height: 1.8;
}

.submit-success a {
  display: inline-flex;
  min-width: 190px;
  min-height: 48px;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 26px;
  background: var(--red);
  box-shadow: var(--shadow);
}

.toast {
  position: fixed;
  z-index: 10;
  bottom: 30px;
  left: 50%;
  max-width: calc(100vw - 40px);
  padding: 12px 22px;
  color: #fff;
  font-size: 15px;
  border-radius: 25px;
  background: rgba(32, 32, 32, .9);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: .25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 700px) {
  .site-shell {
    box-shadow: none;
  }

  .hero-home {
    height: 62vw;
    min-height: 350px;
    background-position: center top;
  }

  .hero-brand {
    width: 84%;
    padding-top: 20px;
  }

  .brand-slogan {
    width: 60%;
    margin-top: -3vw;
  }

  .home-content {
    margin-top: -24px;
    padding: 41px 6% 20px;
    border-radius: 50% 50% 0 0 / 30px 30px 0 0;
  }

  .section-tag {
    top: -24px;
    width: 255px;
    height: 48px;
    font-size: 18px;
  }

  .section-tag-icon {
    width: 23px;
    height: 23px;
    margin-right: 12px;
  }

  .welcome-header {
    gap: 4px;
  }

  .title-art-welcome {
    height: clamp(100px, 50vw, 100px);
    object-fit: contain;
  }

  .title-art-signup {
    width: auto;
    height: 70px;
  }

  .welcome-header h1,
  .signup-title h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .laurel {
    font-size: 42px;
  }

  .title-rule i {
    width: 66px;
  }

  .welcome-copy {
    margin: 10px 0 28px;
    font-size: clamp(16px, 4.2vw, 20px);
    letter-spacing: 1px;
  }

  .home-actions {
    gap: 14px;
  }

  .action-button {
    min-height: 64px;
    padding: 0 55px;
  }

  .action-primary {
    min-height: 64px;
    border-width: 4px;
  }

  .action-button strong {
    font-size: clamp(22px, 5vw, 28px);
    letter-spacing: 3px;
  }

  .action-secondary {
    min-height: 52px;
  }

  .action-secondary strong {
    font-size: clamp(16px, 4vw, 20px);
  }

  .action-icon {
    left: 9%;
    width: 28px;
    height: 28px;
  }

  .action-arrow {
    right: 5%;
    width: 25px;
    height: 25px;
  }

  .contact-card {
    gap: 0;
    margin-top: 22px;
    padding: 18px 16px 28px;
    border-radius: 22px;
  }

  .contact-row {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 10px;
    min-height: 44px;
    font-size: clamp(14px, 4vw, 18px);
  }

  .contact-row + .contact-row {
    margin-top: 10px;
    padding-top: 10px;
  }

  .contact-row:last-child {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .contact-link span {
    margin-left: 5px;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-signup {
    height: 205px;
  }

  .signup-brand {
    width: 62%;
    padding: 22px 0 0 16px;
  }

  .back-home {
    top: 20px;
    right: 14px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .back-home-icon {
    width: 18px;
    height: 18px;
  }

  .signup-content {
    margin-top: -28px;
    padding: 12px 14px 20px;
    border-radius: 50% 50% 0 0 / 34px 34px 0 0;
  }

  .signup-title {
    gap: 0;
    margin-bottom: 15px;
  }

  .signup-title .laurel {
    font-size: 39px;
  }

  .signup-form {
    gap: 18px;
    width: calc(100% + 28px);
    margin: 0 -14px;
    padding: 20px 29px;
    border-radius: 0;
  }

  .form-row {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 8px;
  }

  .field-error {
    margin-top: 4px;
    font-size: 12px;
  }

  .form-row > label,
  .form-row .row-label {
    font-size: 17px;
    font-weight: 700;
  }

  .field-icon {
    left: 11px;
    width: 22px;
    height: 22px;
  }

  .field-wrap input,
  .field-wrap select,
  .gender-option {
    height: 47px;
    border-radius: 13px;
  }

  .field-wrap input,
  .field-wrap select {
    padding: 0 10px 0 39px;
    font-size: 16px;
  }

  .select-chevron {
    right: 12px;
    width: 18px;
    height: 18px;
  }

  .gender-options {
    gap: 10px;
  }

  .gender-option {
    font-size: 16px;
  }

  .gender-icon {
    width: 22px;
    height: 22px;
  }

  .notice {
    gap: 10px;
    padding: 10px 13px;
  }

  .notice-icon {
    flex-basis: 38px;
    height: 38px;
  }

  .notice p {
    font-size: 12px;
  }

  .notice strong {
    font-size: 15px;
  }

  .submit-button {
    min-height: 60px;
    margin-bottom: 24px;
    gap: 15px;
  }

  .submit-icon {
    width: 28px;
    height: 28px;
  }

  .submit-button strong {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .submit-success {
    padding: 48px 12px 65px;
  }

  .success-icon {
    width: 90px;
    height: 90px;
    font-size: 50px;
  }

  .submit-success h2 {
    font-size: 34px;
  }

  .submit-success p {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .form-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .form-row > label,
  .form-row .row-label {
    font-size: 15px;
  }

  .field-wrap input,
  .field-wrap select {
    font-size: 13px;
  }
}
