:root {
  --bg: #f8f6ff;
  --ink: #20264a;
  --muted: #697092;
  --line: #dfdcf2;
  --paper: #fffefe;
  --soft: #e9e8ff;
  --accent: #ffb6d6;
  --accent-dark: #7a68cf;
  --lavender: #9ea8ff;
  --cream: #fff2d6;
  --mint: #d8f4e9;
  --shadow: 0 28px 80px rgba(46, 51, 91, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 182, 214, 0.35), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(255, 242, 214, 0.85), transparent 24%),
    linear-gradient(135deg, #fff7fc 0%, #f4f3ff 52%, #fff8e8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 12px 34px;
  border-bottom: 1px solid rgba(223, 220, 242, 0.88);
  background: rgba(248, 246, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: block;
  border-radius: 12px;
  object-fit: fill;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 780;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.language-select {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0 14px 0 16px;
  color: #4f5264;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.language-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 4px;
  min-height: 56px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(222, 223, 233, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.54), 0 12px 32px rgba(46, 51, 91, 0.08);
}

.language-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.login-entry {
  max-width: 150px;
  min-height: 44px;
  padding: 0 20px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7d66d8, #9ea8ff);
  box-shadow: 0 10px 26px rgba(126, 106, 219, 0.28);
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.login-entry.is-account {
  min-width: 112px;
}

.account-entry {
  position: relative;
  display: flex;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 184px;
  padding: 8px;
  border: 1px solid rgba(210, 204, 239, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(45, 44, 91, 0.16);
}

.account-menu.is-hidden {
  display: none;
}

.account-menu button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 780;
  text-align: left;
  cursor: pointer;
}

.account-menu button:hover {
  background: rgba(126, 106, 219, 0.12);
}

.page {
  display: none;
  min-height: calc(100vh - 82px);
  padding: 58px 34px 78px;
}

.page.is-active {
  display: block;
}

.about-section {
  background:
    radial-gradient(ellipse at 72% 22%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 4% 0%, rgba(255, 182, 214, 0.28), transparent 30%),
    linear-gradient(135deg, #fff7fc 0%, #f4f3ff 52%, #fff8e8 100%);
}

.hero-section.is-active {
  display: grid;
}

.hero-section {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 194px);
  overflow: hidden;
  position: relative;
}

.hero-copy h1,
.section-heading h2,
.checkout-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(52px, 6.3vw, 96px);
  line-height: 0.96;
  white-space: pre-line;
}

html[lang="zh-CN"] .hero-copy h1 {
  font-size: clamp(44px, 3.6vw, 56px);
  line-height: 1.05;
  white-space: nowrap;
}

html[lang="es"] .hero-copy h1 {
  font-size: clamp(52px, 4.4vw, 72px);
  line-height: 1;
}

.hero-copy p {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

html[lang="zh-CN"] .hero-copy p {
  max-width: 700px;
  font-size: 21px;
  line-height: 1.65;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 20px;
  padding: 0 12px;
  border: 1px solid rgba(122, 104, 207, 0.28);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-demo {
  position: absolute;
  inset: 13% 3.8% 7.2% 41.5%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.laptop-stage {
  position: relative;
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 1672 / 941;
}

.homepage-laptop-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.homepage-laptop-screen {
  position: absolute;
  top: 5.84%;
  left: 16.57%;
  z-index: 2;
  width: 66.87%;
  height: 64.61%;
  display: block;
  border: 0;
  border-radius: 3px 3px 0 0;
  background: #101114;
  object-fit: cover;
  pointer-events: none;
}

.pet-preview {
  --dog-x: 0px;
  --dog-flip: 1;
  position: absolute;
  left: 0;
  bottom: 34px;
  z-index: 2;
  width: clamp(340px, 36vw, 520px);
  max-height: 86%;
  object-fit: contain;
  transform: translateX(var(--dog-x)) scaleX(var(--dog-flip));
  transform-origin: center bottom;
  filter: drop-shadow(0 22px 22px rgba(46, 51, 91, 0.16));
}

.pet-dog {
  bottom: 86px;
}

.pet-cat {
  bottom: 28px;
  width: clamp(170px, 17vw, 245px);
  opacity: 0.94;
}

.hero-cat-video.is-resting,
.hero-cat-image.is-resting {
  transform: translate3d(var(--pet-x, 0px), 8px, 0) scaleX(var(--pet-flip, 1)) scale(0.96);
}

.pet-shadow {
  position: absolute;
  left: 24%;
  right: 12%;
  bottom: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(46, 51, 91, 0.2);
  filter: blur(18px);
}

.cat-shadow {
  left: 16%;
  right: 58%;
  bottom: 20px;
  height: 18px;
  opacity: 0.55;
}

.dog-shadow {
  bottom: 76px;
}

.pet-bubble {
  position: absolute;
  top: 72px;
  left: 8%;
  z-index: 3;
  max-width: 190px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #342016;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 18px 50px rgba(46, 51, 91, 0.16);
  font-size: 14px;
}

.action-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  pointer-events: auto;
}

.action-strip button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 820;
}

.action-strip .is-active {
  color: #fff;
  border-color: var(--accent-dark);
  background: #2e335b;
}

.showcase-groups {
  display: grid;
  gap: 34px;
}

.showcase-switch {
  width: max-content;
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 8px;
  margin: -10px 0 26px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(46, 51, 91, 0.08);
}

.showcase-switch button {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.showcase-switch button:focus:not(:focus-visible) {
  outline: none;
}

.showcase-switch button:focus-visible {
  outline: 2px solid rgba(126, 106, 219, 0.55);
  outline-offset: 2px;
}

.showcase-switch button.is-active {
  color: #fff;
  background: var(--accent-dark);
}

.showcase-group {
  display: grid;
  gap: 16px;
}

.showcase-group[hidden] {
  display: none;
}

.showcase-group h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.showcase-action-section {
  display: grid;
  gap: 18px;
}

.showcase-action-section + .showcase-action-section {
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.showcase-action-category-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.showcase-action-category-heading small {
  min-width: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(126, 106, 219, 0.1);
  font-size: 12px;
  text-align: center;
}

.showcase-action-category-heading.is-interactive {
  color: var(--accent-dark);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.showcase-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.showcase-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.showcase-media img {
  width: 92%;
  max-height: 170px;
  object-fit: contain;
}

.showcase-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: normal;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 16px 18px rgba(46, 51, 91, 0.12));
}

.showcase-fallback-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 16px 18px rgba(46, 51, 91, 0.12));
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.is-mobile-alpha-fallback .showcase-media video {
  display: none;
}

.is-mobile-alpha-fallback .showcase-fallback-image {
  display: block;
}

.showcase-media-empty {
  padding: 18px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.showcase-grid h4,
.showcase-grid p {
  margin: 0;
}

.showcase-grid h4 {
  color: var(--ink);
  font-size: 18px;
}

.showcase-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading h2,
.checkout-copy h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.12;
}

.section-heading p,
.checkout-copy p,
.price-card li,
.status-card,
.site-footer,
.download-card span,
.faq-card,
.chat-message {
  color: var(--muted);
  line-height: 1.58;
}

.process-grid,
.pricing-grid,
.download-grid,
.support-layout {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-grid article,
.price-card,
.checkout-card,
.order-card,
.preview-card,
.status-card,
.workspace-login,
.registration-panel,
.download-card,
.faq-card,
.chat-card,
.support-form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 254, 0.84);
  box-shadow: 0 18px 54px rgba(23, 21, 18, 0.07);
}

.process-grid article {
  min-height: 236px;
  padding: 24px;
}

.process-grid span {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

.process-grid h3,
.price-card h3,
.status-card h3,
.workspace-login h3,
.download-card strong,
.faq-card h3 {
  margin: 18px 0 10px;
  color: var(--ink);
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 26px;
}

.price-card.is-locked {
  opacity: 0.56;
}

.price-card.featured {
  border-color: #ffb6d6;
  background: rgba(255, 250, 255, 0.95);
}

.plan-card-heading {
  display: flex;
  min-height: 68px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-card-heading h3 {
  margin-top: 6px;
}

.plan-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #ddd6ff;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #f6f3ff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.price {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: 38px;
  font-weight: 900;
}

.plan-description {
  min-height: 76px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.58;
}

.plan-availability {
  min-height: 38px;
  margin: auto 0 10px;
  color: #9d3d3d;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.plan-availability.is-ok {
  color: #3e7a58;
}

.price-card ul {
  margin: 0 0 28px;
  padding-left: 20px;
}

.price-card .plan-button {
  width: 100%;
  align-self: end;
}

.button,
.plan-button,
.faq-card button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 820;
}

.button.primary,
.plan-button.is-selected {
  color: #fff;
  border-color: var(--accent);
  background: linear-gradient(135deg, #ffb6d6, #9ea8ff);
}

.plan-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.button.secondary {
  color: var(--accent-dark);
  background: #f4f2ff;
}

.button.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.plan-button {
  width: 100%;
  margin-top: 16px;
}

.services-payment {
  scroll-margin-top: 150px;
}

.services-payment[hidden] {
  display: none;
}

.checkout-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.72fr);
  gap: 24px;
  align-items: start;
  margin-top: 34px;
  padding: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 182, 214, 0.22), transparent 30%),
    linear-gradient(90deg, #fff2d6, #f4f2ff);
}

