:root {
  --ink: #231920;
  --muted: #8c7580;
  --rose: #ff5f93;
  --rose-deep: #e53668;
  --rose-soft: #ffe7ef;
  --cream: #fff8f1;
  --paper: rgba(255, 255, 255, .74);
  --paper-strong: rgba(255, 255, 255, .92);
  --line: rgba(255, 111, 154, .2);
  --shadow: 0 24px 80px rgba(181, 77, 113, .18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: #fff6f8;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 126, 168, .22), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(255, 219, 162, .28), transparent 35%),
    linear-gradient(180deg, #fffafc 0%, #fff2f6 46%, #fff8f2 100%);
  overflow-x: hidden;
}

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

button {
  border: 0;
}

.aurora,
.grain {
  position: fixed;
  inset: auto;
  pointer-events: none;
}

.aurora {
  z-index: -3;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  filter: blur(26px);
  opacity: .72;
  animation: floatGlow 7s ease-in-out infinite;
}

.aurora-rose {
  top: -92px;
  right: -90px;
  background: rgba(255, 93, 145, .28);
}

.aurora-cream {
  left: -120px;
  bottom: 8vh;
  background: rgba(255, 213, 137, .22);
  animation-delay: -2s;
}

.grain {
  z-index: -2;
  inset: 0;
  opacity: .48;
  background-image:
    radial-gradient(circle at 15px 16px, rgba(255, 86, 138, .07) 1px, transparent 1.7px),
    radial-gradient(circle at 38px 42px, rgba(230, 54, 104, .045) 1px, transparent 1.7px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.2));
}

.shell {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 18px 34px;
}

.hero {
  position: relative;
  padding: 18px 4px 20px;
  text-align: center;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.brand-pill,
.private-dot {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 105, 151, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(195, 73, 113, .08);
  color: #b63a62;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-pill {
  gap: 8px;
  padding: 0 13px;
}

.private-dot {
  padding: 0 12px;
  color: #a8896b;
  letter-spacing: .08em;
}

.bow-mini,
.bow-mark,
.upload-icon {
  position: relative;
  display: inline-block;
}

.bow-mini {
  width: 20px;
  height: 14px;
}

.bow-mini::before,
.bow-mini::after,
.bow-mark::before,
.bow-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  background: linear-gradient(135deg, #ff7eab, #f03e78);
  border-radius: 70% 38% 70% 38%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.bow-mini::before,
.bow-mark::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

.bow-mini::after,
.bow-mark::after {
  right: 0;
  transform: translateY(-50%) rotate(-135deg);
}

.kitty-mark {
  position: relative;
  width: 82px;
  height: 68px;
  margin: 0 auto 13px;
  border: 1px solid rgba(255, 107, 153, .22);
  border-radius: 38px 38px 34px 34px;
  background:
    radial-gradient(circle at 28% 58%, rgba(255, 156, 183, .24) 0 7px, transparent 8px),
    radial-gradient(circle at 72% 58%, rgba(255, 156, 183, .24) 0 7px, transparent 8px),
    rgba(255, 255, 255, .88);
  box-shadow:
    0 24px 60px rgba(219, 63, 112, .17),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.ear {
  position: absolute;
  top: -10px;
  width: 29px;
  height: 29px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255, 107, 153, .22);
  transform: rotate(45deg);
  z-index: -1;
}

.ear-left { left: 9px; border-radius: 9px 5px 9px 5px; }
.ear-right { right: 9px; border-radius: 5px 9px 5px 9px; }

.face-dot {
  position: absolute;
  top: 35px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b2025;
}

.face-dot.left { left: 27px; }
.face-dot.right { right: 27px; }

.bow-mark {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 32px;
  height: 22px;
  transform: rotate(10deg);
}

.bow-mark::before,
.bow-mark::after {
  width: 18px;
  height: 18px;
}

.bow-mark::after {
  right: -1px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 8.4vw, 60px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 900;
  color: #24161f;
}

.hero p {
  width: min(420px, 94%);
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.card,
.result-card {
  position: relative;
  border: 1px solid rgba(255, 116, 158, .18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.62)),
    rgba(255,255,255,.72);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.9);
}

.studio-card {
  padding: 16px;
}

.drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 254px;
  border-radius: 28px;
  border: 1.5px dashed rgba(234, 66, 113, .28);
  overflow: hidden;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 153, 185, .2), transparent 38%),
    linear-gradient(180deg, rgba(255,246,249,.92), rgba(255,255,255,.7));
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .28s, box-shadow .28s, background .28s;
}

.drop-zone::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.72);
  pointer-events: none;
}

