@import url("/mimic/6e20f2dd11b74327af844a8962afbf423323854ddc03f06ab37dd18a4204e0af/b2b0252dded5c16588b73c384104dcc3ec21264812990841f8d21887aa05ae6a");

:root {
  --bg: #f4f7fd;
  --bg-2: #eef2fb;
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #ffffff;
  --primary: #6366f1;
  --primary-2: #818cf8;
  --primary-deep: #4f46e5;
  --accent: #06b6d4;
  --accent-2: #22d3ee;
  --cta: #10b981;
  --cta-2: #34d399;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e3e9f6;
  --field-bg: #f7f9fe;
  --danger: #ef4444;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -26px rgba(49, 46, 129, 0.45), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  --shadow-hover: 0 26px 54px -26px rgba(49, 46, 129, 0.5);
  --grad: linear-gradient(120deg, #6366f1 0%, #7c8cf9 42%, #22d3ee 100%);
  --grad-cta: linear-gradient(120deg, #10b981 0%, #34d399 55%, #22d3ee 100%);
  --font-display: "Exo 2", "SF Pro Display", -apple-system, "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 70% at 12% -8%, #e8ecff 0%, rgba(232, 236, 255, 0) 60%),
    radial-gradient(110% 60% at 92% 4%, #e2fbff 0%, rgba(226, 251, 255, 0) 55%),
    linear-gradient(180deg, #f6f8fe 0%, var(--bg) 38%, #eef2fb 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

/* ---------- ambient background ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-fx .grid {
  position: absolute;
  inset: -20% -10%;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 78%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  will-change: transform;
}

.orb-a {
  width: 320px;
  height: 320px;
  top: -110px;
  left: -90px;
  background: radial-gradient(circle at 30% 30%, #a5b4fc, #6366f1 60%, transparent 72%);
  animation: drift-a 24s ease-in-out infinite;
}

.orb-b {
  width: 280px;
  height: 280px;
  top: 16%;
  right: -120px;
  background: radial-gradient(circle at 60% 40%, #a5f3fc, #22d3ee 55%, transparent 74%);
  animation: drift-b 28s ease-in-out infinite;
}

.orb-c {
  width: 340px;
  height: 340px;
  bottom: -140px;
  left: 12%;
  background: radial-gradient(circle at 40% 60%, #c7d2fe, #818cf8 55%, transparent 75%);
  opacity: 0.4;
  animation: drift-c 32s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(46px, 34px, 0) scale(1.12); }
}

@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.04); }
  50% { transform: translate3d(-40px, 44px, 0) scale(0.94); }
}

@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -30px, 0); }
}

/* ---------- layout ---------- */
.page {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px 20px;
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 10px;
  z-index: 30;
  margin: 10px 0 14px;
  padding: 11px 14px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  box-shadow:
    0 12px 28px -20px rgba(49, 46, 129, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

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

.brand-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.85), 0 1px 0 rgba(255, 255, 255, 0.45) inset;
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: sheen 5.5s ease-in-out 1.2s infinite;
}

.brand-name {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  background: rgba(16, 185, 129, 0.08);
  color: #0f766e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pulse-dot 2.2s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin: 0 0 14px;
  border-radius: 24px;
  border: 1px solid rgba(99, 102, 241, 0.16);
  background:
    radial-gradient(120% 90% at 18% 0%, #f0f2ff 0%, rgba(240, 242, 255, 0) 62%),
    radial-gradient(110% 80% at 88% 8%, #e6fbff 0%, rgba(230, 251, 255, 0) 58%),
    linear-gradient(160deg, #ffffff 0%, #f8faff 55%, #eef3ff 100%);
  box-shadow: 0 30px 60px -34px rgba(49, 46, 129, 0.5);
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  width: 260px;
  height: 260px;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.42), rgba(34, 211, 238, 0.18) 55%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.16);
  box-shadow: 0 0 0 14px rgba(99, 102, 241, 0.045), 0 0 0 34px rgba(34, 211, 238, 0.035);
  pointer-events: none;
}

.hero-art {
  position: relative;
  z-index: 1;
  padding: 26px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: #4f46e5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px -12px rgba(79, 70, 229, 0.7);
}

.hero-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--grad);
  transform: rotate(45deg);
}

.hero-brand {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(48px, 14.5vw, 64px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.08;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(120deg, #312e81 0%, #4f46e5 38%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 10px 24px rgba(79, 70, 229, 0.24));
}

.hero-tagline {
  margin-top: 8px;
  color: #4338ca;
  font-size: clamp(16px, 4.6vw, 19px);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-caption {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.07);
  color: #0f766e;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.hero-caption::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px 9px no-repeat;
  box-shadow: 0 4px 10px -4px rgba(16, 185, 129, 0.85);
}

.hero-traits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-trait {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.66);
  color: #475569;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
}

.hero-trait svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- merchant ---------- */
.hero .merchant {
  position: relative;
  z-index: 1;
  margin: 0 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px -22px rgba(49, 46, 129, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 14px 15px;
}

.merchant .section-title {
  font-size: 15px;
  margin-bottom: 10px;
}

.merchant .section-title::before {
  width: 3px;
  height: 15px;
}

.merchant .info-row {
  background: rgba(247, 249, 254, 0.92);
  border: 1px solid rgba(226, 232, 245, 0.9);
  padding: 11px 12px;
  margin-bottom: 0;
}

/* ---------- card / titles ---------- */
.card {
  position: relative;
  margin-bottom: 13px;
  padding: 18px 16px 19px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), rgba(34, 211, 238, 0.45), transparent);
}

@media (hover: hover) {
  .card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
  }
}

.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 4px 12px -3px rgba(99, 102, 241, 0.9);
}

/* ---------- notice ---------- */
.notice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 255, 0.78));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px -26px rgba(49, 46, 129, 0.6);
  overflow: hidden;
}

