:root {
    --vpn-bg: #0a0a0a;
    --vpn-surface: #1a1a1a;
    --vpn-primary: #baaed8;
    --vpn-primary-bright: #e4ddf7;
    --vpn-primary-deep: #8b7fad;
    --vpn-secondary: #9c8ab8;
    --vpn-accent: #f2751a;
    --neutral-400: #a3a3a3;
    --neutral-700: #404040;
    --success-400: #4ade80;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;
    --warning-200: #fde68a;
    --warning-400: #fbbf24;
    --warning-500: #f59e0b;
    --error-200: #fecaca;
    --error-400: #f87171;
    --error-500: #ef4444;
    --banned: #ff0040;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    
    * { box-sizing: border-box; }
    html, body { margin: 0; min-height: 100%; font-family: var(--font); background: #050508; color: #fff; }
    
    @keyframes usage-pulse {
        0% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.005); opacity: 0.9; }
        100% { transform: scale(1); opacity: 1; }
    }
    
    .usage-updating {
        animation: usage-pulse 0.3s ease-in-out;
    }
    
    .realtime-indicator {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        font-size: 12px;
        color: var(--success-400);
        opacity: 0.8;
    }
    
    .realtime-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--success-400);
        animation: realtime-blink 2s infinite;
    }
    
    @keyframes realtime-blink {
        0%, 50% { opacity: 1; }
        50.1%, 100% { opacity: 0.3; }
    }
    
    .realtime-text {
        font-weight: 500;
        letter-spacing: 0.025em;
    }
    
    .hidden { display: none !important; }
    
    .page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(186, 174, 216, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(156, 138, 184, 0.12), transparent 50%),
    radial-gradient(ellipse 55% 45% at 0% 70%, rgba(242, 117, 26, 0.08), transparent 45%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(26, 26, 26, 0.9), transparent 50%),
    linear-gradient(165deg, #0c0c10 0%, #060608 38%, #0a0a0e 72%, #08080b 100%);
    }
    
    .particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
    mix-blend-mode: screen;
    }
    body.state-banned .particles-canvas { opacity: 0.18; mix-blend-mode: normal; }
    body.state-main .particles-canvas { opacity: 0.5; }
    body.state-loading .particles-canvas { opacity: 0.4; }
    
    .screen { min-height: 100vh; position: relative; z-index: 2; }
    .screen-main { padding-bottom: 2rem; }

    .screen-skeleton {
    padding-bottom: 2rem;
    min-height: 100vh;
    }
    body.state-loading .site-footer-minimal {
    display: none;
    }
    .skeleton-card {
    pointer-events: none;
    user-select: none;
    }
    .skeleton-block,
    .skeleton-line {
    background: linear-gradient(
    105deg,
    rgba(42, 42, 48, 0.55) 0%,
    rgba(42, 42, 48, 0.55) 40%,
    rgba(72, 68, 88, 0.75) 50%,
    rgba(42, 42, 48, 0.55) 60%,
    rgba(42, 42, 48, 0.55) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
    }
    .skeleton-card:nth-child(1) .skeleton-block,
    .skeleton-card:nth-child(1) .skeleton-line,
    .skeleton-card:nth-child(1) .skeleton-ring { animation-delay: 0s; }
    .skeleton-card:nth-child(2) .skeleton-block,
    .skeleton-card:nth-child(2) .skeleton-line,
    .skeleton-card:nth-child(2) .skeleton-ring { animation-delay: 0.08s; }
    .col-wide .skeleton-card:nth-child(1) .skeleton-block,
    .col-wide .skeleton-card:nth-child(1) .skeleton-line { animation-delay: 0.12s; }
    .col-wide .skeleton-card:nth-child(2) .skeleton-block,
    .col-wide .skeleton-card:nth-child(2) .skeleton-line { animation-delay: 0.18s; }
    .skeleton-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    }
    @media (min-width: 640px) {
    .skeleton-body { padding: 1rem 1.5rem 1.5rem; }
    }
    .skeleton-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    }
    .skeleton-block {
    border-radius: 0.5rem;
    flex-shrink: 0;
    }
    .skeleton-line {
    height: 0.875rem;
    border-radius: 0.375rem;
    }
    .skeleton-block--avatar { width: 1.75rem; height: 1.75rem; border-radius: 0.4rem; }
    .skeleton-line--brand { width: 7rem; height: 1.1rem; }
    .skeleton-line--title { width: 5.5rem; height: 1rem; }
    .skeleton-line--caption { width: 5rem; height: 0.75rem; align-self: center; }
    .skeleton-line--section { width: 10rem; height: 0.9rem; margin-bottom: 0.25rem; }
    .skeleton-line--pct { width: 3rem; height: 1.5rem; margin: 0 auto; }
    .skeleton-line--pct-label { width: 2.5rem; height: 0.65rem; margin: 0.35rem auto 0; }
    .skeleton-line--row-label { width: 4rem; height: 0.75rem; }
    .skeleton-line--row-value { width: 3.5rem; height: 0.75rem; }
    .skeleton-line--para { width: 100%; height: 0.8rem; }
    .skeleton-line--para.short { width: 72%; }
    .skeleton-line--footer { width: 9rem; height: 0.75rem; margin: 0 auto; }
    .skeleton-block--icon { width: 32px; height: 32px; }
    @media (min-width: 640px) {
    .skeleton-block--avatar { width: 2rem; height: 2rem; }
    .skeleton-block--icon { width: 36px; height: 36px; }
    }
    .skeleton-body--usage { padding-top: 0.5rem; }
    .skeleton-usage-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    }
    @media (min-width: 640px) {
    .skeleton-usage-layout {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    }
    }
    .skeleton-ring-wrap {
    position: relative;
    width: 192px;
    height: 192px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    }
    @media (min-width: 640px) {
    .skeleton-ring-wrap { width: 220px; height: 220px; }
    }
    .skeleton-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 8px solid rgba(52, 52, 58, 0.65);
    background: rgba(28, 28, 34, 0.4);
    }
    .skeleton-ring::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(186, 174, 216, 0.35);
    animation: spin 1.2s linear infinite;
    }
    .skeleton-ring-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    .skeleton-usage-rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 14rem;
    }
    .skeleton-usage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    }
    .skeleton-body--config {
    align-items: center;
    }
    .skeleton-block--qr {
    width: 192px;
    height: 192px;
    border-radius: 0.75rem;
    }
    .skeleton-config-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.5rem;
    }
    .skeleton-block--config-item {
    width: 100%;
    height: 3rem;
    border-radius: 0.65rem;
    }
    .skeleton-block--intro {
    width: 100%;
    height: 6.5rem;
    border-radius: 0.75rem;
    }
    @media (min-width: 640px) {
    .skeleton-block--intro { height: 7rem; border-radius: 1rem; }
    }
    .skeleton-block--alert {
    width: 100%;
    height: 4rem;
    border-radius: 0.75rem;
    }
    .skeleton-dl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
    }
    @media (min-width: 640px) {
    .skeleton-dl-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    }
    @media (min-width: 1024px) {
    .skeleton-dl-grid { grid-template-columns: 1fr 1fr 1fr; }
    }
    .skeleton-block--dl {
    height: 7.5rem;
    width: 100%;
    border-radius: 0.75rem;
    }
    .skeleton-block--help {
    width: 100%;
    height: 5.5rem;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    }
    .skeleton-footer {
    display: flex;
    justify-content: center;
    padding: 1.5rem 1rem 2rem;
    }
    @keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    .container--dashboard {
    position: relative;
    }
    
    .screen-banned {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    overflow: hidden;
    min-height: 100vh;
    }
    .screen-banned .particles-canvas { opacity: 0.2; }
    .banned-overlay-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(255,0,64,0.2), rgba(0,0,0,0.9), rgba(0,0,0,0.8));
    z-index: 1;
    }
    .banned-overlay-blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(4px);
    z-index: 2;
    }
    .banned-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
    }
    .banned-blob {
    position: absolute;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: rgba(255,0,64,0.1);
    filter: blur(48px);
    animation: blob-pulse 4s ease-in-out infinite;
    }
    .banned-blob-a { top: -25%; right: -25%; }
    .banned-blob-b { bottom: -25%; left: -25%; animation-duration: 5s; animation-delay: 1s; }
    @keyframes blob-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.85; }
    }
    .banned-wrap {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 42rem;
    margin: 0 1rem;
    animation: fade-in 0.5s ease;
    }
    @keyframes fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
    }
    .banned-plate-top, .banned-plate-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--banned), transparent);
    border-radius: 3px;
    }
    .banned-plate-top { top: -12px; }
    .banned-plate-bottom { bottom: -12px; }
    .banned-card {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(24px);
    border-radius: 1rem;
    border: 1px solid rgba(255,0,64,0.2);
    box-shadow: 0 0 50px -12px rgba(255,0,64,0.3);
    overflow: hidden;
    position: relative;
    }
    .banned-header {
    background: linear-gradient(90deg, #000, rgba(255,0,64,0.1), #000);
    padding: 3rem 2rem;
    }
    .banned-intro { text-align: center; }
    .banned-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    background: rgba(255,0,64,0.1);
    border: 1px solid rgba(255,0,64,0.2);
    color: var(--banned);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    }
    .banned-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--banned);
    animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
    }
    .banned-title { font-size: 1.875rem; font-weight: 700; margin: 0 0 0.5rem; color: #fff; }
    .banned-sub { color: var(--neutral-400); font-size: 0.875rem; margin: 0; }
    .banned-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem;
    }
    @media (min-width: 768px) {
    .banned-grid { grid-template-columns: 1fr 1fr; }
    }
    .banned-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(255,0,64,0.05));
    border: 1px solid rgba(255,0,64,0.1);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    }
    .banned-info-card:hover {
    border-color: rgba(255,0,64,0.3);
    box-shadow: 0 0 30px -12px rgba(255,0,64,0.3);
    transform: scale(1.02);
    }
    .banned-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, rgba(255,0,64,0.1), rgba(255,0,64,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--banned);
    }
    .banned-info-h { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 500; color: #fff; }
    .banned-info-p { margin: 0; font-size: 0.875rem; color: var(--neutral-400); line-height: 1.6; }
    .banned-actions { padding: 0 2rem 2rem; display: flex; flex-direction: column; gap: 1rem; }
    .btn-banned-primary {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--banned);
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 0 30px -12px rgba(255,0,64,0.5);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    }
    .btn-banned-primary:hover {
    background: rgba(255,0,64,0.9);
    transform: scale(1.02);
    box-shadow: 0 0 30px -6px rgba(255,0,64,0.5);
    }
    .btn-banned-outline {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,0,64,0.2);
    background: transparent;
    color: var(--banned);
    font-family: var(--font);
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    }
    .btn-banned-outline:hover {
    border-color: rgba(255,0,64,0.4);
    background: rgba(255,0,64,0.05);
    transform: scale(1.02);
    }
    .banned-footer {
    border-top: 1px solid rgba(255,0,64,0.1);
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #000, rgba(255,0,64,0.05), #000);
    }
    .banned-track {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255,0,64,0.05);
    border: 1px solid rgba(255,0,64,0.1);
    color: var(--banned);
    font-size: 0.875rem;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    }
    .banned-footer { display: flex; justify-content: center; }
    
    .screen-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--vpn-bg);
    }
    .error-inner { text-align: center; max-width: 22rem; padding: 1rem; }
    .error-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.75rem; color: #fff; }
    .error-text { color: rgba(255,255,255,0.65); margin: 0 0 1.25rem; font-size: 0.9rem; line-height: 1.6; }

    .screen-not-found {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--vpn-bg);
    }
    .not-found-inner { text-align: center; max-width: 24rem; padding: 1.5rem; }
    .not-found-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(186, 174, 216, 0.12);
    color: rgba(228, 221, 247, 0.85);
    }
    .not-found-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.75rem; color: #fff; }
    .not-found-text { color: rgba(255,255,255,0.65); margin: 0 0 1.5rem; font-size: 0.9rem; line-height: 1.7; }
    .btn-primary {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--neutral-700);
    background: var(--vpn-surface);
    color: #fff;
    font-family: var(--font);
    cursor: pointer;
    }
    .btn-primary:hover { background: #262626; }
    
    .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    }
    .grid-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    }
    @media (min-width: 1024px) {
    .grid-main { grid-template-columns: 1fr 2fr; }
    }
    .col-left { display: flex; flex-direction: column; }
