:root {
  --bg-left: #92a7eb;
  --bg-right: #5479b8;
  --button-red: #ff4160;
  --button-red-dark: #e93955;
  --text-dark: #1f2430;
  --text-muted: #9ea9b8;
  --line: #eeeeee;
  --panel-shadow: 0 24px 60px rgba(23, 42, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #fff;
  color: var(--text-dark);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  padding: 20px 0;
  background: #fff;
}

.shell-container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.header-logo {
  width: 205px;
  height: 47px;
  display: block;
}

.brand-link {
  display: inline-block;
}

.page-main {
  flex: 1;
}

.hero-panel {
  background: linear-gradient(90deg, var(--bg-left), var(--bg-right));
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 520px);
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  min-height: 484px;
}

.stage-title {
  margin: 0 0 24px;
  max-width: 620px;
  font-size: 32px;
  line-height: 64px;
  font-weight: 500;
  word-break: break-word;
  color: #fff;
}

.seat-card-wrap {
  width: 500px;
  max-width: 100%;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--panel-shadow);
}

.seat-card {
  display: flex;
  min-height: 323px;
}

.seat-number-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 50px);
  min-height: 323px;
}

.seat-unit-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  min-height: 323px;
}

.seat-number {
  width: 100%;
  font-size: 260px;
  line-height: 1;
  color: #1f2430;
  text-align: center;
}

.seat-unit {
  font-size: 40px;
  line-height: 1;
  color: #1f2430;
}

.hero-right {
  width: 100%;
}

.login-shell {
  background: #fff;
  padding: 20px;
}

.login-head {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 48px;
  font-size: 16px !important;
  font-weight: 700;
  border-bottom: 1px solid #eeeeee;
}

.login-head-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 2px solid #ff6b7f;
  border-radius: 4px;
}

.login-head-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 10px;
  height: 10px;
  border: 2px solid #ff6b7f;
  border-radius: 50%;
}

.login-head-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 12px;
  height: 6px;
  border: 2px solid #ff6b7f;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.login-form-panel {
  border-radius: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.form-label {
  display: block;
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
}

.form-field {
  display: block;
}

.form-control {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
}

.form-control::placeholder {
  color: #bcc5d0;
}

.form-text {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.text-red {
  color: #ff3d3d;
}

.captcha-field {
  display: flex;
  align-items: start;
  gap: 12px;
}

.captcha-input-col {
  flex: 1 1 auto;
}

.captcha-image-col {
  flex: 0 0 96px;
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border: 1px solid #777;
  background:
    linear-gradient(150deg, transparent 40%, #111 41%, #111 43%, transparent 44%),
    linear-gradient(335deg, transparent 46%, #111 47%, #111 49%, transparent 50%),
    #efefef;
  color: #111;
  font-size: 34px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1px;
  user-select: none;
}

.login-btn {
  display: block;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 20px;
  height: 60px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: var(--button-red);
  cursor: pointer;
}

.login-btn:hover,
.login-btn:focus {
  background: var(--button-red-dark);
}

.rights {
  position: relative;
  padding: 0;
  background: #fff;
}

.rights-inner {
  position: relative;
  padding-bottom: 6px;
}

.support-line {
  margin: 0;
  min-height: 48px;
  padding: 0 0 0 20px;
  line-height: 48px;
  text-align: right;
}

.support-line a {
  color: #3a73d4;
  text-decoration: none;
}

.copy-panel {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(440px, calc(100vw - 140px));
  transform: translateX(-50%);
  pointer-events: none;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}

.copy-item {
  height: 20px;
  border: 1px solid rgba(29, 39, 54, 0.05);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(29, 39, 54, 0.16);
  font-size: 13px;
  font-weight: 700;
  opacity: 0.46;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 120ms ease, color 120ms ease, background 120ms ease, border-color 120ms ease;
}

.copy-item:hover,
.copy-item:focus-visible {
  opacity: 0.62;
  color: rgba(29, 39, 54, 0.24);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(29, 39, 54, 0.09);
  outline: none;
}

.copy-item.copied {
  opacity: 0.58;
  color: rgba(36, 121, 74, 0.3);
  background: rgba(53, 168, 103, 0.1);
  border-color: rgba(36, 121, 74, 0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1199.98px) {
  .hero-layout {
    grid-template-columns: minmax(360px, 1fr) minmax(320px, 460px);
  }

  .stage-title {
    max-width: 520px;
    font-size: 28px;
    line-height: 52px;
  }

  .seat-card-wrap {
    width: 440px;
  }

  .seat-card,
  .seat-number-box,
  .seat-unit-box {
    min-height: 280px;
  }

  .seat-number {
    font-size: 220px;
  }

  .seat-unit {
    font-size: 34px;
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    max-width: 620px;
  }

  .stage-title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .page-header {
    padding: 18px 0;
  }

  .header-logo {
    width: 180px;
    height: auto;
  }

  .page-main-section {
    padding: 20px 0 24px;
  }

  .stage-title {
    max-width: 100%;
    font-size: 24px;
    line-height: 38px;
  }

  .seat-card-wrap {
    width: min(100%, 340px);
  }

  .seat-card,
  .seat-number-box,
  .seat-unit-box {
    min-height: 220px;
  }

  .seat-number {
    font-size: 170px;
  }

  .seat-unit-box {
    width: 42px;
  }

  .seat-number-box {
    width: calc(100% - 42px);
  }

  .seat-unit {
    font-size: 28px;
  }

  .login-shell {
    padding: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-label {
    padding-top: 0;
  }

  .captcha-field {
    flex-direction: column;
    gap: 8px;
  }

  .captcha-image-col {
    width: 100%;
    flex: 0 0 auto;
  }

  .copy-grid {
    gap: 6px;
  }

  .support-line {
    min-height: auto;
    padding: 8px 0 0;
    line-height: 1.8;
    text-align: center;
  }

  .copy-panel {
    width: min(260px, calc(100vw - 40px));
    bottom: 52px;
  }
}

@media (max-width: 480px) {
  .shell-container {
    width: min(100vw - 24px, 1180px);
  }

  .seat-card-wrap {
    width: 100%;
  }

  .seat-card,
  .seat-number-box,
  .seat-unit-box {
    min-height: 200px;
  }

  .seat-number {
    font-size: 150px;
  }

  .seat-unit-box {
    width: 34px;
  }

  .seat-number-box {
    width: calc(100% - 34px);
  }

  .seat-unit {
    font-size: 24px;
  }

  .copy-panel {
    width: min(220px, calc(100vw - 28px));
    bottom: 64px;
  }
}