/* WireGuard only: keep the console and its native actions unchanged. */
.sdbx-wg-qr-dialog{font-family:SdbxPanelInter,Inter,Arial,sans-serif;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #ffffff12;border-radius:22px;background:linear-gradient(145deg,#1b263b,#101a2b);color:#e9eff9;overflow:auto;overscroll-behavior:contain;margin:auto;box-sizing:border-box;box-shadow:0 32px 100px #01051099}
.sdbx-wg-qr-dialog::backdrop{background:#030815b8;backdrop-filter:blur(6px)}
.sdbx-wg-qr-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 26px 22px;background:radial-gradient(ellipse at 0 0,#a474ea14,transparent 75%);border-bottom:1px solid #ffffff08}
.sdbx-wg-qr-brand{display:flex;align-items:center;gap:16px;min-width:0}
.sdbx-wg-qr-logo{display:block;width:28px;height:49px;object-fit:contain;flex:none}
.sdbx-wg-qr-eyebrow{display:block;margin-bottom:5px;color:#b9a1db;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.sdbx-wg-qr-heading h3{margin:0;color:#f6f4fc;font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.6px}
.sdbx-wg-qr-dialog .sdbx-wg-qr-close{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#a6b4ca;cursor:pointer;transition:background .15s,color .15s}
.sdbx-wg-qr-countdown{position:absolute;inset:0;pointer-events:none;fill:none;stroke-width:1.5}
.sdbx-wg-qr-countdown-track{stroke:#b9a1db20}
.sdbx-wg-qr-countdown [data-wg-qr-countdown]{stroke:#b9a1db;stroke-dashoffset:0;stroke-linecap:round}
.sdbx-wg-qr-dialog .sdbx-wg-qr-close:hover{background:#ffffff08;color:#fff}
.sdbx-wg-qr-dialog .sdbx-wg-qr-close:focus-visible{outline:2px solid #bd9aef;outline-offset:2px}
.sdbx-wg-qr-body{padding:22px 28px 26px}
.sdbx-wg-qr-dialog #sdbx-wg-qr-instructions{max-width:320px;margin:0 auto 22px;text-align:center;font-size:14px;line-height:1.7;color:#bcc9dd}
.sdbx-wg-qr-stage{display:grid;place-items:center;max-width:288px;aspect-ratio:1;margin:0 auto;padding:16px;border-radius:16px;background:#fff;box-sizing:border-box;box-shadow:0 8px 32px #02081420}
.sdbx-wg-qr-stage [data-wg-qr-image]{display:block;width:100%;height:auto;aspect-ratio:1;margin:0;background:#fff}
.sdbx-wg-qr-stage [data-wg-qr-image][hidden]{display:none}
.sdbx-wg-qr-stage [data-wg-qr-status]{margin:0;padding:12px;text-align:center;color:#465169;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.sdbx-wg-qr-stage [data-wg-qr-status]:empty{display:none}
.sdbx-wg-qr-dialog .sdbx-wg-qr-warning{display:flex;align-items:flex-start;gap:10px;max-width:320px;margin:22px auto 0;padding:0;color:#99a9c2;font-size:12px;line-height:1.65}
.sdbx-wg-qr-warning svg{flex:none;margin-top:2px;color:#b9a1db}
@media(max-width:480px){.sdbx-wg-qr-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:18px}.sdbx-wg-qr-heading{padding:20px}.sdbx-wg-qr-body{padding:20px}.sdbx-wg-qr-dialog #sdbx-wg-qr-instructions{font-size:13px;margin-bottom:20px}.sdbx-wg-qr-stage{padding:12px;border-radius:14px}.sdbx-wg-qr-dialog .sdbx-wg-qr-warning{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.sdbx-wg-qr-dialog .sdbx-wg-qr-close{transition:none}}

.sdbx-console-page .sdbx-settings-native #capd_tab_2>.grid>.sdbx-wireguard{grid-column:1/-1;padding:0;overflow:hidden;position:relative;border:0;border-radius:18px;background:#151e30!important;isolation:isolate}
.sdbx-wireguard .sdbx-wg-hero{position:relative;overflow:hidden;padding:28px 30px 24px;background:radial-gradient(ellipse at 100% 0%,#8f334b50,transparent 62%),linear-gradient(115deg,#182338,#222036)}
.sdbx-wireguard .sdbx-wg-brand{position:relative;z-index:1;display:flex;align-items:center;gap:16px;margin-bottom:18px}
.sdbx-wireguard .sdbx-wg-logo{width:34px;height:59px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 14px #d34b6a30)}
.sdbx-wireguard .sdbx-wg-eyebrow{margin:0 0 5px;color:#e6b3c1;font-size:10px;font-weight:650;letter-spacing:.14em;line-height:1.4;text-transform:uppercase}
.sdbx-console-page #capd_tab_2 .sdbx-wireguard h4.sdbx-wg-title{margin:0;color:#fbf9ff;font-size:32px;font-weight:600;line-height:1.1;letter-spacing:-1px}
.sdbx-wireguard .sdbx-wg-tagline{position:relative;z-index:1;margin:0 0 8px;max-width:70%;font-size:17px;font-weight:500;line-height:1.45;color:#f0eaf6;letter-spacing:-.25px}
.sdbx-wireguard .sdbx-wg-intro{position:relative;z-index:1;margin:0;max-width:65%;font-size:13px;line-height:1.7;color:#b7c1d4}
.sdbx-wireguard .sdbx-wg-art{position:absolute;width:145px;height:253px;right:40px;top:-16px;object-fit:contain;opacity:.11;transform:rotate(15deg);pointer-events:none}
.sdbx-wireguard .sdbx-wg-config{padding:22px 30px 24px}
.sdbx-wireguard .sdbx-wg-status{display:flex;align-items:flex-start;gap:9px;margin:0 0 16px;font-size:12px;line-height:1.65;color:#bdc9dd}
.sdbx-wireguard .sdbx-wg-status:before{content:"";flex:none;width:6px;height:6px;margin-top:7px;border-radius:50%;background:#7e8ca8}
.sdbx-wireguard[data-wg-state="ready"] .sdbx-wg-status:before{background:#79d8bc;box-shadow:0 0 0 4px #79d8bc0c}
.sdbx-wireguard[data-wg-state="pending"] .sdbx-wg-status:before{background:#e9bd73}
.sdbx-wireguard .sdbx-wg-actions{display:flex;flex-wrap:wrap;gap:10px}
.sdbx-wireguard .sdbx-wg-clients{padding:20px 30px 24px;background:#101a2b;border-top:1px solid #ffffff07}
.sdbx-wireguard .sdbx-wg-clients-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:13px}
.sdbx-wireguard .sdbx-wg-clients-heading h5{margin:0;font-size:12px;line-height:1.5;color:#cbd5e7;font-weight:550}
.sdbx-console-page #capd_tab_2 .sdbx-wireguard a:after{display:none}
.sdbx-console-page #capd_tab_2 .sdbx-wireguard a.sdbx-wg-official{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:0;color:#bcabdd;font-size:11px;text-decoration:none;border-radius:3px}
.sdbx-console-page #capd_tab_2 .sdbx-wireguard a.sdbx-wg-official:hover{color:#e4d8ff;background:transparent;text-decoration:underline;text-underline-offset:4px}
.sdbx-wireguard .sdbx-wg-downloads{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sdbx-console-page #capd_tab_2 .sdbx-wireguard a.sdbx-wg-download{display:flex;align-items:center;gap:10px;min-width:0;min-height:66px;margin:0;padding:12px;background:#ffffff04;border-radius:9px;color:#e5eaf5;text-decoration:none;transition:background .16s,color .16s}
.sdbx-console-page #capd_tab_2 .sdbx-wireguard a.sdbx-wg-download:hover{background:#ffffff0c;color:#fff}
.sdbx-wireguard .sdbx-wg-device{width:21px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:#b7a5c4}
.sdbx-wireguard .sdbx-wg-download-label{display:flex;flex-direction:column;gap:3px;min-width:0}
.sdbx-wireguard .sdbx-wg-download-label strong{font-size:12px;font-weight:550;line-height:1.35;overflow-wrap:anywhere}
.sdbx-wireguard .sdbx-wg-download-label small{font-size:10px;color:#97a7c0;line-height:1.4}
.sdbx-console-page #capd_tab_2 .sdbx-wireguard a:focus-visible{outline:2px solid #c4a2fa;outline-offset:3px}
html[dir="rtl"] .sdbx-wireguard .sdbx-wg-art{right:auto;left:40px;transform:rotate(-15deg)}
@media (min-width:1120px) and (max-width:1320px){.sdbx-wireguard .sdbx-wg-downloads{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:641px) and (max-width:900px){.sdbx-wireguard .sdbx-wg-downloads{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){
 .sdbx-console-page #capd_tab_2 .sdbx-wireguard a.sdbx-wg-official{min-height:44px}
 .sdbx-wireguard .sdbx-wg-hero{padding:24px 20px 22px}
 .sdbx-wireguard .sdbx-wg-brand{gap:13px;margin-bottom:17px}
 .sdbx-wireguard .sdbx-wg-logo{width:28px;height:49px}
 .sdbx-console-page #capd_tab_2 .sdbx-wireguard h4.sdbx-wg-title{font-size:29px}
 .sdbx-wireguard .sdbx-wg-tagline{font-size:16px;max-width:100%}
 .sdbx-wireguard .sdbx-wg-intro{max-width:100%;font-size:12px;line-height:1.75}
 .sdbx-wireguard .sdbx-wg-art{width:102px;height:178px;right:-10px;top:-22px;opacity:.07}
 .sdbx-wireguard .sdbx-wg-config{padding:19px 20px 22px}
 .sdbx-wireguard .sdbx-wg-status{font-size:12px}
 .sdbx-wireguard .sdbx-wg-actions{gap:8px}
 .sdbx-wireguard .sdbx-wg-actions form{flex:1 1 0;min-width:0}
 .sdbx-wireguard .sdbx-wg-actions form:first-child{flex-basis:100%}
 .sdbx-wireguard .sdbx-wg-actions>form>.sdbx-panel-button{width:100%}
 .sdbx-wireguard .sdbx-wg-clients{padding:18px 20px 20px}
 .sdbx-wireguard .sdbx-wg-clients-heading{gap:6px}
 .sdbx-wireguard .sdbx-wg-downloads{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sdbx-console-page #capd_tab_2 .sdbx-wireguard a.sdbx-wg-download{padding:12px 10px;gap:8px;min-height:66px}
 .sdbx-wireguard .sdbx-wg-download:last-child{grid-column:1/-1}
 html[dir="rtl"] .sdbx-wireguard .sdbx-wg-art{right:auto;left:-10px}
}
@media (prefers-reduced-motion:reduce){.sdbx-console-page #capd_tab_2 .sdbx-wireguard a.sdbx-wg-download{transition:none}}