.checkout-section.is-locked {
  opacity: 0.58;
  pointer-events: none;
}

.order-intent-panel {
  margin: 0;
  padding: 0;
  border: 0;
}

.order-intent-panel[hidden] {
  display: none;
}

.order-intent-panel legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 850;
}

.order-intent-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.order-intent-option {
  display: flex;
  min-height: 86px;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.order-intent-option:has(input:checked) {
  border-color: #bcaeff;
  background: #f7f4ff;
  box-shadow: 0 0 0 2px rgba(158, 168, 255, 0.12);
}

.order-intent-option:has(input:disabled) {
  opacity: 0.46;
}

.order-intent-option input {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 18px;
  margin-top: 3px;
  padding: 0;
  accent-color: #7669f0;
}

.order-intent-option span {
  display: grid;
  gap: 5px;
}

.order-intent-option strong {
  color: var(--ink);
}

.order-intent-option small {
  color: var(--muted);
  line-height: 1.45;
}

.order-relationship-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 247, 252, 0.92), rgba(244, 242, 255, 0.92));
}

.order-relationship-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-relationship-heading strong {
  color: var(--ink);
  font-size: 17px;
}

.relationship-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #ddd6ff;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.relationship-badge.is-locked {
  border-color: #b9dec8;
  color: #356247;
  background: #effaf3;
}

.order-relationship-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.order-relationship-card dl div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
}

.order-relationship-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.order-relationship-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.order-relationship-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.upgrade-pet-hint {
  font-size: 13px;
}

.upgrade-pet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.upgrade-pet-card {
  display: flex;
  min-width: 0;
  min-height: 104px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  text-align: left;
}

.upgrade-pet-card:not(:disabled) {
  cursor: pointer;
}

.upgrade-pet-card.is-selected {
  border-color: #9e93ff;
  background: #f5f2ff;
  box-shadow: 0 0 0 2px rgba(158, 147, 255, 0.12);
}

.upgrade-pet-card:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.upgrade-pet-avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ffb6d6, #8f86ef);
  font-size: 15px;
  font-weight: 900;
}

.upgrade-pet-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.upgrade-pet-copy strong,
.upgrade-pet-copy small,
.upgrade-pet-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upgrade-pet-copy strong {
  font-size: 15px;
}

.upgrade-pet-copy small {
  color: var(--muted);
  font-size: 11px;
}

.upgrade-pet-copy em {
  color: var(--accent-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 780;
}

.relationship-warning {
  padding: 10px 12px;
  border: 1px solid #f0d0a4;
  border-radius: 7px;
  color: #78572f !important;
  background: #fff8eb;
  font-size: 13px;
}

.checkout-card,
.order-card,
.preview-card,
.status-card,
.workspace-login,
.registration-panel,
.faq-card,
.chat-card,
.support-form-card {
  padding: 24px;
}

.registration-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.service-account-notice {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.74);
}

.price-card.is-maintenance {
  opacity: 0.72;
}

.service-account-notice strong {
  color: var(--ink);
}

.service-account-notice span {
  color: var(--muted);
  font-weight: 760;
}

.registration-panel h3,
.registration-panel p {
  margin: 0;
}

.registration-panel h3 {
  color: var(--ink);
  font-size: 28px;
}

.registration-panel p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.register-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.register-form .button {
  grid-column: 1 / -1;
}

.turnstile-slot {
  display: none;
}

.has-turnstile .turnstile-slot {
  display: flex;
  grid-column: 1 / -1;
  min-height: 65px;
  align-items: center;
}

.turnstile-feedback {
  display: none;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
}

.has-turnstile .turnstile-feedback {
  display: flex;
}

.turnstile-feedback .form-help {
  flex: 1;
}

.turnstile-retry {
  min-height: 38px;
  padding: 7px 12px;
  white-space: nowrap;
}

.email-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.email-code-group {
  display: grid;
  gap: 8px;
}

.email-code-button {
  min-height: 44px;
  white-space: nowrap;
}

.form-help {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.form-help.is-ok {
  color: #3e7a58;
}

.form-help.is-error {
  color: #9d3d3d;
}

.checkout-legal-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-legal-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.checkout-legal-consent a {
  color: var(--accent-dark);
  font-weight: 760;
}

.checkout-legal-consent.is-disabled {
  opacity: 0.58;
}

.registered-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid #cfe6d3;
  border-radius: 8px;
  background: #edf8ef;
}

.registered-summary div {
  display: grid;
  gap: 6px;
}

.registered-summary strong {
  color: #3f7050;
  font-size: 16px;
}

.registered-summary span {
  color: #64745f;
  font-size: 14px;
  line-height: 1.4;
}

.registered-summary .button {
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 146px;
  padding-block: 12px;
  line-height: 1.55;
  resize: vertical;
}

.payment-methods {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}

.payment-submit-button {
  display: none;
}

.local-payment-button {
  width: 100%;
  margin-top: 12px;
}

.qr-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.qr-payment-grid article {
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.qr-payment-grid strong {
  color: var(--ink);
  font-size: 16px;
}

.payment-hint {
  color: var(--muted);
  line-height: 1.5;
}

.checkout-summary {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7fc, #f4f2ff);
}

.checkout-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.checkout-summary strong {
  color: var(--ink);
  font-size: 20px;
}

.checkout-summary small {
  color: var(--muted);
  font-size: 13px;
}

.payment-methods h3,
.payment-methods p {
  margin: 0 0 12px;
}

.purchase-target {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  max-width: 32rem;
}

.purchase-target[hidden] { display: none; }

.picker-heading {
  grid-column: 1 / -1;
  margin: 16px 0 0;
}

.price-card h4 { margin: 0; }

.checkout-section.payment-page-card {
  grid-template-columns: minmax(0, 1fr);
  max-width: 46rem;
  margin-inline: auto;
}

.workspace-login {
  max-width: 560px;
  margin-bottom: 22px;
}

.workspace-login.is-hidden {
  display: none;
}

.login-form {
  display: grid;
  gap: 10px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.78fr);
  gap: 22px;
}

.order-layout.is-locked {
  display: none;
}

.workspace-gate {
  max-width: 760px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow);
}

.workspace-gate h3,
.workspace-gate p {
  margin: 0;
}

.workspace-gate h3 {
  color: var(--ink);
  font-size: 28px;
}

.workspace-gate p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.workspace-concept {
  display: none;
}

.workspace-confirm-concept {
  display: none;
}

.workspace-actions-concept {
  display: none;
}

.workspace-delivery-concept {
  display: none;
}

html.workspace-concept-preview #workspacePanel,
html.workspace-preview-concept #workspacePanel,
html.workspace-actions-preview #workspacePanel,
html.workspace-delivery-preview #workspacePanel {
  display: none;
}

html.workspace-concept-preview .workspace-concept {
  display: grid;
  gap: 24px;
}

html.workspace-preview-concept .workspace-confirm-concept {
  display: grid;
  gap: 24px;
}

html.workspace-actions-preview .workspace-actions-concept {
  display: grid;
  gap: 24px;
}

html.workspace-delivery-preview .workspace-delivery-concept {
  display: grid;
  gap: 24px;
}

.workspace-concept-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.workspace-concept-header > div:first-child {
  display: grid;
  gap: 7px;
}