.drop-zone:hover,
.drop-zone.dragging {
  transform: translateY(-2px);
  border-color: rgba(236, 57, 112, .55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 18px 42px rgba(225, 64, 112, .16);
}

.drop-zone:active {
  transform: scale(.992);
}

.drop-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

#preview {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 254px;
  object-fit: cover;
}

.drop-zone.has-image #preview {
  display: block;
}

.drop-zone.has-image .drop-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  min-height: auto;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 30px rgba(40, 20, 30, .12);
}

.drop-hint {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #9b7480;
}

.drop-hint strong {
  color: #251820;
  font-size: 21px;
  letter-spacing: -.03em;
}

.drop-hint span:last-child {
  font-size: 13px;
}

.upload-icon {
  width: 58px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 34%, #fff 0 5px, transparent 6px),
    linear-gradient(135deg, #ff8eb6, #f33f79);
  box-shadow: 0 18px 34px rgba(231, 60, 115, .22), inset 0 1px 0 rgba(255,255,255,.7);
}

.upload-icon::before,
.upload-icon::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 25px;
  height: 25px;
  background: #fff;
  border: 1px solid rgba(255, 123, 165, .32);
  transform: rotate(45deg);
  z-index: -1;
}

.upload-icon::before { left: 2px; border-radius: 8px 4px 8px 4px; }
.upload-icon::after { right: 2px; border-radius: 4px 8px 4px 8px; }

.field {
  margin-top: 18px;
}

.field > label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px 2px;
  color: #3a2530;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.field > label::before {
  content: "♡";
  color: #f04f83;
  font-size: 14px;
}

.field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

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

.mode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  align-items: center;
  gap: 2px 10px;
  min-height: 92px;
  padding: 17px 15px;
  border: 1px solid rgba(226, 121, 153, .22);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(98, 39, 58, .06);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s, background .2s, box-shadow .2s;
  overflow: hidden;
}

.mode-card::after,
.primary::after,
#copyButton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.62) 42%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .75s cubic-bezier(.2,.8,.2,1);
}

.mode-card:hover,
.mode-card.active {
  transform: translateY(-2px);
  border-color: rgba(237, 63, 119, .55);
  background: rgba(255, 246, 249, .92);
  box-shadow: 0 20px 42px rgba(217, 65, 111, .13);
}

.mode-card:active {
  transform: scale(.975);
}

.mode-card:hover::after,
.mode-card.active::after,
.primary:hover::after,
#copyButton:hover::after {
  transform: translateX(120%);
}

.mode-card.active::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 6px rgba(255, 95, 147, .12);
}

.mode-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff, #ffe3ec);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 20px rgba(236, 72, 123, .1);
}

.mode-card b {
  grid-area: title;
  font-size: 16px;
  letter-spacing: -.02em;
}

.mode-card small {
  grid-area: text;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-52%);
  color: #d93b70;
  font-size: 22px;
  pointer-events: none;
}

select,
textarea {
  width: 100%;
  border: 1px solid rgba(226, 121, 153, .24);
  border-radius: 22px;
  background: rgba(255,255,255,.76);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

select {
  height: 58px;
  padding: 0 48px 0 17px;
  appearance: none;
  -webkit-appearance: none;
}

textarea {
  min-height: 118px;
  padding: 17px;
  line-height: 1.65;
  resize: vertical;
}

select:focus,
textarea:focus {
  border-color: rgba(236, 61, 116, .56);
  background: rgba(255,255,255,.94);
  box-shadow: 0 0 0 5px rgba(255, 105, 151, .12);
}

textarea::placeholder {
  color: rgba(141, 112, 124, .62);
}

.primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  margin-top: 22px;
  padding: 0 20px;
  border-radius: 22px;
  color: white;
  font-weight: 900;
  letter-spacing: -.02em;
  cursor: pointer;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.38), transparent 24%),
    linear-gradient(135deg, #ff84ad 0%, #f13f79 48%, #ec346c 100%);
  box-shadow:
    0 20px 38px rgba(230, 57, 109, .28),
    inset 0 1px 0 rgba(255,255,255,.45);
  overflow: hidden;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, filter .2s;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 26px 48px rgba(230, 57, 109, .32),
    inset 0 1px 0 rgba(255,255,255,.52);
}

.primary:active {
  transform: scale(.982);
}

.primary:disabled {
  cursor: wait;
  opacity: .72;
  filter: saturate(.82);
}

.primary b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26);
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  transform: translate(-50%, -50%) scale(0);
  animation: sparklePop .56s ease-out forwards;
  pointer-events: none;
}

.status {
  min-height: 24px;
  margin-top: 13px;
  color: #a17d88;
  font-size: 13px;
  text-align: center;
  line-height: 1.65;
}

.status.error {
  color: #d9275f;
}

.result-card {
  margin-top: 18px;
  padding: 15px;
  transform-origin: top center;
  animation: cardIn .38s cubic-bezier(.2,.8,.2,1);
}

