* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #e0a412;
  color: #ffffff;
}

.page {
  min-height: 100%;
  background: #e0a412;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 48px;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.topbar-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner {
  width: 100%;
  background: #e0a412;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.content {
  padding: 18px 18px 28px;
}

.hero-title {
  margin: 10px 0 10px;
  font-size: 34px;
  letter-spacing: 1px;
  font-weight: 800;
  text-align: center;
}

.hero-desc {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  opacity: 0.95;
}

.form {
  margin-top: 10px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.label {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.req {
  color: #ff4d4f;
  font-weight: 900;
}

.input,
.textarea,
.select {
  width: 100%;
  border: 0;
  border-radius: 2px;
  background: #ffffff;
  color: #333333;
  padding: 14px 14px;
  font-size: 16px;
  outline: none;
}

.textarea {
  min-height: 88px;
  resize: vertical;
}

.select-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #444 50%),
    linear-gradient(135deg, #444 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.select:disabled {
  opacity: 0.7;
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 2px;
  padding: 14px 14px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #a77707;
}

.btn:active {
  filter: brightness(0.95);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  max-width: calc(100% - 32px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.toast.show {
  opacity: 1;
}