.workspace-concept-header span,
.workspace-task-heading > div > span,
.workspace-wait-concept > div:first-child > span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.workspace-concept-header h3,
.workspace-concept-header p,
.workspace-task-heading h4,
.workspace-task-heading p,
.workspace-wait-concept h4,
.workspace-wait-concept p {
  margin: 0;
}

.workspace-concept-header h3 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.workspace-concept-header p {
  color: var(--muted);
  line-height: 1.55;
}

.workspace-save-state {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(117, 177, 138, 0.28);
  border-radius: 8px;
  color: #4b765c;
  background: rgba(240, 249, 242, 0.88);
  font-size: 13px;
  font-weight: 820;
}

.workspace-save-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69a67d;
  box-shadow: 0 0 0 4px rgba(105, 166, 125, 0.12);
}

.workspace-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 254, 0.8);
  box-shadow: 0 18px 54px rgba(23, 21, 18, 0.06);
  list-style: none;
}

.workspace-journey::before {
  position: absolute;
  top: 38px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: #e6e3f3;
  content: "";
}

.workspace-journey li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 0 12px;
}

.workspace-journey li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid #dedaf0;
  border-radius: 50%;
  color: #8a8fa9;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.workspace-journey li.is-current > span {
  color: #fff;
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  box-shadow: 0 8px 20px rgba(122, 104, 207, 0.24);
}

.workspace-journey li.is-done > span {
  color: #fff;
  border-color: #70a982;
  background: #70a982;
}

.workspace-journey li div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.workspace-journey strong {
  color: var(--ink);
  font-size: 15px;
}

.workspace-journey small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-concept-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.workspace-upload-concept {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 254, 0.88);
  box-shadow: 0 18px 54px rgba(23, 21, 18, 0.07);
}

.workspace-task-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.workspace-task-heading > div {
  display: grid;
  gap: 6px;
}

.workspace-task-heading h4,
.workspace-wait-concept h4 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.28;
}

.workspace-task-heading p,
.workspace-wait-concept p {
  color: var(--muted);
  line-height: 1.55;
}

#workspaceConceptPhotoProgress {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: #f2efff;
  font-size: 13px;
}

#workspaceConceptPhotoProgress.is-complete {
  color: #3f7553;
  background: #eaf8ee;
}

.workspace-concept-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.workspace-concept-photo {
  position: relative;
  min-height: 176px;
  display: grid;
  grid-template-rows: 44px auto auto;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 22px 12px 14px;
  overflow: hidden;
  text-align: center;
  border: 1px dashed #c7bfdc;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 250, 253, 0.96), rgba(247, 245, 255, 0.96));
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.workspace-concept-photo:hover {
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.workspace-concept-photo input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.workspace-concept-photo > span {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid #d8d3ea;
  border-radius: 50%;
  background: #fff;
}

.workspace-concept-photo > span::before,
.workspace-concept-photo > span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-dark);
  content: "";
  transform: translate(-50%, -50%);
}

.workspace-concept-photo > span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.workspace-concept-photo > strong {
  color: var(--ink);
  font-size: 14px;
}

.workspace-concept-photo > small {
  min-height: 34px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.workspace-concept-photo em {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 7px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: rgba(255,255,255,0.92);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.workspace-concept-photo img {
  display: none;
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.workspace-concept-photo.has-image {
  grid-template-rows: 112px auto;
  border-style: solid;
  border-color: #a9b2f2;
  background: #f7f5ff;
}

.workspace-concept-photo.has-image img {
  display: block;
}

.workspace-concept-photo.has-image > span,
.workspace-concept-photo.has-image > small {
  display: none;
}

.workspace-pet-details {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: #f7f5ff;
}

.workspace-pet-details legend {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
}

.workspace-pet-details legend span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.workspace-pet-details legend small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.workspace-pet-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workspace-pet-detail-grid label {
  display: grid;
  gap: 6px;
}

.workspace-pet-detail-grid label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.workspace-pet-detail-grid b {
  color: #c05d85;
  font-weight: 900;
}

.workspace-pet-detail-grid input,
.workspace-pet-detail-grid select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d9d4eb;
  border-radius: 8px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.workspace-pet-detail-grid input:focus,
.workspace-pet-detail-grid select:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(122, 104, 207, 0.11);
}

.workspace-pet-id {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(122, 104, 207, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.workspace-pet-id > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--accent-dark);
  background: #efecff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.workspace-pet-id > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.workspace-pet-id small,
.workspace-pet-id p {
  color: var(--muted);
}

.workspace-pet-id small {
  font-size: 11px;
}

.workspace-pet-id strong {
  color: var(--ink);
  font-size: 14px;
}

.workspace-pet-id p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.workspace-pet-id em {
  padding: 6px 8px;
  border-radius: 8px;
  color: #536cb4;
  background: #edf1ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.workspace-concept-submit {
  width: 100%;
  min-height: 50px;
}

.workspace-concept-submit:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.workspace-concept-form-state {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.workspace-wait-concept {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(223, 220, 242, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 182, 214, 0.28), transparent 34%),
    linear-gradient(155deg, rgba(255, 254, 254, 0.92), rgba(244, 242, 255, 0.94));
}

.workspace-wait-concept > div:first-child {
  display: grid;
  gap: 7px;
}

.workspace-wait-concept ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workspace-wait-concept li {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  min-height: 70px;
}

.workspace-wait-concept li:not(:last-child)::after {
  position: absolute;
  top: 18px;
  bottom: -2px;
  left: 5px;
  width: 1px;
  background: #d9d4eb;
  content: "";
}

.workspace-wait-concept li i {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  background: #f8f6ff;
}

.workspace-wait-concept li div {
  display: grid;
  align-content: start;
  gap: 4px;
}

.workspace-wait-concept li strong {
  color: var(--ink);
  font-size: 14px;
}

.workspace-wait-concept li small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.workspace-wait-note {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid rgba(105, 166, 125, 0.2);
  border-radius: 8px;
  color: #4e745d;
  background: rgba(239, 249, 242, 0.9);
}

.workspace-wait-note strong {
  font-size: 14px;
}

.workspace-wait-note span {
  font-size: 12px;
  line-height: 1.5;
}

.workspace-confirm-body {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: 22px;
  align-items: stretch;
}

.workspace-pet-preview-concept,
.workspace-confirm-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 254, 0.88);
  box-shadow: 0 18px 54px rgba(23, 21, 18, 0.07);
}

.workspace-pet-preview-concept {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.workspace-preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.workspace-preview-heading > div {
  display: grid;
  gap: 5px;
}

.workspace-preview-heading span,
.workspace-confirm-intro > span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.workspace-preview-heading h4,
.workspace-confirm-intro h4 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.workspace-preview-heading em {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: #f1efff;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.workspace-preview-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workspace-preview-angle {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(223, 220, 242, 0.9);
  border-radius: 8px;
  background: #fff;
}

.workspace-preview-angle-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(155deg, #f3f2f5, #e9eaf0);
}

.workspace-preview-angle-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.workspace-preview-angle-media > span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--ink);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 6px 20px rgba(29, 27, 50, 0.08);
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.workspace-preview-angle figcaption {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 14px;
  border-top: 1px solid rgba(223, 220, 242, 0.72);
}

.workspace-preview-angle figcaption strong {
  color: var(--ink);
  font-size: 15px;
}

.workspace-preview-angle figcaption span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.workspace-preview-stage {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(223, 220, 242, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,0.98), rgba(255,255,255,0) 44%),
    linear-gradient(155deg, #fff8fc, #f0efff 62%, #fff8e9);
}

.workspace-preview-stage::after {
  position: absolute;
  left: 50%;
  bottom: 72px;
  width: 54%;
  height: 26px;
  border-radius: 50%;
  background: rgba(91, 88, 124, 0.12);
  filter: blur(10px);
  content: "";
  transform: translateX(-50%);
}

.workspace-preview-stage img {
  position: relative;
  z-index: 1;
  width: min(72%, 440px);
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(45, 46, 72, 0.12));
}

.workspace-preview-stage > span {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 18px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255,255,255,0.86);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.workspace-preview-helper {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.workspace-confirm-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
}

.workspace-confirm-intro {
  display: grid;
  gap: 6px;
}

.workspace-confirm-checks {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workspace-confirm-checks li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(223, 220, 242, 0.72);
}

