:root {
  --ink: #151914;
  --ink-soft: #2f352f;
  --paper: #f3f5ee;
  --white: #ffffff;
  --muted: #70786f;
  --line: #d9ded4;
  --line-strong: #b9c0b5;
  --acid: #d7ff45;
  --coral: #ff6f61;
  --blue: #82cfff;
  --mint: #72ddb5;
  --yellow: #ffd65a;
  --field-black: #0b0e0c;
  --field-panel: #111712;
  --signal-cyan: #1ce1e8;
  --signal-pink: #ff4f96;
  --signal-yellow: #ffe15a;
  --shadow: 0 18px 50px rgba(21, 25, 20, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

.page-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--signal-pink), var(--signal-yellow), var(--signal-cyan), var(--acid));
  transform-origin: left center;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  background: rgba(243, 245, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 9px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--ink);
  border-radius: 4px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.brand-mark::before {
  width: 15px;
  height: 15px;
  top: 5px;
  left: 5px;
  background: var(--acid);
}

.brand-mark::after {
  width: 10px;
  height: 10px;
  right: 4px;
  bottom: 4px;
  background: var(--coral);
}

.brand-mark span {
  width: 7px;
  height: 7px;
  right: 5px;
  top: 5px;
  background: var(--blue);
}

.brand-name {
  font-size: 14px;
  font-weight: 900;
}

.brand-cn {
  padding-left: 9px;
  color: var(--muted);
  border-left: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #e8ece3;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.main-nav a,
.nav-link-button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #596159;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.main-nav a:hover,
.nav-link-button:hover,
.main-nav a.active {
  color: var(--ink);
  background: var(--white);
}

.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.mobile-visual-button.icon-button,
.mobile-works-button.icon-button {
  display: none;
}

.demo-badge {
  padding: 5px 8px;
  color: #694f00;
  background: var(--yellow);
  border: 1px solid #ddb62b;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
}

.demo-badge.live-service {
  color: #143d2b;
  background: #a8f0c5;
  border-color: #55bd80;
}

.credit-button {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  cursor: pointer;
}

.credit-button:hover {
  border-color: var(--ink);
}

.credit-button svg {
  width: 15px;
  color: #9b7100;
}

.credit-button span {
  color: var(--muted);
  font-size: 12px;
}

.credit-button strong {
  color: var(--ink);
}

.avatar-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line-strong);
  cursor: pointer;
}

.avatar-button {
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.avatar-button.signed-in {
  color: var(--ink);
  background: var(--mint);
}

.avatar-button span {
  line-height: 1;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 5px;
}

.icon-button:hover {
  background: var(--acid);
  border-color: var(--ink);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

main {
  overflow: hidden;
}

.create-section {
  padding: 118px 32px 88px;
}

.intro-row,
.studio-shell,
.section-title-row,
.case-tabs,
.case-stage,
.case-insight-row,
.system-section,
.pricing-section,
footer {
  width: min(100%, 1400px);
  margin-left: auto;
  margin-right: auto;
}

.intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 48px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #556055;
  font-size: 11px;
  font-weight: 900;
}

.kicker > span {
  width: 26px;
  height: 3px;
  background: var(--coral);
}

.kicker.light {
  color: #abb4aa;
}

.intro-row h1,
.section-title-row h2,
.system-copy h2,
.pricing-heading h2 {
  margin: 0;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-row h1 {
  max-width: 940px;
  font-size: 64px;
}

.intro-side {
  padding-bottom: 5px;
}

.intro-side > p {
  max-width: 470px;
  margin: 0;
  color: #505a50;
  font-size: 17px;
  line-height: 1.7;
}

.proof-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 25px;
}

.proof-line span {
  padding-top: 11px;
  color: var(--muted);
  border-top: 2px solid var(--ink);
  font-size: 12px;
}

.proof-line strong {
  color: var(--ink);
  font-size: 22px;
}

.studio-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(420px, 0.66fr);
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.builder {
  min-width: 0;
  padding: 28px 30px 30px;
}

.panel-heading,
.preview-heading,
.legend-row,
.phrase-footer,
.submit-bar,
.preview-caption,
.case-output-meta,
.case-insight-row,
.drawer-heading,
.result-title,
.result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading {
  min-height: 48px;
  margin-bottom: 26px;
}

.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

.panel-heading h2 {
  margin: 0;
  font-size: 20px;
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #51715f;
  font-size: 11px;
  font-weight: 800;
}

.privacy-note svg {
  width: 15px;
}

.form-block {
  min-width: 0;
  margin: 0;
  padding: 22px 0 24px;
  border: 0;
  border-top: 1px solid var(--line);
}

.form-block legend {
  margin-bottom: 14px;
  padding: 0;
  font-size: 13px;
  font-weight: 900;
}

.upload-zone {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 96px;
  padding: 8px 12px 8px 8px;
  background: #f8faf5;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
}

.upload-zone.dragging {
  background: #f4ffd5;
  border-color: var(--ink);
}

.upload-preview-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  overflow: hidden;
  background: #e9ede6;
  border-radius: 4px;
}

.upload-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-wrap > span {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 3px 5px;
  color: var(--white);
  background: rgba(21, 25, 20, 0.82);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
}

.upload-copy {
  min-width: 0;
}

.upload-copy strong,
.upload-copy span {
  display: block;
}

.upload-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.upload-copy span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.icon-text-button,
.primary-button,
.secondary-button,
.outline-light-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.icon-text-button {
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: 11px;
}

.icon-text-button:hover {
  border-color: var(--ink);
}

.icon-text-button svg,
.primary-button svg,
.secondary-button svg,
.outline-light-button svg {
  width: 16px;
  height: 16px;
}

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

