﻿:root {
  --bg: #fffdf8;
  --ink: #172554;
  --muted: #6b7280;
  --primary: #7c5cff;
  --primary-2: #9b7cff;
  --pink: #ffb6c1;
  --yellow: #ffe9a7;
  --lavender: #f3eeff;
  --card: #ffffff;
  --line: #eee8dc;
  --danger: #ff3b3b;
  --shadow: 0 18px 42px rgba(23, 37, 84, 0.11);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 182, 193, 0.2), transparent 26rem),
    radial-gradient(circle at 90% 2%, rgba(124, 92, 255, 0.11), transparent 22rem),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button {
  border: 0;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

#app {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: start center;
  padding: 14px;
  overflow-x: hidden;
}

.phone {
  width: min(100%, 430px);
  max-width: 430px;
  min-height: calc(100vh - 28px);
  min-height: calc(100dvh - 28px);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(238, 232, 220, 0.8);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.screen {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: calc(100vh - 30px);
  min-height: calc(100dvh - 30px);
  padding: 18px 18px 22px;
  overflow-x: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 12px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 780;
  line-height: 1.05;
  min-width: 0;
}

.brand > span {
  min-width: 0;
  display: block;
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
}

.brand-logo {
  display: block;
  width: 116px;
  height: 38px;
  object-fit: contain;
  object-position: left center;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}

.icon-btn,
.soft-btn,
.share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border: 1px solid rgba(238, 232, 220, 0.9);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 37, 84, 0.07);
}

.icon-btn {
  width: 36px;
  border-radius: 999px;
}

.more-btn {
  display: inline-grid;
  place-items: center;
  padding: 0 0 4px;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 1px;
}

.soft-btn,
.share-chip {
  border-radius: 999px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.soft-btn.is-confirmed {
  border-color: #172554;
  background: #172554;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 37, 84, 0.18);
}

.back-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 25px;
}

.page-title {
  margin: 18px auto 8px;
  max-width: 360px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.08;
}

.subtitle {
  margin: 0 auto 18px;
  max-width: 310px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.upload-brand-top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 54px;
}

.upload-brand-top .brand {
  justify-content: center;
}

.upload-brand-top .back-btn {
  justify-self: start;
}

.upload-zone {
  width: 100%;
  display: grid;
  justify-items: center;
  align-content: center;
  margin: 12px 0 14px;
  padding: 18px 16px;
  min-height: 174px;
  border: 2px dashed rgba(124, 92, 255, 0.45);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 253, 248, 0.58));
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82);
}

.upload-zone svg {
  color: var(--primary);
}

.upload-prompt {
  position: relative;
  display: grid;
  justify-items: center;
}

.upload-picker {
  position: relative;
  overflow: hidden;
}

.native-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 20;
  font-size: 100px;
}

.upload-picker svg,
.upload-picker span {
  pointer-events: none;
}

.upload-zone h2 {
  margin: 10px 0 4px;
  font-size: 16px;
  line-height: 1.2;
}

.upload-zone p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.upload-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 326px);
  margin-top: 14px;
}

.upload-actions .soft-btn {
  min-height: 42px;
  padding: 0 10px;
  border-color: rgba(232, 224, 209, 0.95);
  background: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  box-shadow: 0 10px 20px rgba(23, 37, 84, 0.06);
  cursor: pointer;
}

.upload-actions .soft-btn svg {
  flex: 0 0 auto;
}

.add-drawings-screen .page-title {
  margin-top: 34px;
  font-size: 31px;
  line-height: 1.1;
}

.add-drawings-screen .subtitle {
  max-width: 285px;
  margin-bottom: 20px;
  line-height: 1.48;
}

.compact-upload-zone {
  min-height: 210px;
  width: 100%;
  margin-top: 0;
  margin-bottom: 14px;
  padding: 22px 18px 18px;
  border-style: dashed;
  border-color: rgba(124, 92, 255, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 242, 0.66));
  box-shadow: 0 16px 34px rgba(23, 37, 84, 0.055);
}

.compact-upload-zone svg {
  width: 40px;
  height: 40px;
}

.compact-upload-zone h2 {
  margin-top: 14px;
  font-size: 18px;
}

.compact-upload-zone p {
  line-height: 1.4;
  font-size: 13px;
}

.compact-upload-zone .upload-actions {
  margin-top: 18px;
  width: min(100%, 330px);
  gap: 12px;
}

.compact-upload-zone .upload-actions .soft-btn {
  white-space: normal;
  min-width: 0;
  padding-inline: 12px;
  min-height: 44px;
  border-radius: 14px;
  font-size: 13px;
}

.compact-upload-zone .upload-actions .soft-btn svg {
  width: 20px;
  height: 20px;
}

.add-drawings-screen .section-label {
  justify-content: center;
  margin-top: 4px;
  margin-bottom: 30px;
}

.add-drawings-screen .primary-btn {
  min-height: 56px;
  border-radius: 999px;
  position: relative;
  z-index: 2;
  margin-top: 22px;
  box-shadow: 0 16px 30px rgba(124, 92, 255, 0.18);
}

.add-drawings-screen {
  padding-bottom: 126px;
}

.add-drawings-screen .section-label > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.add-drawings-screen .tiny-hint {
  display: none;
}

.upload-action-stack {
  margin-top: 8px;
}

.add-drawings-screen {
  padding: 18px 30px 34px;
}

.add-drawings-screen .thumb-grid {
  margin-bottom: 4px;
}

.add-drawings-screen .bottom-note {
  width: 100%;
  margin: 18px auto 0;
  padding: 17px 18px;
  border-radius: 18px;
  background: rgba(248, 243, 255, 0.52);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.upload-empty-guide {
  width: 100%;
  display: grid;
  gap: 15px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(232, 224, 209, 0.9);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(248, 243, 255, 0.68), rgba(255, 252, 246, 0.94));
  box-shadow: 0 12px 26px rgba(23, 37, 84, 0.045);
}

.upload-guide-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.upload-guide-heading > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 7px 16px rgba(124, 92, 255, 0.1);
}

.upload-guide-heading strong {
  display: block;
  margin: 1px 0 3px;
  color: var(--ink);
  font-size: 14px;
}

.upload-guide-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

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

.upload-guide-step {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(232, 224, 209, 0.82);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.76);
}

.upload-guide-number {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eee8ff;
  color: #684be4;
  font-size: 12px;
  font-weight: 850;
}

.upload-guide-step strong,
.upload-guide-step small {
  display: block;
}

.upload-guide-step strong {
  margin: 1px 0 3px;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.25;
}

.upload-guide-step small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.upload-guide-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  color: #747b8e;
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}

.upload-guide-privacy svg {
  flex: 0 0 auto;
}

.adjust-screen {
  min-height: calc(100dvh - 16px);
  display: grid;
  grid-template-rows: auto auto minmax(380px, 500px) auto auto;
  align-content: start;
  padding: 22px 24px 38px;
  background: #fffdfa;
}

.adjust-topbar {
  min-height: 42px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
}

.adjust-topbar h1 {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(19px, 5vw, 23px);
  line-height: 1.15;
  font-weight: 820;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adjust-help-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #596078;
  box-shadow: none;
}

.adjust-subtitle {
  max-width: 330px;
  margin: 8px auto 20px;
  font-size: 15px;
  line-height: 1.4;
}