.workspace-confirm-checks li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background: #f0edff;
  font-size: 11px;
  font-weight: 900;
}

.workspace-confirm-checks li > div {
  display: grid;
  gap: 3px;
}

.workspace-confirm-checks strong {
  color: var(--ink);
  font-size: 14px;
}

.workspace-confirm-checks small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.workspace-preview-id {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 8px;
  background: #f7f5ff;
}

.workspace-preview-id > div {
  display: grid;
  gap: 3px;
}

.workspace-preview-id span {
  color: var(--muted);
  font-size: 11px;
}

.workspace-preview-id strong {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.workspace-preview-id em {
  color: #526cb6;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.workspace-confirm-button,
.workspace-redo-button {
  width: 100%;
  min-height: 48px;
}

.workspace-redo-note,
.workspace-preview-action-state {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.workspace-preview-action-state {
  min-height: 18px;
  color: var(--accent-dark);
  font-weight: 780;
}

.workspace-action-count {
  gap: 6px;
}

.workspace-action-count strong {
  color: #3e7450;
  font-size: 14px;
}

.workspace-actions-body {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 22px;
  align-items: stretch;
}

.workspace-action-viewer,
.workspace-action-queue {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 254, 0.9);
  box-shadow: 0 18px 54px rgba(23, 21, 18, 0.07);
}

.workspace-action-viewer {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.workspace-action-viewer-heading,
.workspace-action-queue-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.workspace-action-viewer-heading > div,
.workspace-action-queue-heading > div {
  display: grid;
  gap: 5px;
}

.workspace-action-viewer-heading span,
.workspace-action-queue-heading span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.workspace-action-viewer-heading h4,
.workspace-action-queue-heading h4 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.workspace-action-viewer-heading em {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 8px;
  color: #3f7652;
  background: #edf8f0;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.workspace-action-stage {
  min-height: 410px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(223, 220, 242, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.98), rgba(255,255,255,0) 47%),
    linear-gradient(155deg, #fff8fc, #f0efff 62%, #fff8e9);
}

.workspace-action-stage video {
  width: min(94%, 720px);
  max-height: 390px;
  display: block;
  object-fit: contain;
}

.workspace-action-review-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.workspace-action-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workspace-action-buttons .button {
  width: 100%;
  min-height: 48px;
}

.workspace-action-redo-quota {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(221, 202, 143, 0.5);
  border-radius: 8px;
  background: #fffaf0;
}

.workspace-action-redo-quota > div {
  min-width: 142px;
  display: grid;
  gap: 3px;
}

.workspace-action-redo-quota span {
  color: #89672f;
  font-size: 11px;
  font-weight: 800;
}

.workspace-action-redo-quota strong {
  color: #6f4d19;
  font-size: 14px;
}

.workspace-action-redo-quota b {
  font-size: 18px;
}

.workspace-action-redo-quota p {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(206, 177, 111, 0.42);
  color: #81683e;
  font-size: 11px;
  line-height: 1.55;
}

.workspace-action-queue {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
}

.workspace-action-queue-heading small {
  flex: 0 0 auto;
  align-self: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.workspace-action-list {
  display: grid;
  gap: 8px;
}

.workspace-action-row {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid rgba(223, 220, 242, 0.82);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255,255,255,0.9);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.workspace-action-row > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background: #f0edff;
  font-size: 11px;
  font-weight: 900;
}

.workspace-action-row strong {
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.workspace-action-row em {
  padding: 5px 7px;
  border-radius: 7px;
  color: var(--muted);
  background: #f7f6fb;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.workspace-action-row:hover:not(:disabled),
.workspace-action-row.is-selected {
  border-color: rgba(133, 112, 224, 0.6);
  background: #f8f6ff;
  box-shadow: 0 8px 24px rgba(94, 76, 170, 0.08);
}

.workspace-action-row[data-action-state="confirmed"] em {
  color: #39744d;
  background: #edf8f0;
}

.workspace-action-row[data-action-state="working"] {
  border-color: rgba(232, 186, 101, 0.46);
  background: #fffaf0;
}

.workspace-action-row[data-action-state="working"] em {
  color: #9a641e;
  background: #fff1d2;
}

.workspace-action-row[data-action-state="queued"] {
  opacity: 0.66;
}

.workspace-action-row:disabled {
  cursor: default;
}

.workspace-action-live {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 17px 19px;
  border: 1px solid rgba(105, 166, 125, 0.25);
  border-radius: 8px;
  background: rgba(239, 249, 242, 0.92);
  box-shadow: 0 12px 36px rgba(66, 106, 76, 0.06);
}

.workspace-action-live > span {
  display: flex;
  gap: 4px;
}

.workspace-action-live > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ead82;
}

.workspace-action-live > span i:nth-child(2) {
  opacity: 0.64;
}

.workspace-action-live > span i:nth-child(3) {
  opacity: 0.32;
}

.workspace-action-live > div {
  display: grid;
  gap: 3px;
}

.workspace-action-live strong {
  color: #365e43;
  font-size: 13px;
}

.workspace-action-live small {
  color: #5d7866;
  font-size: 11px;
  line-height: 1.5;
}

.workspace-action-live > em {
  padding: 7px 9px;
  border-radius: 8px;
  color: #437355;
  background: rgba(255,255,255,0.72);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.workspace-delivery-body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.workspace-pack-card,
.workspace-import-guide {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 254, 0.9);
  box-shadow: 0 18px 54px rgba(23, 21, 18, 0.07);
}

.workspace-pack-card {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.workspace-pack-heading,
.workspace-import-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.workspace-pack-heading > div,
.workspace-import-heading > div {
  display: grid;
  gap: 5px;
}

.workspace-pack-heading span,
.workspace-import-heading span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.workspace-pack-heading h4,
.workspace-import-heading h4 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.workspace-pack-heading em,
.workspace-import-heading em {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 8px;
  color: #3f7652;
  background: #edf8f0;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.workspace-pack-preview {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(223, 220, 242, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 44% 36%, rgba(255,255,255,0.98), rgba(255,255,255,0) 42%),
    linear-gradient(145deg, #fff6fb, #efefff 60%, #fff8e9);
}

.workspace-pack-preview > img {
  width: min(68%, 430px);
  max-height: 250px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(45, 46, 72, 0.12));
}

.workspace-pack-preview > div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.82);
  border-radius: 8px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 12px 34px rgba(32, 31, 56, 0.12);
  backdrop-filter: blur(12px);
}

.workspace-pack-preview > div img {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.workspace-pack-preview > div strong {
  color: var(--ink);
  font-size: 12px;
}

.workspace-pack-preview > div small {
  color: var(--muted);
  font-size: 9px;
}

.workspace-pack-filename {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f7f5ff;
}

.workspace-pack-filename span {
  color: var(--muted);
  font-size: 10px;
}

.workspace-pack-filename strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
}

.workspace-pack-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid rgba(223, 220, 242, 0.82);
  border-radius: 8px;
}

.workspace-pack-meta > div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px;
  border-right: 1px solid rgba(223, 220, 242, 0.72);
}

.workspace-pack-meta > div:last-child {
  border-right: 0;
}

.workspace-pack-meta dt {
  color: var(--muted);
  font-size: 10px;
}

.workspace-pack-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.workspace-pack-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workspace-pack-actions .button {
  width: 100%;
  min-height: 48px;
}

.workspace-pack-helper {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.workspace-pack-details {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(105, 166, 125, 0.24);
  border-radius: 8px;
  background: #f1faf3;
}

.workspace-pack-details.is-hidden {
  display: none;
}

.workspace-pack-details strong {
  color: #3c6e4b;
  font-size: 12px;
}

.workspace-pack-details span {
  color: #5e7966;
  font-size: 11px;
  line-height: 1.5;
}

.workspace-import-guide {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
}

.workspace-import-heading em {
  color: var(--accent-dark);
  background: #f1efff;
}

.workspace-import-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workspace-import-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(223, 220, 242, 0.72);
}

.workspace-import-steps li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.workspace-import-steps li > div {
  display: grid;
  gap: 4px;
}

.workspace-import-steps.is-highlighted li {
  border-color: rgba(133, 112, 224, 0.34);
  background: linear-gradient(90deg, rgba(247, 245, 255, 0.8), rgba(247, 245, 255, 0));
}

.workspace-import-steps strong {
  color: var(--ink);
  font-size: 14px;
}

.workspace-import-steps small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.workspace-client-gate {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(221, 202, 143, 0.5);
  border-radius: 8px;
  background: #fffaf0;
}

.workspace-client-gate > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workspace-client-gate span {
  color: #89672f;
  font-size: 11px;
  font-weight: 800;
}

.workspace-client-gate strong {
  color: #8a5e19;
  font-size: 12px;
}

.workspace-client-gate p {
  margin: 0;
  color: #81683e;
  font-size: 11px;
  line-height: 1.55;
}

.workspace-import-guide > .button {
  width: 100%;
  min-height: 48px;
}

.workspace-client-download:disabled {
  opacity: 0.64;
  cursor: not-allowed;
}

.workspace-delivery-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(223, 220, 242, 0.82);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}

