:root {
    --vpn-bg: #121212;
    --vpn-surface: #1B1B1B;
    --vpn-primary: #242424;
    --vpn-primary-bright: #383838;
    --vpn-primary-deep: #121212;
    --vpn-secondary: #81FF03;
    --vpn-secondary-bright: #A5FF31;
    --vpn-secondary-deep: #93FF1A;
    --vpn-accent: #81FF03;
    --primary-900: #121212;
    --primary-800: #1B1B1B;
    --primary-700: #242424;
    --primary-600: #2E2E2E;
    --primary-500: #383838;
    --primary-400: #454545;
    --primary-300: #555555;
    --primary-200: #6B6B6B;
    --primary-100: #828282;
    --primary-50: #9E9E9E;
    --primary-25: #BDBDBD;
    --primary-10: #E0E0E0;
    --os-win: #0078d4;
    --os-win-bright: #00a4ef;
    --os-win-deep: #106ebe;
    --os-android: #3ddc84;
    --os-android-bright: #78de9c;
    --os-android-deep: #16a34a;
    --os-ios: #a2aaad;
    --os-ios-bright: #d1d1d6;
    --os-ios-deep: #636366;
    --neutral-400: #9E9E9E;
    --neutral-700: #383838;
    --success-400: #A5FF31;
    --success-500: #81FF03;
    --success-600: #93FF1A;
    --success-700: #6B6B6B;
    --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;
    --glass-blur: 40px;
    --glass-blur-high: 56px;
    --glass-blur-ultra: 72px;
    --glass-saturate: 1.65;
    --secondary-900: #81FF03;
    --secondary-800: #93FF1A;
    --secondary-700: #A5FF31;
    --secondary-600: #B7FF48;
    --secondary-500: #C9FF5F;
    --secondary-400: #DBFF76;
    --secondary-300: #EDFF8D;
    --secondary-200: #F3FFAC;
    --secondary-100: #F8FFC6;
    --secondary-50: #FCFFE0;
    --secondary-25: #FDFFE9;
    --secondary-10: #FEFFF3;
    --glass-secondary-bg: rgba(129, 255, 3, 0.1);
    --glass-secondary-bg-strong: rgba(165, 255, 49, 0.14);
    --glass-secondary-border: rgba(129, 255, 3, 0.32);
    --glass-secondary-highlight: inset 0 1px 0 rgba(219, 255, 118, 0.2);
    --pill-radius: 9999px;
    --pill-glow-green: none;
    --pill-glow-green-hover: none;
    --pill-glow-light: none;
    --pill-glow-bottom: none;
    --glass-bg: rgba(27, 27, 27, 0.28);
    --glass-bg-strong: rgba(36, 36, 36, 0.38);
    --glass-bg-deep: rgba(18, 18, 18, 0.32);
    --glass-bg-subtle: rgba(18, 18, 18, 0.22);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-border-bright: rgba(255, 255, 255, 0.22);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    }
    
    .glass-frame {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    
    * { box-sizing: border-box; }
    html, body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font);
    background: #121212;
    color: #fff;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    }
    * {
    scrollbar-width: none;
    -ms-overflow-style: none;
    }
    *::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    }
    
    @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(--vpn-secondary);
        opacity: 0.8;
    }
    
    .realtime-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--vpn-secondary);
        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;
    overflow: hidden;
    background: #000;
    }
    .page-bg__photo {
    position: absolute;
    inset: 0;
    background: url("../image/background.png") center center / cover no-repeat;
    transform: scale(1.03);
    }
    
    .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(64, 64, 64, 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(129, 255, 3, 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: stretch;
    width: 100%;
    }
    .skeleton-config-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-top: 0.25rem;
    }
    .skeleton-sub-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.15rem;
    }
    .skeleton-block--sub-qr {
    width: 192px;
    height: 192px;
    border-radius: 0.75rem;
    }
    .skeleton-config-rows {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    }
    .skeleton-config-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-subtle);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    }
    .skeleton-config-row-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    }
    .skeleton-line--config-type {
    width: 3.5rem;
    height: 0.65rem;
    border-radius: 0.25rem;
    }
    .skeleton-line--config-name {
    width: 100%;
    max-width: 12rem;
    height: 0.85rem;
    border-radius: 0.3rem;
    }
    .skeleton-line--config-name.short {
    max-width: 9rem;
    }
    .skeleton-config-actions {
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
    flex-shrink: 0;
    order: -1;
    }
    .skeleton-block--config-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    flex-shrink: 0;
    }
    .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;
    }
    .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: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    .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;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    .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: var(--glass-bg-deep);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    color: rgba(165, 255, 49, 0.85);
    box-shadow: var(--glass-highlight);
    }
    .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.65rem 1.5rem;
    border-radius: var(--pill-radius);
    border: 1px solid var(--glass-secondary-border);
    background: var(--vpn-primary);
    color: var(--vpn-secondary-bright);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
    }
    .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: none;
    background: var(--vpn-primary-bright);
    border-color: rgba(165, 255, 49, 0.55);
    color: var(--vpn-secondary);
    }
    
    .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: var(--vpn-secondary-bright);
    }
    @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: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    .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-secondary-deep) 0%, var(--vpn-secondary) 42%, var(--vpn-secondary-bright) 100%);
    color: #121212;
    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-secondary-deep));
    color: #121212;
    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(129, 255, 3, 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(129, 255, 3, 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: var(--vpn-secondary-deep); }
    .usage-pct.danger { color: var(--neutral-400); }
    .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: var(--vpn-secondary-deep); }
    .strong.danger { color: var(--neutral-400); }
    .strong.ok { color: var(--vpn-secondary); }
    
    .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 1.25rem;
    border-radius: var(--pill-radius);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    }
    .btn-grad {
    background: var(--vpn-secondary);
    color: var(--vpn-primary-deep);
    border: 1px solid var(--vpn-secondary-deep);
    }
    .btn-grad:hover:not(:disabled) {
    transform: translateY(-1px) scale(1.02);
    box-shadow: none;
    background: var(--vpn-secondary-bright);
    border-color: var(--vpn-secondary);
    }
    .btn-grad:disabled { opacity: 0.7; cursor: not-allowed; }
    .btn-outline {
    background: var(--vpn-primary);
    border: 1px solid var(--glass-secondary-border);
    color: var(--vpn-secondary-bright);
    }
    .btn-outline:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: none;
    background: var(--vpn-primary-bright);
    border-color: rgba(165, 255, 49, 0.55);
    color: var(--vpn-secondary);
    }
    .btn-outline:disabled { opacity: 0.7; cursor: not-allowed; }
    .config-sub-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    width: 100%;
    }
    .config-sub-qr-title {
    font-size: 0.8125rem;
    color: var(--neutral-400);
    text-align: center;
    }
    .config-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.15rem;
    }
    .config-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-subtle);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-highlight);
    }
    .config-row-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    }
    .config-action-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    }
    .config-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    width: 100%;
    }
    .btn-config-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border-radius: var(--pill-radius);
    border: 1px solid var(--glass-secondary-border);
    background: var(--vpn-primary);
    color: var(--vpn-secondary-bright);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease, opacity 0.22s ease;
    box-shadow: none;
    }
    @media (min-width: 640px) {
    .btn-config-text { font-size: 0.8125rem; min-height: 2.85rem; padding: 0.7rem 1.1rem; }
    }
    .btn-config-text:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--vpn-primary-bright);
    border-color: rgba(165, 255, 49, 0.55);
    color: var(--vpn-secondary);
    box-shadow: none;
    }
    .btn-config-text:active:not(:disabled) {
    transform: translateY(0);
    }
    .btn-config-text:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    }
    .btn-config-text--full {
    width: 100%;
    color: var(--vpn-primary-deep);
    background: var(--vpn-secondary);
    border: 1px solid var(--vpn-secondary-deep);
    box-shadow: none;
    }
    .btn-config-text--full:hover:not(:disabled) {
    background: var(--vpn-secondary-bright);
    border-color: var(--vpn-secondary);
    color: var(--vpn-primary-deep);
    box-shadow: none;
    }
    .skeleton-config-action-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    }
    .skeleton-config-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    width: 100%;
    }
    .skeleton-block--config-btn {
    width: 100%;
    height: 2.75rem;
    border-radius: var(--pill-radius);
    }
    .skeleton-block--config-btn-wide {
    width: 100%;
    height: 2.75rem;
    border-radius: var(--pill-radius);
    }
    .config-row-type {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vpn-secondary-deep);
    }
    .config-row-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--vpn-secondary-bright);
    line-height: 1.45;
    word-break: break-word;
    }
    .config-row-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    order: -1;
    }
    .btn-config-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 0.55rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-deep);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    color: var(--vpn-secondary);
    font-family: var(--font);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
    box-shadow: var(--glass-highlight);
    }
    .btn-config-action:hover:not(:disabled) {
    background: rgba(129, 255, 3, 0.12);
    border-color: rgba(129, 255, 3, 0.35);
    }
    .btn-config-action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    }
    .btn-config-action svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    opacity: 0.9;
    }
    .btn-config-action--qr {
    background: rgba(129, 255, 3, 0.1);
    }
    
    .card-body-guide { padding-top: 0.5rem; }
    .guide-blob {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(129, 255, 3, 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;
    overflow: hidden;
    background:
    linear-gradient(145deg, rgba(129, 255, 3, 0.14) 0%, rgba(165, 255, 49, 0.08) 42%, rgba(18, 18, 18, 0.18) 100%);
    backdrop-filter: blur(var(--glass-blur-ultra)) saturate(1.8);
    -webkit-backdrop-filter: blur(var(--glass-blur-ultra)) saturate(1.8);
    border: 1px solid var(--glass-secondary-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow:
    var(--glass-shadow),
    var(--glass-secondary-highlight),
    0 0 40px rgba(129, 255, 3, 0.06);
    }
    .guide-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(129, 255, 3, 0.12), transparent 55%);
    pointer-events: none;
    }
    .guide-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 70% 50% at 0% 100%, rgba(219, 255, 118, 0.08), transparent 50%);
    pointer-events: none;
    }
    @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;
    z-index: 1;
    width: 8px;
    height: 8px;
    background: var(--secondary-900);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(129, 255, 3, 0.65);
    animation: pulse-dot 2s ease-in-out infinite;
    }
    .guide-h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-700);
    text-shadow: 0 0 24px rgba(129, 255, 3, 0.18);
    }
    @media (min-width: 640px) { .guide-h3 { font-size: 1.125rem; margin-bottom: 0.75rem; } }
    .guide-p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.875rem;
    color: var(--secondary-400);
    line-height: 1.7;
    }
    .guide-alert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-highlight);
    }
    .guide-alert.warn {
    background: linear-gradient(to left, rgba(245, 158, 11, 0.14), rgba(242, 117, 26, 0.08));
    border-color: rgba(245, 158, 11, 0.32);
    }
    .guide-alert.danger {
    background: linear-gradient(to left, rgba(165, 255, 49, 0.12), rgba(36, 36, 36, 0.18));
    border-color: rgba(147, 255, 26, 0.28);
    }
    .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.22); color: var(--warning-500); }
    .guide-alert.danger .guide-alert-icon { background: rgba(147, 255, 26, 0.18); color: var(--vpn-secondary-deep); }
    .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(--vpn-secondary); }
    .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(--neutral-400); }
    
    .dl-section {
    margin-top: 0.25rem;
    padding: 1rem 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    @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 var(--glass-border);
    text-align: center;
    }
    .dl-section-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.65rem;
    background: var(--glass-bg-deep);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    color: var(--primary-25);
    flex-shrink: 0;
    box-shadow: var(--glass-highlight);
    }
    .dl-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-10);
    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%;
    border-radius: 0.85rem;
    padding: 1rem;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-highlight);
    }
    @media (min-width: 640px) { .dl-card { padding: 1.15rem; } }
    .dl-card-win {
    background: rgba(0, 120, 212, 0.12);
    border: 1px solid rgba(0, 120, 212, 0.32);
    }
    .dl-card-and {
    background: rgba(61, 220, 132, 0.12);
    border: 1px solid rgba(61, 220, 132, 0.32);
    }
    .dl-card-ios {
    background: rgba(162, 170, 173, 0.14);
    border: 1px solid rgba(162, 170, 173, 0.32);
    }
    .dl-card-win .dl-title { color: var(--os-win-bright); }
    .dl-card-and .dl-title { color: var(--os-android); }
    .dl-card-ios .dl-title { color: var(--os-ios-bright); }
    .dl-card-win:hover {
    border-color: rgba(0, 120, 212, 0.48);
    background: rgba(0, 120, 212, 0.18);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    .dl-card-and:hover {
    border-color: rgba(61, 220, 132, 0.48);
    background: rgba(61, 220, 132, 0.18);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    .dl-card-ios:hover {
    border-color: rgba(162, 170, 173, 0.48);
    background: rgba(162, 170, 173, 0.2);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    .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-icon svg {
    width: 26px;
    height: 26px;
    display: block;
    flex-shrink: 0;
    }
    .dl-card:hover .dl-icon { transform: scale(1.05); }
    .dl-icon-win {
    background: var(--os-win);
    box-shadow: none;
    }
    .dl-icon-and {
    background: var(--os-android);
    box-shadow: none;
    }
    .dl-icon-ios {
    background: var(--os-ios-deep);
    box-shadow: none;
    color: #fff;
    }
    .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;
    }
    .dl-card-win .badge-free {
    background: rgba(0, 120, 212, 0.18);
    color: var(--os-win-bright);
    }
    .dl-card-and .badge-free {
    background: rgba(61, 220, 132, 0.18);
    color: var(--os-android);
    }
    .dl-card-ios .badge-free {
    background: rgba(162, 170, 173, 0.18);
    color: var(--os-ios-bright);
    }
    .dl-desc { margin: 0; font-size: 0.875rem; color: var(--neutral-400); }
    a.btn-dl {
    text-decoration: none;
    }
    a.btn-dl-win,
    a.btn-dl-and,
    a.btn-dl-ios {
    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: var(--os-win);
    color: #fff;
    box-shadow: none;
    }
    .btn-dl-win:hover { filter: brightness(1.06); }
    .btn-dl-and {
    background: var(--os-android);
    color: #fff;
    box-shadow: none;
    }
    .btn-dl-and:hover { filter: brightness(1.06); }
    .btn-dl-ios {
    background: var(--os-ios-deep);
    color: #fff;
    box-shadow: none;
    }
    .btn-dl-ios:hover { filter: brightness(1.06); }
    
    .help-box {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    @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: var(--glass-bg-deep);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vpn-secondary);
    flex-shrink: 0;
    box-shadow: var(--glass-highlight);
    }
    .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.65rem 1.25rem;
    border: 1px solid var(--glass-secondary-border);
    border-radius: var(--pill-radius);
    background: var(--vpn-primary);
    color: var(--vpn-secondary-bright);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
    }
    @media (min-width: 640px) { .btn-help { font-size: 0.875rem; } }
    .btn-help:hover {
    transform: translateY(-1px);
    background: var(--vpn-primary-bright);
    border-color: rgba(165, 255, 49, 0.55);
    color: var(--vpn-secondary);
    box-shadow: none;
    }


    .about-frame-body {
    padding-top: 0.35rem;
    }
    .about-frame-body p {
    font-size: 0.8125rem;
    margin: 0 0 1.1rem;
    line-height: 1.7;
    color: #d4d4d4;
    }
    @media (min-width: 640px) {
    .about-frame-body p {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    }
    }
    .help-box--compact {
    margin-top: 1.75rem;
    padding: 0.85rem;
    }
    .help-box--compact .help-h4 {
    font-size: 0.8rem;
    }
    .help-box--compact .help-p {
    font-size: 0.72rem;
    margin-bottom: 0.85rem;
    }