.corner-editor {
  position: relative;
  width: 100%;
  height: clamp(380px, 48dvh, 480px);
  min-height: 380px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px solid rgba(232, 224, 209, 0.82);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 242, 0.72)),
    #fffdf8;
  box-shadow: 0 12px 26px rgba(23, 37, 84, 0.055);
  touch-action: none;
}

.corner-image {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(23, 37, 84, 0.09);
  user-select: none;
  pointer-events: none;
}

.corner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.corner-overlay polygon {
  fill: rgba(124, 92, 255, 0.06);
  stroke: #7c5cff;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.corner-handle {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(var(--handle-angle, 0deg));
  touch-action: none;
}

.corner-handle:not(.edge-handle) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.corner-handle:not(.edge-handle)::before,
.corner-handle:not(.edge-handle)::after {
  content: "";
  position: absolute;
  background: #7c5cff;
  border-radius: 999px;
  box-shadow: 0 2px 7px rgba(23, 37, 84, 0.16);
}

.corner-handle:not(.edge-handle)::before {
  width: 18px;
  height: 4px;
}

.corner-handle:not(.edge-handle)::after {
  width: 4px;
  height: 18px;
}

.corner-top-left::before {
  left: 50%;
  top: calc(50% - 2px);
}

.corner-top-left::after {
  left: calc(50% - 2px);
  top: 50%;
}

.corner-top-right::before {
  right: 50%;
  top: calc(50% - 2px);
}

.corner-top-right::after {
  left: calc(50% - 2px);
  top: 50%;
}

.corner-bottom-right::before {
  right: 50%;
  top: calc(50% - 2px);
}

.corner-bottom-right::after {
  left: calc(50% - 2px);
  bottom: 50%;
}

.corner-bottom-left::before {
  left: 50%;
  top: calc(50% - 2px);
}

.corner-bottom-left::after {
  left: calc(50% - 2px);
  bottom: 50%;
}

.corner-handle.edge-handle {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.corner-handle.edge-handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 12px;
  border: 2px solid #7c5cff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 14px rgba(23, 37, 84, 0.14);
  transform: translate(-50%, -50%);
}

.corner-handle.vertical-edge::before {
  width: 12px;
  height: 34px;
}

.corner-handle.is-dragging {
  transform: translate(-50%, -50%) rotate(var(--handle-angle, 0deg)) scale(1.08);
}

.corner-loupe {
  position: absolute;
  z-index: 5;
  display: none;
  border: 3px solid rgba(124, 92, 255, 0.92);
  border-radius: 999px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(23, 37, 84, 0.2);
  pointer-events: none;
}

.corner-loupe-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.corner-loupe::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.94);
  transform: translate(-50%, -50%);
}

.corner-loupe::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-color: rgba(124, 92, 255, 0.92);
  border-style: solid;
  border-width: 0;
}

.corner-loupe[data-corner="topLeft"]::after,
.corner-loupe[data-corner="topEdge"]::after,
.corner-loupe[data-corner="leftEdge"]::after {
  border-top-width: 2px;
  border-left-width: 2px;
}

.corner-loupe[data-corner="topRight"]::after,
.corner-loupe[data-corner="rightEdge"]::after {
  border-top-width: 2px;
  border-right-width: 2px;
  transform: translateX(-100%);
}

.corner-loupe[data-corner="bottomRight"]::after,
.corner-loupe[data-corner="bottomEdge"]::after {
  border-right-width: 2px;
  border-bottom-width: 2px;
  transform: translate(-100%, -100%);
}

.corner-loupe[data-corner="bottomLeft"]::after {
  border-left-width: 2px;
  border-bottom-width: 2px;
  transform: translateY(-100%);
}

.corner-loupe.is-visible {
  display: block;
}

.corner-progress-block {
  display: grid;
  place-items: center;
  gap: 7px;
  margin: 18px 0 16px;
  color: var(--muted);
  text-align: center;
}

.corner-progress-block strong {
  color: #5f667b;
  font-size: 15px;
  font-weight: 800;
}

.corner-progress-block p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}

.corner-progress-block svg {
  color: #80879b;
}

.corner-choice-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-self: start;
  position: relative;
  bottom: auto;
  z-index: 20;
  padding-top: 2px;
  background: transparent;
}

.corner-action {
  min-height: 58px;
  border: 1.5px solid rgba(80, 73, 170, 0.72);
  border-radius: 15px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(23, 37, 84, 0.055);
}

.corner-action-original {
  background: rgba(255, 255, 255, 0.96);
}

.corner-action-crop {
  background: rgba(255, 255, 255, 0.96);
}

.corner-action-clean {
  min-height: 88px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 13px 18px;
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 30px rgba(124, 92, 255, 0.24);
}

.corner-action-mainline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.corner-action-mainline em {
  padding: 5px 8px;
  border-radius: 7px;
  background: #ffffff;
  color: #7357ed;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
}

.corner-action-clean small {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

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

.corner-secondary-actions .corner-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.corner-secondary-actions svg {
  flex: 0 0 auto;
  color: #6654e8;
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.tiny-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.thumb {
  aspect-ratio: 1.15 / 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--lavender);
  border: 1px solid rgba(238, 232, 220, 0.95);
}

.thumb img,
.edit-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb img {
  pointer-events: none;
}

.remove-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(226, 216, 196, 0.82);
  background: rgba(255, 253, 248, 0.86);
  color: #24304f;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(23, 37, 84, 0.08);
  z-index: 10;
  touch-action: manipulation;
  pointer-events: auto;
}

.primary-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 850;
  box-shadow: 0 14px 26px rgba(124, 92, 255, 0.28);
}

.primary-btn:disabled {
  opacity: 1;
  background: #d8cffd;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  cursor: not-allowed;
}

.primary-btn.is-loading {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 14px 26px rgba(124, 92, 255, 0.22);
}

.ghost-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 750;
}

.profile-prompt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  align-items: center;
  padding: 18px;
  background: rgba(23, 37, 84, 0.3);
  backdrop-filter: blur(8px);
}

.profile-prompt {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  max-height: calc(100dvh - 42px);
  overflow: auto;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 50px rgba(23, 37, 84, 0.18);
}

.profile-prompt h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.1;
  text-align: center;
}

.profile-prompt > p {
  margin: 8px auto 18px;
  max-width: 280px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}

.profile-prompt .field {
  margin-bottom: 14px;
}

.profile-prompt .count {
  display: none;
}

.profile-prompt-actions {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 10px;
  margin-top: 8px;
}

.profile-prompt-actions .primary-btn,
.profile-prompt-actions .ghost-btn {
  min-height: 52px;
  border-radius: 999px;
}

.bottom-note {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.progress-ring {
  width: 172px;
  height: 172px;
  margin: 34px auto 18px;
  display: grid;
  place-items: center;
  position: relative;
}

.progress-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.progress-ring .wand {
  width: 68px;
  height: 68px;
  color: var(--primary);
}

.process-count {
  text-align: center;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
}

.processing-screen {
  padding: 18px 30px 28px;
}

.processing-screen .topbar {
  margin-bottom: 48px;
}

.processing-screen .page-title {
  max-width: 330px;
  margin: 24px auto 12px;
  font-size: 29px;
  line-height: 1.12;
}

.processing-screen .subtitle {
  max-width: 318px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.processing-hero-art {
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.processing-hero-art svg {
  width: min(100%, 260px);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(124, 92, 255, 0.08));
}

.process-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(238, 232, 220, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(23, 37, 84, 0.065);
}

.process-steps::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 38px;
  bottom: 38px;
  width: 2px;
  background: #eee6da;
}

.process-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 32px 1fr 22px;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  color: #8a90a0;
  font-size: 14px;
  font-weight: 620;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f5efe6;
  color: #a2a6b2;
  font-size: 13px;
  font-weight: 800;
}