.hidden {
  display: none;
}

.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.result-heading span {
  color: #33212a;
  font-size: 15px;
  font-weight: 900;
}

#copyButton {
  position: relative;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 231, 239, .92);
  color: #d9346d;
  font-weight: 850;
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s, background .18s;
}

#copyButton:active {
  transform: scale(.94);
}

.kitty-progress {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 101, 150, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 203, 222, .9), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255, 242, 248, .84));
  box-shadow: 0 18px 40px rgba(230, 58, 122, .13), inset 0 1px 0 rgba(255,255,255,.88);
  animation: cardIn .28s cubic-bezier(.2,.8,.2,1);
}

.progress-top {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
}

.progress-charm {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ff8db7, #ff2f78);
  box-shadow: 0 10px 22px rgba(231, 42, 112, .22);
  animation: charmBounce 1.1s ease-in-out infinite;
}

.progress-top b {
  display: block;
  color: #2d1d25;
  font-size: 15px;
  font-weight: 950;
}

.progress-top small {
  display: block;
  margin-top: 2px;
  color: rgba(91, 58, 72, .72);
  font-size: 12px;
  line-height: 1.35;
}

.progress-top em {
  color: #d9346d;
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
}

.progress-track {
  position: relative;
  height: 14px;
  margin-top: 13px;
  overflow: visible;
  border-radius: 999px;
  background: rgba(255, 216, 229, .82);
  box-shadow: inset 0 2px 5px rgba(179, 65, 101, .12);
}

.progress-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.58) 22%, transparent 44%),
    linear-gradient(90deg, #ff8db4, #ff2f78, #ffb5cf);
  background-size: 70px 100%, 100% 100%;
  box-shadow: 0 8px 20px rgba(231, 42, 112, .26);
  transition: width .55s cubic-bezier(.2,.8,.2,1);
  animation: progressShimmer 1.05s linear infinite;
}

.progress-runner {
  position: absolute;
  top: 50%;
  left: -13px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: white;
  color: #ff2f78;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(231, 42, 112, .24);
  transition: left .55s cubic-bezier(.2,.8,.2,1);
  animation: runnerWiggle .85s ease-in-out infinite;
}

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.progress-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff7aa7;
  opacity: .45;
  animation: dotPulse 1s ease-in-out infinite;
}

.progress-dots span:nth-child(2) { animation-delay: .16s; }
.progress-dots span:nth-child(3) { animation-delay: .32s; }

.progress-safe {
  margin: 10px 0 0;
  color: rgba(117, 83, 96, .68);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.kitty-progress.done .progress-charm {
  animation: donePop .62s ease both;
}

.result {
  word-break: break-word;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 118px;
  max-height: 58vh;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(255, 129, 169, .18);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  color: #34222b;
  font-size: 15px;
  line-height: 1.75;
}

.caption-layout,
.title-layout {
  display: grid;
  gap: 14px;
}

.piece-card,
.title-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 118, 160, .18);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 210, 226, .72), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255, 248, 251, .9));
  box-shadow: 0 16px 35px rgba(224, 72, 125, .12), inset 0 1px 0 rgba(255,255,255,.88);
}

.piece-card {
  border-radius: 24px;
  padding: 16px;
}

.piece-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ff8db4, #ff2f78, #ffd1df);
}

.piece-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.piece-head h3 {
  margin: 0;
  color: #2b1d25;
  font-size: clamp(22px, 5.2vw, 30px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -.04em;
}

.piece-head h3::before {
  content: "🎀 ";
  font-size: .82em;
}

.piece-subtitle {
  margin: 0 0 12px;
  color: #21161d;
  font-size: clamp(21px, 5vw, 28px);
  line-height: 1.22;
  font-weight: 950;
  letter-spacing: -.04em;
}

.mini-copy {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 224, 236, .96);
  color: #d9346d;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.mini-copy:active {
  transform: scale(.94);
}

.piece-body {
  white-space: pre-wrap;
  color: #35222b;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.82;
  letter-spacing: .01em;
}

.title-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: 11px 12px;
  border-radius: 20px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.title-item:active {
  transform: scale(.985);
}

.title-item.copied {
  border-color: rgba(255, 47, 120, .42);
  box-shadow: 0 18px 36px rgba(224, 72, 125, .18), inset 0 1px 0 rgba(255,255,255,.9);
}

.title-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: linear-gradient(145deg, #ff8ab2, #ff2d78);
  color: white;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(231, 42, 112, .22);
}

.title-text {
  color: #291b23;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(13px, 3.45vw, 16px);
  line-height: 1.42;
  font-weight: 750;
  letter-spacing: -.02em;
  font-variant-emoji: emoji;
  overflow-wrap: normal;
  word-break: keep-all;
}

