:root {
  --bg: #080910;
  --panel: rgba(19, 21, 31, 0.78);
  --panel-solid: #12141d;
  --panel-2: #171a25;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e9ebf3;
  --muted: #8d93a8;
  --dim: #61667a;
  --accent: #7c8cff;
  --accent-2: #38e0c6;
  --danger: #ff6f6f;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.aurora {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(45% 55% at 22% 28%, rgba(124, 140, 255, 0.22), transparent 70%),
    radial-gradient(40% 50% at 78% 14%, rgba(56, 224, 198, 0.14), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------- 顶栏 ---------------------------------- */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent), #b18cff 45%, var(--accent-2));
  box-shadow: 0 8px 22px rgba(124, 140, 255, 0.35);
  position: relative;
}

.brand .logo::after {
  content: "";
  position: absolute;
  inset: 9px 9px auto 9px;
  height: 12px;
  background: rgba(255, 255, 255, 0.92);
  clip-path: polygon(0 100%, 30% 32%, 52% 74%, 68% 48%, 100% 100%);
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.brand em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

/* --------------------------------- 布局 ---------------------------------- */
.wrap {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px clamp(16px, 4vw, 40px) 60px;
}

.hero {
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.5px;
  font-weight: 650;
}

.hero .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.stage-panel {
  padding: 16px;
  min-height: 420px;
}

/* -------------------------------- 拖拽区 --------------------------------- */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 380px;
  padding: 32px 20px;
  border: 1.5px dashed rgba(124, 140, 255, 0.35);
  border-radius: 13px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(124, 140, 255, 0.09), transparent 70%),
    rgba(255, 255, 255, 0.012);
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
}

.dropzone:hover {
  border-color: rgba(124, 140, 255, 0.6);
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(124, 140, 255, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.02);
}

.dropzone.dragging {
  border-color: var(--accent);
  transform: scale(1.005);
}

.dz-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(124, 140, 255, 0.13);
  color: #b3bcff;
  border: 1px solid rgba(124, 140, 255, 0.25);
}

.dz-icon svg {
  width: 26px;
  height: 26px;
}

.dropzone strong {
  font-size: 16px;
  font-weight: 600;
}

.dropzone span {
  color: var(--muted);
  font-size: 12.5px;
}

.dropzone b {
  color: #b7bde0;
}

.dropzone .primary {
  margin-top: 8px;
}

/* --------------------------------- 舞台 ---------------------------------- */
.workspace.hidden,
.hidden {
  display: none !important;
}

.stage-wrap {
  display: grid;
  place-items: center;
  min-height: 380px;
  max-height: 62vh;
  padding: 8px;
  border-radius: 13px;
  background:
    conic-gradient(rgba(255, 255, 255, 0.035) 25%, transparent 0 50%, rgba(255, 255, 255, 0.035) 0 75%, transparent 0)
      0 0 / 22px 22px,
    #0b0c13;
  border: 1px solid var(--border);
}

.stage {
  position: relative;
  max-width: 100%;
  max-height: calc(62vh - 18px);
  --pos: 50%;
  line-height: 0;
  user-select: none;
  touch-action: none;
}

.stage img {
  display: block;
  max-width: 100%;
  max-height: calc(62vh - 18px);
  width: auto;
  height: auto;
  border-radius: 8px;
  pointer-events: none;
}

#imgResult {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  clip-path: inset(0 0 0 var(--pos));
  border-radius: 8px;
}

.boxes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.box {
  position: absolute;
  border: 1.5px solid var(--accent);
  background: rgba(124, 140, 255, 0.16);
  border-radius: 4px;
  pointer-events: auto;
  cursor: move;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.box .tag {
  position: absolute;
  top: -21px;
  left: -1px;
  font-size: 10.5px;
  line-height: 17px;
  padding: 0 6px;
  border-radius: 4px 4px 4px 0;
  background: var(--accent);
  color: #0b0d14;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.box .del {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #23283a;
  color: #cfd4e6;
  font-size: 11px;
  line-height: 18px;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.box .del:hover {
  background: var(--danger);
  color: #fff;
}

.box .grip {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--accent);
  border: 1.5px solid #0b0d14;
  cursor: nwse-resize;
}

.stage.drawing {
  cursor: crosshair;
}

.stage.drawing .box {
  pointer-events: none;
}

.cmp-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  cursor: ew-resize;
  z-index: 5;
}

.cmp-handle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.cmp-handle i::before,
.cmp-handle i::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
}

.cmp-handle i::before {
  left: 4px;
  border-right-color: #1b1e28;
}