.process-step strong {
  font-weight: 720;
}

.process-step svg {
  width: 19px;
  height: 19px;
  color: #24b26b;
}

.process-step.is-done {
  color: #667085;
}

.process-step.is-done span {
  background: #bff0c9;
  color: #167443;
}

.process-step.is-active {
  color: var(--ink);
}

.process-step.is-active span {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 8px 18px rgba(124, 92, 255, 0.24);
}

.checklist,
.panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(238, 232, 220, 0.9);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(23, 37, 84, 0.07);
}

.checklist {
  padding: 18px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 750;
}

.dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  flex: 0 0 24px;
  color: white;
  background: var(--primary);
  font-size: 14px;
}

.dot.todo {
  background: white;
  border: 2px solid var(--line);
  color: transparent;
}

.dot.active {
  border: 4px solid #d8cfff;
  background: var(--primary);
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.92);
  }
  50% {
    transform: scale(1.06);
  }
}

.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(243, 238, 255, 0.82), rgba(255, 247, 234, 0.78));
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.processing-note {
  justify-content: center;
  margin: 22px auto 0;
  min-height: 54px;
  border-radius: 18px;
  background: rgba(248, 243, 255, 0.55);
  color: var(--muted);
  font-weight: 620;
  text-align: center;
}

.gallery-kicker {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.gallery-screen {
  padding: 20px 16px 22px;
  background: linear-gradient(180deg, #fffdf9 0%, #fffaf3 100%);
}

.gallery-screen .topbar {
  margin-bottom: 18px;
}

.example-gallery-top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 54px;
  margin-bottom: 42px;
}

.example-gallery-top .brand {
  justify-content: center;
}

.example-gallery-top .back-btn {
  justify-self: start;
}

.example-detail-preview {
  margin: 20px 0 24px;
}

.example-detail-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.example-detail-card {
  padding: 14px;
  border: 1px solid rgba(231, 222, 206, 0.92);
  border-radius: 24px;
  background: rgba(255, 248, 238, 0.72);
  box-shadow: 0 12px 28px rgba(23, 37, 84, 0.06);
}

.example-detail-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  border-radius: 18px;
  object-fit: cover;
}

.example-detail-card h2 {
  margin: 16px 0 6px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.12;
}

.example-detail-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.example-detail-note {
  margin: 14px 0 0;
  padding: 16px;
  border: 1px solid rgba(238, 232, 220, 0.9);
  border-radius: 17px;
  background: rgba(255, 253, 248, 0.62);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.gallery-heading {
  margin: 0 auto 12px;
  max-width: 100%;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 8vw, 32px);
  line-height: 1.06;
  white-space: normal;
}

.gallery-heart {
  color: #c7a0ff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.gallery-sub {
  margin: 0 0 12px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
}

.gallery-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 16px;
  max-width: 350px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.gallery-status svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: 0 0 auto;
}

.gallery-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 8px 13px;
  border: 1px solid rgba(238, 232, 220, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: #6b7280;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.gallery-privacy-note svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex: 0 0 auto;
}

.stat-row,
.gallery-action-row {
  display: grid;
  grid-template-columns: minmax(122px, 0.72fr) 1fr;
  gap: 9px;
  margin-bottom: 12px;
}

.gallery-action-row.readonly {
  grid-template-columns: minmax(122px, 160px);
  justify-content: center;
}

.stat {
  min-height: 66px;
  border-radius: 14px;
  background: rgba(255, 247, 234, 0.7);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  border: 1px solid rgba(238, 232, 220, 0.85);
  font-size: 12px;
  font-weight: 760;
}

.stat strong {
  display: block;
  font-size: 21px;
  margin-bottom: 2px;
}

.filters {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 2px 0 14px;
  scrollbar-width: none;
}

.gallery-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 9px 12px;
  border: 1px solid rgba(238, 232, 220, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.success-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 46px);
  margin: 0 auto 14px;
  padding: 8px 13px;
  border: 1px solid rgba(124, 92, 255, 0.14);
  border-radius: 999px;
  background: rgba(248, 243, 255, 0.58);
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  box-shadow: none;
  white-space: nowrap;
}

.success-note svg {
  color: var(--primary);
  flex: 0 0 auto;
}

.gallery-screen .gallery-note {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.filter.active {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 12px;
  min-width: 0;
}

.art-card {
  min-width: 0;
  overflow: hidden;
  padding: 7px 7px 10px;
  border-radius: 16px;
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid rgba(222, 211, 192, 0.82);
  box-shadow: 0 8px 18px rgba(72, 52, 28, 0.055);
}

.art-image {
  aspect-ratio: 4 / 3;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(226, 216, 196, 0.88);
  border-radius: 14px;
  background: #faf4ea;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 5px 12px rgba(72, 52, 28, 0.05);
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
}

.art-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
  border: 1px solid rgba(180, 160, 120, 0.25);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 4px 12px rgba(60, 40, 20, 0.06);
  transform: none;
}

.art-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 4px;
  padding: 8px 2px 0;
}

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

