:root {
      --lx: 50%;
      --ly: 18%;
      --light-angle: 135deg;
      --tilt-x: 0px;
      --tilt-y: 0px;
      --bg-base: #0e1621;
      --text-primary: #f5f8ff;
      --text-secondary: rgba(224, 235, 252, 0.72);
      --text-muted: rgba(182, 200, 226, 0.66);
      --accent: #0088cc;
      --accent-bright: #2aabee;
      --accent-deep: #0284c7;
      --ok: #38bdf8;
      --warn: #f59e0b;
      --color-link: #8fd8ff;
      --color-success-text: #e0f2fe;
      --spring: cubic-bezier(0.32, 1.35, 0.62, 1);
      --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
      --font-sans: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      --font-head: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
      --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    ::selection {
      background: transparent;
      color: inherit;
    }

    ::-moz-selection {
      background: transparent;
      color: inherit;
    }

    html {
      color-scheme: dark;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      scrollbar-gutter: stable;
    }

    .skip-link {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
    }

    .skip-link:focus {
      position: fixed;
      top: 12px;
      right: 12px;
      width: auto;
      height: auto;
      padding: 10px 16px;
      background: var(--accent);
      color: #ffffff;
      border-radius: 8px;
      z-index: 100;
      clip: auto;
      font-size: 14px;
      font-weight: 600;
    }

    body {
      min-height: 100dvh;
      background-color: var(--bg-base);
      color: var(--text-primary);
      font-family: var(--font-sans);
      line-height: 1.7;
      overflow-x: hidden;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: max(22px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom));
    }

    .optical-defs {
      position: fixed;
      width: 0;
      height: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .backdrop-stage {
      position: fixed;
      inset: -40px;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
      background:
        radial-gradient(ellipse 90% 65% at 50% -10%, #0d2240 0%, #050b18 52%, #03060d 100%);
      transform: translate3d(calc(var(--tilt-x) * -0.45), calc(var(--tilt-y) * -0.45), 0);
      will-change: transform;
    }

    .refract-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(148, 197, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 197, 255, 0.045) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: radial-gradient(ellipse 80% 72% at 50% 42%, rgba(0, 0, 0, 0.9), transparent 82%);
      -webkit-mask-image: radial-gradient(ellipse 80% 72% at 50% 42%, rgba(0, 0, 0, 0.9), transparent 82%);
    }

    .light-ribbon {
      position: absolute;
      border-radius: 999px;
      filter: blur(72px);
      will-change: transform;
    }

    .ribbon-a {
      width: 520px;
      height: 260px;
      top: -60px;
      right: -80px;
      background: linear-gradient(120deg, rgba(42, 171, 238, 0.42), rgba(56, 189, 248, 0.16), transparent 78%);
      transform: rotate(-18deg) translate3d(calc(var(--tilt-x) * 0.9), calc(var(--tilt-y) * 0.9), 0);
    }

    .ribbon-b {
      width: 460px;
      height: 280px;
      top: 38%;
      left: -140px;
      background: linear-gradient(45deg, rgba(14, 165, 233, 0.28), rgba(59, 130, 246, 0.2), transparent 76%);
      transform: rotate(14deg) translate3d(calc(var(--tilt-x) * -0.7), calc(var(--tilt-y) * 0.7), 0);
    }

    .ribbon-c {
      width: 420px;
      height: 220px;
      bottom: -70px;
      right: 8%;
      background: linear-gradient(160deg, rgba(99, 102, 241, 0.24), rgba(42, 171, 238, 0.16), transparent 76%);
      transform: translate3d(calc(var(--tilt-x) * 0.6), calc(var(--tilt-y) * -0.6), 0);
    }

    .ribbon-tools {
      width: 700px;
      height: 220px;
      top: 280px;
      left: 50%;
      margin-left: -350px;
      background: radial-gradient(ellipse 85% 85% at 50% 50%, rgba(42, 171, 238, 0.50) 0%, rgba(56, 189, 248, 0.25) 60%, transparent 80%);
      filter: blur(28px);
      transform: rotate(-10deg) translate3d(calc(var(--tilt-x) * 0.8), calc(var(--tilt-y) * 0.8), 0);
    }

    .liquid-lens {
      position: relative;
      background: linear-gradient(
        var(--light-angle),
        rgba(255, 255, 255, 0.17) 0%,
        rgba(255, 255, 255, 0.05) 42%,
        rgba(255, 255, 255, 0.03) 68%,
        rgba(125, 211, 252, 0.12) 100%
      );
      backdrop-filter: url(#liquidRefract) blur(22px) saturate(195%) brightness(1.08);
      -webkit-backdrop-filter: blur(26px) saturate(195%) brightness(1.08);
      box-shadow:
        0 32px 76px rgba(0, 0, 0, 0.6),
        inset 0 2px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 1.5px rgba(255, 255, 255, 0.14);
    }

    @supports not (backdrop-filter: url(#liquidRefract)) {
      .liquid-lens {
        backdrop-filter: blur(22px) saturate(195%) brightness(1.06);
      }
      .emblem-lens {
        backdrop-filter: blur(18px) saturate(210%);
      }
    }

    .liquid-lens::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1.15px;
      background: linear-gradient(
        var(--light-angle),
        rgba(255, 255, 255, 0.66) 0%,
        rgba(186, 230, 253, 0.28) 26%,
        rgba(255, 255, 255, 0.04) 55%,
        rgba(255, 255, 255, 0.24) 100%
      );
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .liquid-lens::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(
        340px circle at var(--lx) var(--ly),
        rgba(255, 255, 255, 0.15) 0%,
        rgba(125, 211, 252, 0.06) 34%,
        transparent 68%
      );
      pointer-events: none;
    }

    .shell {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 456px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      flex: 1;
    }

    @media (min-width: 768px) {
      .shell {
        max-width: 560px;
      }
      body {
        padding: 32px 24px 48px;
      }
    }

    @media (min-width: 1024px) {
      .shell {
        max-width: 640px;
      }
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 10px 8px 12px;
      border-radius: 999px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding-right: 4px;
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(42, 171, 238, 0.16));
      border: 1px solid rgba(255, 255, 255, 0.28);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
      display: grid;
      place-items: center;
      color: #eaf6ff;
    }

    .brand-name {
      font-family: var(--font-mono);
      font-weight: 600;
      font-size: 16px;
      letter-spacing: 0.1em;
      color: var(--text-primary);
    }

    .topbar-controls {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      height: 38px;
      min-height: 44px;
      padding: 0 15px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.36);
      color: var(--text-primary);
      font-family: var(--font-sans);
      font-size: 13.5px;
      font-weight: 500;
      cursor: pointer;
      transition: transform 0.25s var(--spring), background 0.2s ease, border-color 0.2s ease;
    }

    .btn-pill:hover {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
      border-color: rgba(255, 255, 255, 0.34);
    }

    .btn-pill:active {
      transform: scale(0.94);
    }

    .btn-pill:disabled {
      opacity: 0.6;
      cursor: default;
    }

    .btn-pill svg {
      width: 15px;
      height: 15px;
      color: var(--accent-bright);
    }

    .btn-pill.is-loading svg {
      opacity: 0.5;
    }

    .hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 14px;
      padding: 6px 8px 0;
    }

    .emblem-lens {
      position: relative;
      width: 118px;
      height: 118px;
      border-radius: 32px;
      display: grid;
      place-items: center;
      overflow: hidden;
      background: linear-gradient(
        var(--light-angle),
        rgba(255, 255, 255, 0.24) 0%,
        rgba(56, 189, 248, 0.18) 48%,
        rgba(2, 132, 199, 0.22) 100%
      );
      backdrop-filter: url(#liquidRefract) blur(18px) saturate(210%);
      -webkit-backdrop-filter: blur(22px) saturate(210%);
      box-shadow:
        0 20px 44px rgba(0, 8, 22, 0.62),
        inset 0 2px 2px rgba(255, 255, 255, 0.58),
        inset 0 -2px 5px rgba(14, 165, 233, 0.26);
    }

    .emblem-lens img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: inherit;
    }

    .emblem-lens::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1.25px;
      background: linear-gradient(
        var(--light-angle),
        rgba(255, 255, 255, 0.82) 0%,
        rgba(125, 211, 252, 0.34) 40%,
        rgba(255, 255, 255, 0.08) 70%,
        rgba(255, 255, 255, 0.32) 100%
      );
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .emblem-lens::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(
        90px circle at var(--lx) var(--ly),
        rgba(255, 255, 255, 0.42) 0%,
        transparent 68%
      );
      pointer-events: none;
    }

    .hero-title {
      font-family: var(--font-head);
      font-size: clamp(27px, 7vw, 34px);
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1.35;
      color: var(--text-primary);
    }

    .hero-title .accent {
      background: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 45%, #2aabee 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .proxy-card {
      border-radius: 32px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-height: 560px;
    }

    .card-body {
      position: relative;
      z-index: 1;
      padding: 24px 22px 22px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .endpoint-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }

    .endpoint-main {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      direction: ltr;
      min-width: 0;
    }

    .endpoint-ip {
      font-family: var(--font-mono);
      font-size: clamp(21px, 6.4vw, 31px);
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--text-primary);
      font-variant-numeric: tabular-nums;
      transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
    }

    .endpoint-empty {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-secondary);
    }

    .endpoint-ip.is-switching {
      opacity: 0.2;
      transform: translateY(4px);
    }

    .endpoint-port {
      font-family: var(--font-mono);
      font-size: 14.5px;
      font-weight: 500;
      color: var(--text-muted);
    }

    .btn-mini-copy {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.07);
      color: var(--text-secondary);
      display: grid;
      place-items: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: transform 0.22s var(--spring), background 0.18s ease, color 0.18s ease;
    }

    .btn-mini-copy:hover {
      background: rgba(255, 255, 255, 0.16);
      color: var(--text-primary);
    }

    .btn-mini-copy:active {
      transform: scale(0.9);
    }

    .btn-mini-copy svg {
      width: 14px;
      height: 14px;
    }

    .updated-time {
      font-size: 12.5px;
      color: var(--text-muted);
    }

    .checked-time {
      font-size: 12px;
      color: var(--text-muted);
    }

    .telemetry-strip {
      display: flex;
      border-top: 1px solid rgba(255, 255, 255, 0.09);
      border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .telemetry-cell {
      flex: 1;
      min-width: 0;
      padding: 14px 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .telemetry-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
    }

    .telemetry-label {
      font-size: 12px;
      color: var(--text-muted);
    }

    .telemetry-btn {
      background: none;
      border: none;
      padding: 6px 8px;
      margin: -6px -8px;
      min-height: 44px;
      min-width: 44px;
      font-family: var(--font-sans);
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-bright);
      cursor: pointer;
      transition: opacity 0.18s ease;
    }

    .telemetry-btn:hover {
      opacity: 0.78;
    }

    .telemetry-btn:disabled {
      opacity: 0.4;
      cursor: default;
    }

    .telemetry-value {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
      white-space: nowrap;
    }

    .telemetry-value svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      color: var(--accent-bright);
    }

    .telemetry-value.is-pending svg {
      color: var(--warn);
    }

    .url-chamber {
      border-radius: 18px;
      padding: 14px 16px;
      background: rgba(3, 7, 16, 0.56);
      border: 1px solid rgba(255, 255, 255, 0.09);
      box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.46), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .url-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      color: var(--text-muted);
    }

    .url-proto {
      font-family: var(--font-mono);
      font-size: 12px;
      color: rgba(186, 230, 253, 0.68);
      direction: ltr;
    }

    .url-code {
      font-family: var(--font-mono);
      font-size: 12.2px;
      line-height: 1.65;
      color: var(--color-link);
      direction: ltr;
      text-align: left;
      word-break: normal;
      overflow-wrap: anywhere;
    }

    .url-empty {
      font-size: 13.5px;
      line-height: 1.7;
      color: var(--text-secondary);
      text-align: center;
    }

    .action-dock {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 12px;
    }

    .btn-glass {
      position: relative;
      height: 54px;
      border-radius: 999px;
      font-family: var(--font-sans);
      font-size: 15.5px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      cursor: pointer;
      text-decoration: none;
      overflow: hidden;
      transition: transform 0.28s var(--spring), box-shadow 0.24s ease, border-color 0.2s ease, background 0.2s ease;
    }

    .btn-glass:active {
      transform: scale(0.955);
    }

    .btn-glass svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .btn-connect {
      background: linear-gradient(
        var(--light-angle),
        rgba(125, 211, 252, 0.94) 0%,
        rgba(42, 171, 238, 0.9) 46%,
        rgba(2, 132, 199, 0.96) 100%
      );
      color: #031524;
      border: 1px solid rgba(255, 255, 255, 0.54);
      box-shadow:
        0 14px 34px rgba(14, 165, 233, 0.38),
        inset 0 2px 1.5px rgba(255, 255, 255, 0.72),
        inset 0 -2px 5px rgba(3, 62, 102, 0.28);
    }

    .btn-connect::after {
      content: "";
      position: absolute;
      inset: 0 0 50% 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 100%);
      pointer-events: none;
    }

    .btn-connect:hover {
      background: var(--accent-bright);
      box-shadow:
        0 18px 40px rgba(14, 165, 233, 0.5),
        inset 0 2px 2px rgba(255, 255, 255, 0.85);
    }

    .btn-copy {
      background: linear-gradient(
        var(--light-angle),
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.05) 100%
      );
      color: var(--text-primary);
      border: 1px solid rgba(255, 255, 255, 0.24);
      box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.32),
        inset 0 1.5px 1px rgba(255, 255, 255, 0.38);
    }

    .btn-copy:hover {
      border-color: rgba(255, 255, 255, 0.38);
      background: linear-gradient(
        var(--light-angle),
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.08) 100%
      );
    }

    .btn-copy.is-copied {
      background: linear-gradient(155deg, rgba(56, 189, 248, 0.26) 0%, rgba(14, 165, 233, 0.14) 100%);
      border-color: rgba(125, 211, 252, 0.54);
      color: var(--color-success-text);
    }

    .icon-morph {
      position: relative;
      width: 18px;
      height: 18px;
      display: grid;
      place-items: center;
    }

    .icon-morph svg {
      position: absolute;
      inset: 0;
      transition: transform 0.28s var(--spring), opacity 0.2s ease;
    }

    .icon-done {
      opacity: 0;
      transform: scale(0.45);
    }

    .btn-copy.is-copied .icon-idle {
      opacity: 0;
      transform: scale(0.45);
    }

    .btn-copy.is-copied .icon-done {
      opacity: 1;
      transform: scale(1);
    }

    .card-bottom {
      position: relative;
      z-index: 1;
      padding: 14px 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 12.5px;
      color: var(--text-secondary);
    }

    .card-bottom svg {
      width: 15px;
      height: 15px;
      color: var(--accent-bright);
      flex-shrink: 0;
    }

    .tools-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .btn-tool {
      height: 50px;
      min-height: 48px;
      font-size: 13.5px;
      background: linear-gradient(
        var(--light-angle),
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.22) 45%,
        rgba(125, 211, 252, 0.28) 100%
      );
      backdrop-filter: blur(12px) saturate(130%) brightness(1.02);
      -webkit-backdrop-filter: blur(12px) saturate(130%) brightness(1.02);
      border: 1px solid rgba(255, 255, 255, 0.28);
      box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.38);
    }

    .btn-tool::after {
      content: "";
      position: absolute;
      inset: 0 0 50% 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
      pointer-events: none;
    }

    .btn-tool:hover {
      background: linear-gradient(
        var(--light-angle),
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 55%,
        rgba(125, 211, 252, 0.03) 100%
      );
      border-color: rgba(255, 255, 255, 0.32);
    }

    .btn-tool svg {
      width: 17px;
      height: 17px;
      color: var(--accent-bright);
    }

    @supports not (backdrop-filter: url(#liquidRefract)) {
      .btn-tool {
        backdrop-filter: blur(12px) saturate(130%) brightness(1.02);
      }
    }

    .site-footer {
      margin-top: auto;
      padding-top: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      font-size: 12.5px;
      color: var(--text-muted);
    }

    .footer-brand {
      font-family: var(--font-mono);
      font-weight: 600;
      color: var(--accent-bright);
      letter-spacing: 0.08em;
    }

    .island-toast {
      position: fixed;
      top: max(18px, env(safe-area-inset-top));
      left: 50%;
      transform: translateX(-50%) translateY(-28px) scale(0.92);
      padding: 11px 18px;
      border-radius: 999px;
      background: rgba(9, 15, 28, 0.8);
      backdrop-filter: blur(26px) saturate(210%);
      -webkit-backdrop-filter: blur(26px) saturate(210%);
      border: 1px solid rgba(255, 255, 255, 0.24);
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.58), inset 0 1px 1px rgba(255, 255, 255, 0.36);
      color: var(--text-primary);
      font-size: 13px;
      font-weight: 500;
      opacity: 0;
      pointer-events: none;
      z-index: 60;
      max-width: calc(100vw - 32px);
      white-space: normal;
      text-align: center;
      transition: transform 0.35s var(--spring), opacity 0.2s ease;
    }

    :focus-visible {
      outline: 2px solid var(--accent-bright);
      outline-offset: 3px;
    }

    .btn-glass:focus-visible,
    .btn-pill:focus-visible {
      outline-offset: 2px;
    }

    .island-toast.is-visible {
      opacity: 1;
      transform: translateX(-50%) translateY(0) scale(1);
    }

    @media (max-width: 390px) {
      .action-dock {
        grid-template-columns: 1fr;
      }

      .card-body {
        padding: 20px 16px 18px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    .proxy-list {
      border-radius: 24px;
      padding: 14px 12px 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .proxy-list[hidden] {
      display: none;
    }

    .proxy-list > * {
      position: relative;
      z-index: 1;
    }

    .proxy-list-head {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .proxy-list-title {
      flex: 1;
      min-width: 0;
      font-family: var(--font-head);
      font-size: 15px;
      font-weight: 700;
      text-align: center;
      color: var(--text-primary);
    }

    .btn-reset-default {
      flex-shrink: 0;
      white-space: nowrap;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(125, 211, 252, 0.35);
      background: rgba(42, 171, 238, 0.08);
      color: var(--accent-bright);
      font-family: var(--font-sans);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
    }

    .btn-reset-default:active {
      transform: scale(0.96);
    }

    .proxy-list-rows {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .proxy-row {
      width: 100%;
      min-height: 48px;
      padding: 7px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-primary);
      font-family: var(--font-sans);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      cursor: pointer;
      text-align: right;
    }

    .proxy-row[hidden] {
      display: none;
    }

    .proxy-row.is-active {
      border-color: rgba(125, 211, 252, 0.55);
      background: rgba(42, 171, 238, 0.12);
    }

    .proxy-row-info {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
    }

    .proxy-row-country {
      font-size: 13.5px;
      font-weight: 700;
      line-height: 1.35;
      color: var(--text-primary);
    }

    .proxy-row-endpoint {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 500;
      line-height: 1.35;
      color: var(--text-muted);
      direction: ltr;
      text-align: right;
      font-variant-numeric: tabular-nums;
    }

    .proxy-row-side {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .proxy-row-note {
      font-size: 11px;
      font-weight: 600;
      line-height: 1.35;
      color: var(--accent-bright);
      white-space: nowrap;
    }

    .proxy-row-note:empty {
      display: none;
    }