.workspace-delivery-support > div {
  display: grid;
  gap: 4px;
}

.workspace-delivery-support strong {
  color: var(--ink);
  font-size: 13px;
}

.workspace-delivery-support small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.workspace-delivery-support .button {
  flex: 0 0 auto;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.status-card {
  grid-column: 1 / -1;
}

.status-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.motion-preview-panel {
  grid-column: 1 / -1;
}

.download-panel {
  grid-column: 1 / -1;
}

@media (max-width: 960px) {
  .workspace-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .workspace-journey::before {
    display: none;
  }

  .workspace-concept-body {
    grid-template-columns: 1fr;
  }

  .workspace-confirm-body {
    grid-template-columns: 1fr;
  }

  .workspace-actions-body {
    grid-template-columns: 1fr;
  }

  .workspace-delivery-body {
    grid-template-columns: 1fr;
  }

  .workspace-concept-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .workspace-concept-header,
  .workspace-task-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-save-state {
    align-self: flex-start;
  }

  .workspace-journey {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .workspace-journey li {
    padding: 0;
  }

  .workspace-concept-photo-grid {
    grid-template-columns: 1fr;
  }

  .workspace-concept-photo {
    min-height: 144px;
  }

  .workspace-pet-details legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .workspace-pet-details legend small {
    text-align: left;
  }

  .workspace-pet-detail-grid {
    grid-template-columns: 1fr;
  }

  .workspace-pet-id {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .workspace-pet-id em {
    grid-column: 2;
    justify-self: start;
  }

  .workspace-preview-stage {
    min-height: 390px;
  }

  .workspace-preview-pair {
    grid-template-columns: 1fr;
  }

  .workspace-preview-id {
    grid-template-columns: 1fr;
  }

  .workspace-action-viewer-heading,
  .workspace-action-queue-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-action-viewer-heading em,
  .workspace-action-queue-heading small {
    align-self: flex-start;
  }

  .workspace-action-stage {
    min-height: 330px;
  }

  .workspace-action-buttons {
    grid-template-columns: 1fr;
  }

  .workspace-action-redo-quota {
    grid-template-columns: 1fr;
  }

  .workspace-action-redo-quota p {
    padding-top: 10px;
    padding-left: 0;
    border-top: 1px solid rgba(206, 177, 111, 0.42);
    border-left: 0;
  }

  .workspace-action-live {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .workspace-action-live > em {
    grid-column: 2;
    justify-self: start;
  }

  .workspace-pack-heading,
  .workspace-import-heading,
  .workspace-delivery-support {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-pack-heading em,
  .workspace-import-heading em {
    align-self: flex-start;
  }

  .workspace-pack-preview {
    min-height: 280px;
  }

  .workspace-pack-preview > img {
    width: 82%;
  }

  .workspace-pack-preview > div {
    right: 12px;
    bottom: 12px;
  }

  .workspace-pack-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-pack-meta > div:nth-child(2) {
    border-right: 0;
  }

  .workspace-pack-meta > div:nth-child(n + 3) {
    border-top: 1px solid rgba(223, 220, 242, 0.72);
  }

  .workspace-pack-actions {
    grid-template-columns: 1fr;
  }

  .workspace-delivery-support .button {
    width: 100%;
  }
}

.mine-layout {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.mine-layout.is-hidden {
  display: none;
}

.mine-account-bar,
.mine-pet-center,
.mine-empty,
.mine-pet-workspace {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.mine-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}

.mine-account-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mine-account-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(145deg, #f3a5d5, #8e84ef);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(113, 92, 205, 0.2);
}

.mine-account-identity > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mine-account-identity small,
.mine-account-identity span,
.mine-pet-center .panel-title-row p,
.mine-pet-heading p,
.mine-next-action p,
.mine-next-action small,
.mine-delivery-panel p,
.mine-order-record span {
  color: var(--muted);
}

.mine-account-identity strong {
  color: var(--ink);
  font-size: 18px;
}

.mine-account-identity span {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-account-actions {
  display: flex;
  gap: 10px;
}

.mine-account-actions .button {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.mine-pet-center {
  width: 100%;
  min-width: 0;
  padding: 24px;
}

.mine-pet-center .panel-title-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.mine-pet-center .panel-title-row p {
  margin: 5px 0 0;
}

.mine-pet-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: 20px;
}

.mine-pet-tab {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 249, 255, 0.72);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mine-pet-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(135, 113, 227, 0.48);
}

.mine-pet-tab.is-selected {
  border-color: rgba(125, 102, 224, 0.62);
  background: linear-gradient(135deg, rgba(255, 241, 249, 0.96), rgba(244, 241, 255, 0.96));
  box-shadow: 0 12px 28px rgba(91, 73, 171, 0.12);
}

.mine-pet-tab > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: linear-gradient(145deg, #f5aed8, #9c8ff1);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.mine-pet-tab > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mine-pet-tab strong,
.mine-pet-tab small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-pet-tab strong {
  font-size: 15px;
}

.mine-pet-tab small {
  color: var(--muted);
  font-size: 11px;
}

.mine-pet-tab em {
  grid-column: 2;
  color: #7566c9;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.mine-orders-list {
  display: grid;
  width: 100%;
  min-width: 0;
  margin-top: 16px;
}

.mine-empty {
  padding: 22px;
  color: var(--muted);
  font-weight: 760;
}

.mine-pet-workspace {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 20px;
  box-shadow: none;
}

.mine-pet-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  min-width: 0;
}

.mine-pet-image {
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(222, 217, 245, 0.9);
  background:
    radial-gradient(circle at 48% 72%, rgba(255, 255, 255, 0.95), transparent 29%),
    linear-gradient(135deg, rgba(251, 237, 247, 0.9), rgba(241, 239, 255, 0.94));
}

.mine-pet-image img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: contain;
}

.mine-pet-image-fallback {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f2aad4, #9185ed);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(102, 81, 183, 0.18);
}

.mine-pet-overview {
  display: grid;
  gap: 18px;
  align-content: center;
  min-width: 0;
}

.mine-pet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mine-pet-heading h3,
.mine-pet-heading p {
  margin: 0;
}

.mine-pet-heading h3 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.mine-pet-heading p {
  margin-top: 7px;
  font-weight: 700;
}

.mine-stage-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(104, 165, 128, 0.3);
  border-radius: 7px;
  background: rgba(237, 250, 241, 0.86);
  color: #4c8a63;
  font-size: 12px;
  font-weight: 850;
}

.mine-pet-meta {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mine-pet-meta > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
}

.mine-pet-meta > div + div {
  border-left: 1px solid var(--line);
}

.mine-pet-meta dt,
.mine-pet-meta dd {
  margin: 0;
}

.mine-pet-meta dt {
  color: var(--muted);
  font-size: 11px;
}

.mine-pet-meta dd {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-production-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mine-production-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 249, 255, 0.76);
  color: var(--muted);
}

.mine-production-progress li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ebe8f8;
  font-size: 12px;
  font-weight: 900;
}

.mine-production-progress strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-production-progress li.is-done {
  border-color: rgba(104, 165, 128, 0.25);
  background: rgba(242, 250, 244, 0.86);
  color: #477f5b;
}

.mine-production-progress li.is-done > span {
  background: #71b187;
  color: #fff;
}

.mine-production-progress li.is-current {
  border-color: rgba(127, 104, 224, 0.48);
  background: linear-gradient(135deg, rgba(255, 239, 248, 0.92), rgba(243, 240, 255, 0.95));
  color: #5f4eae;
  box-shadow: 0 8px 22px rgba(104, 82, 185, 0.1);
}

.mine-next-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(208, 196, 246, 0.82);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 240, 248, 0.72), rgba(241, 240, 255, 0.86));
}

