/* Scoped copy of the YouBooster popup styles (used only inside .yb-popup) */
.yb-popup {
  --blurple: #5865F2;
  --blurple-light: #7289DA;
  --green: #43B581;
  --green-dim: rgba(67, 181, 129, 0.15);
  --yellow: #8f8f8f;
  --red: #ED4245;
  --bg: #1a1b1e;
  --bg-card: rgba(30, 31, 34, 0.85);
  --text: #F2F3F5;
  --text-muted: #949BA4;
  --text-dim: #6D6F78;
  --border: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.03);
  
  --accent: #5865F2;
  --accent-light: #7289DA;
  --accent-glow: rgba(88, 101, 242, 0.3);
  --success: #43B581;
  --error: #ED4245;
}
.yb-popup * { margin: 0; padding: 0; box-sizing: border-box; }
.yb-popup {
  font-family: 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  width: 320px;
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: none;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(88, 101, 242, 0.08) 0%, transparent 60%);
}
.yb-popup::-webkit-scrollbar { display: none; }
.yb-popup .hidden { display: none !important; }
.yb-popup .container {
  padding: 12px 20px 12px;
  display: flex;
  flex-direction: column;
}
.yb-popup .tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 4px;
}
.yb-popup .tab-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 7px;
  font-family: inherit;
  transition: all 0.22s ease;
}
.yb-popup .tab-button.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.yb-popup .tab-button[data-tab='info'].active svg { animation: gear-spin 0.5s ease; }
@keyframes gear-spin { from { transform: rotate(0deg); } to { transform: rotate(180deg); } }
.yb-popup .tab-button:hover:not(.active) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.yb-popup .tab-content { display: none; }
.yb-popup .tab-content.active { display: block; }
.yb-popup .header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.09) 0%, rgba(88, 101, 242, 0.03) 100%);
  border: 1px solid rgba(88, 101, 242, 0.12);
  border-radius: 12px;
  transition: background 0.45s ease, border-color 0.45s ease;
}
.yb-popup .header.on {
  background: linear-gradient(180deg, rgba(67, 181, 129, 0.09) 0%, rgba(67, 181, 129, 0.03) 100%);
  border-color: rgba(67, 181, 129, 0.16);
}
.yb-popup .header-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.yb-popup .header-avatar {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yb-popup .header-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 7px rgba(88, 101, 242, 0.4));
  transition: filter 0.45s ease, transform 0.3s ease;
}
.yb-popup .header:hover .header-logo-img {
  transform: translateY(-1px) scale(1.03);
}
.yb-popup .header.on .header-logo-img {
  filter: drop-shadow(0 2px 9px rgba(67, 181, 129, 0.45));
}
.yb-popup .header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1px;
}
.yb-popup .title {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #ffffff 0%, var(--blurple-light) 55%, var(--blurple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.yb-popup .subtitle {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.3;
  opacity: 0.92;
}
.yb-popup .card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  transition: border-color 0.5s ease;
}
.yb-popup .card.connected { border-color: rgba(67, 181, 129, 0.15); }
.yb-popup .card.connecting { border-color: rgba(254, 231, 92, 0.15); }
.yb-popup .card.error { border-color: rgba(237, 66, 69, 0.15); }
.yb-popup .glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.6s ease;
}
.yb-popup .card.connected .glow {
  background: radial-gradient(circle, rgba(67, 181, 129, 0.15) 0%, transparent 70%);
  width: 240px;
  height: 240px;
}
.yb-popup .card.connecting .glow {
  background: radial-gradient(circle, rgba(254, 231, 92, 0.1) 0%, transparent 70%);
  animation: glow-breathe 1.5s ease-in-out infinite;
}
.yb-popup .card.error .glow {
  background: radial-gradient(circle, rgba(237, 66, 69, 0.1) 0%, transparent 70%);
}
.yb-popup .power-ring {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yb-popup .power-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.04);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.yb-popup .card.connected .power-ring::before {
  border-color: rgba(67, 181, 129, 0.2);
  box-shadow: 0 0 30px rgba(67, 181, 129, 0.1);
}
.yb-popup .card.connecting .power-ring::before {
  border-color: transparent;
  border-top-color: rgba(254, 231, 92, 0.6);
  border-right-color: rgba(254, 231, 92, 0.2);
  animation: ring-spin 1s linear infinite;
}
.yb-popup .power-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  outline: none;
  position: relative;
  z-index: 1;
  box-shadow:
    0 2px 12px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.yb-popup .power-btn:hover {
  background: linear-gradient(145deg, rgba(88,101,242,0.15), rgba(88,101,242,0.05));
  color: var(--blurple-light);
  transform: scale(1.04);
}
.yb-popup .power-btn:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}
.yb-popup .wumpus-connecting, .yb-popup .wumpus-wait, .yb-popup .wumpus-happy, .yb-popup .wumpus-dance, .yb-popup .wumpus-please {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.3s ease;
}
.yb-popup .wumpus-wait { width: 90px; height: 90px; filter: saturate(0.5) brightness(0.7) opacity(0.5); }
.yb-popup .wumpus-connecting { width: 90px; height: 90px; opacity: 0; }
.yb-popup .wumpus-happy { width: 90px; height: 90px; opacity: 0; }
.yb-popup .wumpus-dance { width: 90px; height: 90px; opacity: 0; }
.yb-popup .wumpus-please { width: 90px; height: 90px; opacity: 0; }
.yb-popup .card.rate-mode .wumpus-wait { opacity: 0 !important; }
.yb-popup .card.rate-mode .wumpus-please { opacity: 1 !important; }
.yb-popup .power-btn:hover .wumpus-wait {
  filter: saturate(0.6) brightness(0.8) opacity(0.7);
  transform: scale(1.03);
}
.yb-popup .card.connected .power-btn {
  background: linear-gradient(145deg, rgba(67,181,129,0.12), rgba(67,181,129,0.04));
  box-shadow:
    0 4px 20px rgba(67, 181, 129, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.yb-popup .card.connected .power-btn:hover {
  background: linear-gradient(145deg, rgba(67,181,129,0.2), rgba(67,181,129,0.08));
}
.yb-popup .card.connected .wumpus-wait { opacity: 0; }
.yb-popup .card.connected .wumpus-happy { opacity: 1; }
.yb-popup .card.connected.connected-phase2 .wumpus-happy { opacity: 0 !important; }
.yb-popup .card.connected.connected-phase2 .wumpus-dance { opacity: 1 !important; }
.yb-popup .card.connecting .power-btn {
  background: linear-gradient(145deg, rgba(88,101,242,0.1), rgba(88,101,242,0.03));
}
.yb-popup .card.connecting .wumpus-wait { filter: saturate(0.7) brightness(0.8) opacity(0.7); }
.yb-popup .card.connecting.connecting-phase2 .wumpus-wait { opacity: 0 !important; }
.yb-popup .card.connecting.connecting-phase2 .wumpus-connecting { opacity: 1 !important; }
.yb-popup .card.error .power-btn {
  background: linear-gradient(145deg, rgba(237,66,69,0.1), rgba(237,66,69,0.03));
}
.yb-popup .card.error .wumpus-wait { opacity: 0; }
.yb-popup .card.error .wumpus-connecting {
  opacity: 1;
  filter: saturate(0.3) brightness(0.5) opacity(0.6);
}
.yb-popup .status-area { text-align: center; }
.yb-popup .status-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: color 0.4s;
}
.yb-popup .card.connected .status-text { color: var(--green); }
.yb-popup .card.connecting .status-text { color: var(--yellow); }
.yb-popup .card.error .status-text { color: var(--red); }
.yb-popup .rate-area { display: none; margin-top: 6px; }
.yb-popup .card.rate-mode .rate-area { display: block; }
.yb-popup .card.rate-mode .status-text {
  color: #FFC53D;
  cursor: pointer;
  transition: color 0.2s;
}
.yb-popup .card.rate-mode .status-text:hover { color: #FFD666; }
.yb-popup .status-detail {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
  min-height: 15px;
}
.yb-popup .star-rating {
  --active: #FFC53D;
  --active-pale: rgba(255,197,61,0.36);
  --inactive: var(--bg);
  --face-active: var(--bg);
  --face-inactive: rgba(255,255,255,0.15);
  display: flex; position: relative; justify-content: center;
  margin-top: 8px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s;
}
.yb-popup .card.rate-mode .star-rating { opacity: 1; transform: translateY(0); }
.yb-popup .star-rating ul { margin: 0; padding: 0; list-style: none; display: flex; color: var(--inactive); }
.yb-popup .star-rating ul li { --face: var(--face-inactive); cursor: pointer; position: relative; }
.yb-popup .star-rating ul li:before, .yb-popup .star-rating ul li:after { content: ""; position: absolute; z-index: 2; transition: all 0.2s ease; }
.yb-popup .star-rating ul li:before {
  --r: 0deg; width: 2px; height: 2px; border-radius: 1px; top: 15px; left: 13px;
  transform: rotate(var(--r)); filter: drop-shadow(8px 0 0 var(--face));
}
.yb-popup .star-rating ul li span {
  width: 2px; height: 2px; display: block; position: absolute; left: 50%; top: 50%;
  border-radius: 50%; margin: -1px 0 0 -1px; transform: scale(0.6); opacity: 0;
  box-shadow: 16px -16px 0 var(--active-pale), -16px -16px 0 var(--active-pale),
    -21px 8px 0 var(--active-pale), 21px 8px 0 var(--active-pale), 0 22px 0 var(--active-pale);
}
.yb-popup .star-rating ul li:nth-child(1):after { width: 10px; height: 10px; top: 20px; left: 13px; border-radius: 50%; border: 1px solid transparent; border-top-color: var(--face); }
.yb-popup .star-rating ul li:nth-child(3):after { width: 6px; left: 15px; top: 20px; height: 1px; background: var(--face); }
.yb-popup .star-rating ul li:nth-child(4):after { width: 10px; height: 10px; top: 12px; left: 13px; border-radius: 50%; border: 1px solid transparent; border-bottom-color: var(--face); }
.yb-popup .star-rating ul li:nth-child(4).current { animation: sr-active4 0.4s ease; }
.yb-popup .star-rating ul li:nth-child(4).current span { animation: sr-sparkle 0.32s ease; }
.yb-popup .star-rating ul li:nth-child(5):after { width: 6px; height: 3px; left: 15px; top: 20px; border-radius: 0 0 3px 3px; background: var(--face); }
.yb-popup .star-rating ul li:nth-child(5).current { animation: sr-active5 0.72s ease; }
.yb-popup .star-rating ul li:nth-child(5).current span { animation: sr-sparkle 0.32s ease; }
.yb-popup .star-rating ul li:last-child:before {
  --r: -45deg; width: 3px; height: 3px;
  border-top: 1px solid var(--face); border-right: 1px solid var(--face);
  border-radius: 0 1px 0 0; left: 12px; filter: drop-shadow(6px 6px 0 var(--face));
}
.yb-popup .star-rating ul li.current { --face: var(--face-active); }
.yb-popup .star-rating ul li.current svg { color: var(--active); fill: rgba(0,0,0,0.15); }
.yb-popup .star-rating ul li:not(.current) svg { transition: transform 0.2s ease, color 0.2s ease; }
.yb-popup .star-rating ul li:not(.current):active svg { transform: scale(0.9); }
.yb-popup .star-rating ul li:not(:last-child) { margin: 0 10px 0 0; }
.yb-popup .star-rating ul li:not(:last-child):before { background: var(--face); }
.yb-popup .star-rating ul li:not(:last-child).current:before { animation: sr-blink 3s linear infinite; }
.yb-popup .star-rating ul li:hover svg, .yb-popup .star-rating ul li:hover ~ li svg { color: var(--inactive); }
.yb-popup .star-rating ul:hover li svg { color: var(--active); fill: rgba(0,0,0,0.15); }
.yb-popup .star-rating ul li:hover ~ li svg { color: var(--inactive); fill: rgba(0,0,0,0.04); }
.yb-popup .star-rating ul:hover li { --face: var(--face-active); }
.yb-popup .star-rating ul li:hover ~ li { --face: var(--face-inactive); }
.yb-popup .star-rating svg { width: 36px; height: 34px; display: block; fill: rgba(0,0,0,0.04); }
.yb-popup .star-rating.idle ul li { --face: var(--face-active) !important; }
.yb-popup .star-rating.idle ul li svg { color: var(--active) !important; fill: rgba(0,0,0,0.15) !important; }
.yb-popup .star-rating.idle ul li:nth-child(1) svg { animation: sr-idleJump 2.4s ease-in-out 0s infinite; }
.yb-popup .star-rating.idle ul li:nth-child(2) svg { animation: sr-idleJump 2.4s ease-in-out 0.25s infinite; }
.yb-popup .star-rating.idle ul li:nth-child(3) svg { animation: sr-idleJump 2.4s ease-in-out 0.5s infinite; }
.yb-popup .star-rating.idle ul li:nth-child(4) svg { animation: sr-idleJump 2.4s ease-in-out 0.75s infinite; }
.yb-popup .star-rating.idle ul li:nth-child(5) svg { animation: sr-idleJump 2.4s ease-in-out 1s infinite; }
@keyframes sr-idleJump {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  10% { transform: translateY(0) scale(1.08, 0.8); }
  20% { transform: translateY(-60%) scale(1.02, 1.08); }
  35% { transform: translateY(0) scale(1.05, 0.85); }
  45% { transform: translateY(-25%) scale(1, 1.03); }
  55% { transform: translateY(0) scale(1, 1); }
}
.yb-popup .star-rating > div {
  left: 0; top: 0; position: absolute; display: none;
  transform: translateX(var(--x)); transition: transform 0.3s cubic-bezier(0,0,0.265,1.1) 0.24s;
}
.yb-popup .star-rating > div span { display: block; }
.yb-popup .star-rating > div span svg { color: var(--active); fill: rgba(0,0,0,0.15); }
.yb-popup .star-rating.animate-left > div, .yb-popup .star-rating.animate-right > div { display: block; }
.yb-popup .star-rating.animate-left > div span, .yb-popup .star-rating.animate-right > div span { animation: sr-scale 0.28s linear 0.24s; }
.yb-popup .star-rating.animate-left li.move-to:before { animation: sr-moveL 0.31s ease 0.36s; }
.yb-popup .star-rating.animate-left li.move-from:before { animation: sr-moveR 0.28s ease; }
.yb-popup .star-rating.animate-left > div { animation: sr-dblL 0.32s linear 0.24s; }
.yb-popup .star-rating.animate-left > div span svg { animation: sr-left 0.3s ease, sr-rightEnd 0.4s ease 0.4s; }
.yb-popup .star-rating.animate-right li.move-to:before { animation: sr-moveR 0.31s ease 0.36s; }
.yb-popup .star-rating.animate-right li.move-from:before { animation: sr-moveL 0.28s ease; }
.yb-popup .star-rating.animate-right > div { animation: sr-dblR 0.32s linear 0.24s; }
.yb-popup .star-rating.animate-right > div span svg { animation: sr-right 0.3s ease, sr-leftEnd 0.4s ease 0.4s; }
@keyframes sr-active4 { 40% { transform: scale(1.25); } }
@keyframes sr-sparkle { 60% { opacity: 1; } 100% { transform: scale(1.16); opacity: 0; } }
@keyframes sr-active5 { 15% { transform: rotate(180deg) scale(1.1); } 30% { transform: rotate(360deg) scale(1.2); } 70% { transform: rotate(360deg) translateY(14%) scaleY(0.72); } 100% { transform: rotate(360deg); } }
@keyframes sr-blink { 0%,5%,15%,100% { transform: scaleY(1); } 10% { transform: scaleY(0.4); } }
@keyframes sr-scale { 60% { transform: scaleX(1.32); filter: blur(0.5px); } }
@keyframes sr-dblR { 60% { filter: drop-shadow(-5px 0 1px var(--active-pale)) drop-shadow(4px 0 1px var(--active-pale)); } }
@keyframes sr-dblL { 60% { filter: drop-shadow(5px 0 1px var(--active-pale)) drop-shadow(-4px 0 1px var(--active-pale)); } }
@keyframes sr-right { 0%,100% { transform-origin: 17% 100%; } 50% { transform: rotate(-12deg) skewX(12deg); } }
@keyframes sr-left { 0%,100% { transform-origin: 83% 100%; } 50% { transform: rotate(12deg) skewX(-12deg); } }
@keyframes sr-rightEnd { 0%,100% { transform-origin: 17% 100%; } 40% { transform: rotate(-6deg) skewX(4deg) scaleX(0.92); } 70% { transform: rotate(1deg) skewX(-8deg) scaleX(1.04); } }
@keyframes sr-leftEnd { 0%,100% { transform-origin: 83% 100%; } 40% { transform: rotate(6deg) skewX(-4deg) scaleX(0.92); } 70% { transform: rotate(-1deg) skewX(8deg) scaleX(1.04); } }
@keyframes sr-moveR { 40% { transform: translateX(3px) rotate(var(--r)); } }
@keyframes sr-moveL { 40% { transform: translateX(-3px) rotate(var(--r)); } }
.yb-popup .star-rating ul li.bounce svg { animation: sr-bounceIn 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.yb-popup .star-rating ul li.bounce svg path { fill: var(--active); animation: sr-bounceSpin 0.8s var(--bezier, ease) forwards; }
@keyframes sr-bounceIn {
  0% { transform: scale(0.3) translateY(20px); opacity: 0; }
  50% { transform: scale(1.15) translateY(-8px); opacity: 1; }
  70% { transform: scale(0.9) translateY(2px); }
  100% { transform: scale(1) translateY(0); }
}
@keyframes sr-bounceSpin { 0% { transform: rotate(0); } 60% { transform: rotate(144deg); } 100% { transform: rotate(144deg); } }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes glow-breathe { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.yb-popup #info-tab { padding-bottom: 4px; }
.yb-popup .stabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 4px;
}
.yb-popup .stab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 7px;
  font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.yb-popup .stab-btn.active {
  background: rgba(108, 92, 231, 0.18);
  color: var(--accent-light);
  font-weight: 600;
}
.yb-popup .stab-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.yb-popup .stab-panel { display: none; flex-direction: column; gap: 10px; }
.yb-popup .stab-panel.active { display: flex; }
.yb-popup .scard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 0;
}
.yb-popup .scard-spoiler { padding: 0; }
.yb-popup .sdivider { height: 1px; background: var(--border); margin: 0 14px; }
.yb-popup .srow { display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.yb-popup .srow-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.2);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.yb-popup .srow-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yb-popup .srow-label { font-size: 13px; font-weight: 600; color: var(--text); }
.yb-popup .srow-desc { font-size: 11px; color: var(--text-muted); line-height: 1.35; }
.yb-popup .floater-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(108, 92, 231, 0.35);
  text-underline-offset: 2px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.yb-popup .floater-preview-btn:hover { color: var(--accent-light); text-decoration-color: var(--accent-light); }
.yb-popup .floater-preview-btn svg { flex-shrink: 0; }
.yb-popup .floater-tip {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11px;
  color: #f0c040;
  line-height: 1.4;
  margin-top: 4px;
  text-align: left;
}
.yb-popup .floater-tip svg { flex-shrink: 0; margin-top: 1px; }
.yb-popup .floater-gif-wrap { padding: 8px 14px 12px; text-align: center; }
.yb-popup .floater-gif { width: 100%; border-radius: 8px; border: 1px solid var(--border); opacity: 0.9; }
.yb-popup .spoiler-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  transition: color 0.2s;
}
.yb-popup .spoiler-button:hover { color: var(--accent-light); }
.yb-popup .spoiler-button span { flex: 1; text-align: left; }
.yb-popup .spoiler-arrow { flex-shrink: 0; color: var(--text-muted); transition: transform 0.25s ease; }
.yb-popup .spoiler-button.active .spoiler-arrow { transform: rotate(180deg); }
.yb-popup .spoiler-content { display: none; padding: 0 14px 12px; }
.yb-popup .spoiler-content.active { display: block; }
.yb-popup .how-list { padding-left: 18px; margin: 10px 0 8px; }
.yb-popup .how-list li { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 2px; }
.yb-popup .how-enjoy { font-size: 12px; font-weight: 600; color: var(--accent-light); }
.yb-popup .site-add-btn {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid rgba(108, 92, 231, 0.3);
  background: rgba(108, 92, 231, 0.12);
  color: var(--accent-light);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.yb-popup .site-add-btn:hover { background: rgba(108, 92, 231, 0.22); border-color: rgba(108, 92, 231, 0.5); }
.yb-popup .site-tags { display: flex; flex-wrap: wrap; gap: 5px; padding: 2px 14px 12px; min-height: 0; }
.yb-popup .site-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 20px;
  padding: 2px 8px 2px 10px;
}
.yb-popup .site-tag-del {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: color 0.15s, opacity 0.15s;
}
.yb-popup .site-tag-del:hover { color: var(--error); opacity: 1; }
.yb-popup .autowl-body { padding: 0 0 4px; }
.yb-popup .autowl-search-row { display: flex; align-items: center; gap: 6px; padding: 6px 14px 4px; }
.yb-popup .autowl-search-icon { flex-shrink: 0; color: var(--text-muted); opacity: 0.4; }
.yb-popup .autowl-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.yb-popup .autowl-search-input::placeholder { color: var(--text-muted); opacity: 0.5; }
.yb-popup .autowl-empty { font-size: 11.5px; color: var(--text-muted); opacity: 0.55; padding: 6px 14px 10px; line-height: 1.4; }
.yb-popup .premium-chip {
  display: none;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #1a1b1e;
  background: linear-gradient(135deg, #ffe08a, #ffc53d);
}
.yb-popup .premium-feature.locked { cursor: pointer; }
.yb-popup .premium-feature.locked .srow-icon, .yb-popup .premium-feature.locked .srow-body { opacity: 0.55; }
.yb-popup .premium-feature.locked .premium-switch { display: none; }
.yb-popup .premium-feature.locked .premium-chip { display: inline-flex; }
.yb-popup .premium-feature:not(.locked) .premium-chip { display: none; }
.yb-popup .rotate-input-row { display: flex; align-items: center; gap: 8px; padding: 8px 14px 12px; }
.yb-popup .rotate-every { font-size: 11.5px; color: var(--text-muted); }
.yb-popup .rotate-interval-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 9px;
}
.yb-popup .interval-input {
  width: 42px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.yb-popup .interval-input::-webkit-outer-spin-button, .yb-popup .interval-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.yb-popup .rip-unit { font-size: 11.5px; color: var(--text-muted); }
.yb-popup .bypass-input-row { display: flex; align-items: center; gap: 6px; padding: 8px 14px 6px; }
.yb-popup .bypass-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 11.5px;
  padding: 6px 9px;
  outline: none;
  min-width: 0;
  transition: border-color 0.2s;
}
.yb-popup .bypass-input:focus { border-color: var(--accent-light); }
.yb-popup .bypass-input::placeholder { color: rgba(255, 255, 255, 0.25); font-size: 11px; }
.yb-popup .bypass-add-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.yb-popup .bypass-add-btn:hover { background: var(--accent-light); }
.yb-popup .bypass-empty { font-size: 11.5px; color: var(--text-muted); opacity: 0.55; padding: 2px 14px 10px; line-height: 1.4; }
.yb-popup .srow-sub { padding-top: 7px; padding-bottom: 7px; }
.yb-popup .srow-sub .srow-label { font-weight: 500; }
.yb-popup .switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.yb-popup .switch input { opacity: 0; width: 0; height: 0; }
.yb-popup .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #3a3a5c;
  transition: 0.3s;
}
.yb-popup .slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  transition: 0.3s;
}
.yb-popup input:checked + .slider { background-color: var(--accent); }
.yb-popup input:checked + .slider:before { transform: translateX(18px); }
.yb-popup .slider.round { border-radius: 22px; }
.yb-popup .slider.round:before { border-radius: 50%; }
.yb-popup .custom-proxy-form { display: flex; flex-direction: column; gap: 7px; padding: 6px 14px 10px; }
.yb-popup .custom-proxy-row { display: flex; gap: 6px; }
.yb-popup .custom-proxy-input {
  flex: 1;
  background: var(--bg-card, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text, #e0e0e0);
  font-size: 11.5px;
  padding: 6px 9px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.yb-popup .custom-proxy-input:focus { border-color: var(--accent-light); }
.yb-popup .custom-proxy-input::placeholder { color: rgba(255, 255, 255, 0.25); font-size: 11px; }
.yb-popup .custom-proxy-port { flex: 0 0 72px; -moz-appearance: textfield; }
.yb-popup .custom-proxy-port::-webkit-outer-spin-button, .yb-popup .custom-proxy-port::-webkit-inner-spin-button { -webkit-appearance: none; }
.yb-popup .custom-proxy-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.yb-popup .custom-proxy-save-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.yb-popup .custom-proxy-save-btn:hover { opacity: 0.85; }
.yb-popup .custom-proxy-save-btn:disabled { opacity: 0.45; cursor: default; }
.yb-popup .custom-proxy-select {
  width: 100%;
  background: var(--bg-card, #16213e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text, #e0e0e0);
  font-size: 11.5px;
  padding: 6px 9px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='rgba(255,255,255,0.4)'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}
.yb-popup .custom-proxy-select:focus { border-color: var(--accent-light); }
.yb-popup .custom-proxy-select option { background: #16213e; }
.yb-popup .cp-list { display: flex; flex-direction: column; gap: 4px; padding: 6px 14px 2px; }
.yb-popup .cp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.yb-popup .cp-item:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.yb-popup .cp-item.active { background: rgba(108, 92, 231, 0.12); border-color: rgba(108, 92, 231, 0.3); }
.yb-popup .cp-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.yb-popup .cp-item.active .cp-radio { border-color: var(--accent-light); }
.yb-popup .cp-radio-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); display: none; }
.yb-popup .cp-item.active .cp-radio-dot { display: block; }
.yb-popup .cp-info { flex: 1; min-width: 0; }
.yb-popup .cp-host { font-size: 11.5px; font-weight: 600; color: var(--text, #e0e0e0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yb-popup .cp-meta { font-size: 10px; color: var(--text-muted); margin-top: 1px; display: flex; align-items: center; gap: 0; }
.yb-popup .cp-meta img { width: 16px; height: 11px; border-radius: 2px; object-fit: cover; vertical-align: middle; }
.yb-popup .cp-item.active .cp-host { color: var(--accent-light); }
.yb-popup .cp-del-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 118, 117, 0.08);
  border: 1px solid rgba(255, 118, 117, 0.2);
  border-radius: 6px;
  color: rgba(255, 118, 117, 0.7);
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.yb-popup .cp-del-btn:hover { background: rgba(255, 118, 117, 0.18); border-color: rgba(255, 118, 117, 0.5); color: #ff7675; }
.yb-popup .cp-item.disabled { opacity: 0.45; cursor: default; }
.yb-popup .cp-item.disabled:hover { background: none; }
.yb-popup .cp-add-row { padding: 4px 14px 8px; }
.yb-popup .cp-add-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11.5px;
  padding: 7px 12px;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.2s, color 0.2s;
}
.yb-popup .cp-add-btn:hover { border-color: var(--accent-light); color: var(--accent-light); }
.yb-popup .cp-cancel-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11.5px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.yb-popup .cp-cancel-btn:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.yb-popup .consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(26, 27, 30, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.yb-popup .consent-overlay-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 24px; max-width: 300px; }
.yb-popup .consent-overlay-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.yb-popup .consent-overlay-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 18px; }
.yb-popup .consent-overlay-btn {
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}
.yb-popup .consent-overlay-btn:hover { opacity: 0.85; }
.yb-popup .popup-footer { display: flex; justify-content: center; padding: 8px 16px 2px; border-top: 1px solid var(--border); margin-top: 8px; }
.yb-popup .popup-footer a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.15s, color 0.15s;
}
.yb-popup .popup-footer a:hover { opacity: 1; color: var(--accent-light); }
.yb-popup[dir='rtl'] { direction: rtl; }
.yb-popup[dir='rtl'] .spoiler-button span, .yb-popup[dir='rtl'] .floater-tip { text-align: right; }
.yb-popup[dir='rtl'] .how-list { padding-left: 0; padding-right: 18px; }
.yb-popup[dir='rtl'] .slider:before { left: auto; right: 2px; }
.yb-popup[dir='rtl'] input:checked + .slider:before { transform: translateX(-18px); }
.yb-popup[dir='rtl'] .custom-proxy-select { background-position: left 8px center; padding-right: 9px; padding-left: 28px; }
.yb-popup[dir='rtl'] .site-tag { padding: 2px 10px 2px 8px; }
.yb-popup[dir='rtl'] .custom-proxy-input, .yb-popup[dir='rtl'] .custom-proxy-port, .yb-popup[dir='rtl'] .custom-proxy-select { direction: ltr; text-align: left; }
.yb-popup[dir='rtl'] .cp-host { direction: ltr; }
.yb-popup .premium-card {
  position: relative;
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(67, 181, 129, 0.1), rgba(20, 21, 24, 0.25));
  border: 1px solid rgba(67, 181, 129, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.yb-popup .premium-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 55%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: rotate(18deg);
  pointer-events: none;
}
.yb-popup .premium-free, .yb-popup .premium-active {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.yb-popup .premium-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.yb-popup .premium-badge-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #48bf8c, #35a56f 55%, #238f5e);
  box-shadow:
    0 4px 12px rgba(67, 181, 129, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.yb-popup .premium-badge-icon.on {
  color: #6cf19f;
  background: linear-gradient(145deg, #8e7575, #000000 55%, #238f5e);
  box-shadow:
    0 4px 12px rgba(67, 181, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.yb-popup .premium-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.yb-popup .premium-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff, #a3e0c2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.yb-popup .premium-active .premium-title {
  background: linear-gradient(135deg, #ffffff, #a3e0c2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.yb-popup .premium-desc {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.35;
}
.yb-popup .premium-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #46ba86, #2f9c67 60%, #1e8a58);
  box-shadow:
    0 6px 16px rgba(67, 181, 129, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.yb-popup .premium-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 9px 22px rgba(67, 181, 129, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}
.yb-popup .premium-btn:active {
  transform: translateY(0) scale(0.99);
  box-shadow:
    0 3px 10px rgba(67, 181, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.yb-popup .premium-btn svg {
  opacity: 0.9;
}
.yb-popup .premium-manage {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.yb-popup .premium-manage:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.yb-popup .premium-btn > * {
  position: relative;
  z-index: 1;
}
.yb-popup .premium-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  z-index: 0;
  pointer-events: none;
  animation: premium-shine 2.8s ease-in-out infinite;
}
@keyframes premium-shine {
  0% { left: -75%; }
  55%, 100% { left: 135%; }
}
.yb-popup .premium-badge-icon svg {color: #ffc000;}
.yb-popup .premium-badge-icon.on svg {color: #ffc000;}
.yb-popup .premium-active {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.yb-popup .premium-active .premium-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.yb-popup .premium-active .premium-title { font-size: 13px; }
.yb-popup .premium-active .premium-desc { font-size: 10px; }
.yb-popup .premium-pro {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #ffd24a;
  border: 1px solid rgba(255, 210, 74, 0.4);
  background: rgba(255, 210, 74, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}
.yb-popup .smanage-btn {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.yb-popup .smanage-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
.yb-popup .premium-active { overflow: hidden; }
.yb-popup .premium-active > * {
  position: relative;
  z-index: 1;
}
.yb-popup .premium-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  z-index: 3;
  pointer-events: none;
  animation: premium-shine 2.8s ease-in-out infinite;
}
.yb-popup .premium-restore {
  align-self: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 2px 4px;
  transition: color 0.15s;
}
.yb-popup .premium-restore:hover {
  color: var(--text);
}
.yb-popup .premium-restore-row {
  display: flex;
  gap: 6px;
}
.yb-popup .premium-restore-input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  padding: 7px 10px;
  outline: none;
}
.yb-popup .premium-restore-input:focus { border-color: rgba(67, 181, 129, 0.5); }
.yb-popup .premium-restore-go {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #43b581, #2f9c67);
  border-radius: 8px;
  padding: 7px 14px;
}
.yb-popup .premium-restore-go:hover { filter: brightness(1.05); }
.yb-popup .premium-restore-msg {
  font-size: 10.5px;
  color: var(--text-muted);
  text-align: center;
}
