:root {
  --paper: #f6f3ec;
  --card: #fffdf8;
  --ink: #171614;
  --ink-2: #5f5a51;
  --ink-3: #8b8478;
  --line: #e2dcd0;
  --line-strong: #cfc6b5;
  --field: #fbf8f1;
  --red: #c8342b;
  --red-dark: #a92921;
  --green: #227a52;
  --shadow: 0 18px 50px rgba(54, 44, 26, 0.07);
  --radius: 20px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(23, 22, 20, 0.055) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  opacity: 0.55;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 82% -10%, rgba(200, 52, 43, 0.08), transparent 60%),
    radial-gradient(700px 420px at -8% 18%, rgba(47, 169, 140, 0.06), transparent 65%);
}

button, input, select { font: inherit; }
button { cursor: pointer; }

.masthead,
.layout,
.submitbar__inner {
  position: relative;
  z-index: 1;
}

.masthead {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 8px;
}

.masthead__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 26px;
}

.brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand i {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  letter-spacing: 0.08em;
}

.test-badge {
  padding: 3px 8px;
  border: 1px solid rgba(200, 52, 43, 0.28);
  border-radius: 999px;
  background: rgba(200, 52, 43, 0.07);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.masthead__credit {
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.text-btn {
  margin-left: auto;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(95, 90, 81, 0.35);
  text-underline-offset: 4px;
}

.text-btn:hover { color: var(--ink); }
.text-btn--danger { color: var(--red); text-decoration-color: rgba(200, 52, 43, 0.3); }

.masthead__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.eyebrow,
.step {
  margin: 0 0 10px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masthead h1 {
  margin: 0;
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.masthead h1 span { color: var(--red); }

.masthead__spec {
  display: flex;
  flex-shrink: 0;
  gap: 0;
  padding: 4px 0 8px 26px;
  border-left: 1px solid var(--line-strong);
}

.masthead__spec div {
  min-width: 68px;
  padding: 0 14px;
}

.masthead__spec strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.masthead__spec span {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.masthead__lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 150px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.order-card {
  align-self: start;
  padding: 26px 24px 22px;
}

.card__head { margin-bottom: 20px; }
.card__head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.card__head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card__head--row .text-btn { margin-left: 0; white-space: nowrap; }

.card__note {
  margin: 9px 0 0;
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 12px;
}

.field { display: block; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.label em {
  color: var(--red);
  font-style: normal;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: var(--field);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.field input::placeholder { color: #b6aea0; }

.field input:focus,
.field select:focus {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 22, 20, 0.07);
}

.field input.is-error,
.field select.is-error {
  border-color: var(--red);
  background: #fff8f6;
}

.field small {
  display: block;
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.4;
}

.field-error {
  display: none;
  margin-top: 5px;
  color: var(--red);
  font-size: 11px;
  line-height: 1.4;
}

.field.has-error .field-error { display: block; }

.segmented {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f0ebe1;
}

.segmented button {
  flex: 1;
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}

.segmented button.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 3px 8px rgba(23, 22, 20, 0.18);
}

.segmented--sm { display: inline-flex; padding: 3px; }
.segmented--sm button { min-height: 32px; min-width: 58px; font-size: 12px; }

.form-hint {
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.6;
}

.matrix-card { padding: 26px 26px 18px; }

/* 三步引导：编号块 + 标题 + 灰色补充说明 */
.pick-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.pick-step span {
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
}

.pick-step--list { margin: 16px 0 8px; }

.pick-step i,
.size-bar__label i {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
}

.model-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.model-tab {
  position: relative;
  min-width: 0;
  padding: 13px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--field);
  text-align: left;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}

.model-tab:hover { border-color: var(--line-strong); transform: translateY(-1px); }

.model-tab.is-active {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(54, 44, 26, 0.08);
}

.model-tab b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.model-tab span {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.size-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 14px;
  border-top: 1px solid var(--line);
}

.size-bar__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
}

.size-bar__label em {
  color: var(--ink-3);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.size-bar__hint {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 11px;
}

.color-list { border-top: 1px solid var(--line); }

.color-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--line);
  border-radius: 10px;
  transition: background 0.16s, box-shadow 0.16s;
}

.color-row.is-active {
  background: #fff7f2;
  box-shadow: inset 3px 0 0 var(--red);
}

.swatch {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(23, 22, 20, 0.16);
  border-radius: 50%;
  background: var(--swatch, #ddd);
  box-shadow: inset -4px -5px 9px rgba(0, 0, 0, 0.12), inset 3px 3px 7px rgba(255, 255, 255, 0.45);
}

.swatch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 8px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(-25deg);
}

.color-meta { min-width: 0; }

.color-meta strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.color-meta span {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.stepper button {
  width: 36px;
  height: 38px;
  border: 0;
  background: #fff;
  color: var(--ink-2);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.12s, color 0.12s;
}

.stepper button:hover:not(:disabled) { background: #f2ede4; color: var(--ink); }
.stepper button:disabled { color: #c8c1b4; cursor: default; }

.stepper input {
  width: 50px;
  height: 38px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.stepper input:focus { background: #fffaf4; box-shadow: inset 0 0 0 2px rgba(200, 52, 43, 0.18); }

.color-row.is-active .stepper { border-color: rgba(200, 52, 43, 0.35); }

.matrix-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 2px 2px;
  color: var(--ink-3);
  font-size: 11.5px;
}

.matrix-foot__total strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.selection {
  grid-column: 1 / -1;
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(23, 22, 20, 0.08);
}

.selection__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.selection__head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.selection__head span { color: var(--ink-3); font-size: 12px; }

.selection__body { display: grid; gap: 12px; }

.selection-group__title {
  margin: 0 0 6px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selection-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
}

.selection-item__dot {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--swatch);
}

.selection-item__name { flex: 1; min-width: 0; }
.selection-item__qty { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }

.selection-item__remove {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 15px;
  line-height: 1;
}

.selection-item__remove:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.submitbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  border-top: 1px solid rgba(226, 220, 208, 0.9);
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.submitbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
}

.submitbar__summary { display: flex; align-items: baseline; gap: 12px; min-width: 0; }

.submitbar__qty {
  color: var(--ink-2);
  font-size: 13px;
  white-space: nowrap;
}

.submitbar__qty strong {
  margin-right: 2px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.submitbar__meta {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.14s, background 0.14s, box-shadow 0.14s;
}

.primary-btn {
  border: 0;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(200, 52, 43, 0.25);
  white-space: nowrap;
}

.primary-btn:hover:not(:disabled) { background: var(--red-dark); transform: translateY(-1px); }
.primary-btn:disabled { background: #d9d2c5; color: #7f776a; cursor: default; transform: none; box-shadow: none; }

.secondary-btn {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.secondary-btn:hover { background: var(--field); }

.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 60;
  max-width: min(90vw, 480px);
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.2s, transform 0.2s;
}

.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: var(--red); }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 22, 20, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fadeIn 0.2s ease both;
}

.modal__panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 30px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  animation: rise 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--field);
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1;
}

.modal__close:hover { background: #efe9df; }

.modal__panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.help-list {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.8;
}

.help-list li { margin-bottom: 9px; padding-left: 4px; }
.help-list b { color: var(--ink); }

.help-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--field);
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.6;
}

.modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.modal__actions .text-btn { margin-left: 0; margin-right: auto; }
.modal__actions--stack { flex-direction: column; align-items: stretch; }
.modal__actions--stack .secondary-btn { min-height: 46px; }

.modal__panel--code { width: min(100%, 420px); }
.modal__panel--code .help-note { margin: 0 0 18px; }
.modal__panel--code .modal__actions { margin-top: 18px; }
.modal__panel--code .primary-btn { width: 100%; }

.modal__panel--success { text-align: left; }

.success-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(34, 122, 82, 0.1);
  color: var(--green);
  font-size: 25px;
  font-weight: 700;
}

.success-gid {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--field);
}