.about-emoji {
    width: 22px;
    height: 22px;
    vertical-align: text-bottom;
    margin-right: 0.25rem;
    filter: grayscale(1) brightness(1.15);
    opacity: 0.85;
}

    .modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    }
    .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    }
    .modal-panel--qr {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 17.5rem;
    padding: 0;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--glass-border-bright);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75), var(--glass-highlight);
    }
    .modal-qr-header {
    text-align: center;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--glass-border);
    background: var(--glass-bg-subtle);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    }
    .modal-qr-header-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.4rem;
    border-radius: 0.6rem;
    background: var(--glass-bg-deep);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vpn-secondary);
    box-shadow: var(--glass-highlight);
    }
    .modal-qr-header-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    }
    .modal-qr-header-desc {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: #9ca3af;
    }
    .modal-qr-body {
    padding: 1rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    }
    .qr-compact-card {
    width: 100%;
    max-width: 11.5rem;
    margin: 0 auto;
    padding: 0.5rem 0.5rem 0.55rem;
    border-radius: 0.65rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-subtle);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-highlight);
    }
    .qr-compact-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vpn-secondary);
    margin-bottom: 0.35rem;
    opacity: 0.9;
    }
    #config-sub-qr-host {
    width: 200px;
    height: 200px;
    overflow: hidden;
    }
    .qr-white--compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0.35rem;
    border-radius: 0.45rem;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    width: 200px;
    height: 200px;
    box-sizing: border-box;
    }
    .qr-white--compact canvas,
    .qr-white--compact img {
    display: block !important;
    width: 192px !important;
    height: 192px !important;
    max-width: 192px !important;
    max-height: 192px !important;
    }
    .qr-white--compact canvas ~ img {
    display: none !important;
    }
    .qr-white--compact table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
    width: 192px !important;
    height: 192px !important;
    table-layout: fixed;
    }
    .qr-white--empty {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    border: 1px dashed rgba(129, 255, 3, 0.2);
    }
    .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-secondary);
    opacity: 0.85;
    }
    .btn-modal-close {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: 0.55rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-subtle);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    color: #e4e4e7;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    box-shadow: var(--glass-highlight);
    }
    .btn-modal-close:hover {
    background: var(--glass-bg-deep);
    border-color: var(--glass-border-bright);
    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: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    }
    .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(129, 255, 3, 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(129, 255, 3, 0.08) 100%
    );
    backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    var(--glass-highlight);
    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(129, 255, 3, 0.16);
    color: var(--vpn-secondary);
    border: 1px solid rgba(129, 255, 3, 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-secondary); }
    .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: #121212;
    background: linear-gradient(135deg, var(--vpn-secondary-bright), var(--vpn-secondary));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(129, 255, 3, 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.45);
    backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    }
    .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 var(--glass-border-bright);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur-high)) saturate(var(--glass-saturate));
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), var(--glass-highlight);
    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-secondary-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: var(--glass-bg-subtle);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border-right: 3px solid var(--glass-border-bright);
    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 var(--glass-border);
    flex-shrink: 0;
    background: var(--glass-bg-subtle);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    }
    .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;
    }
