.unlock { text-align: left; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; margin-bottom: 12px; transition: background .4s, border-color .4s; }
.unlock-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.unlock-top span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.unlock-top span b { font: 800 11.5px/1.2 var(--font-h); text-transform: uppercase; letter-spacing: .04em; }
.unlock-pct { font: 800 14px/1 var(--font-h); color: var(--coral); background: #fff; border: 1px solid var(--line); padding: 5px 9px; border-radius: 10px; min-width: 50px; text-align: center; }
.unlock-bar { height: 9px; border-radius: 99px; background: #E9E1F6; overflow: hidden; margin: 10px 0 8px; }
.unlock-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #FF6B57, #FFB547, #8B6CFF); transition: width .35s linear; }
.unlock-hint { margin: 0; font-size: 12px; font-weight: 700; color: var(--violet); }
.unlock.is-done { background: #EAFBF5; border-color: #BFEEDD; }
.unlock.is-done .unlock-pct { color: var(--mint-dark); }
.unlock.is-done .unlock-bar i { background: linear-gradient(90deg, #4BE0B5, #16C79A); }
.unlock.is-done .unlock-hint { color: var(--mint-dark); }

.player {
  position: relative; overflow: hidden; margin: 0 auto;
  border-radius: 22px; background: #1E1438;
  border: 3px solid transparent;
  background-image: linear-gradient(#1E1438, #1E1438), linear-gradient(135deg, var(--violet), var(--coral));
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 18px 40px rgba(109, 75, 255, .28);
}
.player--tall { aspect-ratio: 9 / 16; width: min(100%, calc(70vh * 9 / 16)); }
.player--wide { aspect-ratio: 16 / 9; width: 100%; }
.player.is-unlocked { background-image: linear-gradient(#1E1438, #1E1438), linear-gradient(135deg, #4BE0B5, #16C79A); }
.pl-media, .pl-demo, .pl-embed { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-media { object-fit: cover; background: #1E1438; cursor: pointer; }
.pl-embed iframe { width: 100%; height: 100%; border: 0; }
.pl-demo { cursor: pointer; }
.pl-demo img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.pl-demo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 20, 56, .25), rgba(30, 20, 56, .1) 40%, rgba(30, 20, 56, .75)); pointer-events: none; }
.pl-cap { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 22%; text-align: center; pointer-events: none; }
.pl-cap span { display: inline; font: 800 24px/1.25 var(--font-h); color: #fff; text-transform: uppercase; text-shadow: 0 2px 0 rgba(0, 0, 0, .45), 0 4px 18px rgba(0, 0, 0, .5); animation: capIn .35s cubic-bezier(.2, .8, .2, 1.3); display: inline-block; }
.pl-cap em { font-style: normal; color: var(--sun); }
.pl-previa { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .35); border-radius: 8px; padding: 5px 8px; pointer-events: none; }
.pl-top { position: absolute; z-index: 3; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.pl-tag { font: 800 10.5px/1 var(--font-h); text-transform: uppercase; letter-spacing: .05em; color: #fff; background: rgba(30, 20, 56, .7); border: 1px solid rgba(255, 255, 255, .25); padding: 7px 10px; border-radius: 99px; backdrop-filter: blur(6px); }
.is-unlocked .pl-tag { background: var(--mint); border-color: var(--mint); }
.pl-sound { pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(30, 20, 56, .6); font-size: 15px; cursor: pointer; backdrop-filter: blur(6px); }
.pl-prog { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, .15); pointer-events: none; }
.pl-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--sun)); transition: width .25s linear; }
.pl-overlay {
  position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78%; padding: 20px 14px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(30, 20, 56, .78); backdrop-filter: blur(8px); color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: opacity .3s, transform .3s;
}
.pl-overlay .pl-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--grad-cta); animation: ping 1.8s infinite; margin-bottom: 4px; }
.pl-overlay b { font: 800 14px/1.2 var(--font-h); text-transform: uppercase; letter-spacing: .03em; }
.pl-overlay small { font-size: 12px; color: var(--sun); font-weight: 700; }
.pl-overlay.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.9); }
.v-foot { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin: 12px 0 0; font-weight: 500; }
.v-foot svg { color: var(--mint); }
.cta--reveal { display: none; }
.cta--reveal.is-on { display: flex; animation: popIn .5s cubic-bezier(.2, .8, .2, 1.3) both, pulse 2.2s ease-in-out .6s infinite; }
/* ---------- aviso flutuante ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 60;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px;
  font-size: 13px; font-weight: 600; max-width: 90vw; text-align: center;
  transition: opacity .3s, transform .3s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

