/* TuneLab /create: the song wizard. Theme values are the store's own
   (cream ground, ink text, violet accent, Poppins). Phone first. */
@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap; src: url("/cdn/fonts/poppins/poppins_n4.0ba78fa5af9b0e1a374041b3ceaadf0a43b41362.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-style: normal; font-display: swap; src: url("/cdn/fonts/poppins/poppins_n7.56758dcf284489feb014a026f3727f2f20a54626.woff2") format("woff2"); }

:root {
  --ground: #fcfbf4; --card: #ffffff; --ink: #292222; --soft: #6b6470; --line: #e6e2ee;
  --violet: #7724f3; --violet-deep: #5b14c4; --violet-wash: #f1e9fe; --pink: #ec018e; --ok: #12805c; --bad: #c4232b;
  --radius: 18px; --shadow: 0 1px 2px rgba(41, 34, 34, .05), 0 12px 32px -12px rgba(89, 36, 190, .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font: 400 16px/1.55 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---- top: logo, the step bar ---- */
.wz-top { position: sticky; top: 0; z-index: 5; background: rgba(252, 251, 244, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 10px 16px 0; }
.wz-top__row { max-width: 680px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.wz-logo { display: inline-flex; align-items: center; min-height: 44px; }
.wz-logo img { display: block; width: 124px; height: auto; }
.wz-top__note { font-size: 12px; color: var(--soft); text-align: right; }
.wz-steps { max-width: 680px; margin: 6px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.wz-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--soft); text-align: center; line-height: 1.2; min-width: 0; }
.wz-step + .wz-step::before { content: ""; position: absolute; top: 12px; right: calc(50% + 19px); width: calc(100% - 38px); height: 2px; border-radius: 2px; background: var(--line); transition: background .25s; }
.wz-step.is-done + .wz-step::before { background: var(--violet); }
.wz-step__dot { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: #fff; border: 2px solid var(--line); color: var(--soft); transition: background .25s, border-color .25s, color .25s, transform .25s; }
.wz-step.is-done .wz-step__dot { background: var(--violet); border-color: var(--violet); color: #fff; }
.wz-step.is-now .wz-step__dot { border-color: var(--violet); color: var(--violet); transform: scale(1.12); box-shadow: 0 0 0 4px var(--violet-wash); }
.wz-step.is-now { color: var(--ink); font-weight: 700; }
.wz-step__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.wz-bar { max-width: 680px; margin: 8px auto 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--line); overflow: hidden; }
.wz-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--pink)); border-radius: 4px; transition: width .45s cubic-bezier(.2, .8, .2, 1); }

/* ---- the card ---- */
.wz-main { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 22px 16px 36px; }
.wz-card { width: 100%; max-width: 680px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 20px 22px; animation: wz-in .32s ease both; }
@keyframes wz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wz-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.wz-q { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.wz-q .req { color: var(--pink); }
.wz-help { margin: 0 0 16px; color: var(--soft); font-size: 16px; }
.wz-opt { font-weight: 400; color: var(--soft); font-size: 14px; }

.wz-input, .wz-area { width: 100%; border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 13px 14px; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.wz-area { min-height: 132px; resize: vertical; line-height: 1.5; }
.wz-input:focus, .wz-area:focus { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-wash); }
.wz-input.is-bad, .wz-area.is-bad { border-color: var(--bad); }
.wz-count { margin-top: 6px; font-size: 12px; color: var(--soft); text-align: right; }

.wz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.wz-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.wz-chip:hover { border-color: var(--violet); }
.wz-chip.is-on { border-color: var(--violet); background: var(--violet-wash); color: var(--violet-deep); font-weight: 700; }
.wz-choices { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.wz-choice { min-height: 92px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 14px; padding: 10px 6px; transition: border-color .15s, background .15s, transform .15s; }
.wz-choice svg { width: 28px; height: 28px; color: var(--violet); }
.wz-choice:hover { border-color: var(--violet); transform: translateY(-1px); }
.wz-choice.is-on { border-color: var(--violet); background: var(--violet-wash); }

.wz-error { margin: 10px 0 0; color: var(--bad); font-size: 16px; }
.wz-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; }
.wz-actions--stack { flex-direction: column; align-items: stretch; }
.wz-actions > span:empty { display: none; }
.wz-btn { min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .12s, box-shadow .15s, background .15s, opacity .15s; }
.wz-btn:active { transform: scale(.98); }
.wz-btn--go { background: var(--violet); color: #fff; box-shadow: 0 8px 20px -8px rgba(119, 36, 243, .7); flex: 1; }
.wz-btn--go:hover { background: var(--violet-deep); }
.wz-btn--ghost { background: transparent; color: var(--soft); padding: 0 14px; }
.wz-btn--ghost:hover { color: var(--ink); }
.wz-btn--line { background: #fff; border-color: var(--line); color: var(--ink); }
.wz-btn--line:hover { border-color: var(--violet); }
.wz-btn[disabled] { opacity: .55; cursor: default; box-shadow: none; }
.wz-btn--buy { background: linear-gradient(95deg, var(--violet), #a21ad8 60%, var(--pink)); color: #fff; width: 100%; min-height: 58px; font-size: 17px; box-shadow: 0 12px 26px -10px rgba(162, 26, 216, .75); }
.wz-small { margin: 14px 0 0; font-size: 13px; color: var(--soft); text-align: center; }

/* ---- lyrics ---- */
.wz-title { margin: 0 0 2px; font-size: 22px; font-weight: 700; line-height: 1.25; }
.wz-sub { margin: 0 0 14px; color: var(--soft); font-size: 16px; }
.wz-lyrics { display: block; width: 100%; min-height: 320px; border: 2px solid var(--line); border-radius: 14px; background: #fffdf8; padding: 16px 14px; font-size: 16px; line-height: 1.65; resize: none; overflow: hidden; outline: none; white-space: pre-wrap; }
.wz-lyrics:focus { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-wash); }
/* Approve stays in reach while the whole song is read; it lets go while the box is being typed in (the keyboard needs the room) */
.wz-sticky { position: sticky; bottom: 0; z-index: 2; margin: 14px -20px 0; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%); }
.wz-sticky .wz-actions { margin-top: 0; }
.wz-card.is-typing .wz-sticky { position: static; }
.wz-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.wz-row > * { flex: 1 1 200px; }
.wz-change { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--violet-wash); }
.wz-change label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }

/* ---- waiting screens ---- */
.wz-wait { text-align: center; padding: 8px 0 4px; }
.wz-wait h1 { margin: 18px 0 6px; font-size: 22px; line-height: 1.25; text-wrap: balance; }
.wz-wait > p:not([class]) { margin: 0 auto; color: var(--soft); font-size: 16px; max-width: 42ch; }
.wz-meter { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin: 20px auto 0; max-width: 420px; }
.wz-meter span { display: block; height: 100%; width: 3%; border-radius: 8px; background: linear-gradient(90deg, var(--violet), var(--pink)); transition: width .9s linear; }
.wz-stage-line { margin: 10px 0 0; font-size: 14px; color: var(--violet-deep); font-weight: 700; min-height: 22px; }

/* the record player */
.wz-deck { position: relative; width: 176px; height: 176px; margin: 4px auto 0; }
.wz-vinyl { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, #1d1826 0 2px, #2a2436 2px 4px); box-shadow: 0 14px 30px -12px rgba(41, 34, 34, .55); animation: wz-spin 3.2s linear infinite; }
.wz-vinyl::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, rgba(255, 255, 255, .16), transparent 18%, transparent 50%, rgba(255, 255, 255, .12) 58%, transparent 72%); }
.wz-vinyl::after { content: ""; position: absolute; inset: 33%; border-radius: 50%; background: radial-gradient(circle, var(--ground) 0 9%, transparent 10%), linear-gradient(135deg, var(--violet), var(--pink)); }
.wz-arm { position: absolute; right: -6px; top: -4px; width: 78px; height: 110px; transform-origin: 86% 8%; animation: wz-arm 3.6s ease-in-out infinite; }
.wz-arm i { position: absolute; right: 4px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #b9b2c6; box-shadow: inset 0 0 0 4px #ece8f3; }
.wz-arm b { position: absolute; right: 10px; top: 10px; width: 5px; height: 92px; border-radius: 4px; background: #b9b2c6; transform: rotate(24deg); transform-origin: top center; }
.wz-arm b::after { content: ""; position: absolute; bottom: -4px; left: -5px; width: 15px; height: 20px; border-radius: 4px; background: var(--ink); }
@keyframes wz-spin { to { transform: rotate(360deg); } }
@keyframes wz-arm { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(3.5deg); } }
.wz-note { position: absolute; font-size: 22px; color: var(--violet); opacity: 0; animation: wz-float 3.4s ease-in infinite; }
.wz-note:nth-of-type(1) { left: -14px; top: 60%; }
.wz-note:nth-of-type(2) { left: 4px; top: 20%; color: var(--pink); animation-delay: 1.1s; }
.wz-note:nth-of-type(3) { left: -26px; top: 38%; animation-delay: 2.2s; font-size: 17px; }
@keyframes wz-float { 0% { opacity: 0; transform: translate(0, 12px) rotate(-8deg); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-22px, -58px) rotate(14deg); } }
.wz-eq { display: flex; justify-content: center; align-items: flex-end; gap: 5px; height: 30px; margin-top: 18px; }
.wz-eq--row { margin: 26px 0 0; }
.wz-recording { display: inline-flex; align-items: center; gap: 8px; }
.wz-recording::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); animation: wz-blink 1.2s ease-in-out infinite; }
@keyframes wz-blink { 50% { opacity: .25; } }
.wz-eq span { width: 6px; border-radius: 4px; background: linear-gradient(180deg, var(--pink), var(--violet)); animation: wz-eq 1s ease-in-out infinite; }
.wz-eq span:nth-child(1) { animation-delay: -.9s; } .wz-eq span:nth-child(2) { animation-delay: -.3s; } .wz-eq span:nth-child(3) { animation-delay: -.6s; }
.wz-eq span:nth-child(4) { animation-delay: -.1s; } .wz-eq span:nth-child(5) { animation-delay: -.75s; } .wz-eq span:nth-child(6) { animation-delay: -.45s; } .wz-eq span:nth-child(7) { animation-delay: -.2s; }
@keyframes wz-eq { 0%, 100% { height: 6px; } 50% { height: 30px; } }

/* the pencil for the lyric wait */
.wz-page { position: relative; width: 150px; height: 168px; margin: 6px auto 0; border-radius: 12px; background: #fffdf8; border: 2px solid var(--line); box-shadow: 0 14px 28px -14px rgba(41, 34, 34, .4); padding: 24px 18px; }
.wz-page s { display: block; height: 6px; border-radius: 6px; margin-bottom: 13px; background: var(--violet-wash); width: 0; animation: wz-write 4.8s ease-in-out infinite; text-decoration: none; }
.wz-page s:nth-child(2) { animation-delay: .6s; } .wz-page s:nth-child(3) { animation-delay: 1.2s; } .wz-page s:nth-child(4) { animation-delay: 1.8s; } .wz-page s:nth-child(5) { animation-delay: 2.4s; } .wz-page s:nth-child(6) { animation-delay: 3s; }
@keyframes wz-write { 0% { width: 0; } 30%, 85% { width: var(--w, 90%); background: #d9c4fb; } 100% { width: var(--w, 90%); opacity: 0; } }
.wz-page em { position: absolute; right: -16px; bottom: 18px; font-style: normal; font-size: 34px; animation: wz-pen 1.2s ease-in-out infinite; }
@keyframes wz-pen { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(-10px, -6px) rotate(6deg); } }

/* fact cards */
.wz-fact { margin: 22px auto 0; max-width: 480px; min-height: 148px; border-radius: 16px; background: var(--violet-wash); padding: 16px 18px; text-align: left; position: relative; overflow: hidden; }
.wz-fact__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-deep); margin-bottom: 6px; }
.wz-fact__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); animation: wz-in .5s ease both; }
.wz-fact__src { display: block; margin-top: 6px; font-size: 12px; color: var(--soft); }
.wz-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.wz-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d5c9ee; transition: background .3s, transform .3s; }
.wz-dots i.is-on { background: var(--violet); transform: scale(1.35); }

