/* SUNO WAVE · karaoke buy modal · 20261118 */
body.swKarBuyOpen{overflow:hidden!important}
body.swKarBuyOpen #swSoundGate,
body.swKarBuyOpen #swChatStarter,
body.swKarBuyOpen #swChatInvite{display:none!important}
.swKarBuyModal{
  position:fixed;inset:0;z-index:2147483646;display:flex;align-items:center;justify-content:center;
  padding:24px;box-sizing:border-box;opacity:0;transition:opacity .24s ease;
}
.swKarBuyModal[hidden]{display:none!important}
.swKarBuyModal.is-open{opacity:1}
.swKarBuyBg{
  position:absolute;inset:0;background:rgba(2,5,10,.78);
  -webkit-backdrop-filter:blur(18px) saturate(1.08);backdrop-filter:blur(18px) saturate(1.08);
}
.swKarBuyBg::after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(70% 80% at 50% 40%,rgba(255,190,70,.10),transparent 60%),
             radial-gradient(50% 60% at 100% 100%,rgba(70,225,185,.08),transparent 60%);
  pointer-events:none;
}
.swKarBuyCard{
  position:relative;z-index:1;width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 32px);
  overflow:auto;overscroll-behavior:contain;box-sizing:border-box;
  border-radius:28px;padding:20px;color:#eef6ff;
  border:1px solid rgba(255,214,130,.34);
  background:
    radial-gradient(100% 130% at 0% 0%,rgba(255,196,80,.10),transparent 50%),
    linear-gradient(160deg,rgba(12,22,36,.98),rgba(4,8,15,.99));
  box-shadow:0 40px 120px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.10);
  transform:translateY(12px) scale(.985);transition:transform .28s cubic-bezier(.16,1,.3,1);
}
.swKarBuyModal.is-open .swKarBuyCard{transform:none}
.swKarBuyX{
  position:absolute;right:16px;top:16px;z-index:5;width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:rgba(240,248,255,.85);
  font:400 22px/1 system-ui,Arial,sans-serif;cursor:pointer;display:grid;place-items:center;
}
.swKarBuyX:hover{background:rgba(255,255,255,.13);color:#fff}
.swKarBuyTop{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-right:54px;margin-bottom:12px}
.swKarBuyLive{
  display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,74,96,.34);background:rgba(255,45,70,.09);color:#ffb7c1;
  font:900 9px/1 Inter,system-ui,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;
}
.swKarBuyLive i{width:6px;height:6px;border-radius:50%;background:#ff4a60;box-shadow:0 0 10px #ff4a60;animation:swKarBuyPulse 1.8s ease-in-out infinite}
@keyframes swKarBuyPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.72)}}
.swKarBuyPrice{
  margin-left:auto;color:#ffd166;font:950 28px/1 Inter,system-ui,Arial,sans-serif;
  letter-spacing:-.04em;text-shadow:0 0 22px rgba(255,196,80,.24);
}
.swKarBuyHead{display:grid;gap:4px;margin:0 0 14px;padding-right:48px}
.swKarBuyKicker{color:rgba(255,226,163,.62);font:900 9px/1 Inter,system-ui,Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase}
.swKarBuyHead h3{margin:0;font:950 clamp(26px,3vw,40px)/1.05 Inter,system-ui,Arial,sans-serif;letter-spacing:-.03em;color:#f4f8ff;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.swKarBuyHead p{margin:0;color:rgba(203,222,242,.55);font:800 10px/1.3 Inter,system-ui,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.swKarBuyStage{
  position:relative;isolation:isolate;overflow:hidden;border-radius:20px;
  min-height:320px;background:#04070d;border:1px solid rgba(255,255,255,.09);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 20px 50px rgba(0,0,0,.32);
  display:flex;align-items:stretch;
}
.swKarBuyStage::before{
  content:"";position:absolute;inset:-10%;z-index:-1;
  background-image:var(--swKarCover,none);background-size:cover;background-position:center;
  filter:blur(30px) saturate(.8) brightness(.45);opacity:.7;transform:scale(1.1);
}
.swKarBuyStage::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(3,7,13,.48),rgba(3,7,13,.82));
}
.swKarBuyStage .swch__karaoke{
  flex:1 1 auto;width:100%;min-height:100%;box-sizing:border-box;
  padding:24px 28px 22px;border:0;border-radius:0;background:transparent;
  box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
  display:flex;flex-direction:column;justify-content:center;
}
.swKarBuyStage .swch__karaokeHead{margin-bottom:14px}
.swKarBuyStage .swch__line{font-size:clamp(26px,3.1vw,42px)}
.swKarBuyStage .swch__line--prev,.swKarBuyStage .swch__line--next{font-size:clamp(18px,2vw,26px)}
.swKarBuyStage .swch__waveLine{height:52px;margin-top:16px}
.swKarBuyStage .swch__waveLine i{height:42px}
.swKarBuyBottom{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px}
.swKarBuyNote{flex:1 1 240px;color:rgba(203,222,242,.58);font:600 11px/1.4 Inter,system-ui,Arial,sans-serif}
.swKarBuyPay{
  appearance:none;min-height:52px;padding:0 24px;border:0;border-radius:999px;cursor:pointer;
  background:linear-gradient(180deg,#ffe7ae,#ffc247 62%,#f0a51e);color:#241500;
  font:950 14px/1 Inter,system-ui,Arial,sans-serif;letter-spacing:.02em;
  box-shadow:0 16px 38px rgba(255,170,40,.28),inset 0 1px 0 rgba(255,255,255,.65);
  transition:transform .18s ease,filter .18s ease;
}
.swKarBuyPay:hover{transform:translateY(-2px);filter:brightness(1.04)}
.swKarBuyPay:disabled{opacity:.6;cursor:default;transform:none}
.swKarBuyStatus{margin-top:10px;min-height:18px;color:rgba(255,226,163,.72);font:700 11.5px/1.4 Inter,system-ui,Arial,sans-serif}
.swKarBuyStatus.is-error{color:#ffb1b1}
@media(max-width:760px){
  .swKarBuyModal{padding:10px}
  .swKarBuyCard{padding:14px;border-radius:22px;max-height:calc(100vh - 20px)}
  .swKarBuyTop{padding-right:44px;margin-bottom:10px}
  .swKarBuyPrice{font-size:24px}
  .swKarBuyHead{padding-right:0}
  .swKarBuyHead h3{font-size:clamp(24px,7vw,32px)}
  .swKarBuyStage{min-height:280px;border-radius:16px}
  .swKarBuyStage .swch__karaoke{padding:16px 16px 14px}
  .swKarBuyStage .swch__line{font-size:clamp(22px,6vw,28px)}
  .swKarBuyStage .swch__line--prev,.swKarBuyStage .swch__line--next{font-size:clamp(15px,4.4vw,20px)}
  .swKarBuyStage .swch__waveLine{height:38px;margin-top:10px}
  .swKarBuyStage .swch__waveLine i{height:30px}
  .swKarBuyBottom{gap:10px}
  .swKarBuyPay{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .swKarBuyModal,.swKarBuyCard,.swKarBuyLive i{transition:none!important;animation:none!important}
}