.success-gid span { color: var(--ink-3); font-size: 11px; white-space: nowrap; }
.success-gid strong { flex: 1; font-size: 15px; font-weight: 800; letter-spacing: 0.02em; word-break: break-all; }

.copy-btn {
  flex-shrink: 0;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
}

.copy-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.success-summary { margin: 14px 0 8px; color: var(--ink-2); font-size: 13px; }

.success-list {
  max-height: 210px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.success-list__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}

.success-list__row .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--swatch); border: 1px solid rgba(23, 22, 20, 0.16); }
.success-list__row .name { flex: 1; min-width: 0; color: var(--ink-2); }
.success-list__row .qty { font-weight: 800; font-variant-numeric: tabular-nums; }

.success-hint { margin: 14px 0 0; color: var(--ink-3); font-size: 11.5px; line-height: 1.6; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .order-card { position: static; max-height: none; overflow: visible; }
  .masthead__spec { padding-left: 18px; }
  .masthead__spec div { min-width: 56px; padding: 0 10px; }
}

@media (max-width: 680px) {
  .masthead { padding: 18px 16px 4px; }
  .masthead__top { padding-bottom: 20px; }
  .masthead__main { align-items: flex-start; flex-direction: column; gap: 18px; }
  .masthead__spec { width: 100%; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .masthead__spec div { flex: 1; min-width: 0; padding: 0 8px; }
  .masthead__spec div:first-child { padding-left: 0; }
  .masthead__spec strong { font-size: 22px; }
  .masthead__lede { margin-top: 18px; font-size: 13.5px; line-height: 1.65; }
  .layout { padding: 18px 16px 132px; gap: 14px; }
  .order-card, .matrix-card { padding: 20px 16px; border-radius: 17px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .label { font-size: 11.5px; }
  .model-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .pick-step { font-size: 12.5px; }
  .pick-step span { font-size: 11px; }
  .pick-step--list { margin: 14px 0 7px; }
  .model-tab { padding: 11px 9px 10px; }
  .model-tab b { font-size: 12.5px; }
  .model-tab span { font-size: 9.5px; letter-spacing: 0.03em; }
  .size-bar { flex-wrap: wrap; gap: 8px 10px; }
  .size-bar__hint { width: 100%; margin-left: 0; }
  .color-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 8px 6px; min-height: 56px; }
  .swatch { width: 27px; height: 27px; }
  .stepper button { width: 33px; }
  .stepper input { width: 44px; }
  .matrix-foot { align-items: flex-start; flex-direction: column; gap: 6px; }
  .selection { padding: 18px 16px; border-radius: 15px; }
  .submitbar__inner { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; }
  .submitbar__qty strong { font-size: 24px; }
  .submitbar__meta { display: none; }
  .primary-btn { min-height: 48px; padding: 0 20px; font-size: 14px; }
  .modal__panel { padding: 24px 20px; border-radius: 20px; }
  .modal__panel h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