.mine-next-action > div {
  min-width: 0;
}

.mine-next-action span {
  color: #7762cc;
  font-size: 12px;
  font-weight: 850;
}

.mine-next-action h4,
.mine-next-action p {
  margin: 0;
}

.mine-next-action h4 {
  margin-top: 5px;
  color: var(--ink);
  font-size: 22px;
}

.mine-next-action p {
  max-width: 720px;
  margin-top: 7px;
  line-height: 1.55;
}

.mine-next-action small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

.mine-next-action .button {
  min-width: 190px;
}

.mine-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  min-width: 0;
}

.mine-rights-panel,
.mine-delivery-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 249, 255, 0.7);
}

.mine-rights-panel h4,
.mine-delivery-panel h4,
.mine-delivery-panel strong,
.mine-delivery-panel p {
  margin: 0;
}

.mine-rights-panel h4,
.mine-delivery-panel h4 {
  color: var(--ink);
  font-size: 16px;
}

.mine-rights-panel dl {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.mine-rights-panel dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.mine-rights-panel dt,
.mine-rights-panel dd {
  margin: 0;
}

.mine-rights-panel dt {
  color: var(--muted);
  font-size: 13px;
}

.mine-rights-panel dd {
  color: #6756bd;
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.mine-delivery-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
}

.mine-delivery-panel.is-ready {
  border-color: rgba(104, 165, 128, 0.28);
  background: rgba(242, 250, 244, 0.68);
}

.mine-delivery-panel strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
}

.mine-delivery-panel p {
  margin-top: 6px;
  line-height: 1.5;
}

.mine-delivery-panel .button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.mine-import-guide {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
}

.mine-import-guide.is-hidden {
  display: none;
}

.mine-order-record {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 2px 2px 0;
}

.mine-order-record strong {
  color: var(--ink);
  font-size: 13px;
}

.mine-order-record span {
  font-size: 12px;
}

.mine-action-state {
  min-height: 18px;
  margin: -4px 2px 0;
  color: #6d5bc1;
  font-size: 12px;
  font-weight: 750;
}

.preview-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.preview-card.is-locked,
.checkout-section.is-locked {
  opacity: 0.58;
  pointer-events: none;
}

.preview-card h3,
.preview-card p {
  margin: 0;
}

.preview-card h3 {
  color: var(--ink);
  font-size: 22px;
}

.preview-card p {
  color: var(--muted);
  line-height: 1.55;
}

.generated-preview {
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7fc, #f4f2ff);
}

.generated-preview.is-loading {
  border-style: dashed;
  background: linear-gradient(135deg, #fff9ef, #f7f3ff);
}

.generated-preview.has-error {
  border-color: #e7a2bc;
  background: #fff7fb;
}

.generated-preview img {
  max-height: 220px;
  object-fit: contain;
}

.generated-preview span {
  max-width: 220px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.identity-pair-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.identity-pair-preview > #previewEmpty {
  grid-column: 1 / -1;
}

.identity-view {
  display: grid;
  min-width: 0;
  min-height: 230px;
  margin: 0;
  padding: 12px;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(111, 76, 229, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.identity-view img {
  width: 100%;
  max-width: 280px;
}

.identity-view figcaption {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .identity-pair-preview {
    grid-template-columns: 1fr;
  }
}

.photo-upload-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.photo-upload-heading > div {
  display: grid;
  gap: 4px;
}

.photo-upload-heading strong {
  color: var(--ink);
  font-size: 18px;
}

.photo-upload-heading small,
.photo-upload-note {
  color: var(--muted);
  line-height: 1.5;
}

#photoUploadProgress {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #f4f2ff;
  font-size: 13px;
  font-weight: 850;
}

#photoUploadProgress.is-complete {
  color: #36704f;
  background: #e9f8ef;
}

.photo-angle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.photo-angle-card {
  position: relative;
  min-height: 168px;
  display: grid;
  place-items: center;
  padding: 18px 12px;
  overflow: hidden;
  text-align: center;
  border: 1px dashed #bfae98;
  border-radius: 8px;
  background: #fbf4ea;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.photo-angle-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.photo-angle-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.photo-angle-card img {
  display: none;
  width: 100%;
  height: 132px;
  object-fit: contain;
}

.photo-angle-card.has-image {
  border-style: solid;
  border-color: #aab3ef;
  background: #f7f5ff;
}

.photo-angle-card.has-image img {
  display: block;
}

.photo-angle-card.has-image > span {
  display: none;
}

.photo-angle-card strong,
.photo-angle-card small {
  display: block;
}

.photo-angle-card strong {
  color: var(--ink);
}

.photo-angle-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.photo-angle-card em {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(255,255,255,0.9);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.photo-upload-note {
  margin: 0;
  font-size: 13px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.platform-field-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(122, 104, 207, 0.62);
  border-radius: 0 7px 7px 0;
  background: rgba(245, 242, 255, 0.76);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.status-header span {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: #fbefe7;
  font-size: 13px;
  font-weight: 850;
}

.status-steps {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.status-steps li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.status-steps .is-current {
  color: #6070d5;
  border-color: #9ea8ff;
  background: #f0f1ff;
  font-weight: 850;
}

.status-steps .is-done {
  color: #5d8469;
  background: #f0f7ef;
}

.motion-preview-panel {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.panel-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.motion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.motion-actions .button[hidden] {
  display: none;
}

.retry-note {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.motion-preview-panel h4,
.download-panel h4 {
  margin: 0;
  color: var(--ink);
}

.motion-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.motion-preview-grid article {
  display: grid;
  gap: 10px;
  min-height: 68px;
  padding: 12px;
  border: 1px solid rgba(223, 220, 242, 0.86);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7fc, #f4f2ff);
}

.motion-preview-grid article.has-video {
  gap: 8px;
  min-height: 238px;
}

.motion-preview-grid article.is-confirmed {
  border-color: rgba(126, 103, 219, 0.55);
  background: linear-gradient(135deg, #fff8fd, #ece9ff);
}

.motion-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.motion-frame-stage,
.motion-preview-grid video {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(223, 220, 242, 0.86);
  border-radius: 8px;
  background: #f7f1ff;
  overflow: hidden;
}

.motion-preview-grid video {
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.motion-frame-stage {
  display: grid;
  place-items: center;
}

.motion-frame-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.motion-preview-grid span {
  color: var(--ink);
  font-weight: 850;
}

.motion-preview-grid small {
  color: var(--muted);
  line-height: 1.35;
}

.motion-confirm {
  width: 100%;
}

.motion-confirm.is-confirmed {
  color: #5b4eb7;
  background: #f2efff;
}

.download-panel {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.download-panel .button {
  width: 100%;
}

.download-grid {
  grid-template-columns: repeat(3, 1fr);
}

.download-card {
  min-height: 210px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
}

.download-card strong {
  margin: 0;
  font-size: 24px;
}

.muted-card {
  background: rgba(255, 242, 214, 0.7);
}

.download-release-state {
  display: grid;
  gap: 28px;
}

.download-gate-state,
.download-release-preview .download-gate-state {
  display: none;
}

.download-release-preview .download-release-state {
  display: grid;
  gap: 28px;
}

.download-release-hero {
  display: block;
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(125, 107, 225, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 217, 236, 0.88), transparent 36%),
    linear-gradient(135deg, rgba(247, 243, 255, 0.98), rgba(255, 251, 242, 0.98));
  box-shadow: 0 24px 70px rgba(64, 49, 119, 0.1);
}

.download-release-kicker,
.download-system-eyebrow,
.download-subheading > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-release-hero h2 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
}

.download-release-hero > div:first-child > p {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.download-system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.download-system-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 24px;
  min-height: 490px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 58px rgba(34, 38, 79, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.download-system-card::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(125, 107, 225, 0.07);
  content: "";
  pointer-events: none;
}

.download-system-card.is-recommended {
  border-color: rgba(125, 107, 225, 0.62);
  box-shadow: 0 24px 70px rgba(91, 70, 184, 0.16);
}

.download-system-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.download-platform-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(125, 107, 225, 0.16);
  border-radius: 16px;
  color: #171a31;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 26, 49, 0.12);
}

.download-platform-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.windows-platform-icon {
  color: #0078d4;
}

.download-recommendation {
  display: none;
  padding: 7px 11px;
  border-radius: 999px;
  color: #5c4db7;
  background: #f0edff;
  font-size: 12px;
  font-weight: 900;
}

.download-system-card.is-recommended .download-recommendation {
  display: inline-flex;
}

.download-system-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
}

.download-system-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.download-verification-list {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-verification-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  color: #4d536e;
  line-height: 1.5;
}

.download-verification-list li::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #62a77f;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.download-release-button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 52px;
}

.download-version {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.download-cross-platform-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid rgba(125, 107, 225, 0.22);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(241, 238, 255, 0.9), rgba(255, 249, 241, 0.9));
}

.download-note-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #6655c6;
  background: #fff;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(91, 70, 184, 0.12);
}

.download-cross-platform-note strong {
  color: var(--ink);
  font-size: 19px;
}

.download-cross-platform-note p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.download-setup-guide {
  display: grid;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.download-subheading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 36px);
}

.download-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-content: start;
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(125, 107, 225, 0.14);
  border-radius: 14px;
  background: rgba(249, 247, 255, 0.76);
}

.download-steps article > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.download-steps strong {
  align-self: center;
  color: var(--ink);
  font-size: 16px;
}

.download-steps p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.download-help-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 239, 0.82);
}