.style-option {
  position: relative;
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.style-option:hover,
.style-option.active {
  border-color: var(--ink);
}

.style-option.active {
  background: #f8fce9;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.style-option > svg {
  position: absolute;
  width: 13px;
  right: 6px;
  top: 6px;
  opacity: 0;
}

.style-option.active > svg {
  opacity: 1;
}

.style-swatch {
  width: 30px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 3px;
}

.swatch-anime {
  background: linear-gradient(135deg, var(--coral) 0 50%, var(--yellow) 50%);
}

.swatch-business {
  background: linear-gradient(135deg, #151914 0 50%, var(--mint) 50%);
}

.swatch-cyber {
  background: linear-gradient(135deg, #111827 0 50%, var(--blue) 50%);
}

.swatch-companion {
  background: linear-gradient(135deg, #f8b4c6 0 50%, #b7dcff 50%);
}

.style-option strong,
.style-option small {
  display: block;
}

.style-option strong {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.style-option small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.legend-row {
  align-items: flex-start;
}

.legend-row legend {
  float: left;
}

.preset-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #eef1eb;
  border-radius: 5px;
}

.preset-tabs button {
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.preset-tabs button.active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(21, 25, 20, 0.08);
}

.phrase-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.phrase-input-wrap {
  position: relative;
  min-width: 0;
}

.phrase-input-wrap span {
  position: absolute;
  left: 9px;
  top: 50%;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: #5f675e;
  background: #edf0e9;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

.phrase-input-wrap input {
  width: 100%;
  height: 42px;
  padding: 0 9px 0 36px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
  font-size: 12px;
  font-weight: 700;
}

.phrase-input-wrap input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--acid);
}

.phrase-footer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.phrase-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phrase-footer svg {
  width: 13px;
}

.package-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.package-options label {
  position: relative;
  min-width: 0;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.package-options label:has(input:checked) {
  background: #f7fce6;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.package-options input {
  position: absolute;
  opacity: 0;
}

.package-options strong,
.package-options small {
  display: block;
}

.package-options strong {
  font-size: 12px;
}

.package-options small {
  min-height: 24px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.package-options em {
  display: inline-block;
  margin-left: 3px;
  padding: 2px 4px;
  color: #493700;
  background: var(--yellow);
  border-radius: 3px;
  font-size: 8px;
  font-style: normal;
}

.package-options b {
  font-size: 13px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 3px 0 23px;
  color: #596259;
  font-size: 10px;
  line-height: 1.5;
}

.consent-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--ink);
}

.consent-row a,
.auth-dialog small a,
.auth-consent-row a {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 2px;
}

.auth-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #596259;
  font-size: 10px;
  line-height: 1.55;
}

.auth-consent-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--ink);
}

.current-task-card {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  margin: 0 0 10px;
  padding: 10px 13px;
  color: var(--ink);
  text-align: left;
  background: #eef6ff;
  border: 1px solid #9ec8f5;
  border-radius: 6px;
  cursor: pointer;
}

.current-task-card > span:nth-child(2) > * {
  display: block;
}

.current-task-card small {
  color: #4c6f96;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.current-task-card strong {
  margin-top: 3px;
  font-size: 12px;
}

.current-task-card em {
  margin-top: 3px;
  color: #697b8e;
  font-size: 9px;
  font-style: normal;
}

.task-state-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--blue);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.task-state-icon svg {
  width: 17px;
  animation: orbit 3s linear infinite;
}

.submit-bar {
  min-height: 72px;
  padding: 11px 12px 11px 16px;
  background: var(--ink);
  border-radius: 6px;
}

.submit-bar > div span,
.submit-bar > div strong,
.submit-bar > div small {
  display: block;
}

.submit-bar > div span {
  color: #aeb7ac;
  font-size: 9px;
}

.submit-bar > div strong {
  margin-top: 3px;
  color: var(--white);
  font-size: 14px;
}

.submit-bar > div small {
  margin-top: 2px;
  color: #7f8a7d;
  font-size: 8px;
}

.primary-button {
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--acid);
}

.primary-button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.quiet-danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  color: #8b3028;
  background: transparent;
  border: 1px solid #d9aaa4;
  border-radius: 5px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.quiet-danger-button:hover {
  color: #641d17;
  background: #fff0ed;
  border-color: #bb6f66;
}

.quiet-danger-button svg {
  width: 15px;
}

.quiet-danger-button.full {
  width: 100%;
  margin-top: 9px;
}

.submit-bar .primary-button {
  min-width: 228px;
}

.live-preview {
  min-width: 0;
  align-self: stretch;
  padding: 28px;
  background: #e8ece5;
  border-left: 1px solid var(--line-strong);
}

.preview-heading {
  min-height: 48px;
  margin-bottom: 22px;
}

.preview-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-heading strong {
  font-size: 14px;
}

.preview-heading > span {
  padding: 5px 8px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #35c47c;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #35c47c;
}

.sticker-grid,
.case-output-grid,
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-strong);
}

.sticker-grid img,
.case-output-grid img,
.result-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--white);
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.sticker-grid img:nth-child(3n),
.case-output-grid img:nth-child(3n),
.result-grid img:nth-child(3n) {
  border-right: 0;
}

.sticker-grid img:nth-child(n + 7),
.case-output-grid img:nth-child(n + 7),
.result-grid img:nth-child(n + 7) {
  border-bottom: 0;
}

.preview-caption {
  padding: 15px 0 18px;
  border-bottom: 1px solid var(--line-strong);
}

.preview-caption span,
.preview-caption strong {
  display: block;
}

.preview-caption span {
  color: var(--muted);
  font-size: 9px;
}

.preview-caption strong {
  margin-top: 4px;
  font-size: 14px;
}

.asset-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
}

.asset-track > div {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #727a72;
  font-size: 8px;
}

.asset-track > div svg {
  width: 18px;
}

.asset-track > div.complete {
  color: var(--ink);
}

.asset-track > span {
  height: 1px;
  background: #aeb6ac;
}

.case-section {
  padding: 86px 32px 92px;
  color: var(--white);
  background: var(--ink);
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 64px;
}

.section-title-row h2,
.system-copy h2,
.pricing-heading h2 {
  font-size: 44px;
}

.section-title-row > p {
  margin: 0 0 5px;
  color: #aeb8ad;
  font-size: 15px;
  line-height: 1.75;
}

.case-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 50px;
  border-top: 1px solid #3c453c;
  border-bottom: 1px solid #3c453c;
}

.case-tabs button {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  color: #9ba59a;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid #3c453c;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.case-tabs button:last-child {
  border-right: 0;
}

.case-tabs button span {
  color: #687368;
  font-size: 10px;
}

.case-tabs button.active {
  color: var(--ink);
  background: var(--acid);
}

.case-tabs button.active span {
  color: #617500;
}