.title-copy {
  border: 0;
  border-radius: 999px;
  padding: 7px 8px;
  background: rgba(255, 224, 236, .96);
  color: #d9346d;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.title-copy:active {
  transform: scale(.94);
}

.copy-fallback {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(50, 27, 39, .28);
  backdrop-filter: blur(10px);
}

.copy-fallback-card {
  width: min(92vw, 430px);
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(93, 42, 65, .24);
}

.copy-fallback-card b {
  display: block;
  color: #2f2028;
  font-size: 18px;
  font-weight: 950;
}

.copy-fallback-card p {
  margin: 8px 0 12px;
  color: rgba(73, 47, 60, .72);
  font-size: 13px;
}

.copy-fallback-card textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(255, 112, 158, .28);
  border-radius: 18px;
  color: #2b1d25;
  background: rgba(255, 246, 250, .96);
  font: inherit;
  line-height: 1.55;
}

.copy-fallback-card button {
  width: 100%;
  margin-top: 12px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8db4, #ff2f78);
  color: white;
  font-weight: 950;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 6px 0;
  color: rgba(117, 83, 96, .72);
  font-size: 12px;
}

footer a {
  color: #d9346d;
  text-decoration: none;
  font-weight: 800;
}

.install-button {
  border: 0;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e94376, #bb315c);
  box-shadow: 0 8px 20px rgba(187, 49, 92, .22), inset 0 1px rgba(255,255,255,.35);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.install-button:active {
  transform: scale(.96);
}

.install-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(50, 27, 39, .3);
  backdrop-filter: blur(14px);
}

.install-card {
  width: min(92vw, 420px);
  padding: 26px 22px 22px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 30px;
  text-align: center;
  background: rgba(255, 250, 252, .96);
  box-shadow: 0 28px 80px rgba(95, 38, 61, .27);
  animation: cardIn .28s ease-out both;
}

.install-app-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 13px;
  border-radius: 22px;
  font-size: 34px;
  background: linear-gradient(145deg, #ff9cbc, #ed286b);
  box-shadow: 0 14px 28px rgba(235, 51, 109, .26), inset 0 1px 0 rgba(255,255,255,.6);
}

.install-card h2 {
  margin: 0;
  color: #2d2027;
  font-size: 22px;
}

.install-card p {
  margin: 10px 0 16px;
  color: rgba(72, 49, 60, .76);
  line-height: 1.65;
}

.fixed-address {
  padding: 12px;
  border-radius: 18px;
  color: #9b3156;
  background: #ffeaf1;
  font-size: 12px;
  line-height: 1.55;
}

.fixed-address strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.install-card > button {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #ff7ca7, #ef286d);
  font-weight: 900;
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(16px, -14px, 0) scale(1.08); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes charmBounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-4px) rotate(4deg); }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(.78); opacity: .35; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes progressShimmer {
  from { background-position: -70px 0, 0 0; }
  to { background-position: 90px 0, 0 0; }
}

@keyframes runnerWiggle {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-58%) scale(1.08); }
}

@keyframes donePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.16) rotate(-7deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes sparklePop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -76%) scale(2.4); }
}

