* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-tap-highlight-color: transparent;
}
body {
    min-height: 100vh;
    background: linear-gradient(180deg, #e9f0fb 0%, #dde7f5 100%);
    padding: 10px 8px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    background: url('./images/11.webp'),linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.88));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: soft-light;
    border-radius: 24px;
    box-shadow: 0 6px 25px rgba(64, 158, 255, 0.1),0 2px 6px rgba(0,0,0,0.04);
    padding: 20px 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}
.container::before {
    content: '';
    position: absolute;
    top: 0;left: 0;right:0;bottom:0;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    z-index: 0;
}

.title-box {
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f7ff;
    position: relative;
    z-index: 1;
}
.title-box h2 {
    font-size: 20px;
    color: #165DFF;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:6px;
}
.title-box h2 i{font-size:22px;}
.title-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.scroll-notice-box {
    width: 100%;
    background: linear-gradient(90deg, #fffbeb, #fef3c7);
    color: #92400e;
    padding: 9px 0;
    border-radius: 10px;
    margin: 0 auto 12px;
    border:1px solid #fde68a;
    box-shadow:0 2px 5px rgba(245,158,11,0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
}
.scroll-wrap {
    display: flex;
    white-space: nowrap;
    animation: scrollMove 10s linear infinite;
    animation-fill-mode: forwards;
}
.scroll-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow:0 0 4px rgba(245,158,11,0.2);
    flex-shrink: 0;
}
.scroll-text.copy {
    margin-left: 20px;
}
@keyframes scrollMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.img-notice-box {
    width: 100%;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 10px;
    margin: 0 auto 14px;
    border:1px solid #e2e8f0;
    box-shadow:0 2px 6px rgba(0,0,0,0.03);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-notice-content {
    width: 100%;
    text-align: center;
}
.notice-text {
    font-size: 10px;
    color: #475569;
    font-weight: 500;
    line-height: 1.5;
    padding: 4px 0;
}

#domainList {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 20px;
    position: relative;
    z-index:1;
}
.domain-item {
    padding: 22px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow:0 2px 4px rgba(0,0,0,0.02);
}
.domain-item:active {
    background: #f8fafc;
    transform: scale(0.99);
    box-shadow:0 0 6px rgba(59,130,246,0.08);
}
.domain-item.fast { border-left: 4px solid #10b981; }
.domain-item.medium { border-left: 4px solid #f59e0b; }
.domain-item.slow { border-left: 4px solid #ef4444; }

.domain-info { flex: 1; overflow: hidden; }
.domain-name {
    font-size: 13px;
    color: #111827; font-weight:700;
    white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
    margin-bottom: 4px; letter-spacing:0.3px;
}
.domain-speed {
    font-size: 10px;
    color: #64748b; font-weight:500;
    display: flex; align-items: center; gap:4px;
}
.delay-green, .delay-orange, .delay-red { font-weight:800; font-size:13px; }
.delay-green { color: #10b981; }
.delay-orange { color: #f59e0b; }
.delay-red { color: #ef4444; }

.domain-action { display:flex; align-items:center; gap:7px; flex-shrink:0; }
.speed-dot { width:11px; height:11px; border-radius:50%; flex-shrink:0; }
.fast .speed-dot { background: #10b981; }
.medium .speed-dot { background: #f59e0b; }
.slow .speed-dot { background: #ef4444; }

.domain-link {
    display: inline-block; padding:7px 14px;
    background: linear-gradient(90deg,#3b82f6,#2563eb); color:#fff;
    text-decoration: none; border-radius:8px; font-size:11px; font-weight:600;
}
.domain-link.disabled {
    background: #94a3b8; pointer-events:none; color:#cbd5e1;
}

.best-domain {
    padding: 16px 14px;
    background: linear-gradient(90deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    text-align: center;
    border: 1px solid #bfdbfe;
    position: relative;
    z-index:1;
    margin-bottom: 12px;
}
.best-title {
    font-size: 15px; color: #1d4ed8; font-weight:700;
    margin-bottom: 8px; letter-spacing:0.3px;
}
.best-domain-info {
    font-size:14px; color:#1e40af; font-weight:600;
    margin-bottom:10px; line-height:1.5;
}
.best-domain-info .delay-green,
.best-domain-info .delay-orange,
.best-domain-info .delay-red{ font-size:14px; }
.best-link {
    display:block; width:100%; padding:11px 0;
    background: linear-gradient(90deg,#2563eb,#1d4ed8); color:#fff;
    text-decoration:none; border-radius:10px; font-size:14px; font-weight:600;
    transition:all 0.2s;
}
.best-link:active { background:#1e40af; transform:scale(0.99); }

.status-bottom-bar {
    width: 100%;
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    padding: 10px 8px;
    margin-bottom: 10px;
    border:1px solid #f1f5f9;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 4px;
}
.status-item { font-size:11px; font-weight:600; text-align:center; flex:1; }
.status-fast { color: #10b981; }
.status-medium { color: #f59e0b; }
.status-slow { color: #ef4444; }

.official-footer {
    width:100%; padding:6px; text-align:center;
    font-size:9px; color:#adb5bd; letter-spacing:0.3px;
}

.decor-left,.decor-right{position:fixed;z-index:-1;opacity:0.12;}
.decor-left{top:20%;left:0;width:70px;height:70px;background:#165DFF;border-radius:50%;}
.decor-right{bottom:20%;right:0;width:90px;height:90px;background:#10b981;border-radius:50%;}