.case-stage {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) 120px minmax(0, 1.28fr);
  align-items: center;
  gap: 28px;
  padding: 44px 0;
}

.source-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 0.83;
  overflow: hidden;
  background: #f0f1ec;
  border: 1px solid #505950;
}

.source-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-portrait figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
}

.source-portrait figcaption span,
.case-output-meta span {
  color: #697269;
  font-size: 9px;
  font-weight: 800;
}

.source-portrait figcaption strong {
  font-size: 11px;
}

.case-arrow {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #788277;
}

.case-arrow span {
  font-size: 8px;
  font-weight: 900;
}

.case-arrow svg {
  width: 38px;
  height: 38px;
  color: var(--acid);
}

.case-output {
  min-width: 0;
}

.case-output-grid {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}

.case-output-meta {
  max-width: 660px;
  margin: 16px auto 0;
}

.case-output-meta > div:first-child span,
.case-output-meta > div:first-child strong {
  display: block;
}

.case-output-meta > div:first-child strong {
  margin-top: 4px;
  font-size: 15px;
}

.case-facts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.case-facts span {
  color: #9ca69b;
  white-space: nowrap;
}

.case-facts b {
  color: var(--white);
  font-size: 13px;
}

.case-insight-row {
  padding: 20px 0 0;
  border-top: 1px solid #3d463d;
}

.case-insight-row > div span,
.case-insight-row > div strong {
  display: block;
}

.case-insight-row > div span {
  color: #778176;
  font-size: 9px;
}

.case-insight-row > div strong {
  max-width: 400px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
}

.outline-light-button {
  color: var(--white);
  background: transparent;
  border: 1px solid #5b655a;
  font-size: 11px;
}

.outline-light-button:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.system-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 74px;
  padding: 100px 32px;
}

.system-copy > p:last-child,
.pricing-heading > p:last-child {
  max-width: 500px;
  margin: 24px 0 0;
  color: #5b655b;
  font-size: 15px;
  line-height: 1.75;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.system-map article {
  position: relative;
  min-height: 210px;
  padding: 26px;
  background: var(--white);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.system-map article:nth-child(1) {
  background: var(--acid);
}

.system-map article:nth-child(4) {
  color: var(--white);
  background: var(--ink);
}

.system-map article > span {
  position: absolute;
  right: 18px;
  top: 16px;
  color: #798178;
  font-size: 10px;
  font-weight: 900;
}

.system-map article > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 38px;
}

.system-map article strong,
.system-map article p {
  display: block;
}

.system-map article strong {
  font-size: 16px;
}

.system-map article p {
  margin: 9px 0 0;
  color: #687168;
  font-size: 11px;
  line-height: 1.6;
}

.system-map article:nth-child(4) p {
  color: #aeb7ad;
}

.pricing-section {
  padding: 90px 32px 100px;
  border-top: 1px solid var(--line);
}

.pricing-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  column-gap: 64px;
}

.pricing-heading .kicker {
  grid-column: 1 / -1;
}

.pricing-heading > p:last-child {
  margin-bottom: 5px;
}

.credit-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
}

.credit-plans button {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  cursor: pointer;
}

.credit-plans button:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.credit-plans button.popular {
  background: var(--acid);
  border-color: var(--ink);
}

.credit-plans button > span {
  min-height: 26px;
  color: #5b655b;
  font-size: 11px;
  font-weight: 800;
}

.credit-plans button > span i {
  margin-left: 5px;
  padding: 3px 5px;
  color: var(--white);
  background: var(--ink);
  border-radius: 3px;
  font-size: 8px;
  font-style: normal;
}

.credit-plans button > strong {
  margin-top: 22px;
  font-size: 38px;
  line-height: 1;
}

.credit-plans button > strong small {
  color: #657064;
  font-size: 11px;
}

.credit-plans button > b {
  margin-top: 15px;
  font-size: 18px;
}

.credit-plans button > em {
  width: 100%;
  margin-top: auto;
  padding-top: 17px;
  color: #6b746a;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-style: normal;
}

.credit-plans button.popular > em {
  border-color: #a5c52e;
}

.enterprise-line {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding: 14px 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.enterprise-line > div,
.enterprise-line button {
  display: flex;
  align-items: center;
  gap: 10px;
}

.enterprise-line > div svg {
  width: 22px;
  color: var(--acid);
}

.enterprise-line > div span {
  color: #aeb7ad;
  font-size: 11px;
}

.enterprise-line > div strong {
  margin-right: 9px;
  color: var(--white);
  font-size: 13px;
}

.enterprise-line button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.enterprise-line button svg {
  width: 15px;
}

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
}

footer p,
footer > span {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

footer > span {
  max-width: 360px;
  text-align: right;
}

footer > span a {
  color: inherit;
  text-underline-offset: 2px;
}

.emotion-universe {
  position: fixed;
  z-index: 44;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.emotion-universe.is-alive {
  opacity: 1;
}

body.modal-open .emotion-universe {
  opacity: 0;
  pointer-events: none;
}

#emotionUniverseField,
.emotion-orb-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#emotionUniverseField {
  opacity: 0.94;
  filter: saturate(1.34) contrast(1.08);
  mix-blend-mode: screen;
}

.universe-telemetry {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 6px 9px 6px 10px;
  color: rgba(247, 251, 255, 0.88);
  background: rgba(11, 14, 12, 0.84);
  border-left: 2px solid var(--signal-cyan);
  box-shadow: 4px 4px 0 rgba(255, 79, 150, 0.32);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

.universe-telemetry > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--acid);
  font-size: 7px;
  font-weight: 900;
}

.universe-telemetry > span i {
  width: 5px;
  height: 5px;
  background: var(--signal-pink);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 79, 150, 0.9);
  animation: signal-pulse 1.1s ease-in-out infinite;
}

.universe-telemetry strong {
  color: var(--white);
  font-size: 11px;
}

.universe-telemetry strong b,
.universe-telemetry small b {
  color: var(--signal-yellow);
}

.universe-telemetry small {
  color: rgba(247, 251, 255, 0.56);
  font-size: 7px;
  font-weight: 800;
}