@media (max-width: 560px) {
  .shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-top: 12px;
  }

  .brand-pill {
    letter-spacing: .08em;
    font-size: 11px;
  }

  .private-dot {
    font-size: 11px;
  }

  .studio-card {
    padding: 12px;
    border-radius: 30px;
  }

  .drop-zone {
    min-height: 230px;
  }

  #preview {
    min-height: 230px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: 82px;
  }

  .primary {
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   NINI ATELIER · premium editorial redesign
   Quiet Apple-like surfaces + cherry red American-vintage details
   ────────────────────────────────────────────────────────────── */
:root {
  --ink: #171415;
  --muted: #7f7773;
  --rose: #d82f57;
  --rose-deep: #ad193d;
  --rose-soft: #f8e8eb;
  --cream: #f4efe9;
  --paper: rgba(255, 253, 250, .86);
  --paper-strong: #fffdfa;
  --line: rgba(62, 48, 43, .11);
  --shadow: 0 26px 70px rgba(54, 39, 34, .10), 0 3px 10px rgba(54, 39, 34, .04);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

html {
  background: #f4efe9;
}

body {
  background:
    linear-gradient(90deg, transparent 0 49.84%, rgba(135, 41, 61, .035) 49.84% 50.16%, transparent 50.16%),
    radial-gradient(circle at 85% -5%, rgba(177, 30, 67, .13), transparent 29%),
    radial-gradient(circle at 5% 28%, rgba(209, 172, 128, .13), transparent 31%),
    linear-gradient(180deg, #f8f4ef 0%, #f1ebe5 100%);
}

.aurora {
  opacity: .38;
  filter: blur(48px);
}

.aurora-rose {
  background: rgba(165, 25, 59, .23);
}

.aurora-cream {
  background: rgba(187, 151, 102, .18);
}

.grain {
  opacity: .34;
  background-image:
    radial-gradient(circle at 13px 17px, rgba(32, 24, 22, .055) .7px, transparent 1px),
    radial-gradient(circle at 39px 44px, rgba(174, 25, 61, .04) .7px, transparent 1px);
  background-size: 52px 52px;
}

.shell {
  width: min(720px, 100%);
  padding: max(18px, env(safe-area-inset-top)) 16px 42px;
}

.hero {
  padding: 8px 3px 30px;
  text-align: left;
}

.hero-top {
  margin-bottom: 35px;
}

.brand-pill,
.private-dot {
  min-height: 31px;
  border-color: rgba(36, 27, 25, .1);
  background: rgba(255, 253, 250, .67);
  box-shadow: 0 8px 26px rgba(51, 36, 31, .045);
  color: #292223;
  font-size: 10px;
  letter-spacing: .15em;
}

.private-dot {
  gap: 7px;
  color: #6f6561;
}

.private-dot i,
.studio-intro > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cc284d;
  box-shadow: 0 0 0 4px rgba(204, 40, 77, .10);
}

.bow-mini::before,
.bow-mini::after,
.bow-mark::before,
.bow-mark::after {
  background: linear-gradient(135deg, #d83859, #a91438);
}

.kitty-mark {
  position: absolute;
  top: 72px;
  right: 7px;
  width: 68px;
  height: 58px;
  margin: 0;
  border-color: rgba(37, 28, 27, .12);
  background:
    radial-gradient(circle at 28% 58%, rgba(195, 36, 73, .12) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 58%, rgba(195, 36, 73, .12) 0 5px, transparent 6px),
    rgba(255, 253, 250, .78);
  box-shadow: 0 16px 38px rgba(61, 39, 35, .09), inset 0 1px rgba(255,255,255,.9);
  transform: rotate(3deg);
}

.kitty-mark .ear {
  border-color: rgba(37, 28, 27, .12);
  background: rgba(255, 253, 250, .82);
}

.kitty-mark .face-dot {
  top: 30px;
}

.hero-kicker {
  margin: 0 0 9px 2px;
  color: #b12045;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .22em;
}

.hero h1 {
  max-width: calc(100% - 80px);
  color: #171415;
  font-size: clamp(45px, 11vw, 72px);
  line-height: .78;
  font-weight: 800;
  letter-spacing: -.075em;
}

.hero h1 span {
  display: inline-block;
  margin-top: 15px;
  color: #6c6260;
  font-size: .53em;
  font-weight: 650;
  letter-spacing: -.045em;
}

.hero p {
  width: min(430px, 90%);
  margin: 22px 0 0 2px;
  color: #756d68;
  font-size: 14px;
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 19px 0 0 2px;
  color: #8b827d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-meta span {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hero-meta b {
  color: #2c2524;
  font-size: 15px;
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b9aaa2;
}

.card,
.result-card {
  border: 1px solid rgba(53, 42, 38, .095);
  background: rgba(255, 253, 250, .88);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(30px) saturate(1.08);
  -webkit-backdrop-filter: blur(30px) saturate(1.08);
}

.studio-card {
  padding: 12px;
}

.studio-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 8px 17px;
}

.studio-intro > div {
  display: grid;
  gap: 4px;
}

.studio-intro small {
  color: #a11d3e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .18em;
}

.studio-intro b {
  color: #201b1a;
  font-size: 15px;
  letter-spacing: -.025em;
}

.studio-intro > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #817771;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  white-space: nowrap;
}

.drop-zone {
  min-height: 225px;
  border: 1px solid rgba(55, 43, 39, .12);
  border-radius: 23px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.8), rgba(244, 235, 229, .62)),
    #faf6f1;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.42);
}

.drop-zone::before {
  inset: 9px;
  border: 1px dashed rgba(142, 42, 63, .20);
  border-radius: 18px;
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: rgba(168, 28, 60, .4);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.55), 0 18px 42px rgba(74, 45, 39, .10);
}

#preview {
  min-height: 225px;
}

.drop-hint {
  min-height: 165px;
  color: #8c817b;
}

.drop-hint strong {
  color: #201b1a;
  font-size: 19px;
  font-weight: 760;
}

.upload-icon {
  width: 52px;
  height: 45px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 34%, #fff 0 4px, transparent 5px),
    linear-gradient(145deg, #d64161, #9e1638);
  box-shadow: 0 13px 27px rgba(140, 24, 53, .19), inset 0 1px rgba(255,255,255,.5);
}

.field {
  margin-top: 24px;
  padding: 0 5px;
}

.field > label {
  margin: 0 0 10px 2px;
  color: #282220;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .015em;
}

.field > label::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border: 0;
  border-radius: 50%;
  background: #bd2348;
  font-size: 0;
  transform: none;
}