/* ---- the preview and the offer ---- */
.wz-player { margin-top: 16px; border-radius: 18px; padding: 18px; background: radial-gradient(120% 140% at 0% 0%, #3a1a7a 0%, #1d1430 55%, #17141f 100%); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.wz-play { width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--violet); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: wz-pulse 2s ease-out infinite; }
.wz-play.is-playing { animation: none; }
.wz-play svg { width: 26px; height: 26px; }
@keyframes wz-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } }
.wz-player__title { font-weight: 700; font-size: 16px; line-height: 1.3; margin: 0 0 2px; overflow-wrap: anywhere; }
.wz-player__meta { font-size: 12px; opacity: .75; margin: 0 0 10px; }
.wz-wave { display: flex; align-items: center; gap: 3px; height: 44px; cursor: pointer; touch-action: none; }
.wz-wave i { flex: 1; min-width: 2px; border-radius: 3px; background: rgba(255, 255, 255, .28); transition: background .12s; }
.wz-wave i.is-past { background: #fff; }
.wz-time { display: flex; justify-content: space-between; font-size: 12px; opacity: .8; margin-top: 4px; font-variant-numeric: tabular-nums; }
.wz-offer { margin-top: 18px; text-align: center; }
.wz-price { margin: 0 0 10px; font-size: 16px; }
.wz-price b { font-size: 30px; letter-spacing: -.02em; vertical-align: -2px; margin: 0 4px; }
.wz-price del { color: var(--soft); }
.wz-ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; font-size: 16px; }
.wz-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.wz-ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--violet-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%237724f3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.wz-extras { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 6px; text-align: left; }
.wz-extras summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; }
.wz-extras summary::-webkit-details-marker { display: none; }
.wz-extras summary::after { content: "+"; font-size: 20px; color: var(--violet); }
.wz-extras[open] summary::after { content: "\2212"; }
.wz-extra { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px; border: 2px solid var(--line); border-radius: 14px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.wz-extra:has(input:checked) { border-color: var(--violet); background: var(--violet-wash); }
.wz-extra input[type=checkbox] { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); }
.wz-extra strong { display: block; font-size: 16px; line-height: 1.35; }
.wz-extra small { display: block; color: var(--soft); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.wz-extra span.p { font-weight: 700; font-size: 16px; white-space: nowrap; }
.wz-more { display: block; margin-top: 10px; }
.wz-more label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.wz-more select { width: 100%; min-height: 48px; border-radius: 10px; border: 2px solid var(--line); background: #fff; padding: 0 10px; font-size: 16px; }
.wz-more .wz-input { display: block; width: 100%; min-height: 48px; margin-top: 0; padding: 11px 12px; font-size: 16px; }
.wz-more select + .wz-input { margin-top: 8px; }
.wz-snippet { margin: 16px 0 0; padding: 14px 16px; border-left: 4px solid var(--violet); background: #fffdf8; border-radius: 0 12px 12px 0; font-size: 16px; line-height: 1.7; white-space: pre-line; text-align: left; }
.wz-done-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #e3f6ee; color: #0a5c41; font-weight: 700; font-size: 13px; }

.wz-foot { padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 0 18px; justify-content: center; align-items: center; font-size: 13px; color: var(--soft); text-align: center; }
.wz-foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

@media (min-width: 640px) {
  .wz-card { padding: 40px 44px 34px; }
  .wz-sticky { margin-left: -44px; margin-right: -44px; padding-left: 44px; padding-right: 44px; }
  .wz-q, .wz-title, .wz-wait h1 { font-size: 30px; }
  .wz-help, .wz-sub, .wz-wait > p:not([class]) { font-size: 17px; }
  .wz-input, .wz-area { font-size: 17px; padding: 15px 16px; }
  .wz-lyrics { font-size: 17px; padding: 20px 22px; }
  .wz-chip { font-size: 15px; }
  .wz-choice { min-height: 108px; font-size: 16px; }
  .wz-deck { width: 200px; height: 200px; }
  .wz-step { font-size: 13px; }
  .wz-logo img { width: 140px; }
  .wz-main { padding-top: 34px; }
}
/* narrow phones: the price rides beside the add-on's name so its description gets the full width */
@media (max-width: 480px) {
  .wz-extra { position: relative; grid-template-columns: auto 1fr; }
  .wz-extra span.p { position: absolute; top: 12px; right: 12px; }
  .wz-extra strong { padding-right: 78px; }
}
@media (max-width: 380px) {
  .wz-choices { grid-template-columns: 1fr; }
  .wz-choice { min-height: 60px; flex-direction: row; }
  .wz-step__label { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .wz-vinyl, .wz-arm, .wz-note, .wz-eq span, .wz-page s, .wz-page em, .wz-play, .wz-recording::before { animation: none !important; }
  .wz-page s { width: var(--w, 90%); background: #d9c4fb; }
  .wz-eq span { height: 18px; }
}