.art-title {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art-date {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kebab {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  box-shadow: none;
  justify-self: end;
  align-self: center;
  min-width: 0;
}

.sticky-cta {
  position: sticky;
  bottom: -22px;
  z-index: 18;
  margin: auto -18px -22px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, 0.82);
  border-top: 1px solid rgba(238, 232, 220, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sticky-cta .primary-btn {
  min-height: 54px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(124, 92, 255, 0.24);
}

.empty {
  min-height: calc(100vh - 160px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding-bottom: 80px;
}

.empty > svg {
  width: 160px;
  height: 160px;
}

.empty h2 {
  margin: 18px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.empty p {
  margin: 0;
  max-width: 260px;
  color: var(--muted);
  line-height: 1.5;
}

.empty-start {
  position: relative;
  min-height: auto;
  align-content: start;
  gap: 0;
  padding: 46px 0 14px;
}

.empty-start h2 {
  max-width: 338px;
  margin: 0 auto 10px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: 0;
}

.empty-start > p {
  max-width: 330px;
  margin: 0 auto;
  color: #5f6675;
  font-size: 15px;
  line-height: 1.48;
}

.empty-cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  margin: 24px auto 18px;
}

.empty-main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  border-radius: 999px;
  font-size: 15px;
}

.empty-main-cta svg,
.empty-secondary-cta svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.empty-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  font-size: 15px;
  font-weight: 820;
  box-shadow: none;
}

.empty-comparison {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  width: 100%;
  margin: 0 auto 16px;
  padding: 10px;
  border: 1px solid rgba(238, 232, 220, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(23, 37, 84, 0.08);
}

.empty-example {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.82;
  border-radius: 16px;
  background: #fff9ef;
}

.empty-example span {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(23, 37, 84, 0.08);
}

.empty-example.after span {
  left: auto;
  right: 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
}

.empty-example img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.empty-example.before img {
  filter: saturate(0.72) contrast(0.86) brightness(0.98);
  transform: scale(1.08) rotate(-1deg);
  opacity: 0.88;
}

.empty-example.after img {
  filter: saturate(1.15) contrast(1.05);
}

.empty-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 22px rgba(23, 37, 84, 0.13);
}

.empty-arrow svg {
  width: 22px;
  height: 22px;
}

.empty-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  margin: 0 auto 14px;
  padding: 12px 9px;
  border: 1px solid rgba(238, 232, 220, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.empty-steps div {
  min-width: 0;
}

.empty-steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 7px;
  border-radius: 16px;
  background: #f3eeff;
  color: var(--primary);
}

.empty-steps span svg {
  width: 19px;
  height: 19px;
}

.empty-steps div:nth-child(2) span {
  background: #fff3c9;
  color: #7c5a00;
}

.empty-steps div:nth-child(3) span {
  background: #ffe6f0;
  color: #a02f68;
}

.empty-steps div:nth-child(4) span {
  background: #e5f5ff;
  color: #1b5b91;
}

.empty-steps strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
}

.empty-steps p {
  margin: 4px auto 0;
  max-width: 74px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.empty-privacy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: min(100%, 314px);
  min-height: 42px;
  margin: 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(238, 232, 220, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
}

.empty-privacy svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: 0 0 auto;
}

.landing-screen {
  width: 100%;
  max-width: 100%;
  min-height: auto;
  padding: 26px 24px 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 96% 0%, rgba(196, 181, 253, 0.13), transparent 31%),
    radial-gradient(circle at 3% 18%, rgba(255, 182, 193, 0.08), transparent 32%),
    linear-gradient(180deg, #fffdf9 0%, #fffaf4 100%);
}

.landing-page {
  color: var(--ink);
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 410px;
  margin: 0 auto 34px;
}

.landing-brand .brand-icon {
  width: 36px;
  height: 36px;
}

.landing-brand {
  justify-content: flex-start;
  flex: 1 1 auto;
}

.landing-brand > span {
  overflow: visible;
  font-size: 16px;
  white-space: nowrap;
}

.landing-brand small {
  overflow: visible;
  font-size: 10px;
  white-space: nowrap;
}

.landing-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  width: auto;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-menu button {
  border: 0;
  background: transparent;
  color: var(--ink);
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
  opacity: 0.78;
  white-space: nowrap;
  box-shadow: none;
}

.landing-menu button:active {
  background: rgba(243, 238, 255, 0.72);
  opacity: 1;
}

.landing-main-cta {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: #10213d !important;
  color: white !important;
  box-shadow: 0 16px 32px rgba(16, 33, 61, 0.2) !important;
}

.landing-hero {
  margin-bottom: 26px;
}

.landing-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff0da;
  color: #4b5563;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

.landing-pill svg {
  width: 16px;
  height: 16px;
  color: #f59e0b;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.landing-copy h1 {
  max-width: 370px;
  margin: 0 auto;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 8.2vw, 38px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.landing-copy p {
  max-width: 330px;
  margin: 16px auto 22px;
  color: #344155;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.5;
}

.landing-main-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 276px);
  min-width: 0;
  margin: 0 auto 2px;
  font-size: 15.5px;
  font-weight: 800;
}

.landing-main-cta svg {
  width: 20px;
  height: 20px;
}

.landing-preview {
  position: relative;
  min-height: auto;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
}

.landing-comparison {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(238, 230, 218, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 38px rgba(31, 42, 68, 0.075);
}

.landing-compare-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.16 / 0.8;
  border-radius: 17px;
  background: #fff7ea;
}

.landing-compare-image img,
.landing-gallery-item img,
.landing-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-compare-image.is-after img {
  object-fit: contain;
  background: #ffffff;
}

.landing-compare-image span {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(31, 42, 68, 0.08);
}

.landing-compare-image.is-after span {
  left: auto;
  right: 6px;
  background: rgba(124, 92, 255, 0.86);
  color: white;
}

.landing-compare-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 24px rgba(31, 42, 68, 0.14);
}

.landing-compare-arrow svg {
  width: 20px;
  height: 20px;
}

.landing-section,
.landing-grow-section,
.landing-privacy-section,
.landing-final-cta {
  scroll-margin-top: 24px;
  margin-top: 16px;
  padding: 24px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(238, 230, 218, 0.9);
  box-shadow: 0 14px 30px rgba(31, 42, 68, 0.045);
}

.landing-section {
  text-align: center;
}

.landing-section h2,
.landing-grow-section h2,
.landing-privacy-section h2,
.landing-final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.08;
}

.landing-section > p,
.landing-final-cta p {
  margin: 7px auto 18px;
  max-width: 310px;
  color: #5f6675;
  line-height: 1.38;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-width: 330px;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  padding: 0;
}

.landing-steps div {
  min-width: 0;
}

.landing-steps span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #f3eeff;
  color: var(--primary);
}

.landing-steps div:nth-child(2) span {
  background: #fff3c9;
  color: #7c5a00;
}

.landing-steps div:nth-child(3) span {
  background: #e5f5ff;
  color: #1b5b91;
}

.landing-steps span svg {
  width: 20px;
  height: 20px;
}

.landing-steps strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
}

.landing-steps p {
  margin: 4px auto 0;
  max-width: 92px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.28;
}

.landing-grow-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, rgba(230, 247, 222, 0.72), rgba(255, 253, 248, 0.86));
}

.landing-grow-section ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #344155;
  font-size: 15px;
}

.landing-grow-section li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-grow-section li svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
}

.landing-gallery-card {
  padding: 18px;
  border: 1px solid #eee6da;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 36px rgba(31, 42, 68, 0.1);
  overflow: hidden;
}

.landing-gallery-head strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
}

.landing-gallery-head span {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.landing-gallery-head p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 12px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.35;
}

.landing-gallery-head svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex: 0 0 auto;
}

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

.landing-gallery-item {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
}

.landing-gallery-item img {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 118px;
  border-radius: 12px;
  background: #fff7ea;
}

.landing-gallery-item h3 {
  margin: 6px 0 1px;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

.landing-gallery-item p {
  margin: 0;
  overflow: hidden;
  color: #6b7280;
  font-size: 10px;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-privacy-section {
  min-height: auto;
  background:
    linear-gradient(135deg, rgba(243, 238, 255, 0.85), rgba(255, 247, 234, 0.76));
  text-align: center;
}

.landing-privacy-list {
  display: grid;
  gap: 13px;
  max-width: 490px;
  margin: 18px auto 0;
}

.landing-privacy-list p {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.48;
}

.landing-privacy-list svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
  flex: 0 0 auto;
}

.landing-privacy-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 15px;
}

.landing-final-cta {
  text-align: center;
  background: linear-gradient(135deg, #fff3cf, #fffaf2);
}

@media (max-width: 760px) {
  .landing-menu {
    width: auto;
  }
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 28, 0.55);
  display: grid;
  align-items: end;
  z-index: 20;
}

.popover-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 30;
}

.menu-popover {
  position: absolute;
  padding: 6px;
  border: 1px solid #eee6da;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 37, 84, 0.12);
}

.menu-popover::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-left: 1px solid #eee6da;
  border-top: 1px solid #eee6da;
  transform: rotate(45deg);
}

.menu-popover.popover-above::before {
  top: auto;
  bottom: -5px;
  border: 0;
  border-right: 1px solid #eee6da;
  border-bottom: 1px solid #eee6da;
}

.sheet {
  background: white;
  border-radius: 30px 30px 0 0;
  padding: 20px 20px 26px;
  box-shadow: 0 -18px 34px rgba(8, 12, 28, 0.16);
}