.mode-grid {
  gap: 9px;
}

.mode-card {
  min-height: 88px;
  padding: 15px 14px;
  border: 1px solid rgba(48, 38, 35, .10);
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  box-shadow: none;
}

.mode-card:hover,
.mode-card.active {
  border-color: rgba(148, 20, 51, .32);
  background: linear-gradient(145deg, #fff, #f8edef);
  box-shadow: 0 12px 28px rgba(77, 45, 40, .08), inset 0 1px #fff;
}

.mode-card.active::before {
  width: 7px;
  height: 7px;
  right: 12px;
  top: 12px;
  border: 0;
  background: #c12449;
  box-shadow: 0 0 0 5px rgba(193, 36, 73, .10);
}

.mode-card::after,
.primary::after {
  display: none;
}

.mode-card b {
  color: #241e1d;
  font-size: 15px;
  font-weight: 780;
}

.mode-card small {
  color: #887e78;
  font-size: 11px;
}

.select-wrap select,
.field textarea {
  border: 1px solid rgba(52, 41, 37, .11);
  border-radius: 17px;
  color: #241e1c;
  background: rgba(255,255,255,.67);
  box-shadow: inset 0 1px rgba(255,255,255,.82);
}

.select-wrap select:focus,
.field textarea:focus {
  border-color: rgba(174, 25, 61, .36);
  box-shadow: 0 0 0 4px rgba(174, 25, 61, .075), inset 0 1px #fff;
}

.primary {
  min-height: 61px;
  margin-top: 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% -40%, rgba(221, 58, 93, .8), transparent 37%),
    linear-gradient(135deg, #21191a 0%, #3a2026 64%, #a5193d 140%);
  box-shadow: 0 18px 34px rgba(47, 28, 29, .20), inset 0 1px rgba(255,255,255,.16);
  font-size: 15px;
  letter-spacing: .01em;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(47, 28, 29, .25), inset 0 1px rgba(255,255,255,.19);
}

.primary b {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.11);
}

.status {
  color: #8c817c;
  font-size: 11px;
}

.kitty-progress {
  border-color: rgba(53, 42, 38, .10);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(246,237,232,.86));
}

.progress-track {
  background: #e5dcd7;
}

#progressFill {
  background: linear-gradient(90deg, #261d1e, #9f1738, #d53b5e);
}

.result-card {
  margin-top: 18px;
}

.result-heading {
  border-bottom-color: rgba(55, 43, 39, .08);
}

.result-heading span {
  color: #211b1a;
  font-weight: 780;
}

.result-heading button,
.mini-copy,
.title-copy {
  color: #a31b3d;
  background: #f6e7ea;
  box-shadow: none;
}

.title-item,
.piece-card {
  border: 1px solid rgba(55, 43, 39, .085);
  background: rgba(255,255,255,.70);
  box-shadow: 0 7px 20px rgba(55, 40, 35, .045);
}

.title-num {
  background: linear-gradient(145deg, #302426, #97193a);
  box-shadow: 0 8px 17px rgba(86, 25, 39, .16);
}

footer {
  justify-content: center;
  padding-top: 22px;
  color: #9a8f89;
  font-size: 10px;
  letter-spacing: .06em;
}

@media (max-width: 560px) {
  .shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    padding-bottom: 23px;
  }

  .hero-top {
    margin-bottom: 29px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .kitty-mark {
    top: 66px;
    right: 5px;
    transform: scale(.9) rotate(3deg);
  }

  .studio-card {
    padding: 9px;
    border-radius: 26px;
  }

  .studio-intro {
    padding: 10px 8px 15px;
  }

  .drop-zone,
  #preview {
    min-height: 205px;
  }

  .mode-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mode-card {
    min-height: 88px;
  }

  .mode-icon {
    font-size: 20px;
  }

  .primary {
    min-height: 59px;
  }
}

@media (max-width: 365px) {
  .studio-intro > span {
    display: none;
  }

  .hero-meta {
    gap: 7px;
  }
}