.dashboard-top-row {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
gap: 0.75rem;
margin-bottom: 0.45rem;
direction: ltr;
}
    .usage-overline {
    display: flex;
    align-items: center;
    gap: 0.45rem;
margin: 0;
    padding: 0 0.125rem;
    border: none;
    background: none;
    box-shadow: none;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.25;
    }
    .usage-overline-cat {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    }
    .usage-overline-vpn {
    font-weight: 700;
    color: rgba(228, 221, 247, 0.95);
    }
    @media (min-width: 640px) {
    .usage-overline {
    font-size: 0.875rem;
    gap: 0.5rem;
    }
    .usage-overline-cat {
    width: 2rem;
    height: 2rem;
    }
.dashboard-top-row { margin-bottom: 0.55rem; }
}
    .card-mt { margin-top: 1rem; }
    @media (min-width: 640px) { .card-mt { margin-top: 1.5rem; } }
    
    .card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--neutral-700);
    border-radius: 0.75rem;
    overflow: hidden;
    }
    .card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem 0.5rem;
    }
    @media (min-width: 640px) {
    .card-head { padding: 1rem 1.5rem 0.5rem; gap: 0.75rem; }
    }
    .card-title { margin: 0; font-size: 1rem; font-weight: 600; }
    @media (min-width: 640px) { .card-title { font-size: 1.125rem; } }
    .icon-box {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    }
    @media (min-width: 640px) {
    .icon-box { width: 36px; height: 36px; }
    }
    .icon-box-grad {
    background: linear-gradient(135deg, var(--vpn-primary-bright) 0%, var(--vpn-primary) 42%, var(--vpn-secondary) 100%);
    color: var(--vpn-bg);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    }
    .icon-box-wifi {
    background: linear-gradient(to bottom right, var(--vpn-secondary), var(--vpn-primary));
    color: var(--vpn-bg);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    }
    .card-body { padding: 1rem 1.25rem 1.5rem; position: relative; }
    @media (min-width: 640px) { .card-body { padding: 1rem 1.5rem 1.5rem; } }
    .card-body-usage { padding-top: 0.5rem; }
    .usage-glow {
    position: absolute;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: rgba(186, 174, 216, 0.1);
    filter: blur(48px);
    pointer-events: none;
    }
    .usage-glow-r { right: -3rem; top: -2.5rem; }
    .usage-glow-l { left: -3rem; bottom: -2.5rem; }
    .usage-glow.sm { width: 96px; height: 96px; }
    .usage-ring-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0.5rem auto 0;
    }
    @media (min-width: 640px) {
    .usage-ring-wrap { width: 220px; height: 220px; }
    }
    @media (min-width: 768px) {
    .usage-ring-wrap { width: 192px; height: 192px; }
    }
    .usage-ring-glow {
    position: absolute;
    inset: 0;
    background: rgba(186, 174, 216, 0.06);
    border-radius: 50%;
    filter: blur(24px);
    }
    .usage-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    }
    .usage-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    }
    .usage-pct { font-size: 1.75rem; font-weight: 700; }
    @media (min-width: 640px) { .usage-pct { font-size: 2.25rem; } }
    @media (min-width: 768px) { .usage-pct { font-size: 2.5rem; } }
    .usage-label { font-size: 0.75rem; color: var(--neutral-400); margin-top: 0.25rem; }
    @media (min-width: 640px) { .usage-label { font-size: 0.875rem; } }
    .usage-pct.warn { color: #fb923c; }
    .usage-pct.danger { color: #f87171; }
    .usage-rows { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
    @media (min-width: 640px) { .usage-rows { gap: 1rem; } }
    .usage-row { display: flex; justify-content: space-between; align-items: center; }
    .muted { color: var(--neutral-400); font-size: 0.875rem; }
    .strong { font-size: 0.875rem; font-weight: 500; color: #fff; }
    .strong.warn { color: #fb923c; }
    .strong.danger { color: #f87171; }
    .strong.ok { color: #4ade80; }
    
    .btn-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    }
    @media (min-width: 640px) { .btn-grid-2 { gap: 1rem; } }
    .btn-grad, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    border: none;
    position: relative;
    overflow: hidden;
    }
    .btn-grad {
    background: linear-gradient(90deg, var(--vpn-primary), var(--vpn-secondary));
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    }
    .btn-grad:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 12px 24px -4px rgba(0,0,0,0.4);
    }
    .btn-grad:disabled { opacity: 0.7; cursor: not-allowed; }
    .btn-outline {
    background: transparent;
    border: 2px solid rgba(186, 174, 216, 0.35);
    color: var(--vpn-secondary);
    backdrop-filter: blur(4px);
    }
    .btn-outline:hover:not(:disabled) {
    background: rgba(186, 174, 216, 0.12);
    border-color: rgba(186, 174, 216, 0.55);
    transform: scale(1.05);
    }
    .btn-outline:disabled { opacity: 0.7; cursor: not-allowed; }
    #btn-regenerate.regenerating { pointer-events: none; }
    .regen-spin-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(186, 174, 216, 0.08);
    border-radius: 0.75rem;
    }
    .regen-spin {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(156, 138, 184, 0.4);
    border-top-color: var(--vpn-secondary);
    animation: spin 0.7s linear infinite;
    }
    #btn-regenerate { position: relative; min-height: 44px; }
    .config-regenerate-btn { width: 100%; margin-top: 10px; }
    .config-qr-wrap {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    }
    .config-qr-title {
    font-size: 13px;
    color: var(--neutral-400);
    }
.config-buttons-under-qr {
margin-top: 24px;
}

.config-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.85rem;
    width: 100%;
}
.config-item {
    padding: 0.5rem 0.55rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(64, 64, 64, 0.7);
    background: linear-gradient(165deg, rgba(30, 30, 34, 0.95) 0%, rgba(18, 18, 22, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.config-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}
.config-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
    direction: ltr;
    text-align: left;
}
.config-item-info--single {
    flex-direction: row;
    align-items: center;
}
.config-item-info--single .config-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.config-item-name {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    color: #f4f4f5;
    word-break: break-word;
}
.config-item-meta {
    font-size: 0.6875rem;
    line-height: 1.25;
    color: var(--neutral-400);
    word-break: break-word;
}
.config-item-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.config-item-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border-radius: 0.45rem;
    border: 1px solid rgba(64, 64, 64, 0.9);
    background: rgba(24, 24, 28, 0.9);
    color: #e4e4e7;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.config-item-btn:hover {
    background: rgba(186, 174, 216, 0.14);
    border-color: rgba(186, 174, 216, 0.35);
}
.config-item-btn:active {
    transform: scale(0.98);
}
.config-item-btn svg {
    display: block;
}
.config-list-empty {
    margin: 0;
    text-align: center;
    font-size: 0.8125rem;
}
@media (min-width: 640px) {
    .config-item {
        padding: 0.55rem 0.65rem;
    }
    .config-item-name {
        font-size: 0.8125rem;
    }
    .config-item-meta {
        font-size: 0.75rem;
    }
}
    
    .card-body-guide { padding-top: 0.5rem; }
    .guide-blob {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(186, 174, 216, 0.06);
    filter: blur(48px);
    pointer-events: none;
    }
    .guide-blob-t { right: -4rem; top: 0; }
    .guide-blob-b { left: -4rem; bottom: 0; }
    .guide-intro {
    position: relative;
    background: linear-gradient(to left, rgba(186, 174, 216, 0.1), transparent);
    border: 1px solid rgba(186, 174, 216, 0.22);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    }
    @media (min-width: 640px) {
    .guide-intro { padding: 1.5rem; border-radius: 1rem; margin-bottom: 1.25rem; }
    }
    .guide-pulse-dot {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: var(--vpn-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    }
    .guide-h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 600; color: #fff; }
    @media (min-width: 640px) { .guide-h3 { font-size: 1.125rem; margin-bottom: 0.75rem; } }
    .guide-p { margin: 0; font-size: 0.875rem; color: #d4d4d4; line-height: 1.6; }
    .guide-alert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid;
    margin-bottom: 1rem;
    }
    .guide-alert.warn {
    background: linear-gradient(to left, rgba(245, 158, 11, 0.1), rgba(242, 117, 26, 0.1));
    border-color: rgba(245, 158, 11, 0.2);
    }
    .guide-alert.danger {
    background: linear-gradient(to left, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-color: rgba(239, 68, 68, 0.2);
    }
    .guide-alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    }
    .guide-alert.warn .guide-alert-icon { background: rgba(245, 158, 11, 0.2); color: var(--warning-500); }
    .guide-alert.danger .guide-alert-icon { background: rgba(239, 68, 68, 0.2); color: var(--error-500); }
    .guide-alert-title { margin: 0 0 0.25rem; font-size: 0.875rem; font-weight: 500; }
    @media (min-width: 640px) { .guide-alert-title { font-size: 1rem; } }
    .guide-alert.warn .guide-alert-title { color: var(--warning-400); }
    .guide-alert.danger .guide-alert-title { color: var(--error-400); }
    .guide-alert-text { margin: 0; font-size: 0.75rem; line-height: 1.5; }
    @media (min-width: 640px) { .guide-alert-text { font-size: 0.875rem; } }
    .guide-alert.warn .guide-alert-text { color: var(--warning-200); }
    .guide-alert.danger .guide-alert-text { color: var(--error-200); }
    
    .dl-section {
    margin-top: 0.25rem;
    padding: 1rem 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(186, 174, 216, 0.22);
    background: linear-gradient(160deg, rgba(26, 26, 26, 0.75) 0%, rgba(14, 14, 18, 0.9) 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 12px 40px -20px rgba(0, 0, 0, 0.65);
    }
    @media (min-width: 640px) {
    .dl-section { padding: 1.25rem 1.25rem 1.5rem; }
    }
    .dl-section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(64, 64, 64, 0.6);
    text-align: center;
    }
    .dl-section-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, rgba(228, 221, 247, 0.14), rgba(156, 138, 184, 0.1));
    border: 1px solid rgba(186, 174, 216, 0.28);
    color: var(--vpn-primary);
    flex-shrink: 0;
    }
    .dl-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fafafa;
    letter-spacing: 0.01em;
    line-height: 1.35;
    max-width: 20rem;
    }
    @media (min-width: 640px) { .dl-section-title { font-size: 1.05rem; max-width: none; } }
    @media (min-width: 768px) { .dl-section-title { font-size: 1.1rem; } }
    .dl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    align-items: stretch;
    }
    @media (min-width: 640px) { .dl-grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }
    @media (min-width: 1024px) { .dl-grid { grid-template-columns: 1fr 1fr 1fr; } }
    .dl-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(34, 34, 38, 0.65) 0%, rgba(18, 18, 22, 0.85) 100%);
    border: 1px solid rgba(64, 64, 64, 0.75);
    border-radius: 0.85rem;
    padding: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    }
    @media (min-width: 640px) { .dl-card { padding: 1.15rem; } }
    .dl-card:hover {
    border-color: rgba(186, 174, 216, 0.38);
    box-shadow: 0 8px 28px -12px rgba(186, 174, 216, 0.14);
    }
    .dl-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    flex: 1;
    min-height: 0;
    }
    .dl-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    transition: transform 0.3s;
    }
    .dl-card:hover .dl-icon { transform: scale(1.05); }
    .dl-icon-win {
    background: linear-gradient(135deg, #f2751a 0%, #f5933a 100%);
    box-shadow: 0 10px 15px -3px rgba(242, 117, 26, 0.2);
    }
    .dl-icon-and {
    background: linear-gradient(to bottom right, var(--success-500), var(--success-600));
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.2);
    }
    .dl-icon-ios {
    background: linear-gradient(to bottom right, #737373, #525252);
    box-shadow: 0 10px 15px -3px rgba(115, 115, 115, 0.2);
    }
    .dl-meta { flex: 1; min-width: 0; }
    .dl-title-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; flex-wrap: wrap; }
    .dl-title { margin: 0; font-size: 1rem; font-weight: 600; color: #fff; }
    .badge-free {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    background: rgba(34, 197, 94, 0.2);
    color: var(--success-400);
    }
    .dl-desc { margin: 0; font-size: 0.875rem; color: var(--neutral-400); }
    a.btn-dl {
    text-decoration: none;
    color: #fff;
    }
    .btn-dl {
    width: 100%;
    margin-top: auto;
    padding: 0.55rem 0.85rem;
    min-height: 42px;
    border: none;
    border-radius: 0.55rem;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-shrink: 0;
    box-sizing: border-box;
    }
    .btn-dl svg {
    flex-shrink: 0;
    opacity: 0.95;
    }
    .btn-dl-win {
    background: linear-gradient(135deg, #e86812, #f5933a);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
    .btn-dl-win:hover { filter: brightness(1.06); }
    .btn-dl-and {
    background: linear-gradient(180deg, var(--success-600), #0f7a32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .btn-dl-and:hover { filter: brightness(1.05); }
    .btn-dl-ios {
    background: linear-gradient(180deg, #5c5c5c, #3d3d42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    .btn-dl-ios:hover { filter: brightness(1.06); }
    
    .help-box {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--neutral-700);
    border-radius: 0.75rem;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(8px);
    }
    @media (min-width: 640px) { .help-box { padding: 1.25rem; margin-top: 1.25rem; } }
    .help-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
    .help-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: rgba(186, 174, 216, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vpn-primary);
    flex-shrink: 0;
    }
    .help-h4 { margin: 0; font-size: 0.875rem; font-weight: 600; color: #fff; }
    @media (min-width: 768px) { .help-h4 { font-size: 1rem; } }
    .help-p { margin: 0 0 0.75rem; font-size: 0.75rem; color: #d4d4d4; line-height: 1.6; }
    @media (min-width: 640px) { .help-p { font-size: 0.875rem; margin-bottom: 1rem; } }
    .btn-help {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(186, 174, 216, 0.28);
    border-radius: 0.75rem;
    background: transparent;
    color: var(--vpn-primary);
    font-family: var(--font);
    font-size: 0.75rem;
    cursor: pointer;
    }
    @media (min-width: 640px) { .btn-help { font-size: 0.875rem; } }
    .btn-help:hover { background: rgba(186, 174, 216, 0.1); }


    .about-frame-body {
    padding-top: 0.35rem;
    }
    .about-frame-body p {
    font-size: 0.8125rem;
    }
    @media (min-width: 640px) {
    .about-frame-body p {
    font-size: 0.875rem;
    }
    }
    .help-box--compact {
    margin-top: 0.9rem;
    padding: 0.85rem;
    }
    .help-box--compact .help-h4 {
    font-size: 0.8rem;
    }
    .help-box--compact .help-p {
    font-size: 0.72rem;
    margin-bottom: 0;
    }
.about-emoji {
    width: 22px;
    height: 22px;
    vertical-align: text-bottom;
    margin-right: 0.25rem;
}

    .modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    }

    .ios-alert {
    position: fixed;
    inset: 0;
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        max(1rem, env(safe-area-inset-top, 0px))
        max(1.25rem, env(safe-area-inset-right, 0px))
        max(1rem, env(safe-area-inset-bottom, 0px))
        max(1.25rem, env(safe-area-inset-left, 0px));
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
    pointer-events: none;
    }
    .ios-alert:not(.hidden) {
    pointer-events: auto;
    }
    .ios-alert.hidden {
    display: none !important;
    }
    .ios-alert__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: auto;
    }
    .ios-alert.is-visible .ios-alert__backdrop {
    opacity: 1;
    }
    .ios-alert__stack {
    position: relative;
    z-index: 1;
    width: min(100%, 270px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: scale(1.06);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.24s ease;
    pointer-events: auto;
    }
    .ios-alert.is-visible .ios-alert__stack {
    transform: scale(1);
    opacity: 1;
    }
    .ios-alert__card {
    overflow: hidden;
    border-radius: 14px;
    background: rgba(44, 44, 46, 0.94);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.45);
    }
    .ios-alert__header {
    padding: 18px 16px 10px;
    text-align: center;
    }
    .ios-alert__title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
    }
    .ios-alert__message {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(235, 235, 245, 0.62);
    direction: ltr;
    word-break: break-word;
    }
    .ios-alert__message:empty {
    display: none;
    }
    .ios-alert__qr-wrap {
    padding: 4px 16px 18px;
    display: flex;
    justify-content: center;
    }
    .ios-alert__qr {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: calc(var(--ios-qr-size, 200px) + 20px);
    height: calc(var(--ios-qr-size, 200px) + 20px);
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    line-height: 0;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    }
    .qr-render-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--ios-qr-size, 200px);
    height: var(--ios-qr-size, 200px);
    line-height: 0;
    overflow: hidden;
    }
    .ios-alert__qr .qr-render-frame {
    width: var(--ios-qr-size, 200px);
    height: var(--ios-qr-size, 200px);
    }
    .qr-render-frame canvas,
    .qr-render-frame img,
    .qr-render-frame table {
    display: block !important;
    width: var(--ios-qr-size, 200px) !important;
    height: var(--ios-qr-size, 200px) !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 2px;
    }
    .qr-white--compact {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: calc(192px + 20px);
    height: calc(192px + 20px);
    margin: 0 auto;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    }
    .qr-white--compact .qr-render-frame {
    width: 192px;
    height: 192px;
    }
    .qr-white--compact .qr-render-frame canvas,
    .qr-white--compact .qr-render-frame img,
    .qr-white--compact .qr-render-frame table {
    width: 192px !important;
    height: 192px !important;
    }
.ios-alert__error {
    margin: 0.5rem 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #f87171;
    text-align: center;
}
.ios-alert__error.hidden {
    display: none !important;
}
    .ios-alert__btn {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border: none;
    border-radius: 14px;
    background: rgba(44, 44, 46, 0.94);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.28);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
    }
    .ios-alert__btn:active {
    transform: scale(0.98);
    background: rgba(58, 58, 60, 0.96);
    }
    @media (max-width: 767.98px) {
    .ios-alert {
        align-items: flex-end;
        justify-content: flex-end;
        padding:
            0
            max(0.65rem, env(safe-area-inset-right, 0px))
            max(0.65rem, env(safe-area-inset-bottom, 0px))
            max(0.65rem, env(safe-area-inset-left, 0px));
    }
    .ios-alert__stack {
        width: 100%;
        max-width: none;
        transform: translateY(110%);
        opacity: 1;
    }
    .ios-alert.is-visible .ios-alert__stack {
        transform: translateY(0);
    }
    .ios-alert__card {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .ios-alert__card::before {
        content: "";
        display: block;
        width: 36px;
        height: 5px;
        margin: 8px auto 4px;
        border-radius: 999px;
        background: rgba(235, 235, 245, 0.28);
    }
    .ios-alert__header {
        padding-top: 8px;
    }
    .ios-alert__qr-wrap {
        padding-bottom: 16px;
    }
    .ios-alert__btn {
        margin-bottom: 0;
    }
    }
    body.ios-alert-open {
    overflow: hidden;
    touch-action: none;
    }
    .qr-hint-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.65rem 0 0;
    font-size: 0.7rem;
    line-height: 1.4;
    color: #a1a1aa;
    max-width: 13rem;
    }
    .qr-hint-compact svg {
    flex-shrink: 0;
    color: var(--vpn-primary);
    opacity: 0.85;
    }
    .btn-modal-close {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(64, 64, 64, 0.9);
    background: rgba(30, 30, 34, 0.8);
    color: #e4e4e7;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    }
    .btn-modal-close:hover {
    background: rgba(45, 45, 52, 0.95);
    border-color: rgba(186, 174, 216, 0.38);
    color: #fff;
    }
    
    .site-footer-minimal {
    position: fixed;
    left: 50%;
    bottom: max(0.6rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 120;
    text-align: center;
    direction: ltr;
    unicode-bidi: isolate;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0.38rem;
    flex-wrap: nowrap;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(12, 12, 18, 0.74), rgba(22, 22, 30, 0.45));
    border: 1px solid rgba(186, 174, 216, 0.24);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    }
    .site-footer-minimal .footer-author-link {
    color: #efe9ff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
    }
    .site-footer-minimal .footer-author-link:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(186, 174, 216, 0.55);
    transform: translateY(-1px);
    }
    .site-footer-minimal .footer-made-with {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    }
    .site-footer-minimal .footer-made-with img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    }

    .notify-host {
    position: fixed;
    top: max(1.25rem, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: min(24rem, calc(100vw - 1.5rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    pointer-events: none;
    }
    .notify {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.05) 38%,
    rgba(186, 174, 216, 0.08) 100%
    );
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(186, 174, 216, 0.08) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
    opacity: 0;
    transform: translateY(-0.75rem) scale(0.97);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .notify-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    }
    .notify-out {
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.98);
    }
    .notify-rail {
    width: 4px;
    flex-shrink: 0;
    }
    .notify--success .notify-rail {
    background: linear-gradient(180deg, var(--vpn-primary), var(--vpn-secondary));
    }
    .notify--error .notify-rail {
    background: linear-gradient(180deg, rgba(252, 165, 165, 0.95), rgba(220, 38, 38, 0.85));
    }
    .notify--info .notify-rail { background: linear-gradient(180deg, #a3a3a3, #737373); }
    .notify-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.5rem 0.85rem 0.75rem;
    min-width: 0;
    }
    .notify-ico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    margin-top: 0.05rem;
    }
    .notify--success .notify-ico {
    background: rgba(186, 174, 216, 0.16);
    color: var(--vpn-primary);
    border: 1px solid rgba(186, 174, 216, 0.2);
    }
    .notify--error .notify-ico {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    }
    .notify--info .notify-ico {
    background: rgba(163, 163, 163, 0.12);
    color: #d4d4d4;
    }
    .notify-col { min-width: 0; flex: 1; text-align: start; }
    .notify-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
    margin-bottom: 0.15rem;
    }
    .notify--success .notify-title { color: var(--vpn-primary); }
    .notify--error .notify-title { color: #fca5a5; }
    .notify--info .notify-title { color: #a3a3a3; }
    .notify-msg {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #f4f4f5;
    word-break: break-word;
    }
    .notify-actions {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    }
    .notify-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: #0a0a0e;
    background: linear-gradient(135deg, var(--vpn-primary-bright), var(--vpn-primary));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(186, 174, 216, 0.25);
    transition: filter 0.15s ease, transform 0.15s ease;
    }
    .notify-link:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    }
    .notify--error .notify-link {
    color: #fff;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.95), rgba(220, 38, 38, 0.9));
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
    }
    .notify-close {
    flex-shrink: 0;
    align-self: flex-start;
    width: 2rem;
    height: 2rem;
    margin: 0.35rem 0.25rem 0 0;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: #71717a;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
    }
    .notify-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    }

    body.terms-dialog-open {
    overflow: hidden;
    }

    .terms-dialog {
    position: fixed;
    inset: 0;
    z-index: 550;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    }
    .terms-dialog.hidden {
    display: none !important;
    }
    .terms-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    }
    .terms-dialog__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 26rem;
    max-height: min(88vh, 36rem);
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 1px solid rgba(186, 174, 216, 0.35);
    background: linear-gradient(165deg, rgba(26, 26, 30, 0.97) 0%, rgba(10, 10, 14, 0.98) 100%);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    }
    .terms-dialog__body {
    padding: 1.1rem 1.25rem 1rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #e4e4e7;
    text-align: right;
    }
    .terms-dialog__body.markdown-body h1 {
    margin: 0 0 0.65rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fafafa;
    line-height: 1.35;
    }
    .terms-dialog__body.markdown-body h2 {
    margin: 1rem 0 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--vpn-primary-bright);
    }
    .terms-dialog__body.markdown-body p {
    margin: 0 0 0.75rem;
    }
    .terms-dialog__body.markdown-body p:last-child {
    margin-bottom: 0;
    }
    .terms-dialog__body.markdown-body strong {
    font-weight: 700;
    color: #f4f4f5;
    }
    .terms-dialog__body.markdown-body hr {
    border: none;
    border-top: 1px solid rgba(64, 64, 64, 0.75);
    margin: 0.85rem 0;
    }
    .terms-dialog__body.markdown-body blockquote {
    margin: 0.5rem 0 0;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    background: rgba(186, 174, 216, 0.08);
    border-right: 3px solid rgba(186, 174, 216, 0.45);
    color: #d4d4d8;
    font-size: 0.8125rem;
    }
    .terms-dialog__body.markdown-body ol.terms-md-ol {
    margin: 0 0 0.5rem;
    padding: 0 1.25rem 0 0;
    list-style: decimal;
    }
    .terms-dialog__body.markdown-body ul.terms-md-ul {
    margin: 0;
    padding: 0 1.1rem 0 0;
    list-style: disc;
    }
    .terms-dialog__body.markdown-body li {
    margin-bottom: 0.55rem;
    }
    .terms-dialog__body.markdown-body li:last-child {
    margin-bottom: 0;
    }
    .terms-dialog__actions {
    padding: 0.85rem 1.25rem 1.1rem;
    border-top: 1px solid rgba(64, 64, 64, 0.65);
    flex-shrink: 0;
    }
    .terms-dialog__accept {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border: none;
    }
    .terms-dialog__accept:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    }