.download-help-strip strong,
.download-help-strip span {
  display: block;
}

.download-help-strip strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 18px;
}

.download-help-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.download-help-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.download-preview-state {
  min-height: 22px;
  margin: -12px 0 0;
  color: #6a5bc1;
  font-size: 14px;
  text-align: center;
}

@media (hover: hover) {
  .download-system-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 107, 225, 0.45);
    box-shadow: 0 28px 76px rgba(91, 70, 184, 0.15);
  }
}

@media (max-width: 860px) {
  .download-release-hero,
  .download-system-grid,
  .download-steps {
    grid-template-columns: 1fr;
  }

  .download-release-hero {
    align-items: start;
    padding: 28px;
  }

  .download-system-card {
    min-height: 0;
  }

  .download-help-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .download-help-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .download-release-preview .download-release-state {
    gap: 18px;
  }

  .download-release-hero,
  .download-system-card,
  .download-setup-guide {
    padding: 22px;
  }

  .download-release-hero h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .download-cross-platform-note {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .download-help-actions {
    grid-template-columns: 1fr;
  }
}

.support-section {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 201, 226, 0.28), transparent 32%),
    radial-gradient(circle at 100% 20%, rgba(255, 231, 176, 0.26), transparent 30%),
    linear-gradient(135deg, #fff9fc 0%, #f5f4ff 52%, #fffaf0 100%);
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.34fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
  padding: 34px 36px;
  border: 1px solid rgba(125, 107, 225, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 64px rgba(58, 47, 101, 0.08);
}

.support-kicker,
.support-form-heading > div > span,
.support-side-heading > span {
  display: inline-block;
  margin-bottom: 9px;
  color: #e887b4;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.support-hero h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
}

.support-hero > div:first-child > p {
  max-width: 800px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.support-human-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  padding: 19px;
  border: 1px solid rgba(125, 107, 225, 0.16);
  border-radius: 16px;
  background: rgba(248, 246, 255, 0.9);
}

.support-human-badge > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #eb91ba, #8876e7);
  font-size: 20px;
}

.support-human-badge strong {
  color: var(--ink);
  font-size: 16px;
}

.support-human-badge p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.support-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.support-quick-grid button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 13px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(125, 107, 225, 0.18);
  border-radius: 16px;
  color: inherit;
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
  box-shadow: 0 12px 34px rgba(58, 47, 101, 0.06);
}

.support-quick-icon {
  grid-row: 1 / span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #6b59ca;
  background: #f0edff;
  font-size: 21px;
  font-weight: 900;
}

.support-quick-grid strong {
  color: var(--ink);
  font-size: 16px;
}

.support-quick-grid small {
  color: var(--muted);
  line-height: 1.45;
}

.support-smart-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.support-self-service,
.support-smart-form-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(34, 38, 79, 0.08);
}

.support-self-service {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
  padding: 22px;
}

.support-side-heading h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 24px;
}

.support-self-service details {
  border: 1px solid rgba(125, 107, 225, 0.16);
  border-radius: 12px;
  background: rgba(250, 249, 255, 0.85);
}

.support-self-service summary {
  padding: 14px;
  color: var(--ink);
  font-weight: 830;
  cursor: pointer;
}

.support-self-service details p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.support-side-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.support-side-links a {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 820;
}

.support-smart-form-card {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.support-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.support-form-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 38px);
}

.support-form-heading p {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.support-account-chip {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #5e4fba;
  background: #f0edff;
  font-size: 13px;
  font-weight: 850;
}

.support-pet-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.support-pet-fieldset legend {
  padding: 0;
  color: var(--ink);
  font-weight: 850;
}

.support-pet-fieldset > p {
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.support-pet-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-radius: 14px;
  outline: none;
}

.support-pet-selector:focus-visible {
  box-shadow: 0 0 0 3px rgba(125, 107, 225, 0.2);
}

.support-pet-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(125, 107, 225, 0.18);
  border-radius: 14px;
  color: inherit;
  background: rgba(249, 248, 255, 0.82);
  text-align: left;
}

.support-pet-card.is-selected {
  border-color: #7d6be1;
  background: #f0edff;
  box-shadow: 0 10px 26px rgba(91, 70, 184, 0.12);
}

.support-pet-identity {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 5px;
}

.support-pet-card strong,
.support-pet-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-pet-card strong {
  color: var(--ink);
}

.support-pet-card small {
  color: var(--muted);
  font-size: 11px;
}

.support-pet-stage {
  margin-top: 2px;
  color: #6656c2;
  font-size: 11px;
  font-weight: 820;
}

.support-pet-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
}

.support-linked-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(125, 107, 225, 0.16);
  border-radius: 14px;
  background: rgba(125, 107, 225, 0.14);
}

.support-linked-context > div {
  min-width: 0;
  padding: 14px;
  background: rgba(251, 250, 255, 0.96);
}

.support-linked-context span,
.support-linked-context strong {
  display: block;
}

.support-linked-context span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.support-linked-context strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-diagnostic-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(125, 107, 225, 0.16);
  border-radius: 14px;
  background: rgba(248, 246, 255, 0.74);
}

.support-diagnostic-fields[hidden] {
  display: none;
}

.support-attachment-field {
  display: none;
}

.support-concept-preview .support-attachment-field {
  display: grid;
}

.support-attachment-field > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.support-attachment-drop {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px dashed rgba(125, 107, 225, 0.4);
  border-radius: 14px;
  color: #5e4fba;
  background: rgba(248, 246, 255, 0.78);
  cursor: pointer;
}

.support-attachment-drop small {
  color: var(--muted);
  font-weight: 500;
}

.support-security-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(223, 174, 83, 0.28);
  border-radius: 12px;
  background: rgba(255, 249, 232, 0.82);
}

.support-security-note > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #d59a32;
  font-size: 13px;
  font-weight: 900;
}

.support-security-note p {
  margin: 0;
  color: #735e38;
  font-size: 13px;
  line-height: 1.5;
}

.support-smart-form-card .support-form .button {
  min-height: 50px;
  justify-self: stretch;
}

.support-ticket-success {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(77, 155, 108, 0.26);
  border-radius: 16px;
  background: rgba(244, 255, 248, 0.9);
}

.support-ticket-success.is-hidden {
  display: none;
}

.support-success-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #4d9b6c;
  font-weight: 900;
}

.support-ticket-success span,
.support-ticket-success h3,
.support-ticket-success p {
  margin: 0;
}

.support-ticket-success div > span {
  color: #46825d;
  font-size: 12px;
  font-weight: 850;
}

.support-ticket-success h3 {
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
}

.support-ticket-success p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

@media (hover: hover) {
  .support-quick-grid button:hover,
  .support-pet-card:hover {
    border-color: rgba(125, 107, 225, 0.52);
    transform: translateY(-1px);
  }
}