.emotion-orb {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  padding: 3px;
  overflow: visible;
  opacity: var(--orb-opacity, 0.78);
  color: var(--orb-color, var(--signal-cyan));
  background: var(--white);
  border: 2px solid var(--field-black);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px color-mix(in srgb, currentColor 82%, transparent),
    0 0 0 6px color-mix(in srgb, var(--signal-pink) 18%, transparent),
    0 10px 26px rgba(0, 0, 0, 0.24),
    0 0 28px color-mix(in srgb, currentColor 46%, transparent);
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 180ms ease, filter 180ms ease;
  will-change: transform, opacity;
}

.emotion-orb::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed currentColor;
  border-radius: 50%;
  opacity: 0.72;
  box-shadow: inset 0 0 13px color-mix(in srgb, currentColor 28%, transparent);
  animation: emotion-orb-spin 6.4s linear infinite;
}

.emotion-orb::after {
  content: "";
  position: absolute;
  right: 0;
  top: 1px;
  width: 8px;
  height: 8px;
  background: var(--acid);
  border: 2px solid var(--field-black);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(215, 255, 69, 0.9);
}

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

.emotion-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.08);
  transition: transform 220ms ease, opacity 180ms ease;
}

.emotion-orb:hover,
.emotion-orb:focus-visible {
  z-index: 3;
  opacity: 1 !important;
  filter: saturate(1.18) brightness(1.08);
  outline: none;
}

.emotion-orb:hover img,
.emotion-orb:focus-visible img {
  transform: scale(1.17);
}

.emotion-orb.is-ghost {
  opacity: 0.18 !important;
  filter: grayscale(0.35) saturate(0.65);
  pointer-events: none;
}

.emotion-orb.is-switching img {
  opacity: 0;
  transform: scale(0.86);
}

.emotion-orb.is-switching {
  opacity: 0 !important;
  pointer-events: none;
}

.emotion-orb.is-loading,
.emotion-orb.is-load-error {
  opacity: 0 !important;
  pointer-events: none;
}

.emotion-orb.is-burst::before {
  animation: emotion-orb-burst 820ms ease-out;
}

@keyframes emotion-orb-burst {
  from {
    inset: -8px;
    opacity: 0.95;
    border-width: 2px;
  }
  to {
    inset: -36px;
    opacity: 0;
    border-width: 1px;
  }
}

.motion-companion {
  position: fixed;
  z-index: 46;
  right: 22px;
  bottom: 22px;
  width: 176px;
  color: var(--white);
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: left, top, transform;
}

.motion-companion.is-roaming {
  transition:
    left 3.15s cubic-bezier(0.45, 0.05, 0.18, 1),
    top 3.15s cubic-bezier(0.45, 0.05, 0.18, 1),
    opacity 180ms ease,
    transform 180ms ease;
}

.motion-companion.is-dragging {
  transition: none;
}

body.modal-open .motion-companion {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.motion-companion-card {
  position: relative;
  padding: 5px;
  overflow: hidden;
  background: #0b0e0c;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 6px;
  box-shadow:
    5px 5px 0 rgba(255, 79, 150, 0.9),
    -3px -3px 0 rgba(28, 225, 232, 0.7),
    0 20px 45px rgba(0, 0, 0, 0.34);
  animation: motion-window-drift 5.4s ease-in-out infinite;
  will-change: transform;
}

.motion-companion.is-dragging .motion-companion-card {
  animation-play-state: paused;
  box-shadow:
    7px 7px 0 var(--signal-yellow),
    -3px -3px 0 var(--signal-cyan),
    0 24px 52px rgba(0, 0, 0, 0.42);
}

.motion-companion.is-summoned .motion-companion-card {
  animation: motion-companion-summon 820ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

@keyframes motion-companion-summon {
  0% { transform: scale(0.88) rotate(-2deg); filter: brightness(1); }
  42% { transform: scale(1.08) rotate(1deg); filter: brightness(1.28) saturate(1.2); }
  100% { transform: scale(1) rotate(0); filter: brightness(1); }
}

@keyframes motion-window-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.5deg); }
  35% { transform: translate3d(-5px, -9px, 0) rotate(0.45deg); }
  70% { transform: translate3d(3px, -5px, 0) rotate(-0.15deg); }
}

.motion-companion-bar {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px 0 5px;
  cursor: move;
  touch-action: none;
  user-select: none;
}

.motion-companion-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dce6de;
  font-size: 7px;
  font-weight: 900;
}

.motion-companion-bar > span i {
  width: 6px;
  height: 6px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(215, 255, 69, 0.9);
  animation: signal-pulse 1.4s ease-in-out infinite;
}

.motion-companion-minimize,
.motion-companion-next {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.motion-companion-minimize {
  width: 23px;
  height: 23px;
}

.motion-companion-minimize:hover,
.motion-companion-next:hover {
  color: var(--signal-yellow);
}

.motion-companion-minimize svg {
  width: 14px;
  height: 14px;
}

.motion-companion-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #465049;
}

.motion-companion-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: -30%;
  height: 24%;
  pointer-events: none;
  background: rgba(28, 225, 232, 0.14);
  border-bottom: 1px solid rgba(28, 225, 232, 0.62);
  animation: motion-scan 4.2s linear infinite;
}

@keyframes motion-scan { to { top: 112%; } }

.motion-companion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.motion-companion-media > span {
  position: absolute;
  z-index: 3;
  right: 6px;
  bottom: 6px;
  padding: 3px 5px;
  color: var(--field-black);
  background: var(--signal-yellow);
  border: 1px solid var(--field-black);
  font-size: 7px;
  font-weight: 900;
}

.motion-companion-meta {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 3px 1px 5px;
}

.motion-companion-meta > div { min-width: 0; }

.motion-companion-meta span,
.motion-companion-meta strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motion-companion-meta span {
  color: var(--signal-cyan);
  font-size: 6px;
  font-weight: 900;
}

.motion-companion-meta strong {
  margin-top: 2px;
  color: var(--white);
  font-size: 10px;
}

.motion-companion-next {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid #3f4941;
}

.motion-companion-next svg {
  width: 13px;
  height: 13px;
}

.motion-companion-wake {
  position: relative;
  width: 58px;
  height: 58px;
  display: block;
  padding: 3px;
  overflow: visible;
  background: var(--white);
  border: 2px solid var(--field-black);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px var(--signal-pink),
    0 0 0 6px var(--signal-cyan),
    0 14px 32px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  animation: motion-wake-drift 3.4s ease-in-out infinite;
}