.cmp-handle i::after {
  right: 4px;
  border-left-color: #1b1e28;
}

.stage-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  font-size: 11px;
  line-height: 22px;
  padding: 0 9px;
  border-radius: 7px;
  background: rgba(11, 13, 20, 0.78);
  border: 1px solid var(--border-strong);
  color: #dfe3f2;
  backdrop-filter: blur(6px);
}

.stage-badge.left {
  right: auto;
  left: 10px;
}

.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.stage-meta {
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.stage-meta #fileName {
  color: #cfd3e4;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-meta .sep {
  color: var(--dim);
}

.stage-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 区域目标切换 chip（水印 / 文字） */
.stage-tools .chip {
  border: 1px solid var(--border);
}

.stage-tools .chip.on {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
}

.stage-tip {
  margin: 8px 2px 0;
  font-size: 12px;
  color: var(--dim);
  min-height: 18px;
}

/* --------------------------------- 步骤 ---------------------------------- */
.side {
  padding: 18px;
}

.side-head {
  margin-bottom: 14px;
}

.side-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.side-sub {
  font-size: 12px;
  color: var(--dim);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.014);
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}

.step.active {
  border-color: rgba(124, 140, 255, 0.35);
  background: rgba(124, 140, 255, 0.05);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
}

.idx {
  width: 21px;
  height: 21px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.step.active .idx {
  background: rgba(124, 140, 255, 0.2);
  border-color: rgba(124, 140, 255, 0.45);
  color: #cfd6ff;
}

.titles {
  flex: 1;
  min-width: 0;
}

.titles b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.titles small {
  color: var(--dim);
  font-size: 11.5px;
}

.step-body {
  display: none;
  padding: 0 13px 13px;
  gap: 10px;
  flex-direction: column;
}

.step.active .step-body {
  display: flex;
}

/* 开关 */
.switch {
  position: relative;
  width: 38px;
  height: 21px;
  flex: none;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-strong);
  transition: background 0.18s, border-color 0.18s;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b9bed3;
  transition: transform 0.18s, background 0.18s;
}

.switch input:checked + span {
  background: linear-gradient(100deg, var(--accent), #9a7bff);
  border-color: transparent;
}

.switch input:checked + span::after {
  transform: translateX(16px);
  background: #fff;
}

/* 表单 */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.field > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.field b {
  color: #cfd4e8;
}

select,
input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: #0e1018;
  color: var(--text);
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.16s;
}

select:focus,
input[type="number"]:focus {
  border-color: rgba(124, 140, 255, 0.6);
}

select option:disabled {
  color: #5c6175;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #9a7bff);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #6d7cff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.inline {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.hint {
  font-size: 11.5px;
  color: var(--dim);
}

.notice {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: #f0c98a;
  background: rgba(240, 201, 138, 0.08);
  border: 1px solid rgba(240, 201, 138, 0.22);
  border-radius: 9px;
  padding: 8px 10px;
}

.notice.ok {
  color: #8fe6cf;
  background: rgba(56, 224, 198, 0.08);
  border-color: rgba(56, 224, 198, 0.22);
}

.notice.err {
  color: #ffb4b4;
  background: rgba(255, 111, 111, 0.08);
  border-color: rgba(255, 111, 111, 0.24);
}

/* --------------------------------- 按钮 ---------------------------------- */
button,
.primary,
.ghost {
  font-family: inherit;
  cursor: pointer;
  border-radius: 10px;
  font-size: 13px;
  transition: transform 0.12s, background 0.16s, border-color 0.16s, opacity 0.16s;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  color: #0a0b12;
  font-weight: 650;
  background: linear-gradient(100deg, #a9b4ff, #7c8cff 40%, #45e3c9);
  box-shadow: 0 10px 26px rgba(124, 140, 255, 0.28);
  text-decoration: none;
}

.primary:hover:not(:disabled) {
  transform: translateY(-1px);
}

.primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.primary.block {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  font-size: 14px;
}

.primary.sm {
  padding: 7px 14px;
  font-size: 12.5px;
  border-radius: 9px;
}

.ghost {
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: #c8cde0;
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}

.ghost.sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.ghost.on {
  border-color: rgba(124, 140, 255, 0.6);
  background: rgba(124, 140, 255, 0.16);
  color: #d5dbff;
}

/* 顶栏用量徽章 */
.usage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.usage-badge b {
  color: #d5dbff;
  font-weight: 650;
}

.icon-btn {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 12px;
}

.icon-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(10, 11, 18, 0.35);
  border-top-color: #0a0b12;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.foot-note {
  margin: 9px 2px 0;
  font-size: 11.5px;
  color: var(--dim);
  text-align: center;
}