.download-sheet {
  padding: 18px 20px 20px;
  border-radius: 28px 28px 0 0;
}

.download-sheet .ghost-btn {
  min-height: 44px;
  margin-top: 10px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid #eee6da;
  box-shadow: none;
  font-size: 15px;
  font-weight: 650;
}

.confirm-backdrop {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 37, 84, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.confirm-modal {
  width: 100%;
  max-width: 330px;
  padding: 24px 22px 20px;
  border: 1px solid rgba(238, 232, 220, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(23, 37, 84, 0.16);
  text-align: center;
}

.confirm-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #fee2e2;
  color: #ef4444;
}

.confirm-icon svg {
  width: 22px;
  height: 22px;
}

.confirm-modal h2 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 800;
}

.confirm-modal p {
  max-width: 230px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.confirm-cancel,
.confirm-delete {
  min-height: 44px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 760;
}

.confirm-cancel {
  border: 1px solid rgba(238, 232, 220, 0.95);
  background: rgba(255, 253, 248, 0.86);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 37, 84, 0.045);
}

.confirm-delete {
  background: linear-gradient(135deg, #ff4b4b, #ef3434);
  color: white;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.22);
}

.sheet-action {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  line-height: 1.2;
}

.sheet-action svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.sheet-action.danger {
  color: var(--danger);
  font-weight: 600;
}

.sheet hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 8px 0;
}

.menu-popover .sheet-action {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 9px;
}

.menu-popover.gallery-menu .sheet-action {
  min-height: 44px;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 10px;
}

.menu-popover.gallery-menu .sheet-action svg {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.menu-popover.gallery-menu .sheet-action.danger {
  color: #ef4444;
}

.menu-popover.gallery-menu::before {
  display: none;
}

.menu-popover.art-menu {
  padding: 6px;
  border-radius: 18px;
}

.menu-popover.art-menu .sheet-action {
  min-height: 43px;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 10px;
}

.menu-popover.art-menu .sheet-action svg {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.menu-popover.art-menu .sheet-action.danger {
  color: #ef4444;
}

.menu-popover.art-menu::before {
  display: none;
}

.menu-popover.detail-menu {
  padding: 8px;
  border-radius: 21px;
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.12);
}

.menu-popover.detail-menu .sheet-action {
  min-height: 50px;
  gap: 12px;
  font-size: 16px;
  padding: 0 12px;
}

.menu-popover.detail-menu .sheet-action svg {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
}

.menu-popover.detail-menu hr {
  margin: 5px 16px;
}

.menu-popover .sheet-action:hover {
  background: var(--lavender);
}

.menu-popover .sheet-action.danger:hover {
  background: #fff1f1;
}

.menu-popover hr {
  border: 0;
  border-top: 1px solid #eee6da;
  margin: 4px 12px;
}

.menu-popover .ghost-btn {
  min-height: 42px;
  margin-top: 6px;
}

.form-screen .top-title {
  flex: 1;
  text-align: center;
  font-weight: 850;
}

.form {
  margin-top: 22px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 16px;
  outline: none;
  padding: 16px;
  min-height: 56px;
}

.field select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) right 13px center / 7px 7px no-repeat,
    white;
  padding-right: 40px;
}

.birth-select-row {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 10px;
}

.field textarea {
  min-height: 94px;
  resize: vertical;
  line-height: 1.45;
}

.date-input-wrap {
  position: relative;
}

.date-input-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  color: var(--primary);
  pointer-events: none;
  transform: translateY(-50%);
}

.date-input-wrap input[type="date"] {
  padding-left: 48px;
  appearance: none;
  -webkit-appearance: none;
}