.motion-companion-wake img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.motion-companion-wake > span {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 12px;
  height: 12px;
  background: var(--acid);
  border: 2px solid var(--field-black);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(215, 255, 69, 0.9);
}

.motion-companion.is-minimized { width: 58px; }

@keyframes motion-wake-drift {
  50% { transform: translate3d(-4px, -8px, 0) rotate(2deg); }
}

.drawer-backdrop {
  position: fixed;
  z-index: 70;
  inset: 0;
  background: rgba(21, 25, 20, 0.48);
  backdrop-filter: blur(4px);
}

.works-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  padding: 28px;
  overflow-y: auto;
  background: var(--paper);
  border-left: 1px solid var(--line-strong);
  box-shadow: -24px 0 70px rgba(21, 25, 20, 0.18);
  transform: translateX(102%);
  transition: transform 240ms ease;
}

.works-drawer.open {
  transform: translateX(0);
}

.drawer-heading span,
.result-title span,
.modal-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}

.drawer-heading h2,
.result-title h2 {
  margin: 5px 0 0;
  font-size: 23px;
}

.work-summary {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: baseline;
  gap: 7px;
  margin: 28px 0 16px;
  padding: 15px;
  background: var(--ink);
  border-radius: 6px;
}

.work-summary strong {
  color: var(--acid);
  font-size: 24px;
}

.work-summary span {
  color: #aab4aa;
  font-size: 10px;
}

.work-list {
  display: grid;
  gap: 9px;
}

.work-empty {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.work-empty > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
  color: #5a655b;
}

.work-empty > strong {
  font-size: 14px;
}

.work-empty > span {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.work-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.work-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 3px;
}

.work-item strong,
.work-item span {
  display: block;
}

.work-item strong {
  font-size: 12px;
}

.work-item span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
}

.work-item button {
  width: 32px;
  height: 32px;
}

.work-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.work-delete-button {
  color: #9a4941;
}

dialog {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(21, 25, 20, 0.35);
}

dialog::backdrop {
  background: rgba(21, 25, 20, 0.58);
  backdrop-filter: blur(6px);
}

.job-dialog {
  width: min(700px, calc(100vw - 28px));
  min-height: 480px;
  padding: 36px;
}