/* --------------------------------- 结果 ---------------------------------- */
.result {
  margin-top: 14px;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(56, 224, 198, 0.24);
  background: linear-gradient(160deg, rgba(56, 224, 198, 0.07), rgba(124, 140, 255, 0.05));
}

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-top b {
  display: block;
  font-size: 13px;
  word-break: break-all;
}

.result-top small {
  color: var(--muted);
  font-size: 11.5px;
}

.result-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.result-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
}

.result-steps li::before {
  content: "✓";
  color: var(--accent-2);
  font-size: 11px;
}

.result-steps li i {
  font-style: normal;
  color: var(--dim);
  margin-left: auto;
  white-space: nowrap;
}

.saving {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 10px;
}

.saving span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 0.4s ease;
}

.saving-text {
  display: block;
  margin-top: 5px;
  color: var(--dim);
  font-size: 11px;
}

/* --------------------------------- 弹窗 ---------------------------------- */
.modal {
  width: min(880px, calc(100vw - 32px));
  max-height: 84vh;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: #101220;
  color: var(--text);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

.modal::backdrop {
  background: rgba(4, 5, 9, 0.72);
  backdrop-filter: blur(4px);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #101220;
  z-index: 2;
}

.modal-head h3 {
  margin: 0;
  font-size: 15px;
}

.modal-body {
  padding: 16px 18px 4px;
  overflow: auto;
  max-height: calc(84vh - 130px);
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.modal-foot small {
  color: var(--dim);
  font-size: 11.5px;
}

.modal h4 {
  margin: 18px 0 8px;
  font-size: 13px;
  color: #cfd4e8;
}

/* 登录弹窗 */
.modal.login {
  width: min(360px, 92vw);
}

.modal.login .modal-foot {
  justify-content: flex-end;
}

.pw-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0c1120;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.pw-input:focus {
  border-color: #7c8cff;
}

/* 输出尺寸：宽 × 高 两个输入框 */
.size-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.size-inputs input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #0c1120;
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.size-inputs input:focus {
  border-color: #7c8cff;
}

.size-inputs em {
  color: var(--dim);
  font-style: normal;
  font-size: 13px;
}

.modal h4:first-child {
  margin-top: 0;
}

.vendor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.vendor-table th {
  text-align: left;
  color: var(--dim);
  font-weight: 500;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.vendor-table td {
  padding: 9px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  vertical-align: top;
  color: #c3c8da;
}

.vendor-table td:first-child {
  white-space: nowrap;
}

.vendor-table .v-name {
  color: var(--text);
  font-weight: 600;
}

.badge {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
  margin-left: 6px;
  vertical-align: 1px;
  background: rgba(124, 140, 255, 0.16);
  border: 1px solid rgba(124, 140, 255, 0.3);
  color: #c3cbff;
  white-space: nowrap;
}

.badge.ok {
  background: rgba(56, 224, 198, 0.14);
  border-color: rgba(56, 224, 198, 0.32);
  color: #9ff0dd;
}

.badge.warn {
  background: rgba(240, 201, 138, 0.12);
  border-color: rgba(240, 201, 138, 0.3);
  color: #f0c98a;
}

pre.code {
  margin: 6px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #08090f;
  border: 1px solid var(--border);
  color: #b9c2e6;
  font-size: 11.5px;
  line-height: 1.65;
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  overflow-x: auto;
}

code {
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 5px;
  border-radius: 5px;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 11.5px;
}

/* --------------------------------- 页脚 ---------------------------------- */
.foot {
  margin-top: 30px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--dim);
  font-size: 11.5px;
  text-align: center;
}

.foot .dot {
  color: #3a3f52;
}

/* --------------------------------- Toast --------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 14px);
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 13px;
  color: #eef1fb;
  background: rgba(22, 25, 38, 0.96);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 99;
  max-width: min(560px, calc(100vw - 40px));
  text-align: center;
}

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

.toast[data-type="ok"] {
  border-color: rgba(56, 224, 198, 0.45);
}

.toast[data-type="err"] {
  border-color: rgba(255, 111, 111, 0.5);
  color: #ffd7d7;
}

/* -------------------------------- 响应式 --------------------------------- */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-wrap {
    min-height: 260px;
    max-height: 50vh;
  }

  .stage img,
  .stage {
    max-height: calc(50vh - 18px);
  }

  .banner {
    display: none;
  }
}
