/* 源游.vip 第二屏引导弹窗（第一屏关闭后出现） */
#yy2{position:fixed;inset:0;z-index:2147483000;display:none;align-items:center;justify-content:center;padding:18px}
#yy2.on{display:flex}
#yy2 .yy2-mask{position:absolute;inset:0;background:rgba(22,10,44,.76);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#yy2 .yy2-card{
  position:relative;z-index:1;width:100%;max-width:360px;
  display:flex;flex-direction:column;overflow:hidden;
  border-radius:20px;background:#fff;
  box-shadow:0 26px 70px rgba(30,8,60,.5),0 0 0 1px rgba(210,180,255,.35);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  animation:yy2Up .3s cubic-bezier(.22,1.1,.36,1) both;
}
@keyframes yy2Up{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}
#yy2 .yy2-x{
  position:absolute;right:9px;top:9px;z-index:3;width:30px;height:30px;border-radius:50%;border:0;
  display:flex;align-items:center;justify-content:center;font-size:19px;line-height:1;color:#fff;cursor:pointer;
  background:rgba(20,8,36,.42);box-shadow:0 2px 10px rgba(0,0,0,.25);
}
#yy2 .yy2-hero{
  padding:22px 18px 14px;text-align:center;
  background:linear-gradient(160deg,#7a3cf0,#b07bff 70%,#e6d6ff);
  color:#fff;
}
#yy2 .yy2-ico{
  width:52px;height:52px;margin:0 auto 10px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.18);box-shadow:0 6px 18px rgba(0,0,0,.18);
}
#yy2 .yy2-ico svg{width:28px;height:28px}
#yy2 .yy2-title{margin:0;font-size:19px;font-weight:900;letter-spacing:.6px}
#yy2 .yy2-body{padding:16px 18px 4px;background:linear-gradient(180deg,#fdfaff,#f8f2ff)}
#yy2 .yy2-p{margin:0 0 10px;font-size:13px;line-height:1.75;color:#463356}
#yy2 .yy2-p b{color:#7a3cf0}
#yy2 .yy2-tip{
  margin:10px 0 2px;padding:9px 11px;border-radius:12px;
  background:#fff;border:1px solid rgba(214,190,250,.75);
  font-size:12px;line-height:1.7;color:#6a5b82;
}
#yy2 .yy2-btns{padding:12px 18px 18px;background:#f8f2ff;display:flex;flex-direction:column;gap:9px}
#yy2 .yy2-btn{
  height:46px;border:0;border-radius:13px;cursor:pointer;
  font-size:15px;font-weight:800;letter-spacing:1px;font-family:inherit;
}
#yy2 .yy2-btn--main{
  color:#fff;background:linear-gradient(180deg,#a86bf0 0%,#7b3fe4 55%,#6527cf 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 8px 20px rgba(110,50,210,.3);
}
#yy2 .yy2-btn--ghost{
  color:#7b6e8f;background:#efe7fd;
}
#yy2 .yy2-btn:active{filter:brightness(.95)}
#yy2 .yy2-toast{
  position:fixed;left:50%;bottom:180px;transform:translateX(-50%);z-index:2147483100;
  padding:9px 16px;border-radius:999px;background:rgba(20,8,36,.9);color:#fff;
  font-size:13px;font-weight:600;opacity:0;transition:opacity .2s ease;pointer-events:none;
}
#yy2 .yy2-toast.on{opacity:1}

/* 覆盖站点全局 button 样式 */
#yy2 .yy2-btn{
  all: unset;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 100%; height: 46px; border-radius: 13px;
  cursor: pointer; font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size: 15px; font-weight: 800; letter-spacing: 1px; text-align: center;
}
#yy2 .yy2-btn--main{
  color: #fff !important;
  background: linear-gradient(180deg,#a86bf0 0%,#7b3fe4 55%,#6527cf 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 8px 20px rgba(110,50,210,.32) !important;
}
#yy2 .yy2-btn--ghost{
  color: #6d5b8a !important;
  background: #efe7fd !important;
}
#yy2 .yy2-x{
  all: unset;
  position: absolute; right: 9px; top: 9px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1; color: #fff; cursor: pointer;
  background: rgba(20,8,36,.42); box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