.auth-dialog,
.wallet-dialog {
  width: min(430px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 34px;
  overflow-y: auto;
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.job-running {
  min-height: 405px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.job-orbit {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.job-orbit::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px dashed var(--ink);
  border-radius: 50%;
  animation: orbit 6s linear infinite;
}

.job-orbit svg {
  width: 31px;
  height: 31px;
}

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

.kicker.centered {
  justify-content: center;
  margin-bottom: 10px;
}

.job-running h2 {
  margin: 0;
  font-size: 27px;
}

.job-running > p:not(.kicker) {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.progress-track {
  width: min(100%, 470px);
  height: 8px;
  overflow: hidden;
  background: #e8ece5;
  border-radius: 4px;
}

.progress-track span {
  display: block;
  width: 8%;
  height: 100%;
  background: var(--ink);
  transition: width 450ms ease;
}

.job-stages {
  width: min(100%, 500px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-top: 13px;
}

.job-stages span {
  color: #9aa29a;
  font-size: 9px;
  font-weight: 700;
}

.job-stages span.active {
  color: var(--ink);
}

.job-running > small,
.auth-dialog small,
.wallet-dialog > small {
  margin-top: 35px;
  color: #969e95;
  font-size: 9px;
}

.job-running > .quiet-danger-button {
  margin-top: 16px;
}

.job-result {
  padding-top: 15px;
}

.job-approval {
  padding-top: 15px;
}

.job-approval > p {
  max-width: 560px;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.approval-choice-hint {
  margin: -8px 0 14px !important;
  color: #435043 !important;
  font-weight: 700;
}

.approval-sheets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 9px;
}

.approval-sheet-option {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 7px;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.approval-sheet-option:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.approval-sheet-option.selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--acid);
}

.approval-sheet-option:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.approval-sheet-option input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.approval-sheet-option input:disabled {
  cursor: default;
}

.approval-sheet-option img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--white);
  border: 0;
  border-radius: 2px;
}

.approval-sheet-meta {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.approval-sheet-option.selected .approval-sheet-meta {
  color: var(--ink);
}

.approval-note {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 15px 0;
  padding: 10px 12px;
  color: #435043;
  background: #f5f9e8;
  border: 1px solid #d9e7a9;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.5;
}

.approval-note svg {
  width: 18px;
  flex: 0 0 auto;
}

.review-mark,
.failure-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.review-mark {
  color: var(--ink) !important;
  background: var(--blue);
}

.review-mark svg,
.failure-mark svg {
  width: 21px;
}

.result-sheet {
  width: min(100%, 480px);
  aspect-ratio: 1;
  object-fit: cover;
  margin: 25px auto;
  background: var(--white);
  border: 1px solid var(--line-strong);
}

.job-failure {
  min-height: 405px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.failure-mark {
  margin-bottom: 23px;
  color: var(--ink);
  background: #ffd0ca;
}

.job-failure h2 {
  margin: 0;
  font-size: 27px;
}

.job-failure > p:not(.kicker) {
  max-width: 500px;
  margin: 13px 0 24px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.result-title {
  padding-right: 42px;
}

.result-actions {
  flex-wrap: wrap;
}

.success-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink) !important;
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.success-mark svg {
  width: 22px;
}

.result-grid {
  width: min(100%, 450px);
  margin: 25px auto;
}

.result-grid.is-delivery-grid {
  border-color: var(--ink);
}

.delivery-asset-meta {
  margin: 10px 0 -8px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.delivery-sticker-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  display: block;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  border: 0;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.delivery-sticker-card:nth-child(3n) {
  border-right: 0;
}

.delivery-sticker-card:nth-child(n + 7) {
  border-bottom: 0;
}

.delivery-sticker-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0 !important;
  transition: transform 180ms ease, filter 180ms ease;
}

.delivery-sticker-card > span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 180ms ease, background 180ms ease;
}

.delivery-sticker-card > span svg {
  width: 13px;
  height: 13px;
}

.delivery-sticker-card:hover img,
.delivery-sticker-card:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.035);
}

.delivery-sticker-card:hover > span,
.delivery-sticker-card:focus-visible > span {
  background: var(--acid);
  transform: translate(-1px, -1px);
}

.delivery-sticker-card:focus-visible {
  z-index: 1;
  outline: 2px solid var(--signal-cyan);
  outline-offset: -2px;
}

.archive-download {
  color: var(--muted);
}

.sticker-dialog {
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 28px;
  overflow-y: auto;
}

.sticker-dialog-title {
  padding-right: 44px;
}

.sticker-dialog-title > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.sticker-dialog-title h2 {
  margin: 7px 0 0;
  font-size: 23px;
}

.sticker-viewer-status {
  min-height: 16px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.sticker-preview-shell {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 22px auto;
  padding: 7px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 var(--acid);
}

.sticker-preview-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #f5f5f2;
}

.sticker-nav-button {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.sticker-nav-button:hover,
.sticker-nav-button:focus-visible {
  background: var(--acid);
}

.sticker-nav-button:focus-visible {
  outline: 2px solid var(--signal-cyan);
  outline-offset: 2px;
}

.sticker-nav-button svg {
  width: 17px;
  height: 17px;
}

.sticker-nav-previous {
  left: -16px;
}

.sticker-nav-next {
  right: -16px;
}

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

.sticker-actions > * {
  min-width: 0;
  justify-content: center;
}

.secondary-button {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
}

.secondary-button:hover {
  border-color: var(--ink);
}

.auth-dialog h2,
.wallet-dialog h2 {
  margin: 9px 0 0;
  font-size: 30px;
}

.dialog-lead {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.wallet-balance {
  display: flex;
  justify-content: space-between;
  margin: 26px 0 14px;
  padding: 15px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.wallet-balance strong {
  color: var(--ink);
  font-size: 18px;
}

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

.auth-form label,
.cdk-form {
  display: grid;
  gap: 7px;
}

.auth-form label > span,
.cdk-form label {
  font-size: 10px;
  font-weight: 900;
}

.auth-form input,
.cdk-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8faf5;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  outline: none;
}

.auth-form input:focus,
.cdk-form input:focus {
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(114, 221, 181, 0.22);
}

.auth-form .auth-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.auth-form .auth-consent-row input {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 0;
  padding: 0;
  accent-color: var(--ink);
  box-shadow: none;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  align-items: end;
  gap: 9px;
}

.code-row.cdk-mode {
  grid-template-columns: minmax(0, 1fr);
}

.code-row .secondary-button {
  min-width: 0;
  padding: 0 9px;
  font-size: 11px;
}

.dev-code-note {
  padding: 10px 12px;
  color: #234b38;
  background: #e7f9ef;
  border: 1px solid #9ad8b6;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
}

.account-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  margin: 26px 0 18px;
  padding: 18px;
  background: #f4f6f1;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.account-summary span {
  color: var(--muted);
  font-size: 11px;
}

.account-summary strong {
  font-size: 12px;
}

.credit-history {
  margin: 0 0 18px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.credit-history-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.credit-history-head > div {
  display: grid;
  gap: 3px;
}

.credit-history-head span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
}

.credit-history-head strong {
  font-size: 13px;
}

.credit-history-head .icon-button {
  width: 34px;
  height: 34px;
}

.credit-history-list {
  max-height: 226px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.credit-history-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.credit-history-row:last-child {
  border-bottom: 0;
}

.credit-history-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #15633e;
  background: #e6f8ed;
  border-radius: 50%;
}

.credit-history-row.debit .credit-history-icon {
  color: #735715;
  background: #fff4d2;
}

.credit-history-icon svg {
  width: 14px;
  height: 14px;
}

.credit-history-row > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.credit-history-row strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credit-history-row > div span {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credit-history-row > b {
  color: #15633e;
  font-size: 13px;
}

.credit-history-row.debit > b {
  color: #8b5d12;
}

.credit-history-empty {
  margin: 0;
  padding: 22px 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.terms-renewal {
  margin: 0 0 18px;
  padding: 15px;
  background: #fff9dc;
  border: 1px solid #dfc95a;
  border-radius: 5px;
}

.terms-renewal > strong {
  display: block;
  font-size: 13px;
}

.terms-renewal > p {
  margin: 7px 0 12px;
  color: #665f3d;
  font-size: 11px;
  line-height: 1.65;
}

.terms-renewal a {
  color: var(--ink);
  font-weight: 800;
}

.terms-renewal label {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.terms-renewal input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--ink);
}

.terms-renewal .secondary-button.full {
  margin-top: 9px;
  background: var(--white);
}

.pay-method {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  background: #f4f6f1;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.pay-method svg {
  width: 30px;
}

.pay-method span {
  font-size: 11px;
}

.primary-button.full,
.secondary-button.full {
  width: 100%;
  margin-top: 13px;
}

.auth-dialog small,
.wallet-dialog > small {
  display: block;
  margin-top: 12px;
  text-align: center;
}

.cdk-form {
  margin-top: 15px;
}

.cdk-form input {
  text-transform: uppercase;
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  max-width: calc(100vw - 28px);
  padding: 11px 15px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid #4e584e;
  border-radius: 5px;
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

/* Living emotion field: spatial motion stays behind the production workflow. */
.topbar {
  color: var(--white);
  background: rgba(11, 14, 12, 0.94);
  border-bottom-color: #2b322c;
}

.topbar .brand-mark {
  border: 1px solid #454e46;
}

.topbar .brand-cn {
  color: #96a299;
  border-left-color: #3c463e;
}

.main-nav {
  background: #151b16;
  border-color: #3c463e;
}

.main-nav a,
.nav-link-button {
  color: #99a59b;
}

.main-nav a:hover,
.main-nav a.active,
.nav-link-button:hover {
  color: var(--white);
  background: #273028;
}

.main-nav a.active::after {
  background: var(--signal-cyan);
}

.topbar .credit-button,
.topbar .icon-button {
  color: var(--white);
  background: #151b16;
  border-color: #3c463e;
}

.topbar .credit-button:hover,
.topbar .icon-button:hover {
  color: var(--field-black);
  background: var(--acid);
  border-color: var(--acid);
}

.topbar .credit-button span,
.topbar .credit-button strong {
  color: inherit;
}

.topbar .credit-button svg {
  color: var(--signal-yellow);
}

.topbar .avatar-button {
  color: var(--white);
  background: #151b16;
  border-color: #3c463e;
}

.topbar .avatar-button.signed-in {
  color: var(--field-black);
  background: var(--mint);
  border-color: var(--mint);
}

.create-section {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--field-black);
  border-bottom: 1px solid #2a312b;
}

.emotion-field,
.field-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.emotion-field {
  opacity: 0.96;
  filter: saturate(1.12);
}

.field-grid {
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(28, 225, 232, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 150, 0.13) 1px, transparent 1px);
  background-size: 64px 64px;
}

.pointer-halo {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 112px;
  height: 112px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--halo-x, -200px) - 50%), calc(var(--halo-y, -200px) - 50%), 0);
  transition: opacity 0.35s ease;
}