.date-display {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.count {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}

.preview-card {
  padding: 18px;
  text-align: center;
  background: linear-gradient(135deg, rgba(243, 238, 255, 0.9), rgba(255, 253, 248, 0.96));
  border: 1px solid #ded3ff;
  border-radius: 16px;
}

.preview-card h3 {
  margin: 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.preview-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
}

.edit-preview {
  width: 112px;
  height: 88px;
  margin: 6px auto 20px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}

.art-edit-form {
  margin-top: 30px;
  min-height: calc(100vh - 128px);
  display: flex;
  flex-direction: column;
}

.art-edit-form .edit-preview {
  width: min(100%, 230px);
  height: auto;
  aspect-ratio: 1.52 / 1;
  margin: 18px auto 34px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(23, 37, 84, 0.08);
}

.art-edit-form .field {
  margin-bottom: 22px;
}

.art-edit-form .field textarea {
  min-height: 118px;
}

.art-edit-form .primary-btn {
  margin-top: auto;
}

.form-button-gap {
  height: 14px;
}

.detail-screen {
  background: #fffdfa;
  color: var(--ink);
  min-height: calc(100vh - 28px);
}

.detail-frame {
  position: relative;
  padding: 24px 28px 28px;
  height: calc(100dvh - 28px);
  min-height: calc(100dvh - 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.detail-top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.detail-top button {
  color: var(--ink);
}

.detail-top .icon-btn {
  justify-self: end;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(238, 232, 220, 0.9);
  box-shadow: 0 8px 18px rgba(23, 37, 84, 0.08);
}

.detail-brand {
  justify-self: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  color: var(--ink);
  min-width: 0;
}

.detail-brand .brand-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.detail-brand small {
  color: var(--muted);
}

.detail-top-spacer {
  width: 44px;
  height: 44px;
}

.detail-art-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  object-fit: contain !important;
  object-position: center center;
  filter: drop-shadow(0 1px 1px rgba(23, 37, 84, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.detail-content {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 190px;
  gap: 18px;
  overflow: hidden;
  touch-action: pan-y;
}

.detail-art-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(229, 225, 218, 0.9);
  border-radius: 14px;
  background: #f7f5f1;
}

.detail-art-stage > .detail-art-image {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain !important;
  object-position: center center;
}

.detail-info {
  min-height: 190px;
  height: 190px;
  padding: 0;
  display: grid;
  align-content: start;
}

.detail-title-row {
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: start;
  gap: 14px;
}

.detail-info h1 {
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.detail-meta {
  max-width: 100%;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  word-break: normal;
}

.detail-note-wrap {
  margin-top: 16px;
}

.detail-note-box {
  margin: 0;
  max-width: 100%;
  min-height: calc(4 * 1.5em);
  max-height: calc(4 * 1.5em);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: rgba(23, 37, 84, 0.82);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.detail-pagination {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  justify-self: center;
  gap: 4px;
  width: min(100%, 190px);
  min-height: 46px;
  margin-top: 10px;
  padding: 3px;
  border: 1px solid rgba(229, 225, 218, 0.92);
  border-radius: 999px;
  background: rgba(247, 246, 243, 0.92);
}

.detail-pagination button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.detail-pagination button:last-child {
  justify-self: end;
}

.detail-pagination button:hover,
.detail-pagination button:focus-visible {
  background: #ffffff;
}

.detail-pagination button:disabled {
  cursor: default;
  opacity: 0.35;
}

.detail-pagination span {
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.detail-pagination strong {
  color: var(--ink);
  font: inherit;
}

.detail-heart {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #cdbdff;
  border: 1px solid rgba(238, 232, 220, 0.9);
  box-shadow: none;
  transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.detail-heart.is-favorite {
  color: var(--primary);
  box-shadow: 0 10px 22px rgba(124, 92, 255, 0.16);
}

.detail-heart:active {
  transform: scale(0.96);
}

.detail-heart svg {
  fill: currentColor;
  stroke-width: 0;
}

.share-hero {
  display: grid;
  justify-items: center;
  margin: -24px 0 8px;
  text-align: center;
}

.share-brand-logo {
  justify-content: center;
  margin-top: -2px;
}

.share-brand-logo .brand-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.share-brand-logo > span {
  display: block;
  text-align: left;
  font-size: 20px;
  line-height: 1.04;
}

.share-brand-logo small {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  line-height: 1;
}

.share-title {
  margin: 14px 0 6px;
  max-width: 350px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.share-card {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 14px;
  padding: 22px;
  border: 1px solid rgba(238, 232, 220, 0.92);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.5);
}

.share-card-primary {
  background: linear-gradient(135deg, rgba(248, 243, 255, 0.96), rgba(255, 250, 244, 0.78));
  border-color: rgba(227, 216, 255, 0.92);
  box-shadow: 0 14px 28px rgba(124, 92, 255, 0.07);
}

.share-card-secondary {
  background: rgba(255, 253, 248, 0.72);
  border-color: rgba(238, 230, 218, 0.95);
  box-shadow: 0 8px 20px rgba(23, 37, 84, 0.028);
}

.share-card-head h2 {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.share-card-head p {
  max-width: 100%;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.link-box,
.link-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.link-copy-row-soft,
.link-copy-row-muted {
  padding: 13px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(238, 232, 220, 0.8);
}

.link-copy-row-muted {
  background: rgba(255, 255, 255, 0.48);
}

.link-box {
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(243, 238, 255, 0.82);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.share-link-stack {
  display: grid;
  gap: 10px;
}

.link-box-primary {
  margin-top: 8px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(243, 238, 255, 0.92), rgba(255, 246, 252, 0.82));
  box-shadow: 0 12px 26px rgba(124, 92, 255, 0.1);
}

.family-link-card {
  border-radius: 20px;
}

.owner-link-card {
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(238, 232, 220, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  box-shadow: none;
}

.link-box-primary .soft-btn,
.email-save-form .soft-btn {
  min-height: 42px;
  padding-inline: 18px;
  background: white;
  font-size: 15px;
  font-weight: 650;
}

.share-card .soft-btn {
  min-height: 44px;
  min-width: 92px;
  padding-inline: 20px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
}

.share-card .soft-btn.is-confirmed {
  border-color: #172554;
  background: #172554;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 37, 84, 0.18);
}

.owner-link-card .soft-btn {
  min-height: 38px;
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 620;
}

.email-save-card {
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding: 0 18px;
  border: 1px solid rgba(238, 232, 220, 0.86);
  border-radius: 18px;
  border: 0;
  background: transparent;
}

.email-save-card strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.email-save-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.email-save-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.email-save-form input {
  min-width: 0;
  height: 48px;
  border: 1px solid rgba(238, 232, 220, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  outline: none;
}

.email-save-form input::placeholder {
  color: rgba(107, 114, 128, 0.52);
}

.email-save-form input:focus {
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.09);
}

.share-control-group {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(238, 232, 220, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.share-group-title {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.share-family-panel {
  margin-top: 10px;
  padding: 13px 14px 12px;
  border: 1px solid rgba(238, 232, 220, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 26px rgba(23, 37, 84, 0.035);
}

.link-box span,
.link-copy-row span {
  min-width: 0;
}

.link-box strong,
.link-box small,
.link-copy-row strong,
.link-copy-row small {
  display: block;
}

.link-copy-row strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.owner-link-card .link-copy-row strong {
  font-size: 16px;
  font-weight: 600;
  color: rgba(23, 37, 84, 0.88);
}

.link-box small,
.link-copy-row small {
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  margin: 4px 0 0;
}

.share-option {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
}

.share-option > span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-option span:first-child {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(238, 232, 220, 0.9);
  background: white;
  box-shadow: 0 7px 16px rgba(23, 37, 84, 0.035);
}

.share-option span:first-child svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.15;
}

.share-whatsapp span:first-child {
  color: #16a765;
  background: #f0fff7;
  border-color: rgba(22, 167, 101, 0.18);
}

.share-message span:first-child {
  color: #4667d8;
  background: #f4f6ff;
  border-color: rgba(70, 103, 216, 0.16);
}

.share-email span:first-child {
  color: #7c5cff;
  background: #f7f3ff;
  border-color: rgba(124, 92, 255, 0.16);
}

.share-more span:first-child {
  color: #172554;
  background: #fffaf0;
  border-color: rgba(238, 232, 220, 0.95);
}

.private-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid rgba(238, 232, 220, 0.9);
  border-bottom: 0;
}

.private-link-row strong,
.private-link-row small,
.private-link-row span {
  display: block;
}

.private-link-row strong {
  font-size: 13px;
}

.private-link-row .soft-btn {
  min-height: 40px;
  padding-inline: 18px;
}

.private-link-row small,
.private-link-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.private-link-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 0;
  padding: 12px 18px;
  border: 1px solid rgba(238, 232, 220, 0.68);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.36);
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.share-note svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.download-card {
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  gap: 13px;
  align-items: center;
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 248, 236, 0.58);
  border: 1px solid var(--line);
  text-align: left;
  color: var(--ink);
}

.download-card > span:last-child {
  justify-self: end;
  width: 28px;
  text-align: center;
  font-size: 22px;
  line-height: 1;
}

.download-card strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.download-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.download-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: white;
  background: #9b7cff;
}

.download-option {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  text-align: left;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.download-card.is-confirmed {
  border-color: #172554;
  background: #172554;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 37, 84, 0.18);
}

.download-card.is-confirmed p,
.download-card.is-confirmed strong {
  color: #ffffff;
}

.download-option + .download-option {
  margin-top: 10px;
}

.download-option .download-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.download-option strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
}

.download-option p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 420px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 30px 1fr 32px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(238, 232, 220, 0.95);
  border-radius: 18px;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(23, 37, 84, 0.14);
  z-index: 9999;
}

.phone > .toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  transform: none;
  width: auto;
  max-width: none;
}

.toast-status {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.toast-success .toast-status {
  background: #dcfce7;
  color: #16a34a;
}

.toast-error .toast-status {
  background: #fff1f2;
  color: #ef4444;
  border: 2px solid #ef4444;
}

.toast-message {
  min-width: 0;
  line-height: 1.25;
}

.toast-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  color: #667085;
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
}

@media (min-width: 720px) {
  #app {
    padding: 28px;
  }

  .phone,
  .screen,
  .detail-screen,
  .detail-frame {
    min-height: 844px;
  }

  .upload-zone {
    width: min(100%, 330px);
    margin-left: auto;
    margin-right: auto;
  }

  .add-drawings-screen .compact-upload-zone {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .screen {
    padding-inline: 14px;
  }

  .page-title,
  .gallery-heading {
    font-size: 24px;
  }

  .upload-actions,
  .stat-row {
    gap: 7px;
  }

  .upload-actions {
    width: 100%;
  }

  .upload-actions .soft-btn {
    font-size: 12px;
    padding: 0 6px;
  }

  .art-grid {
    gap: 9px;
  }

  .art-meta {
    padding: 8px 2px 0;
  }

  .art-title {
    font-size: 12px;
  }

  .gallery-heading {
    font-size: 25px;
  }
}

@media (max-width: 430px) {
  #app {
    min-height: 100dvh;
    padding: 0;
    background: var(--bg);
  }

  .phone {
    width: 100%;
    max-width: 430px;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .screen {
    min-height: 100dvh;
    padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  .gallery-screen {
    padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  }

  .landing-screen {
    padding: 18px 16px 24px;
  }

  .landing-nav {
    max-width: 100%;
    gap: 8px;
    margin-bottom: 28px;
  }

  .landing-brand .brand-icon {
    width: 34px;
    height: 34px;
  }

  .landing-brand > span {
    font-size: 15px;
  }

  .landing-brand small {
    font-size: 9px;
  }

  .landing-menu {
    gap: 5px;
  }

  .landing-menu button {
    min-height: 31px;
    padding: 0 8px;
    font-size: 11px;
  }

  .landing-pill {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .landing-copy h1 {
    max-width: 340px;
    font-size: clamp(31px, 9.2vw, 36px);
  }

  .landing-copy p {
    max-width: 318px;
    margin-top: 14px;
    margin-bottom: 20px;
    font-size: 14px;
  }

  .landing-main-cta {
    width: min(100%, 268px);
  }

  .landing-preview {
    max-width: 100%;
  }

  .topbar {
    gap: 8px;
  }

  .toolbar {
    gap: 6px;
  }

  .toolbar .soft-btn {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .brand {
    gap: 6px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .brand > span {
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
  }

  .brand small {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gallery-heading {
    font-size: clamp(25px, 8.2vw, 32px);
  }

  .gallery-status {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 13px;
  }

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

  .art-card {
    padding: 6px 6px 9px;
    border-radius: 16px;
  }

  .art-title {
    font-size: 12.5px;
  }

  .art-date {
    font-size: 11px;
  }

  .share-card {
    padding: 16px;
    border-radius: 22px;
  }

  .share-card-head h2 {
    font-size: 20px;
  }

  .share-card-head p {
    font-size: 14px;
  }

  .link-copy-row-soft,
  .link-copy-row-muted {
    padding: 11px 12px;
  }

  .share-card .soft-btn {
    min-width: 74px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .share-options {
    gap: 3px;
  }

  .share-option {
    font-size: 11px;
  }

  .share-option span:first-child {
    width: 38px;
    height: 38px;
  }

  .add-drawings-screen .primary-btn {
    margin-top: 22px;
  }

  .add-drawings-screen {
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
  }

  .adjust-screen {
    overflow: visible;
    grid-template-rows: auto auto minmax(350px, 45dvh) auto auto;
    padding: 18px 18px calc(30px + env(safe-area-inset-bottom));
  }

  .corner-editor {
    height: clamp(350px, 45dvh, 430px);
    min-height: 350px;
    max-height: 440px;
    overflow: hidden;
    padding: 28px;
    border-radius: 16px;
  }

  .corner-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    object-fit: contain !important;
  }

  .corner-progress-block {
    margin: 16px 0 14px;
  }

  .corner-choice-stack {
    margin-top: 0;
    gap: 11px;
  }

  .corner-action-clean {
    min-height: 84px;
  }

  .corner-secondary-actions {
    gap: 10px;
  }

  .corner-secondary-actions .corner-action {
    padding-inline: 10px;
  }

  .detail-frame {
    height: 100dvh;
    min-height: 100dvh;
    padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  }

  .detail-top {
    margin-bottom: 18px;
  }

  .detail-art-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
  }

  .detail-art-stage {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 8px;
  }

  .detail-content {
    grid-template-rows: minmax(0, 1fr) 190px;
    gap: 18px;
  }

  .detail-info {
    height: 190px;
    min-height: 190px;
    padding-top: 0;
  }

  .detail-info h1 {
    font-size: 25px;
  }

  .detail-note-wrap {
    margin-top: 14px;
  }

  .detail-note-box {
    font-size: 16px;
    line-height: 1.45;
    min-height: calc(4 * 1.45em);
    max-height: calc(4 * 1.45em);
  }

}

@media (max-width: 430px) {
  body.local-preview-frame #app {
    place-items: start center;
    padding: 8px;
  }

  body.local-preview-frame .phone {
    width: min(100%, 430px);
    min-height: calc(100dvh - 16px);
    border: 1px solid rgba(238, 232, 220, 0.82);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  body.local-preview-frame .screen {
    min-height: calc(100dvh - 16px);
  }
}








.gallery-empty-state {
  margin: 32px auto 0;
  width: min(100%, 520px);
  padding: 48px 24px;
  text-align: center;
  background: #fffaf2;
  border: 1px solid #eadfce;
  border-radius: 8px;
}

.gallery-empty-state h2 {
  margin: 0 0 8px;
  color: #142553;
  font-size: 24px;
}

.gallery-empty-state p {
  margin: 0;
  color: #697184;
}
/* Quiet gallery presentation: let the artwork lead. */
.gallery-screen {
  padding: 16px 16px 22px;
  background: #fffdfa;
}

.gallery-screen .topbar {
  min-height: 38px;
  margin-bottom: 14px;
  gap: 8px;
}

.gallery-screen .brand-logo {
  width: 100px;
  height: 32px;
}

.gallery-screen .brand-mark {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.gallery-screen .brand-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.gallery-screen .brand > span {
  font-size: 14px;
}

.gallery-screen .brand small {
  font-size: 9px;
}

.gallery-screen .toolbar {
  gap: 6px;
}

.gallery-screen .share-chip {
  min-height: 32px;
  padding: 0 10px;
  gap: 5px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(33, 45, 75, 0.06);
}

.gallery-screen .share-chip svg {
  width: 16px;
  height: 16px;
}

.gallery-screen .icon-btn {
  width: 32px;
  min-height: 32px;
  box-shadow: 0 4px 12px rgba(33, 45, 75, 0.06);
}

.gallery-screen .icon-btn svg {
  width: 16px;
  height: 16px;
}

.gallery-screen .gallery-heading {
  margin: 4px 8px 10px;
  text-align: left;
  font-family: inherit;
  font-size: clamp(25px, 7vw, 29px);
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.gallery-screen .gallery-heart {
  font-family: inherit;
}

.gallery-screen .gallery-sub {
  margin: 0 8px 7px;
  font-size: 14px;
}

.gallery-screen .gallery-status {
  gap: 6px;
  margin: 0 8px 18px;
  font-size: 12.75px;
  line-height: 1.35;
}

.gallery-screen .gallery-status svg {
  width: 15px;
  height: 15px;
}

.gallery-screen .art-grid {
  gap: 12px;
  padding-bottom: 6px;
}

.gallery-screen .art-card {
  padding: 8px 8px 9px;
  border: 1px solid rgba(226, 222, 214, 0.9);
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(23, 37, 84, 0.055);
}

.gallery-screen .art-image {
  padding: 5px;
  border: 0;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: none;
}

.gallery-screen .art-image img {
  border: 0;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.gallery-screen .art-meta {
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: end;
  gap: 4px;
  margin-top: 6px;
  padding: 8px 2px 0;
  border-top: 1px solid rgba(232, 229, 223, 0.9);
}

.gallery-screen .art-title {
  font-size: 13.25px;
  line-height: 1.18;
}

.gallery-screen .art-date {
  margin: 3px 0 0;
  font-size: 11.25px;
  line-height: 1.2;
}

.gallery-screen .kebab {
  width: 20px;
  height: 20px;
  align-self: end;
  margin-bottom: -2px;
  font-size: 18px;
}

.gallery-screen .gallery-privacy-note {
  gap: 6px;
  margin: 16px auto 0;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  font-size: 11.5px;
  line-height: 1.3;
}

.gallery-screen .gallery-privacy-note svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 390px) {
  .gallery-screen {
    padding-inline: 14px;
  }

  .gallery-screen .art-grid {
    gap: 10px;
  }

  .gallery-screen .art-card {
    padding: 7px 7px 8px;
  }

  .gallery-screen .art-image {
    padding: 4px;
  }
}

/* Cohesive, low-noise treatment for the remaining utility and onboarding pages. */
.topbar-centered,
.centered-brand-top {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
}

.topbar-centered .back-btn {
  justify-self: start;
}

.topbar-centered .top-title,
.centered-brand-top .brand {
  justify-self: center;
  text-align: center;
}

.centered-brand-top {
  min-height: 44px;
  margin-bottom: 28px;
}

.centered-brand-top .brand {
  justify-content: center;
  width: max-content;
  max-width: 100%;
}

.landing-screen {
  padding: 24px 20px 28px;
  background: #fffdfa;
}

.landing-nav {
  margin-bottom: 30px;
}

.landing-copy h1,
.landing-section h2,
.landing-grow-section h2,
.landing-privacy-section h2,
.landing-final-cta h2 {
  font-family: inherit;
  letter-spacing: -0.025em;
}

.landing-copy h1 {
  max-width: 350px;
  font-size: clamp(31px, 8vw, 36px);
  font-weight: 820;
  line-height: 1.04;
}

.landing-comparison,
.landing-section,
.landing-grow-section,
.landing-privacy-section,
.landing-final-cta,
.landing-gallery-card {
  box-shadow: none;
}

.landing-section,
.landing-grow-section,
.landing-privacy-section,
.landing-final-cta {
  border-color: rgba(229, 225, 218, 0.92);
  border-radius: 20px;
  background: #ffffff;
}

.landing-grow-section {
  background: #f7faf4;
}

.landing-privacy-section {
  background: #f8f6fb;
}

.landing-final-cta {
  background: #fbf8f2;
}

.landing-main-cta {
  box-shadow: 0 10px 22px rgba(16, 33, 61, 0.14) !important;
}

.processing-screen {
  padding: 18px 28px 28px;
  background: #fffdfa;
}

.processing-screen .page-title {
  margin-top: 20px;
  font-family: inherit;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.processing-hero-art svg {
  width: min(100%, 220px);
  filter: none;
}

.process-steps {
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
}

.processing-note {
  min-height: 48px;
  margin-top: 18px;
  border: 1px solid rgba(229, 225, 218, 0.9);
  border-radius: 14px;
  background: #f8f6fb;
}

.example-gallery-screen .example-gallery-top {
  margin-bottom: 24px;
}

.example-gallery-screen .example-detail-preview {
  margin: 22px 0 18px;
}

.example-gallery-screen .example-detail-label {
  margin-bottom: 9px;
  font-size: 12px;
}

.example-gallery-screen .example-detail-card {
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
}

.example-gallery-screen .example-detail-card img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #f7f5f1;
  object-fit: contain;
}

.example-gallery-screen .example-detail-card h2 {
  margin: 14px 4px 5px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.example-gallery-screen .example-detail-meta {
  margin-inline: 4px;
  font-size: 12.5px;
}

.example-gallery-screen .example-detail-note {
  margin: 12px 4px 3px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid rgba(229, 225, 218, 0.9);
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
}

.form-screen {
  padding: 18px 20px 26px;
  background: #fffdfa;
}

.form-screen .topbar {
  min-height: 42px;
}

.form-screen .top-title {
  font-size: 15px;
  font-weight: 780;
}

.form-screen .form {
  margin-top: 20px;
}

.form-screen .field {
  margin-bottom: 16px;
}

.form-screen .field input,
.form-screen .field textarea,
.form-screen .field select {
  min-height: 52px;
  padding: 14px;
  border-color: rgba(220, 217, 211, 0.96);
  border-radius: 12px;
  box-shadow: none;
}

.form-screen .field textarea {
  min-height: 104px;
}

.form-screen .date-input-wrap input[type="date"] {
  padding-left: 44px;
}

.form-screen .date-input-wrap svg {
  left: 14px;
  width: 18px;
  height: 18px;
}

.form-screen .preview-card {
  padding: 16px;
  border-color: rgba(220, 217, 211, 0.96);
  border-radius: 12px;
  background: #f8f7f4;
}

.form-screen .preview-card h3 {
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.form-screen .primary-btn {
  min-height: 52px;
  border-radius: 12px;
  background: #172554;
  box-shadow: none;
}

.form-screen .ghost-btn {
  min-height: 48px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.form-screen .art-edit-form {
  margin-top: 18px;
}

.form-screen .art-edit-form .edit-preview {
  width: min(100%, 210px);
  margin: 8px auto 24px;
  padding: 5px;
  border-radius: 12px;
  background: #f7f5f1;
  box-shadow: none;
}

.form-screen .art-edit-form .edit-preview img {
  border-radius: 7px;
  object-fit: contain;
}

.share-screen {
  padding: 18px 20px 28px;
  background: #fffdfa;
}

.share-screen .topbar-centered {
  margin-bottom: 0;
}

.share-hero {
  margin: -20px 0 16px;
}

.share-brand-logo .brand-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.share-brand-logo > span {
  font-size: 18px;
}

.share-title {
  margin-top: 12px;
  font-family: inherit;
  font-size: 27px;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.share-card {
  gap: 14px;
  margin-top: 12px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

.share-card-primary,
.share-card-secondary {
  background: #ffffff;
  box-shadow: none;
}

.share-card-head h2 {
  font-size: 19px;
  font-weight: 780;
}

.share-card-head p,
.email-save-card p {
  font-size: 13.5px;
}

.link-copy-row-soft,
.link-copy-row-muted {
  padding: 11px 12px;
  border-radius: 13px;
  background: #faf9f7;
}

.link-copy-row strong {
  font-size: 14px;
  font-weight: 700;
}

.link-copy-row small {
  font-size: 12px;
}

.share-card .soft-btn {
  min-width: 74px;
  min-height: 40px;
  padding-inline: 16px;
  font-size: 13px;
}

.share-option {
  gap: 6px;
  font-size: 12px;
}

.share-option span:first-child {
  width: 38px;
  height: 38px;
  box-shadow: none;
}

.email-save-card {
  padding: 0 2px;
}

.email-save-card strong {
  font-size: 14px;
  font-weight: 700;
}

.email-save-form input {
  height: 44px;
  border-radius: 12px;
  font-size: 13px;
}

.share-note {
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #faf9f7;
  font-size: 12.5px;
}

.download-card {
  margin-top: 12px;
  padding: 15px 16px;
  border-radius: 16px;
  background: #ffffff;
}

.download-card strong {
  font-size: 16px;
}

.download-card p {
  font-size: 13px;
}

@media (max-width: 390px) {
  .landing-screen,
  .processing-screen,
  .form-screen,
  .share-screen {
    padding-inline: 16px;
  }

  .landing-nav {
    gap: 8px;
  }

  .landing-menu button {
    padding-inline: 7px;
  }

  .share-card {
    padding: 16px;
  }
}