.notice-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(140deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.14));
  border: 1px solid rgba(99, 102, 241, 0.16);
}

.notice-icon svg {
  width: 15px;
  height: 15px;
}

.notice-tag {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 14px -7px rgba(79, 70, 229, 0.9);
}

.notice-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.notice .info {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--muted);
  padding-left: 100%;
  animation: marquee 22s linear infinite;
}

.notice:hover .info {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ---------- info rows ---------- */
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 245, 0.9);
  background: rgba(247, 249, 254, 0.9);
  font-size: 13.5px;
}

.info-row .label {
  color: var(--muted);
  flex-shrink: 0;
}

.info-row .value {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

.info-row .link {
  color: var(--primary-deep);
  text-decoration: none;
}

.info-row .link:hover {
  text-decoration: underline;
}

/* ---------- fields ---------- */
.field {
  display: block;
  margin-bottom: 16px;
}

.field:last-child {
  margin-bottom: 0;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.field-label i {
  color: var(--danger);
  font-style: normal;
  font-weight: 700;
  margin-right: 1px;
}

.select-wrap,
.stepper,
.text-input {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(247, 249, 254, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.select-wrap:focus-within,
.stepper:focus-within,
.text-input:focus {
  border-color: rgba(99, 102, 241, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 8px 18px -16px rgba(79, 70, 229, 0.9);
  outline: none;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #818cf8;
  border-bottom: 2px solid #818cf8;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.select-wrap::before {
  content: "";
  position: absolute;
  right: 34px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #cbd5e1;
  pointer-events: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.select-wrap:has(option:checked:not([disabled]))::before {
  background: var(--cta);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

.select-wrap select,
.text-input,
.stepper input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 58px 13px 14px;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--ink);
}

.select-wrap select:invalid,
.select-wrap select option[disabled] {
  color: var(--muted-2);
}

.select-wrap select:has(option[value=""]:checked) {
  color: var(--muted-2);
}

.text-input {
  display: block;
  padding: 13px 14px;
  cursor: text;
  color: var(--ink);
}

.text-input:focus {
  outline: none;
}

.text-input::placeholder,
.stepper input::placeholder {
  color: #b6c0d4;
}

/* ---------- stepper ---------- */
.stepper {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
}

.stepper input {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 10px 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.step-value {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.step-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary-2), var(--primary));
  color: #fff;
  font-size: 17px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -8px rgba(79, 70, 229, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.step-btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 1);
}

.step-btn:active {
  transform: scale(0.94);
}

.step-btn:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.7);
  outline-offset: 2px;
}

.stepper.readonly {
  background: linear-gradient(120deg, rgba(247, 249, 254, 0.95), rgba(240, 244, 255, 0.9));
}

.stepper.readonly .step-btn {
  pointer-events: none;
  background: rgba(99, 102, 241, 0.1);
  color: rgba(99, 102, 241, 0.55);
  box-shadow: none;
}

/* ---------- segmented radios ---------- */
.sex-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sex-item {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
}

.sex-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.sex-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(247, 249, 254, 0.92);
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sex-item input:checked + span {
  color: var(--primary-deep);
  font-weight: 600;
  border-color: rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
  box-shadow: 0 8px 18px -14px rgba(79, 70, 229, 0.85), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.sex-item input:focus-visible + span {
  outline: 2px solid rgba(99, 102, 241, 0.6);
  outline-offset: 2px;
}

.form-tip {
  min-height: 20px;
  margin: 6px 2px 0;
  color: var(--danger);
  font-size: 12.5px;
  line-height: 1.5;
}

.bottom-spacer {
  height: 92px;
}

/* ---------- floating action bar ---------- */
.action-bar {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 40;
  width: calc(100% - 24px);
  max-width: 456px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 10px 10px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  box-shadow:
    0 22px 44px -20px rgba(15, 23, 42, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.total-block {
  min-width: 0;
}

.total-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.total-price {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(120deg, #4f46e5 0%, #6366f1 45%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

.order-btn {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  border-radius: 14px;
  padding: 14px 26px;
  background: var(--grad-cta);
  background-size: 140% 140%;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 14px 26px -12px rgba(16, 185, 129, 0.75),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease;
}

.order-btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  animation: btn-sheen 4.5s ease-in-out 1.6s infinite;
}

.order-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.order-btn:hover {
  transform: translateY(-1px);
  background-position: 100% 50%;
  box-shadow:
    0 18px 32px -12px rgba(16, 185, 129, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.order-btn:active {
  transform: translateY(0) scale(0.98);
}

.order-btn:focus-visible {
  outline: 2px solid rgba(16, 185, 129, 0.65);
  outline-offset: 3px;
}

@keyframes btn-sheen {
  0%, 60% { left: -60%; }
  85%, 100% { left: 120%; }
}

/* ---------- payment modal ---------- */
.ck-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ck-mask[hidden] {
  display: none;
}

.ck-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 24px 20px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 248, 254, 0.96));
  color: var(--text);
  box-shadow:
    0 34px 70px -28px rgba(15, 23, 42, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  font: 14px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif;
  animation: modal-pop 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ck-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.55), rgba(34, 211, 238, 0.5), transparent);
}

.ck-card h2 {
  margin: 0;
  text-align: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.ck-sub {
  margin: 6px 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

.ck-amount {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(120deg, #4f46e5, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
}

.ck-clock {
  width: 108px;
  margin: 0 auto 16px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(140deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
  color: var(--primary-deep);
  font-family: var(--font-display);
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ck-label {
  margin: 0 0 6px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.ck-addr {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f7f9fe;
  color: #4f46e5;
  font-family: Consolas, Menlo, monospace;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
}

.ck-copy,
.ck-close {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ck-copy {
  background: var(--grad-cta);
  color: #fff;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 24px -12px rgba(16, 185, 129, 0.8);
}

.ck-copy:active {
  transform: scale(0.98);
}

.ck-close {
  margin-top: 8px;
  background: transparent;
  color: var(--muted);
}

.ck-close:hover {
  color: var(--ink);
}

.ck-copy:focus-visible,
.ck-close:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.6);
  outline-offset: 2px;
}

/* ---------- waiting modal ---------- */
.wait-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wait-mask[hidden] {
  display: none;
}

.wait-card {
  width: 100%;
  max-width: 300px;
  padding: 28px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 248, 254, 0.96));
  box-shadow: 0 30px 60px -26px rgba(15, 23, 42, 0.5);
  text-align: center;
  animation: modal-pop 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wait-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.wait-steps {
  position: relative;
  height: 20px;
  margin-bottom: 4px;
  overflow: hidden;
}

.wait-card .wait-step {
  position: absolute;
  inset: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wait-card .wait-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.wait-progress {
  position: relative;
  height: 6px;
  margin-top: 18px;
  border-radius: 999px;
  background: #e9edf7;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.wait-progress::before,
.wait-progress::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 1px;
  background: rgba(148, 163, 184, 0.35);
}

.wait-progress::before {
  left: 33.333%;
}

.wait-progress::after {
  left: 66.666%;
}

.wait-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f46e5 0%, #6366f1 45%, #06b6d4 100%);
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.28);
  transition: width 1s linear;
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- entrance & misc ---------- */
.topbar {
  animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero {
  animation: rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s backwards;
}

.hero-glow {
  animation: hero-breathe 9s ease-in-out infinite;
}

.notice {
  animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.18s backwards;
}

.product {
  animation: rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.26s backwards;
}

.action-bar {
  animation: dock-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.32s backwards;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dock-in {
  from { opacity: 0; transform: translate(-50%, 18px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes hero-breathe {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.12); }
}

::selection {
  background: rgba(99, 102, 241, 0.22);
  color: var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 380px) {
  .page {
    padding: 0 10px 20px;
  }

  .topbar {
    padding: 10px 12px;
  }

  .brand-name {
    font-size: 14.5px;
  }

  .hero-art {
    padding: 22px 14px 18px;
  }

  .hero-trait {
    font-size: 11px;
    padding: 5px 8px;
  }

  .card {
    padding: 16px 13px 17px;
  }

  .order-btn {
    padding: 13px 20px;
  }

  .total-price {
    font-size: 20px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .orb,
  .hero-glow,
  .hero,
  .topbar,
  .notice,
  .product,
  .action-bar,
  .ck-card,
  .wait-card,
  .brand-mark::after,
  .order-btn::after,
  .brand-status::before {
    animation: none !important;
  }

  .notice .info {
    animation: none !important;
    padding-left: 0;
    white-space: normal;
  }

  .card,
  .order-btn,
  .step-btn,
  .sex-item span,
  .ck-copy,
  .ck-close,
  .wait-step,
  .wait-progress-bar {
    transition: none;
  }
}