.pointer-halo.awake {
  opacity: 0.72;
}

.pointer-halo::before,
.pointer-halo::after,
.pointer-halo span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.pointer-halo::before {
  inset: 10px;
  border: 1px solid var(--signal-cyan);
}

.pointer-halo::after {
  inset: 25px;
  border: 1px dashed var(--signal-pink);
  animation: emotion-orbit 7s linear infinite reverse;
}

.pointer-halo span:first-child {
  inset: 0;
  border: 1px solid rgba(255, 225, 90, 0.45);
  animation: emotion-orbit 11s linear infinite;
}

.pointer-halo span:last-child {
  top: 4px;
  left: 52px;
  width: 8px;
  height: 8px;
  background: var(--signal-yellow);
  box-shadow: 0 0 14px rgba(255, 225, 90, 0.75);
}

@keyframes emotion-orbit {
  to {
    transform: rotate(360deg);
  }
}

.create-section .intro-row,
.create-section .studio-shell {
  position: relative;
  z-index: 2;
}

.create-section .kicker {
  color: var(--acid);
}

.create-section .kicker > span {
  background: var(--signal-pink);
  box-shadow: 0 0 14px rgba(255, 79, 150, 0.65);
}

.create-section .intro-row h1 {
  color: var(--white);
  text-shadow: 0 0 34px rgba(28, 225, 232, 0.12);
}

.create-section .intro-side > p {
  color: #bdc8bf;
}

.create-section .proof-line span {
  color: #94a197;
  border-top-color: var(--signal-pink);
}

.create-section .proof-line span:nth-child(2) {
  border-top-color: var(--signal-cyan);
}

.create-section .proof-line span:nth-child(3) {
  border-top-color: var(--signal-yellow);
}

.create-section .proof-line strong {
  color: var(--white);
}

.studio-shell {
  color: var(--ink);
  border: 1px solid #4b564d;
  box-shadow:
    8px 8px 0 rgba(255, 79, 150, 0.76),
    0 28px 90px rgba(0, 0, 0, 0.44);
}

.builder {
  background: var(--white);
}

.live-preview {
  position: relative;
  color: var(--white);
  background: var(--field-panel);
  border-left-color: #354039;
  overflow: hidden;
}

.live-preview::before,
.live-preview::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.live-preview::before {
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--signal-cyan);
  border-right: 2px solid var(--signal-cyan);
}

.live-preview::after {
  bottom: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-bottom: 2px solid var(--signal-pink);
  border-left: 2px solid var(--signal-pink);
}

.preview-heading,
.preview-caption,
.asset-track {
  position: relative;
  z-index: 2;
}

.preview-heading > span {
  color: var(--white);
  background: #1b221c;
  border-color: #485249;
}

.live-dot {
  background: var(--signal-cyan);
  border-color: var(--field-panel);
  box-shadow: 0 0 0 1px var(--signal-cyan), 0 0 18px rgba(28, 225, 232, 0.65);
  animation: signal-pulse 2.2s ease-in-out infinite;
}

@keyframes signal-pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

.preview-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #39433b;
  background: #0d120e;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  perspective: 900px;
}

.preview-stage.is-dragging {
  cursor: grabbing;
}

.preview-orbit {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 88%;
  height: 88%;
  border: 1px solid rgba(28, 225, 232, 0.3);
  animation: emotion-orbit 24s linear infinite;
}

.orbit-two {
  width: 72%;
  height: 72%;
  border: 1px dashed rgba(255, 79, 150, 0.38);
  animation: emotion-orbit 17s linear infinite reverse;
}

.preview-stage .sticker-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  transform: rotateX(var(--preview-tilt-x, 0deg)) rotateY(var(--preview-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.preview-stage.is-dragging .sticker-grid {
  transition-duration: 0.08s;
}

.preview-stage .sticker-grid img {
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.18, 0.9, 0.2, 1), filter 0.35s ease;
  pointer-events: none;
}

.preview-stage.is-dragging .sticker-grid img {
  filter: saturate(1.08) contrast(1.03);
  transition-duration: 0.08s;
}

.preview-caption {
  border-bottom-color: #38413a;
}

.preview-caption span {
  color: #8e9b91;
}

.preview-caption .icon-button {
  color: var(--white);
  background: #151b16;
  border-color: #485249;
}

.preview-caption .icon-button:hover {
  color: var(--field-black);
  background: var(--signal-yellow);
  border-color: var(--signal-yellow);
}

.asset-track > div,
.asset-track > div.complete {
  color: #a8b4aa;
}

.asset-track > div.complete svg {
  color: var(--signal-cyan);
}

.asset-track > span {
  background: #49534b;
}

.reveal-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    justify-self: center;
  }

  .brand-cn,
  .demo-badge {
    display: none;
  }

  .studio-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  }

  .style-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-stage {
    grid-template-columns: minmax(220px, 0.7fr) 72px minmax(0, 1.3fr);
  }

  .system-section {
    gap: 45px;
  }
}