@media (max-width: 980px) {
  .support-hero,
  .support-smart-layout {
    grid-template-columns: 1fr;
  }

  .support-self-service {
    position: static;
  }
}

@media (max-width: 720px) {
  .support-quick-grid,
  .support-pet-selector,
  .support-linked-context,
  .support-diagnostic-fields {
    grid-template-columns: 1fr;
  }

  .support-form-heading,
  .support-ticket-success {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .support-form-heading {
    flex-direction: column;
  }

  .support-account-chip {
    align-self: flex-start;
  }
}

@media (max-width: 560px) {
  .support-hero,
  .support-smart-form-card {
    padding: 22px;
  }

  .support-hero h2 {
    font-size: clamp(36px, 11vw, 48px);
  }
}

.support-layout {
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 38, 74, 0.42);
  backdrop-filter: blur(10px);
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 24px;
  background: rgba(32, 38, 74, 0.42);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.login-dialog {
  position: relative;
  width: min(560px, 100%);
  display: grid;
  gap: 18px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.login-dialog h3,
.login-dialog h4,
.login-dialog p {
  margin: 0;
}

.login-dialog h3 {
  color: var(--ink);
  font-size: 26px;
}

.auth-panel {
  display: grid;
  gap: 18px;
}

.auth-panel > div:first-child {
  display: grid;
  gap: 8px;
}

.auth-panel.is-hidden {
  display: none;
}

.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.auth-switch button {
  padding: 0;
  border: 0;
  color: var(--accent-dark);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#loginState {
  min-height: 20px;
  margin: 0;
  color: #9d3d3d;
  font-size: 13px;
}

.payment-dialog {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.payment-dialog h3,
.payment-dialog p {
  margin: 0;
}

.payment-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.payment-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-choice-grid button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f2ff;
  color: var(--accent-dark);
  font-weight: 850;
  cursor: pointer;
}

.modal-qr {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.faq-card h3,
.support-form-card h3,
.support-form-card p {
  margin-top: 0;
}

.faq-card details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.faq-card summary {
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 820;
  cursor: pointer;
}

.faq-card details p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.6;
}

.support-form-card {
  display: grid;
  gap: 18px;
}

.support-form-card > div p {
  color: var(--muted);
  line-height: 1.6;
}

.support-form {
  display: grid;
  gap: 14px;
}

.support-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.support-form .button {
  justify-self: start;
}

.support-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.support-form .form-help {
  min-height: 22px;
}

.support-form .form-help.is-success {
  color: #3e7a58;
}

.support-form .form-help.is-error {
  color: #9d3d3d;
}

.chat-card {
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  gap: 12px;
}

.chat-log {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  max-height: 460px;
}

.chat-message {
  max-width: 78%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
}

.chat-message.user {
  justify-self: end;
  color: #fff;
  background: #2e335b;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.site-footer {
  display: block;
  padding: 28px 34px;
  border-top: 1px solid var(--line);
  background: rgba(248, 246, 255, 0.78);
}

.site-footer > div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--ink);
}

.operator-summary {
  color: #6f7285;
  font-size: 12px;
  line-height: 1.6;
}

.operator-summary a {
  color: var(--accent-dark);
  font-weight: 760;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--accent-dark);
  font-weight: 780;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.customer-main {
  min-height: calc(100vh - 82px);
  padding: 58px 34px 78px;
}

.customer-wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.customer-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.customer-hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.04;
}

.customer-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.operational-notice {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(122, 104, 207, 0.3);
  border-radius: 8px;
  background: rgba(233, 232, 255, 0.72);
  line-height: 1.62;
}

.operational-notice.is-blocking {
  border-color: rgba(172, 80, 64, 0.34);
  background: rgba(255, 239, 232, 0.9);
}

.operational-notice ul {
  margin: 4px 0 0;
  padding-left: 22px;
}

.operational-notice li + li {
  margin-top: 6px;
}

.legal-grid {
  display: grid;
  gap: 16px;
}

.legal-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 254, 0.84);
  box-shadow: 0 18px 54px rgba(23, 21, 18, 0.06);
}

.legal-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-panel p:last-child,
.legal-panel ul:last-child {
  margin-bottom: 0;
}

.legal-panel a,
.operational-notice a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
}

.customer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.customer-support-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    flex-wrap: wrap;
    overflow: visible;
    justify-content: center;
    gap: 8px;
  }

  .nav-links a {
    flex: 0 1 auto;
  }

  .hero-section,
  .checkout-section,
  .order-layout,
  .support-layout,
  .customer-support-layout,
  .registration-panel,
  .mine-layout {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .pricing-grid,
  .download-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-switch {
    width: 100%;
  }

  .status-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-demo {
    inset: 40% 2.5% 4.5% 33%;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 18px;
    gap: 12px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    min-width: 0;
    min-height: 36px;
    justify-content: center;
    padding: 0 6px;
    font-size: 13px;
    text-align: center;
  }

  .brand {
    min-width: 0;
    font-size: 18px;
  }

  .brand span {
    max-width: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .language-select span {
    display: inline;
  }

  .header-actions {
    gap: 6px;
    min-height: 48px;
    padding: 5px;
    justify-self: end;
    max-width: 220px;
  }

  .language-select {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .login-entry {
    max-width: 112px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .account-menu {
    width: 170px;
  }

  .page {
    padding: 44px 18px 62px;
  }

  .mine-account-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .mine-account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mine-account-actions .button {
    width: 100%;
  }

  .mine-pet-center {
    padding: 18px;
  }

  .mine-pet-switcher {
    display: flex;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding: 0 0 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .mine-pet-tab {
    min-width: 248px;
    scroll-snap-align: start;
  }

  .mine-pet-workspace {
    padding: 14px;
  }

  .mine-pet-hero {
    grid-template-columns: 1fr;
  }

  .mine-pet-image {
    min-height: 210px;
  }

  .mine-pet-heading {
    align-items: center;
  }

  .mine-pet-meta {
    grid-template-columns: 1fr;
  }

  .mine-pet-meta > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mine-production-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mine-next-action {
    align-items: stretch;
    flex-direction: column;
  }

  .mine-next-action .button {
    width: 100%;
    min-width: 0;
  }

  .mine-detail-grid {
    grid-template-columns: 1fr;
  }

  .mine-delivery-panel {
    grid-template-columns: 1fr;
  }

  .mine-delivery-panel .button {
    width: 100%;
  }

  .mine-order-record {
    align-items: flex-start;
    flex-direction: column;
  }

  .email-code-row {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-section.is-active {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 1.03;
  }

  html[lang="zh-CN"] .hero-copy h1 {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.08;
  }

  html[lang="es"] .hero-copy h1 {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.65;
  }

  html[lang="zh-CN"] .hero-copy p {
    font-size: 18px;
  }

  .hero-actions .button {
    flex: 1 1 0;
  }

  .hero-demo {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
  }

  .process-grid,
  .pricing-grid,
  .download-grid,
  .showcase-grid,
  .field-grid,
  .register-form,
  .action-strip,
  .chat-form,
  .site-footer,
  .status-steps,
  .motion-preview-grid,
  .qr-payment-grid,
  .order-intent-options,
  .upgrade-pet-grid,
  .order-relationship-card dl {
    grid-template-columns: 1fr;
  }

  .laptop-stage {
    width: min(100%, 680px);
    min-height: 0;
  }

  .showcase-media video {
    display: none;
  }

  .showcase-fallback-image {
    display: block;
  }

  .showcase-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .showcase-grid article {
    gap: 8px;
  }

  .pet-preview {
    width: min(98vw, 520px);
  }

  .pet-dog {
    bottom: 70px;
  }

  .pet-cat {
    width: min(52vw, 220px);
  }

  .cat-shadow,
  .dog-shadow {
    display: none;
  }

  .service-account-notice,
  .panel-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .checkout-section {
    padding: 22px;
  }

  .photo-upload-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-angle-card {
    min-height: 150px;
    padding-inline: 10px;
  }

  .download-panel .button,
  .motion-actions .button,
  .gate-actions .button {
    width: 100%;
  }

  .customer-main {
    padding: 44px 18px 62px;
  }

  .support-field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    padding-inline: 14px;
  }

  .brand {
    gap: 0;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    max-width: none;
  }

  .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .language-select {
    padding-inline: 12px 8px;
  }
}
