:root {
      color-scheme: dark;
      --bg: #020304;
      --panel: #0c0f12;
      --panel-2: #11161b;
      --line: #232a31;
      --text: #f4f8fb;
      --muted: #8b98a5;
      --blue: #24c8ff;
      --green: #35f5a6;
      --gold: #ffbd4f;
      --red: #ff6262;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      margin: 0;
      min-height: 100%;
      background:
        linear-gradient(180deg, #0b0d10 0%, var(--bg) 42%, #000 100%);
      color: var(--text);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
      letter-spacing: 0;
    }

    body {
      display: flex;
      justify-content: center;
    }

    a {
      color: inherit;
      text-decoration: none;
      -webkit-tap-highlight-color: transparent;
    }

    .phone {
      width: 100%;
      max-width: 430px;
      min-height: 100vh;
      position: relative;
      background:
        linear-gradient(180deg, rgba(36, 200, 255, 0.05), transparent 28%),
        #050607;
      overflow: hidden;
    }

    .topbar {
      height: 62px;
      display: flex;
      align-items: center;
      padding: 10px 16px 8px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      min-width: 0;
    }

    .brand-logo {
      width: 38px;
      height: 38px;
      display: grid;
      gap: 2px;
      place-items: center;
      align-content: center;
      border: 1px solid rgba(36, 200, 255, 0.5);
      border-radius: 8px;
      background:
        linear-gradient(135deg, rgba(36, 200, 255, 0.2), rgba(53, 245, 166, 0.08)),
        #091015;
      color: var(--text);
      font-size: 12px;
      line-height: 1;
      font-weight: 800;
      flex: 0 0 auto;
      box-shadow: 0 0 18px rgba(36, 200, 255, 0.12);
    }

    .brand-name {
      margin: 0;
      color: rgba(244, 248, 251, 0.94);
      font-size: 16px;
      line-height: 1.15;
      font-weight: 800;
    }

    .carousel {
      position: relative;
      margin: 0;
      padding-top: 33.3333%;
      height: 0;
      overflow: hidden;
      z-index: 1;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      background: #080b0f;
    }

    .slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: scale(1.015);
      transition: opacity 520ms ease, transform 900ms ease;
    }

    .slide.is-active {
      opacity: 1;
      transform: scale(1);
      z-index: 1;
    }

    .slide img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    .dots {
      position: absolute;
      right: 14px;
      bottom: 14px;
      z-index: 3;
      display: flex;
      gap: 6px;
    }

    .dot {
      width: 7px;
      height: 7px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.38);
      cursor: pointer;
    }

    .dot.is-active {
      width: 18px;
      background: var(--blue);
    }

    .content-panel {
      position: relative;
      z-index: 2;
      margin-top: -18px;
      overflow: hidden;
      background: #050607;
      border-radius: 18px 18px 0 0;
      box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.32);
    }

    .favorite-card {
      width: 100%;
      min-height: 54px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 9px;
      margin: 0;
      padding: 12px 16px;
      border: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 18px 18px 0 0;
      background:
        linear-gradient(90deg, rgba(255, 112, 82, 0.18), rgba(36, 200, 255, 0.08)),
        #10161a;
      color: var(--text);
      cursor: pointer;
      font: inherit;
      text-align: left;
      -webkit-tap-highlight-color: transparent;
    }

    .favorite-card:active {
      background:
        linear-gradient(90deg, rgba(255, 112, 82, 0.2), rgba(36, 200, 255, 0.12)),
        #121a1f;
    }

    .gift-icon {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      color: #ff7658;
    }

    .gift-icon svg {
      width: 26px;
      height: 26px;
      display: block;
    }

    .favorite-line {
      min-width: 0;
      font-size: 15px;
      line-height: 1.2;
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .copy-toast {
      min-width: 134px;
      min-height: 44px;
      position: fixed;
      left: 50%;
      top: 50%;
      z-index: 20;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 10px 15px;
      border: 1px solid rgba(53, 245, 166, 0.22);
      border-radius: 8px;
      background: rgba(5, 10, 9, 0.92);
      color: #f4fff9;
      font-size: 14px;
      font-weight: 760;
      box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, -50%) scale(0.94);
      transition: opacity 180ms ease, transform 180ms ease;
    }

    .copy-toast.is-visible {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }

    .toast-check {
      width: 24px;
      height: 24px;
      position: relative;
      border-radius: 50%;
      background: var(--green);
      flex: 0 0 auto;
    }

    .toast-check::after {
      content: "";
      position: absolute;
      left: 8px;
      top: 5px;
      width: 6px;
      height: 11px;
      border-right: 2px solid #062017;
      border-bottom: 2px solid #062017;
      transform: rotate(45deg);
    }

    .links {
      display: grid;
      gap: 10px;
      padding: 16px 16px 22px;
    
      grid-template-columns: minmax(0, 1fr);
}

    .site-link {
      min-height: 74px;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 12px 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background:
        linear-gradient(90deg, rgba(36, 200, 255, 0.09), transparent 46%),
        var(--panel);
      transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
    
      min-width: 0;
}

    .site-link:active {
      transform: scale(0.985);
    }

    .site-link:hover {
      border-color: rgba(36, 200, 255, 0.48);
      background:
        linear-gradient(90deg, rgba(36, 200, 255, 0.14), transparent 50%),
        var(--panel-2);
    }

    .site-icon {
      width: 30px;
      height: 30px;
      display: block;
      object-fit: contain;
      flex: 0 0 auto;
    }

    .site-info {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 7px;
      flex: 1 1 auto;
    }

    .site-name {
      display: block;
      font-size: 12px;
      line-height: 1.25;
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 0 0 auto;
    
      min-width: 0;
}

    .site-url {
      display: block;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1 1 auto;
    
      min-width: 0;
      flex: 1 1 0;
      text-overflow: ellipsis;
}

    .speed {
      width: 56px;
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      flex: 0 0 auto;
    }

    .speed.fast {
      color: var(--green);
    }

    .speed.medium {
      color: var(--gold);
    }

    .speed.slow {
      color: var(--red);
    }

    .open-button {
      min-width: 72px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: linear-gradient(135deg, rgba(36, 200, 255, 0.92), rgba(53, 245, 166, 0.72));
      color: #021014;
      font-size: 12px;
      font-weight: 800;
      flex: 0 0 auto;
    
      flex: 0 0 auto;
}

    .site-link:hover .open-button {
      background: linear-gradient(135deg, #49d7ff, #55ffc0);
    }

    .copyright {
      padding: 7px 16px 24px;
      color: #687480;
      font-size: 12px;
      line-height: 1.5;
      text-align: center;
    }

    @media (min-width: 520px) {
      body {
        min-height: 100vh;
        padding: 24px 0;
        align-items: flex-start;
      }

      .phone {
        width: 430px;
        min-height: 932px;
        border: 1px solid #161b20;
        border-radius: 8px;
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
      }
    }

    @media (max-width: 360px) {
      .site-link {
        gap: 6px;
        padding: 11px 10px;
      }

      .site-icon {
        width: 28px;
        height: 28px;
      }

      .speed {
        width: 54px;
        font-size: 11px;
      }

      .open-button {
        min-width: 68px;
      }

      .favorite-card {
        gap: 7px;
        padding: 11px 12px;
      }

      .favorite-line {
        font-size: 13px;
      }
    }
.cloak-note{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden;visibility:hidden;opacity:0}