@media (max-width: 900px) {
  .topbar {
    height: 62px;
    padding: 0 18px;
  }

  .main-nav {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .credit-button {
    height: 36px;
  }

  .avatar-button {
    display: inline-grid;
    width: 36px;
    height: 36px;
  }

  .mobile-visual-button.icon-button,
  .mobile-works-button.icon-button {
    display: inline-grid;
    width: 36px;
    height: 36px;
  }

  .create-section {
    padding: 94px 18px 60px;
  }

  .intro-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .intro-row h1 {
    font-size: 48px;
  }

  .intro-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: end;
  }

  .studio-shell {
    grid-template-columns: 1fr;
  }

  .builder {
    padding: 24px;
  }

  .live-preview {
    border-top: 1px solid #354039;
    border-left: 0;
  }

  .preview-stage {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .pointer-halo {
    display: none;
  }

  .case-section,
  .pricing-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-title-row,
  .pricing-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-heading .kicker {
    grid-column: auto;
  }

  .case-stage {
    grid-template-columns: minmax(180px, 0.58fr) 52px minmax(0, 1.42fr);
    gap: 16px;
  }

  .case-arrow span {
    display: none;
  }

  .system-section {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 76px 18px;
  }

  .credit-plans {
    grid-template-columns: 1fr;
  }

  .credit-plans button {
    min-height: 190px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }

  footer > span {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .topbar {
    gap: 8px;
  }

  .brand {
    gap: 6px;
  }

  .brand-name {
    white-space: nowrap;
    font-size: 11px;
  }

  #emotionUniverseField {
    opacity: 0.62;
  }

  .universe-telemetry {
    left: 10px;
    bottom: 12px;
    gap: 1px;
    padding: 4px 6px 4px 7px;
  }

  .universe-telemetry > span,
  .universe-telemetry small {
    font-size: 6px;
  }

  .universe-telemetry strong {
    font-size: 9px;
  }

  .emotion-orb {
    padding: 2px;
    border-width: 1px;
    box-shadow:
      0 0 0 2px color-mix(in srgb, currentColor 74%, transparent),
      0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .emotion-orb::before {
    inset: -5px;
  }

  .emotion-orb::after {
    width: 7px;
    height: 7px;
    border-width: 1px;
  }

  .emotion-orb.is-ghost {
    opacity: 0.4 !important;
    filter: saturate(0.92) brightness(0.98);
  }

  .motion-companion {
    right: 11px;
    bottom: 13px;
    width: 126px;
  }

  .motion-companion-card {
    padding: 4px;
    box-shadow:
      4px 4px 0 rgba(255, 79, 150, 0.86),
      -2px -2px 0 rgba(28, 225, 232, 0.66),
      0 14px 32px rgba(0, 0, 0, 0.3);
  }

  .motion-companion-bar {
    height: 24px;
    padding-left: 3px;
  }

  .motion-companion-bar > span {
    gap: 4px;
    font-size: 6px;
  }

  .motion-companion-minimize {
    width: 20px;
    height: 20px;
  }

  .motion-companion-meta {
    min-height: 35px;
    padding: 4px 1px 0 3px;
  }

  .motion-companion-meta strong {
    font-size: 8px;
  }

  .motion-companion-next {
    width: 24px;
    height: 24px;
  }

  .motion-companion-wake,
  .motion-companion.is-minimized {
    width: 52px;
    height: 52px;
  }

  .top-actions {
    gap: 6px;
  }

  .credit-button {
    padding: 0 9px;
  }

  .intro-row h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .intro-side {
    grid-template-columns: 1fr;
  }

  .intro-side > p {
    font-size: 14px;
  }

  .builder,
  .live-preview {
    padding: 18px;
  }

  .studio-shell {
    box-shadow:
      4px 4px 0 rgba(255, 79, 150, 0.72),
      0 18px 52px rgba(0, 0, 0, 0.38);
  }

  .field-grid {
    background-size: 46px 46px;
  }

  .preview-stage {
    padding: 10px;
  }

  .panel-heading {
    margin-bottom: 18px;
  }

  .panel-heading h2 {
    font-size: 17px;
  }

  .privacy-note {
    display: none;
  }

  .upload-zone {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 10px;
    padding: 7px;
  }

  .upload-preview-wrap {
    width: 66px;
    height: 66px;
  }

  .upload-zone .icon-text-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .style-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legend-row {
    display: block;
  }

  .legend-row legend {
    float: none;
  }

  .preset-tabs {
    width: 100%;
    margin: 0 0 11px;
  }

  .preset-tabs button {
    flex: 1;
    padding: 0 4px;
  }

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

  .package-options {
    grid-template-columns: 1fr;
  }

  .package-options label {
    min-height: 70px;
  }

  .submit-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .submit-bar .primary-button {
    width: 100%;
    min-width: 0;
  }

  .section-title-row h2,
  .system-copy h2,
  .pricing-heading h2 {
    font-size: 34px;
  }

  .case-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .case-stage {
    grid-template-columns: 1fr;
  }

  .source-portrait {
    width: min(68vw, 280px);
    margin: 0 auto;
  }

  .case-arrow {
    transform: rotate(90deg);
  }

  .case-output-grid {
    width: 100%;
  }

  .case-output-meta {
    align-items: flex-start;
  }

  .case-facts {
    display: grid;
    gap: 4px;
    text-align: right;
  }

  .case-insight-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .case-insight-row .outline-light-button {
    width: 100%;
  }

  .system-map {
    grid-template-columns: 1fr;
  }

  .system-map article {
    min-height: 175px;
  }

  .enterprise-line {
    display: grid;
  }

  .enterprise-line > div {
    align-items: flex-start;
  }

  .enterprise-line > div span {
    line-height: 1.6;
  }

  .enterprise-line > div strong {
    display: block;
  }

  .enterprise-line button {
    width: 100%;
    justify-content: center;
  }

  .job-dialog,
  .sticker-dialog,
  .auth-dialog,
  .wallet-dialog {
    padding: 26px 18px;
  }

  .job-running h2 {
    font-size: 22px;
  }

  .job-stages {
    gap: 2px;
  }

  .result-title h2 {
    font-size: 19px;
  }

  .result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .delivery-asset-meta {
    margin-top: 9px;
  }

  .sticker-preview-shell {
    width: min(calc(100% - 22px), 360px);
  }

  .sticker-nav-previous {
    left: -18px;
  }

  .sticker-nav-next {
    right: -18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pointer-halo,
  .preview-orbit {
    display: none;
  }

  .reveal-target {
    opacity: 1;
    transform: none;
  }
}
