:root{
  --paper:#FFF6ED; --surface:#FFFFFF; --ink:#2A1B33; --ink-soft:#6B5A72; --mauve:#8A7B90;
  --line:#F0E2D6; --coral:#FF4159; --coral-soft:#FFE3E6; --coral-dark:#D02A41;
  --teal:#0A8A72; --teal-soft:#DCF7F0; --teal-dark:#06705C; --amber:#A66A00; --amber-soft:#FFF1D6;
  --card-shadow:#EFDFD0; --plum:#43304D; --ink2:#1F1327;
}
*{box-sizing:border-box;}
body{
  margin:0; min-height:100vh; background:var(--paper); color:var(--ink);
  font-family:'Plus Jakarta Sans', system-ui, sans-serif;
  display:flex; justify-content:center; padding:0;
}
a{ color:var(--coral); }
.page{ width:100%; max-width:440px; min-height:100vh; display:flex; flex-direction:column; background:var(--paper); }

.dev-badge{
  position:fixed; top:10px; left:50%; transform:translateX(-50%);
  background:var(--ink); color:#fff; font-size:0.68rem; font-weight:700;
  padding:4px 11px; border-radius:999px; opacity:0.8; z-index:10;
}

/* ---- Home / landing ---- */
.landing-wrap{ position:relative; overflow:hidden; }
.glow{ position:absolute; border-radius:999px; filter:blur(46px); opacity:0.5; pointer-events:none; z-index:0; }
.landing-content{ position:relative; z-index:1; }

.eyebrow{ display:inline-flex; align-items:center; gap:6px; background:var(--surface); border:1px solid var(--line); padding:6px 14px 6px 8px; border-radius:999px; font-size:0.74rem; font-weight:600; color:var(--ink-soft); margin:24px 0 18px; }
.eyebrow .dot{ width:18px; height:18px; border-radius:999px; background:var(--coral); display:flex; align-items:center; justify-content:center; flex-shrink:0; }

