/* VYBEON Cover Studio - fixes. Loaded after cs-pro.css (by the Cover Studio page).   Created by Ashwani Kumar Sharma for vybeon.online */

/* ---------- 1. messages never cover the player: they appear under the header ---------- */
.cs-toasts{bottom:auto!important;top:calc(var(--top,56px) + 10px)}

/* ---------- 1b. THE REAL CAUSE of the missing buttons: cs-pro.css line 97 says ".motion-lite .cs-btn.pri{display:none}". Under "Light" motion (switched on automatically for phones and weaker PCs, or chosen in Look)
   EVERY primary button disappeared: Next step, Play on the Sing screen, Download cover, Unlock AutoTune, and the number of the current step. Light motion should only stop the animation. ---------- */
.motion-lite .cs-btn.pri{display:inline-flex;animation:none}
.motion-lite .cs-steps li.on b{display:grid;animation:none}

/* ---------- 2. the Play button on the Sing screen: big, labelled, always on screen ---------- */
.s2-tp #s2play{min-width:128px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding-left:18px;padding-right:20px}
.s2-tp #s2play .cs-pl{font:700 12px/1 var(--ui,system-ui);letter-spacing:.14em;text-transform:uppercase}
.s2-tp #s2play:focus-visible{outline:3px solid var(--ink,#fff);outline-offset:3px}
@media (max-width:420px){.s2-tp #s2play{min-width:48px;min-height:44px;padding:10px 14px}.s2-tp #s2play .cs-pl{display:none}}   /* a phone: the icon alone, still a 44 px touch target */

/* ---------- 3. the footer ad: policy-safe, and shown on a laptop window too ---------- */
/* Google AdSense "Ad placement policies": no animation or gimmicks, a clear "Advertisement" label, not a floating box, and clear of play / download / Next buttons.
   (The old frame had a rotating coloured border; it was hidden entirely in a window under 560 px high, which is what a laptop at 125 % or 150 % Windows scaling gives.) */
.cs-ad{animation:none!important;border:1px solid transparent;
  background:linear-gradient(rgba(var(--pn),.78),rgba(var(--pn),.78)) padding-box,linear-gradient(135deg,rgba(167,139,250,.5),rgba(99,102,241,.3) 52%,rgba(56,189,248,.42)) border-box;
  box-shadow:0 0 0 1px rgba(var(--ov),.04),0 10px 26px -20px rgba(var(--sh),.6)}
.cs-ad::before,.cs-ad::after{animation:none!important}
html.has-ad{--adh:calc(136px + env(safe-area-inset-bottom))}                 /* the Download / Next buttons end about 22 px above the frame */
html.has-ad .cs-ad{margin-top:18px}
@media (max-height:559px){                                                  /* a short window now keeps the ad, in a compact frame */
  html.has-ad .cs-ad,html.has-ad-m .cs-ad{display:flex}
  html.has-ad{--adh:calc(124px + env(safe-area-inset-bottom))}html.has-ad-m{--adh:calc(88px + env(safe-area-inset-bottom))}
  html.has-ad .cs-ad{margin-top:14px;margin-bottom:calc(4px + env(safe-area-inset-bottom));padding-top:5px;padding-bottom:5px}
}
@media (max-height:479px){html.has-ad .cs-ad,html.has-ad-m .cs-ad{display:none}html.has-ad,html.has-ad-m{--adh:0px}}   /* below 480 px there is truly no room */
@media (max-height:640px) and (min-width:901px){.cs-dock{padding-bottom:12px}}  /* in the stacked layout the buttons keep clear air above the frame */

/* ---------- 4. the "Remove the voice completely" window ---------- */
.fx-body{display:grid;gap:12px;max-width:560px}
.fx-body .fx-note{margin:0;line-height:1.5}
.fx-card{display:grid;gap:8px;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:rgba(var(--ov),.04)}
.fx-card b{font-size:14px}.fx-card p{margin:0;font-size:13px;line-height:1.5;color:var(--mut)}
.fx-card .fx-dim{color:var(--dim);font-size:12px}
.fx-card .cs-btn{justify-self:start}
.fx-row{display:flex;flex-wrap:wrap;gap:8px}
.fx-in{width:100%;padding:9px 12px;border-radius:10px;border:1px solid var(--line2);background:rgba(var(--pn),.7);color:var(--ink);font:inherit;font-size:13px}
.fx-in:focus{outline:2px solid var(--ink);outline-offset:1px}
.fx-chk{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--mut);cursor:pointer}
.fx-msg{min-height:1.2em;font-size:12.5px}.fx-msg.ok{color:#3be8a8}.fx-msg.bad{color:#ff7b92}
.s1-guard .fx-cta{margin-left:8px}