/* ──────────────────────────────────────────────────────────────
   NINI BLACK PRO · reference language: premium black product page
   ────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --ink: #f5f5f7;
  --muted: #929298;
  --rose: #ff477a;
  --rose-deep: #e52d62;
  --rose-soft: rgba(255, 71, 122, .13);
  --cream: #000;
  --paper: rgba(17, 17, 19, .82);
  --paper-strong: #151517;
  --line: rgba(255,255,255,.105);
  --shadow: 0 34px 90px rgba(0,0,0,.52), 0 2px 10px rgba(0,0,0,.45);
}

html {
  background: #000;
}

body {
  color: #f5f5f7;
  background:
    radial-gradient(circle at 82% -8%, rgba(130, 30, 59, .28), transparent 28%),
    radial-gradient(circle at 8% 27%, rgba(68, 45, 53, .22), transparent 31%),
    linear-gradient(180deg, #000 0%, #050506 48%, #000 100%);
}

.aurora {
  opacity: .26;
  filter: blur(70px);
}

.aurora-rose {
  background: rgba(255, 42, 101, .34);
}

.aurora-cream {
  background: rgba(106, 67, 81, .24);
}

.grain {
  opacity: .15;
  background-image:
    radial-gradient(circle at 13px 17px, rgba(255,255,255,.12) .65px, transparent 1px),
    radial-gradient(circle at 39px 44px, rgba(255, 61, 116, .09) .65px, transparent 1px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.68), rgba(0,0,0,.12));
}

.brand-pill,
.private-dot {
  border-color: rgba(255,255,255,.11);
  color: #f0f0f2;
  background: rgba(26, 26, 29, .66);
  box-shadow: 0 12px 34px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.055);
}

.private-dot {
  color: #96969c;
}

.private-dot i,
.studio-intro > span i {
  background: #ff477a;
  box-shadow: 0 0 0 4px rgba(255, 71, 122, .12), 0 0 18px rgba(255, 71, 122, .4);
}

.bow-mini::before,
.bow-mini::after,
.bow-mark::before,
.bow-mark::after {
  background: linear-gradient(135deg, #ff7299, #ed255e);
  box-shadow: inset 0 1px rgba(255,255,255,.42), 0 4px 12px rgba(235,37,94,.2);
}

.kitty-mark {
  border-color: rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 28% 58%, rgba(255, 71, 122, .18) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 58%, rgba(255, 71, 122, .18) 0 5px, transparent 6px),
    linear-gradient(145deg, rgba(34,34,37,.88), rgba(11,11,13,.82));
  box-shadow: 0 24px 55px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.09);
}

.kitty-mark .ear {
  border-color: rgba(255,255,255,.13);
  background: #171719;
}

.kitty-mark .face-dot {
  background: #f2f2f4;
}

.hero-kicker {
  color: #ff477a;
}

.hero h1 {
  color: #f5f5f7;
  text-shadow: 0 0 38px rgba(255,255,255,.055);
}

.hero h1 span {
  color: #a2a2a8;
}

.hero p {
  color: #89898f;
}

.hero-meta {
  color: #737379;
}

.hero-meta b {
  color: #e9e9eb;
}

.hero-meta i {
  background: #434347;
}

.card,
.result-card {
  border-color: rgba(255,255,255,.10);
  background:
    linear-gradient(145deg, rgba(23,23,26,.92), rgba(10,10,12,.88)),
    #101012;
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.055);
  backdrop-filter: blur(32px) saturate(1.08);
  -webkit-backdrop-filter: blur(32px) saturate(1.08);
}

.studio-intro small {
  color: #ff5d88;
}

.studio-intro b {
  color: #f1f1f3;
}

.studio-intro > span {
  color: #77777d;
}

.drop-zone {
  border-color: rgba(255,255,255,.105);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 60, 113, .08), transparent 32%),
    linear-gradient(145deg, rgba(24,24,27,.88), rgba(8,8,10,.94));
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.018);
}

.drop-zone::before {
  border-color: rgba(255,255,255,.105);
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: rgba(255, 71, 122, .42);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.025), 0 22px 50px rgba(0,0,0,.44), 0 0 35px rgba(255,71,122,.07);
}

.drop-zone.has-image .drop-hint {
  border-color: rgba(255,255,255,.13);
  background: rgba(12,12,14,.74);
  box-shadow: 0 16px 40px rgba(0,0,0,.38);
}

.drop-hint {
  color: #77777e;
}

.drop-hint strong {
  color: #f3f3f5;
}

.upload-icon {
  background:
    radial-gradient(circle at 50% 34%, #fff 0 4px, transparent 5px),
    linear-gradient(145deg, #ff5d88, #c8174d);
  box-shadow: 0 16px 36px rgba(220, 26, 81, .26), inset 0 1px rgba(255,255,255,.43);
}

.field > label {
  color: #eeeeef;
}

.field > label::before {
  background: #ff477a;
  box-shadow: 0 0 10px rgba(255,71,122,.45);
}

.field small {
  color: #74747a;
}

.mode-card {
  border-color: rgba(255,255,255,.095);
  color: #f4f4f6;
  background: linear-gradient(145deg, rgba(30,30,33,.78), rgba(15,15,17,.82));
}

.mode-card:hover,
.mode-card.active {
  border-color: rgba(255, 71, 122, .38);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,71,122,.11), transparent 42%),
    linear-gradient(145deg, #242428, #111113);
  box-shadow: 0 18px 38px rgba(0,0,0,.30), inset 0 1px rgba(255,255,255,.065);
}

.mode-card.active::before {
  background: #ff477a;
  box-shadow: 0 0 0 5px rgba(255,71,122,.12), 0 0 16px rgba(255,71,122,.36);
}

.mode-icon {
  background: linear-gradient(145deg, #2c2c30, #17171a);
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 10px 22px rgba(0,0,0,.22);
}

.mode-card b {
  color: #f2f2f4;
}

.mode-card small {
  color: #77777d;
}

.select-wrap::after {
  color: #ff5d88;
}

.select-wrap select,
.field textarea,
select,
textarea {
  border-color: rgba(255,255,255,.10);
  color: #f1f1f3;
  background: rgba(22,22,25,.88);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

select option {
  color: #f1f1f3;
  background: #1a1a1d;
}

.select-wrap select:focus,
.field textarea:focus,
select:focus,
textarea:focus {
  border-color: rgba(255,71,122,.43);
  color: #fff;
  background: #1a1a1d;
  box-shadow: 0 0 0 4px rgba(255,71,122,.09), inset 0 1px rgba(255,255,255,.055);
}

textarea::placeholder {
  color: #67676d;
}

.primary {
  color: #0a0a0b;
  background:
    radial-gradient(circle at 82% -35%, rgba(255, 105, 146, .32), transparent 35%),
    linear-gradient(135deg, #fff 0%, #ececef 68%, #d8d8dc 100%);
  box-shadow: 0 20px 44px rgba(0,0,0,.48), inset 0 1px #fff;
}

.primary:hover {
  box-shadow: 0 26px 55px rgba(0,0,0,.58), 0 0 32px rgba(255,255,255,.055), inset 0 1px #fff;
}

.primary b {
  color: #fff;
  border: 0;
  background: linear-gradient(145deg, #ff5d88, #d21d54);
  box-shadow: 0 8px 17px rgba(184,17,65,.25), inset 0 1px rgba(255,255,255,.35);
}

.status {
  color: #77777d;
}

.status.error {
  color: #ff789c;
}

.kitty-progress {
  border-color: rgba(255,255,255,.10);
  color: #f3f3f5;
  background: linear-gradient(145deg, #202024, #101012);
  box-shadow: 0 18px 42px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.055);
}

.progress-top b,
.progress-top em {
  color: #f3f3f5;
}

.progress-top small,
.progress-safe {
  color: #7c7c82;
}

.progress-track {
  background: #303034;
}

#progressFill {
  background: linear-gradient(90deg, #b91648, #ff477a, #ff8cab);
  box-shadow: 0 0 18px rgba(255,71,122,.26);
}

.progress-dots span {
  background: #ff477a;
}

.result-heading {
  border-bottom-color: rgba(255,255,255,.075);
}

.result-heading span,
.piece-head h3,
.piece-subtitle {
  color: #f4f4f6;
}

.result-heading button,
.mini-copy,
.title-copy {
  color: #ff759a;
  background: rgba(255,71,122,.12);
  box-shadow: inset 0 0 0 1px rgba(255,71,122,.08);
}

.title-item,
.piece-card {
  border-color: rgba(255,255,255,.085);
  background: linear-gradient(145deg, rgba(29,29,32,.90), rgba(15,15,17,.92));
  box-shadow: 0 10px 26px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.035);
}

.title-text,
.piece-body {
  color: #eeeeef;
}

.title-num {
  color: #fff;
  background: linear-gradient(145deg, #ff5d88, #bf1547);
  box-shadow: 0 9px 20px rgba(178,16,62,.25), inset 0 1px rgba(255,255,255,.24);
}

.title-item.copied {
  border-color: rgba(255,71,122,.4);
  box-shadow: 0 16px 36px rgba(0,0,0,.3), 0 0 22px rgba(255,71,122,.08);
}

.copy-fallback {
  background: rgba(0,0,0,.68);
}

.copy-fallback-card {
  border: 1px solid rgba(255,255,255,.10);
  color: #f3f3f5;
  background: #171719;
  box-shadow: 0 28px 80px rgba(0,0,0,.6);
}

.copy-fallback-card b {
  color: #f3f3f5;
}

.copy-fallback-card p {
  color: #85858b;
}

.copy-fallback-card textarea {
  border-color: rgba(255,255,255,.10);
  color: #f3f3f5;
  background: #0d0d0f;
}

footer {
  color: #57575c;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #050506;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #050506;
  border-radius: 999px;
  background: #343438;
}