h1.hero{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:2.1rem; line-height:1.12; text-wrap:balance; margin:0 0 14px; }
h1.hero em{ font-style:normal; color:var(--coral); }
p.lede{ font-size:1.02rem; line-height:1.55; color:#5B4A63; max-width:30ch; margin:0 0 24px; }

.price-note{ font-size:0.82rem; color:var(--ink-soft); margin:14px 0 30px; }
.price-note b{ color:var(--ink); }

.thread-heading{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:1.2rem; margin:0 0 18px; text-wrap:balance; }
.thread-heading em{ font-style:normal; color:var(--coral); }
.thread{ position:relative; margin-bottom:8px; }
.thread-line{ position:absolute; left:14px; top:18px; width:2px; height:314px; background:linear-gradient(to bottom, var(--line) 0%, var(--line) 84%, var(--coral) 100%); }
.thread-line-outside{ position:absolute; left:13px; top:332px; width:0; height:64px; border-left:2px dashed #D6C8CE; }
.step-row{ position:relative; z-index:1; display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.node{ width:28px; height:28px; border-radius:999px; background:var(--surface); border:2px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:0.78rem; font-weight:800; color:var(--ink-soft); flex-shrink:0; }
.node.final{ background:var(--coral); border-color:var(--coral); box-shadow:0 6px 14px rgba(255,65,89,0.4); }
.node.outside{ background:var(--paper); border:2px dashed #C9BAC2; color:#9C8CA2; }
.node.listen{ background:var(--ink); border-color:var(--ink); }
.step-text{ min-height:36px; display:flex; flex-direction:column; justify-content:center; }
.step-text.player{ min-height:64px; flex:1; }
.step-label{ font-size:0.9rem; font-weight:600; color:#4A3D52; line-height:1.25; }
.step-label.final{ color:var(--coral); font-weight:800; }
.step-label.outside{ color:var(--mauve); font-style:italic; }
.step-desc{ font-size:0.76rem; color:var(--mauve); margin-top:2px; }
.mini-player{ display:flex; align-items:center; gap:9px; margin-top:6px; background:var(--surface); border:1.5px solid var(--line); border-radius:12px; padding:9px 11px; }
.mini-wave{ display:flex; align-items:flex-end; gap:2px; height:18px; flex:1; }
.mini-wave span{ width:3px; border-radius:2px; background:#FF9DAA; }
.mini-dur{ font-size:0.7rem; font-weight:700; color:var(--mauve); }

.cloud-heading{ font-size:0.82rem; font-weight:700; color:#4A3D52; margin-bottom:12px; }
.reaction-cloud{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:26px; }
.r-chip{ background:var(--surface); border-radius:14px; padding:10px 12px; box-shadow:0 4px 10px rgba(42,27,51,0.07); max-width:148px; }
.r-occasion{ font-size:0.66rem; font-weight:800; text-transform:uppercase; letter-spacing:0.03em; margin-bottom:4px; }
.r-quote{ font-family:'Caveat'; font-size:1.08rem; line-height:1.15; color:#4A3D52; }

.genres-label{ font-size:0.74rem; text-transform:uppercase; letter-spacing:0.07em; color:var(--ink-soft); font-weight:700; margin-bottom:12px; }
.foot{ font-size:0.76rem; color:var(--mauve); text-align:center; padding:14px 0 6px; }

/* ---- Explorar / Marketplace ---- */
.guest-banner{ background:var(--teal-soft); border-radius:14px; padding:11px 14px; font-size:0.78rem; color:#0A6F5C; line-height:1.4; display:flex; gap:8px; align-items:flex-start; margin-bottom:16px; }
.guest-banner svg{ flex-shrink:0; margin-top:2px; }
.search-box{ background:var(--surface); border:1.5px solid var(--line); border-radius:999px; height:44px; display:flex; align-items:center; gap:8px; padding:0 16px; color:var(--mauve); font-size:0.86rem; margin-bottom:14px; }
.sort-row{ display:flex; gap:8px; margin-bottom:14px; }
.sort-pill{ padding:8px 14px; border-radius:999px; font-size:0.8rem; font-weight:700; border:1.5px solid var(--line); background:var(--surface); color:var(--ink-soft); display:flex; align-items:center; gap:6px; text-decoration:none; }
.sort-pill.active{ background:var(--ink); color:#fff; border-color:var(--ink); }
.genre-filters{ display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; margin-bottom:18px; }
.fchip{ flex:0 0 auto; padding:7px 13px; border-radius:999px; font-size:0.76rem; font-weight:700; background:var(--surface); border:1.5px solid var(--line); color:var(--ink-soft); text-decoration:none; white-space:nowrap; }
.fchip.active{ background:var(--coral); color:#fff; border-color:var(--coral); }

.feed{ display:flex; flex-direction:column; gap:12px; }
.scard{ background:var(--surface); border:1.5px solid var(--line); border-radius:18px; padding:12px; display:flex; gap:12px; text-decoration:none; color:inherit; }
.scard-cover{ width:78px; height:78px; border-radius:14px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.playbtn{ width:28px; height:28px; border-radius:999px; background:rgba(255,255,255,0.92); display:flex; align-items:center; justify-content:center; box-shadow:0 3px 8px rgba(0,0,0,0.18); border:none; }
.sinfo{ flex:1; min-width:0; display:flex; flex-direction:column; }
.stitle-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:6px; }
.stitle{ font-weight:800; font-size:0.94rem; line-height:1.25; color:var(--ink); }
.badge{ flex-shrink:0; font-size:0.62rem; font-weight:800; padding:3px 8px; border-radius:999px; display:flex; align-items:center; gap:3px; white-space:nowrap; margin-top:1px; }
.badge.popular{ background:var(--coral-soft); color:#B5223A; }
.badge.new{ background:var(--amber-soft); color:var(--amber); }
.genre-pill{ align-self:flex-start; font-size:0.68rem; font-weight:700; background:var(--line); color:var(--ink-soft); padding:2px 9px; border-radius:999px; margin:5px 0 8px; }
.creator-row{ display:flex; align-items:center; gap:7px; margin-bottom:8px; }
.avatar-sm{ width:20px; height:20px; border-radius:999px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:0.62rem; font-weight:800; color:#fff; }
.avatar-sm.anon{ background:var(--line); color:var(--mauve); }
.creator-name{ font-size:0.76rem; color:var(--ink-soft); font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.stat-row{ display:flex; gap:16px; margin-top:auto; }
.stat{ display:flex; align-items:center; gap:5px; font-size:0.76rem; color:var(--mauve); font-weight:700; }

/* ---- Login ---- */
.login-option{ width:100%; height:56px; border-radius:14px; border:2px solid var(--line); background:var(--surface); display:flex; align-items:center; justify-content:center; gap:10px; font-weight:700; font-size:0.94rem; color:var(--ink); margin-bottom:14px; cursor:pointer; text-decoration:none; }

.topbar{ display:flex; align-items:center; justify-content:space-between; padding:20px 24px 0; }
.brand{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:1.1rem; display:flex; align-items:center; gap:8px; }
.icon-btn{
  width:40px; height:40px; border-radius:999px; background:#FFFCF8; border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; text-decoration:none;
}

.progress-wrap{ padding:20px 24px 12px; background:var(--surface); border-bottom:1px solid var(--line); display:flex; flex-direction:column; gap:14px; }
.progress-steplabel{ text-align:center; font-size:0.82rem; font-weight:700; color:var(--ink-soft); }
.progress-dots{ display:flex; align-items:center; }
.pdot{ width:9px; height:9px; border-radius:999px; background:var(--line); flex-shrink:0; }
.pdot.done{ background:var(--teal); }
.pdot.active{ width:11px; height:11px; background:var(--coral); box-shadow:0 0 0 4px var(--coral-soft); }
.pline{ flex:1; height:2px; background:var(--line); }
.pline.done{ background:var(--teal); }
.pdot-final{ width:20px; height:20px; border-radius:999px; background:var(--coral-soft); display:flex; align-items:center; justify-content:center; flex-shrink:0; }

.content{ flex:1; padding:22px 24px 12px; }
h1.title{ font-family:'Bricolage Grotesque'; font-weight:600; font-size:1.6rem; line-height:1.15; text-wrap:balance; margin:0 0 6px; }
p.subtitle{ font-size:0.9rem; color:var(--ink-soft); margin:0 0 22px; }

label.field-label{ display:block; font-size:0.78rem; font-weight:700; color:var(--ink); margin-bottom:8px; }
input[type=text].field-input, textarea.field-input{
  width:100%; border-radius:14px; border:2px solid var(--line); background:var(--surface);
  padding:14px 16px; font-size:0.95rem; font-family:inherit; color:var(--ink); margin-bottom:18px; resize:vertical;
}
textarea.field-input{ min-height:120px; line-height:1.6; }
.char-count{ text-align:right; font-size:0.74rem; color:var(--mauve); margin-top:-12px; margin-bottom:16px; }
.helper{ display:flex; gap:10px; align-items:flex-start; background:var(--teal-soft); border-radius:14px; padding:12px 14px; margin-top:2px; }
.helper p{ font-size:0.8rem; color:#0A6F5C; line-height:1.4; margin:0; }

.chip-row{ display:flex; gap:8px; margin-bottom:20px; flex-wrap:wrap; }
.chip-radio{ display:none; }
.chip-label{
  padding:9px 14px; border-radius:999px; font-size:0.82rem; font-weight:600; border:1.5px solid var(--line);
  background:var(--surface); color:var(--ink-soft); cursor:pointer;
}
.chip-radio:checked + .chip-label{ background:var(--ink); color:#fff; border-color:var(--ink); }

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.card-radio{ display:none; }
.card-option{
  background:var(--surface); border:2px solid var(--line); border-radius:18px; padding:16px;
  display:flex; flex-direction:column; gap:10px; cursor:pointer; position:relative; box-shadow:0 2px 0 var(--card-shadow);
}
.card-radio:checked + .card-option{ border-color:var(--coral); box-shadow:0 4px 0 var(--coral-soft); }
.icon-wrap{ width:38px; height:38px; border-radius:999px; display:flex; align-items:center; justify-content:center; }
.g-name{ font-weight:800; font-size:1rem; }
.g-mood{ font-size:0.78rem; color:var(--ink-soft); line-height:1.35; }
.check-badge{
  position:absolute; top:10px; right:10px; width:22px; height:22px; border-radius:999px;
  background:var(--coral); display:none; align-items:center; justify-content:center;
}
.card-radio:checked + .card-option .check-badge{ display:flex; }

.voice-option{
  background:var(--surface); border:2px solid var(--line); border-radius:20px; padding:20px;
  display:flex; align-items:center; gap:16px; margin-bottom:14px; cursor:pointer; box-shadow:0 2px 0 var(--card-shadow);
}
.card-radio:checked + .voice-option{ border-color:var(--coral); box-shadow:0 4px 0 var(--coral-soft); }
.avatar{ width:52px; height:52px; border-radius:999px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.v-name{ font-weight:800; font-size:1.02rem; margin-bottom:2px; }
.v-desc{ font-size:0.8rem; color:var(--ink-soft); margin-bottom:8px; }
.voice-wave{ display:flex; align-items:flex-end; gap:3px; height:22px; }
.voice-wave span{ width:3px; border-radius:2px; }

.lyric-card{ background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:20px; margin-bottom:18px; position:relative; box-shadow:0 2px 0 var(--card-shadow); }
.tag-corner{ position:absolute; top:-10px; right:18px; font-family:'Caveat'; font-size:1.15rem; color:var(--coral); background:var(--paper); padding:0 8px; }
.lyric-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:2px; }
.lyric-head:not(:first-child){ margin-top:16px; padding-top:16px; border-top:1.5px dashed var(--line); }
.lyric-version{ font-size:0.76rem; font-weight:600; color:var(--mauve); }
.sec-label{ font-size:0.7rem; text-transform:uppercase; letter-spacing:0.08em; font-weight:800; color:var(--amber); }
.sec-label.coro{ color:var(--coral); }
.lyric-line{ font-size:0.95rem; line-height:1.7; white-space:pre-line; margin:6px 0 0; }
.lyric-line.chorus{ font-size:1.05rem; font-weight:600; line-height:1.6; }
.placeholder-note{
  display:flex; gap:10px; background:var(--amber-soft); border-radius:14px; padding:12px 14px; margin-bottom:18px;
  font-size:0.8rem; color:var(--amber); line-height:1.4;
}

.stub{ background:var(--surface); border:2px solid var(--line); border-radius:20px; margin-bottom:16px; overflow:hidden; cursor:pointer; box-shadow:0 2px 0 var(--card-shadow); }
.card-radio:checked + .stub{ border-color:var(--coral); box-shadow:0 4px 0 var(--coral-soft); }
.stub-top{ padding:16px 18px 14px; display:flex; align-items:center; gap:14px; }
.play-big{ width:44px; height:44px; border-radius:999px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wave{ flex:1; display:flex; align-items:flex-end; gap:3px; height:34px; }
.wave span{ width:4px; border-radius:2px; opacity:0.85; }
.dur{ font-size:0.76rem; color:var(--mauve); font-weight:600; }
.tear{ position:relative; height:0; border-top:2px dashed var(--line); margin:0 18px; }
.stub-bottom{ padding:12px 18px 16px; display:flex; align-items:center; justify-content:space-between; }
.mood-tag{ font-size:0.78rem; font-weight:700; }

.summary{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:16px; display:flex; gap:14px; align-items:center; margin-bottom:18px; box-shadow:0 2px 0 var(--card-shadow); }
.cover-mini{ width:56px; height:56px; border-radius:14px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.s-title{ font-weight:800; font-size:0.98rem; margin-bottom:2px; }
.s-sub{ font-size:0.78rem; color:var(--ink-soft); }
.price-box{ background:var(--surface); border:2px solid var(--line); border-radius:18px; padding:16px 18px; margin-bottom:20px; }
.price-line{ display:flex; justify-content:space-between; font-size:0.88rem; color:var(--ink-soft); margin-bottom:8px; }
.price-line.total{ color:var(--ink); font-weight:800; font-size:1.15rem; border-top:1px dashed var(--line); padding-top:10px; margin-top:6px; margin-bottom:0; }
.strike{ text-decoration:line-through; opacity:0.55; margin-right:4px; }
.discount{ color:var(--teal); font-weight:700; }
.promo-row{ display:flex; gap:8px; margin-bottom:18px; }
.promo-input{ flex:1; height:48px; border-radius:14px; border:2px solid var(--line); background:var(--surface); padding:0 14px; font-size:0.9rem; font-weight:600; }
.promo-btn{ height:48px; padding:0 16px; border-radius:14px; border:none; background:var(--ink); color:#fff; font-weight:700; font-size:0.86rem; }

.bottombar{ padding:16px 24px 26px; }
.bottombar > form:not(:last-child), .bottombar > *:not(:last-child){ margin-bottom:10px; }
.btn-primary{
  width:100%; height:56px; border-radius:999px; background:var(--coral); color:#fff; font-weight:700; font-size:1.02rem;
  border:none; display:flex; align-items:center; justify-content:center; gap:8px; box-shadow:0 5px 0 var(--coral-dark);
  cursor:pointer; text-decoration:none;
}
.btn-primary:disabled, .btn-primary[aria-disabled=true]{ opacity:0.45; box-shadow:none; cursor:default; pointer-events:none; }
.btn-outline{
  flex:1; height:52px; border-radius:999px; background:var(--surface); border:2px solid var(--ink); color:var(--ink);
  font-weight:700; font-size:0.9rem; display:flex; align-items:center; justify-content:center; gap:6px; cursor:pointer;
}
.actions-row{ display:flex; gap:10px; margin-top:4px; }
.refund-note{ text-align:center; font-size:0.72rem; color:var(--mauve); margin-top:10px; }

.cover{ width:100%; aspect-ratio:1/1; border-radius:20px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; position:relative; }
.dedic{ position:absolute; bottom:14px; left:16px; font-family:'Caveat'; font-size:1.4rem; color:#fff; text-shadow:0 1px 4px rgba(0,0,0,0.25); }
.song-title{ font-family:'Bricolage Grotesque'; font-weight:800; font-size:1.3rem; margin-bottom:4px; }
.song-sub{ font-size:0.84rem; color:var(--ink-soft); margin-bottom:22px; }
.scrub-track{ position:relative; height:20px; display:flex; align-items:center; margin-bottom:6px; }
.scrub-track input[type=range]{ width:100%; margin:0; -webkit-appearance:none; appearance:none; background:transparent; }
.scrub-track input[type=range]::-webkit-slider-runnable-track{ height:5px; background:var(--line); border-radius:999px; }
.scrub-track .fill{ position:absolute; left:0; top:50%; transform:translateY(-50%); height:5px; background:var(--coral); border-radius:999px; pointer-events:none; width:0%; }
.scrub-track input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none; width:14px; height:14px; border-radius:999px; background:var(--coral); box-shadow:0 0 0 3px #fff; margin-top:-4.5px; cursor:pointer;
}
.time-row{ display:flex; justify-content:space-between; font-size:0.72rem; color:var(--mauve); font-weight:600; margin-bottom:16px; }
.transport{ display:flex; align-items:center; justify-content:center; }
.play-round{ width:60px; height:60px; border-radius:999px; background:var(--coral); border:none; display:flex; align-items:center; justify-content:center; box-shadow:0 5px 0 var(--coral-dark); cursor:pointer; }
.divider{ height:1px; background:var(--line); margin:20px 0; }
.section-label{ font-size:0.78rem; font-weight:800; display:block; margin-bottom:10px; }
.visibility{ display:flex; background:var(--line); border-radius:999px; padding:4px; margin-bottom:10px; }
.vis-opt{ flex:1; text-align:center; padding:10px 0; border-radius:999px; font-size:0.84rem; font-weight:700; color:var(--ink-soft); border:none; background:transparent; cursor:pointer; font-family:inherit; }
.vis-opt.active{ background:var(--ink); color:#fff; }
.vis-helper{ font-size:0.78rem; color:var(--ink-soft); margin:0 0 22px; }
.share-btn{
  width:100%; height:54px; border-radius:999px; display:flex; align-items:center; justify-content:center; gap:10px;
  font-weight:700; font-size:0.92rem; border:none; margin-bottom:12px; text-decoration:none; font-family:inherit; cursor:pointer;
}
.share-wa{ background:var(--teal); color:#fff; box-shadow:0 5px 0 var(--teal-dark); }
.share-anon{ background:transparent; border:1.5px solid #57426A; color:var(--paper); opacity:0.9; cursor:not-allowed; position:relative; }
.soon-badge{ font-size:0.62rem; font-weight:800; background:var(--amber-soft); color:var(--amber); padding:2px 8px; border-radius:999px; }

/* ---- Home v2 ---- */
.badge-pill{ width:fit-content; display:flex; align-items:center; gap:7px; font-size:0.78rem; font-weight:700; letter-spacing:0.02em; background:#FFE3D2; color:var(--amber); padding:8px 12px; border-radius:999px; margin-bottom:16px; }
.hero-price{ display:flex; align-items:baseline; justify-content:center; gap:10px; margin-top:14px; flex-wrap:wrap; }
.hero-price b{ font-family:'Bricolage Grotesque'; font-size:1.7rem; font-weight:800; color:var(--coral); white-space:nowrap; }
.hero-price span{ font-size:0.78rem; font-weight:600; color:var(--ink-soft); line-height:1.35; white-space:nowrap; }
.hero-price span b{ color:var(--ink); font-weight:800; font-size:inherit; font-family:inherit; }
.trail-section{ background:var(--surface); border-top:1px solid var(--line); padding:24px 24px 8px; margin:0 -24px; }
.trail-eyebrow{ font-size:0.68rem; font-weight:800; letter-spacing:0.1em; color:var(--amber); text-transform:uppercase; }
.trail-heading{ font-family:'Bricolage Grotesque'; font-weight:700; font-size:1.3rem; margin:6px 0 16px; }
.trail-item{ display:flex; gap:14px; }
.trail-dotcol{ display:flex; flex-direction:column; align-items:center; }
.trail-dot{ width:13px; height:13px; border-radius:999px; background:var(--teal); box-shadow:0 0 0 4px var(--teal-soft); flex-shrink:0; }
.trail-dot.final{ width:26px; height:26px; margin-left:-6.5px; background:var(--coral); box-shadow:0 0 0 5px var(--coral-soft); display:flex; align-items:center; justify-content:center; }
.trail-line{ flex:1; width:2px; background:var(--teal-soft); min-height:30px; }
.trail-body{ padding-bottom:18px; }
.trail-label{ font-weight:700; font-size:0.9rem; }
.trail-label.final{ color:var(--coral); font-weight:800; }
.trail-desc{ font-size:0.86rem; color:var(--ink-soft); margin-top:2px; }
.trail-desc.quote{ font-size:1.05rem; font-family:'Caveat'; color:var(--ink); font-weight:600; }

.tags-section{ padding:24px 0 6px; }
.tag-pill{ font-size:0.86rem; font-weight:600; background:var(--surface); border:1px solid var(--line); padding:11px 14px; border-radius:999px; display:inline-block; margin:0 8px 8px 0; }

.reaction-dark{ background:var(--ink); border-radius:22px; padding:18px; color:var(--paper); margin-top:14px; }
.reaction-label{ font-family:'Caveat'; font-weight:700; font-size:1.5rem; color:#FFC9CF; display:block; }
.reaction-text{ font-size:0.92rem; color:#E8DCEC; margin:8px 0 0; line-height:1.5; }
.reaction-meta{ display:flex; align-items:center; gap:9px; margin-top:12px; }
.reaction-avatar{ width:32px; height:32px; border-radius:999px; background:#43304D; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.reaction-stat{ font-size:0.78rem; font-weight:700; color:#C2B2C8; }

/* ---- Dark screen (Resultado) ---- */
body.dark-result .page{ background:var(--ink); }
body.dark-result .content{ color:var(--paper); }
body.dark-result .bottombar{ background:var(--ink2); }
body.dark-result .song-title{ color:var(--paper); }
body.dark-result .song-sub{ color:#C2B2C8; }
body.dark-result .time-row{ color:#8A7B90; }
body.dark-result .divider{ background:#57426A; opacity:0.4; }
body.dark-result .section-label{ color:var(--paper); }
body.dark-result .vis-helper{ color:#C2B2C8; }
body.dark-result .site-footer{ border-top-color:#43304D; }
body.dark-result .site-footer-links a{ color:#C2B2C8; }
body.dark-result .site-footer-copy{ color:#8A7B90; }
.celebrate-label{ display:flex; align-items:center; justify-content:center; gap:6px; font-size:0.78rem; font-weight:700; color:#FFC9CF; letter-spacing:0.06em; text-transform:uppercase; }
body.dark-result h1.title{ color:var(--paper); text-align:center; }
.toggle-row{ background:var(--plum); border-radius:22px; padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.toggle-row-label{ font-weight:700; font-size:0.95rem; color:var(--paper); }
.toggle-row-desc{ font-size:0.78rem; color:#C2B2C8; margin-top:2px; }
.toggle-switch{ width:48px; height:28px; border-radius:999px; background:var(--teal); display:flex; align-items:center; padding:3px; flex-shrink:0; cursor:pointer; }
.toggle-switch .knob{ width:22px; height:22px; border-radius:999px; background:#fff; transition:margin .15s; }
.toggle-switch.off{ background:#57426A; }
.toggle-switch.off .knob{ margin-left:20px; }

/* ---- Ticket perforado (muestras) ---- */
.perforation{ height:14px; background:radial-gradient(circle at 7px 7px, var(--paper) 6px, transparent 6.5px) 0 0/14px 14px repeat-x; border-top:1.5px dashed var(--line); border-bottom:1.5px dashed var(--line); }
.stub-choose{ padding:14px 18px 16px; font-weight:700; font-size:0.86rem; color:var(--ink-soft); }
.stub-chosen{ padding:14px 18px 16px; display:none; align-items:center; justify-content:space-between; font-weight:700; font-size:0.86rem; color:var(--coral); }
.stub-chosen .check{ width:26px; height:26px; border-radius:999px; background:var(--coral); display:flex; align-items:center; justify-content:center; }
.card-radio:checked + .stub .stub-choose{ display:none; }
.card-radio:checked + .stub .stub-chosen{ display:flex; }
.samples-price-row{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:12px; }
.samples-price-row span:first-child{ font-size:0.9rem; font-weight:600; color:var(--ink-soft); }
.samples-price-row span:last-child{ font-size:1.25rem; font-weight:800; }

/* ---- Checkout v2 ---- */
.pay-methods{ display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.pay-card{ background:var(--surface); border:2px solid var(--line); border-radius:18px; padding:16px; display:flex; align-items:center; gap:14px; cursor:pointer; box-shadow:0 2px 0 var(--card-shadow); }
.card-radio:checked + .pay-card{ border-color:var(--coral); box-shadow:0 4px 0 var(--coral-soft); }
.pay-icon{ width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-weight:800; font-size:0.78rem; color:#fff; }
.pay-name{ font-weight:700; font-size:1rem; }
.pay-sub{ font-size:0.78rem; color:var(--ink-soft); }
.pay-radio-dot{ width:22px; height:22px; border-radius:999px; border:1.5px solid var(--line); flex-shrink:0; display:flex; align-items:center; justify-content:center; margin-left:auto; }
.card-radio:checked + .pay-card .pay-radio-dot{ background:var(--coral); border-color:var(--coral); }
.trust-note{ display:flex; gap:10px; align-items:flex-start; background:var(--amber-soft); border-radius:16px; padding:14px; font-size:0.8rem; color:var(--amber); font-weight:600; line-height:1.4; }

/* ---- Páginas legales ---- */
.legal-doc h2{ font-family:'Bricolage Grotesque'; font-weight:700; font-size:1.05rem; margin:26px 0 8px; }
.legal-doc h2:first-of-type{ margin-top:6px; }
.legal-doc p{ font-size:0.92rem; line-height:1.55; color:var(--ink-soft); margin:0 0 10px; }
.legal-doc p b{ color:var(--ink); }
.legal-doc ul{ margin:0 0 10px; padding-left:20px; }
.legal-doc li{ font-size:0.92rem; line-height:1.55; color:var(--ink-soft); margin-bottom:4px; }
.legal-doc a{ color:var(--teal); font-weight:600; }
.legal-updated{ font-size:0.78rem; color:var(--mauve); margin:0 0 20px; }
.legal-table{ border:1px solid var(--line); border-radius:14px; overflow:hidden; margin:0 0 14px; font-size:0.82rem; }
.legal-table-row{ display:grid; grid-template-columns:1fr 1.3fr 1.5fr; gap:8px; padding:10px 12px; border-bottom:1px solid var(--line); }
.legal-table-row:last-child{ border-bottom:none; }
.legal-table-head{ background:var(--paper); font-weight:800; font-size:0.7rem; text-transform:uppercase; letter-spacing:0.04em; color:var(--ink-soft); }
.legal-table-row span:first-child{ font-weight:700; color:var(--ink); }
.legal-table-row span:not(:first-child){ color:var(--ink-soft); }

/* ---- Footer ---- */
.site-footer{ border-top:1px solid var(--line); margin-top:32px; padding:20px 0 4px; text-align:center; }
.site-footer-links{ display:flex; justify-content:center; gap:18px; margin-bottom:8px; flex-wrap:wrap; }
.site-footer-links a{ font-size:0.78rem; font-weight:700; color:var(--ink-soft); text-decoration:none; }
.site-footer-links a:hover{ color:var(--coral); }
.site-footer-copy{ font-size:0.72rem; color:var(--mauve); }

/* ---- Marco de escritorio: la MISMA app móvil, enmarcada en un iPhone ----
   Por debajo del breakpoint no existe -- todos estos elementos son
   display:contents/none, así que el layout móvil queda intacto. */
.desktop-shell, .desktop-stage, .phone-bezel, .phone-screen{ display:contents; }
.desktop-intro-panel, .phone-btn, .phone-island, .phone-home-bar, .phone-gloss, .desktop-footer{ display:none; }

@media (min-width: 1200px) {
  body{ display:block; background:radial-gradient(90% 70% at 50% 18%,#3A2647 0%,#241531 55%,#160D1F 100%); min-height:100vh; }
  .desktop-shell{
    display:block; max-width:1160px; margin:0 auto; padding:10px 20px 28px; position:relative;
  }
  .desktop-shell::before{
    content:""; position:absolute; top:10px; left:20px; right:20px; bottom:28px;
    border-radius:22px; background:radial-gradient(60% 40% at 50% 100%,rgba(255,65,89,.16),transparent 70%);
    pointer-events:none;
  }
  .desktop-stage{
    display:flex; align-items:flex-start; justify-content:center; gap:66px;
    background:linear-gradient(180deg,#2E1D3B,#1B1024);
    border-radius:22px; min-height:800px; padding:24px 60px 60px; position:relative;
  }
  .desktop-intro-panel{
    display:flex; flex-direction:column; gap:16px; max-width:320px; color:#FFF6ED;
  }
  .desktop-eyebrow{ font:700 11px/1 ui-monospace,monospace; letter-spacing:.16em; color:#FFC9CF; }
  .desktop-intro-panel h2{ font-family:'Bricolage Grotesque'; font-weight:600; font-size:2.2rem; line-height:1.05; margin:0; letter-spacing:-0.02em; }
  .desktop-intro-panel p{ font-size:1rem; line-height:1.55; color:#C2B2C8; margin:0; }
  .desktop-scan-note{
    display:flex; align-items:center; gap:10px; background:#2A1B33; border:1px solid #43304D;
    border-radius:16px; padding:14px; font-weight:600; font-size:0.88rem; color:#E8DCEC;
  }
  .desktop-scan-icon{
    width:38px; height:38px; border-radius:11px; background:#43304D; display:flex;
    align-items:center; justify-content:center; flex-shrink:0;
  }
  .desktop-scan-qr{
    width:104px; height:104px; border-radius:12px; background:var(--paper); padding:6px; flex-shrink:0; display:block;
  }
  .phone-bezel{
    display:block; flex:none; border-radius:58px; padding:12px; position:relative;
    background:linear-gradient(170deg,#6E5A7B 0%,#2E1E3C 38%,#4A3557 70%,#231430 100%);
    box-shadow:0 46px 80px -34px rgba(10,4,16,.9), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.08);
  }
  .phone-btn{ display:block; position:absolute; background:linear-gradient(90deg,#241531,#5B4569); }
  .phone-btn-mute{ left:-3px; top:150px; width:3px; height:34px; border-radius:2px 0 0 2px; }
  .phone-btn-vol-up{ left:-3px; top:212px; width:3px; height:56px; border-radius:2px 0 0 2px; }
  .phone-btn-vol-down{ left:-3px; top:282px; width:3px; height:56px; border-radius:2px 0 0 2px; }
  .phone-btn-power{ right:-3px; top:238px; width:3px; height:86px; border-radius:0 2px 2px 0; background:linear-gradient(270deg,#241531,#5B4569); }
  .phone-screen{
    display:block; width:390px; height:800px; border-radius:47px; overflow:hidden;
    background:var(--paper); position:relative;
  }
  .phone-screen .page{ width:390px; max-width:390px; height:100%; overflow-y:auto; }
  .phone-island{
    display:block; position:absolute; top:11px; left:50%; transform:translateX(-50%);
    width:112px; height:32px; border-radius:999px; background:#160D1F; z-index:2;
  }
  .phone-home-bar{
    display:block; position:absolute; bottom:9px; left:50%; transform:translateX(-50%);
    width:132px; height:5px; border-radius:999px; background:#2A1B33; opacity:.28; z-index:2;
  }
  .phone-gloss{
    display:block; position:absolute; inset:0; border-radius:47px; pointer-events:none; z-index:2;
    background:linear-gradient(118deg,rgba(255,255,255,.30) 0%,rgba(255,255,255,0) 30%,rgba(255,255,255,0) 100%);
  }
  .desktop-footer{
    display:block; text-align:center; padding:22px 0 8px; position:relative;
  }
  .desktop-footer .site-footer-links a{ color:#C2B2C8; }
  .desktop-footer .site-footer-links a:hover{ color:#FF9DAA; }
  .desktop-footer .site-footer-copy{ color:#8A7B90; }
}

/* ---- Loading overlay ---- */
.loading-overlay{
  position:fixed; inset:0; background:rgba(42,27,51,0.6); backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px);
  display:none; align-items:center; justify-content:center; flex-direction:column; gap:16px; z-index:999;
}
.loading-overlay.active{ display:flex; }
.loading-spinner{ width:44px; height:44px; border-radius:999px; border:4px solid rgba(255,255,255,0.3); border-top-color:#fff; animation:loading-spin 0.8s linear infinite; }
@keyframes loading-spin{ to{ transform:rotate(360deg); } }
.loading-text{ color:#fff; font-weight:700; font-size:0.92rem; text-align:center; padding:0 30px; max-width:300px; }
