* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #eef2f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px 20px;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(140, 180, 255, 0.55) 0%, transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(190, 160, 255, 0.45) 0%, transparent 42%),
        radial-gradient(circle at 18% 88%, rgba(160, 230, 210, 0.5) 0%, transparent 42%),
        radial-gradient(circle at 82% 88%, rgba(255, 200, 220, 0.5) 0%, transparent 42%),
        linear-gradient(135deg, #f6f8fc 0%, #eef2f8 50%, #f2eef8 100%);
    pointer-events: none;
    z-index: 0;
}

body.show-download {
    justify-content: flex-start;
    padding-top: 16px;
}

.stage {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}
.view {
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.26s ease, transform 0.26s ease;
}
.view.hidden { display: none; }
.view.leaving { opacity: 0; transform: translateY(-10px); }
.view.entering { opacity: 0; transform: translateY(16px); }

.icon-wrap {
    text-align: center;
    padding: 10px 0 16px;
}
.icon-box {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-spinner,
.icon-success {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-spinner {
    border: 4px solid rgba(255, 255, 255, 0.65);
    border-top-color: #10AEFF;
    border-right-color: #22c522;
    animation: spin 1s linear infinite;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 10px 28px rgba(16, 174, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.icon-spinner.hide { opacity: 0; }

.icon-success {
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}
.icon-success.show {
    opacity: 1;
    transform: scale(1);
    box-shadow:
        0 14px 36px rgba(26, 173, 25, 0.22),
        0 0 0 10px rgba(26, 173, 25, 0.07),
        0 0 0 1px rgba(26, 173, 25, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.icon-success svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: #1AAD19;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@keyframes spin { to { transform: rotate(360deg); } }

.title-text {
    font-size: 22px;
    color: #3a4550;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}
.title-text.success { color: #1AAD19; }
.sub-text {
    font-size: 14.5px;
    color: #8a939d;
    margin-top: 6px;
    letter-spacing: 0.2px;
}

.status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto 18px;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    font-size: 13px;
    color: #4a6b52;
    box-shadow:
        0 6px 20px rgba(60, 100, 120, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
}
.status-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1AAD19;
    flex: 0 0 7px;
    box-shadow: 0 0 10px rgba(26, 173, 25, 0.55);
}
.status-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(26, 173, 25, 0.35);
    animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
    0%   { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.7); opacity: 0; }
}

.actions {
    width: 100%;
    margin: 0 auto;
    padding: 0 4px;
}
.actions-flush { margin-top: 0; }

.btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    margin-bottom: 12px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: #1AAD19;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, transform 0.1s ease;
    user-select: none;
    touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.78; }

.btn-primary { background: #1AAD19; }
.btn-primary:active { background: #159015; }

.btn-primary1 { background: #4763b2; }
.btn-primary1:active { background: #3a5299; }

.btn .spin {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    vertical-align: -2px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-route {
    position: relative;
    padding: 14px 80px 14px 14px;
    text-align: center;
}
.btn-route .route-label {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    vertical-align: middle;
}

.route-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 62px;
    padding: 4px 9px;
    border-radius: 11px;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.3;
    color: #10AEFF;
    font-style: normal;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: color 0.25s ease;
}
.route-status .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 5px;
    font-style: normal;
}
.route-status em {
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.route-status[data-state="checking"] { color: #b0b6bd; }
.route-status[data-state="checking"] .dot {
    animation: dotBlink 1s ease-in-out infinite;
}
@keyframes dotBlink {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1; }
}

.route-status[data-state="good"]    { color: #1AAD19; }
.route-status[data-state="ok"]      { color: #10AEFF; }
.route-status[data-state="slow"]    { color: #f5a623; }
.route-status[data-state="unknown"] { color: #10AEFF; }
.route-status[data-state="fail"]    { color: #e74c3c; }

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    margin: 16px auto 0;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    font-size: 12.5px;
    color: #7a8899;
    box-shadow:
        0 6px 20px rgba(60, 100, 120, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.trust-bar svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #1AAD19;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(26, 173, 25, 0.3));
}

.back-bar {
    width: 100%;
    margin-bottom: 4px;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #556;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow:
        0 6px 18px rgba(60, 100, 120, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: background 0.18s ease, color 0.18s ease,
                border-color 0.18s ease, transform 0.1s ease,
                box-shadow 0.18s ease;
    user-select: none;
    touch-action: manipulation;
}
.back-btn:active {
    transform: scale(0.96);
    background: rgba(240, 250, 240, 0.9);
    border-color: rgba(200, 230, 201, 0.9);
    color: #1AAD19;
    box-shadow: 0 2px 8px rgba(26, 173, 25, 0.15);
}
.back-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.18s ease;
}
.back-btn:active svg { transform: translateX(-2px); }

.app-header {
    text-align: center;
    padding: 6px 0 20px;
}
.app-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, #2ecc2e 0%, #1AAD19 42%, #0fa3e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 18px 40px rgba(26, 173, 25, 0.32),
        0 8px 18px rgba(16, 174, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.1);
}
.app-icon::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 14px;
    right: 14px;
    height: 42%;
    border-radius: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.38) 0%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}
.app-icon > svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
    position: relative;
    z-index: 1;
}
.app-badge {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ecc2e 0%, #1AAD19 100%);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 173, 25, 0.32);
    z-index: 2;
}
.app-badge svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.app-name {
    font-size: 22px;
    font-weight: 600;
    color: #3a4550;
    letter-spacing: 0.4px;
}
.app-meta {
    font-size: 14px;
    color: #8a939d;
    margin-top: 6px;
}
.app-safe {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    color: #1AAD19;
}
.app-safe::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1AAD19;
    box-shadow: 0 0 0 3px rgba(26, 173, 25, 0.14),
                0 0 10px rgba(26, 173, 25, 0.55);
}

.features {
    width: 100%;
    list-style: none;
    margin-top: 16px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow:
        0 10px 28px rgba(60, 100, 120, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}
.features li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: #6f7a85;
    line-height: 2.1;
}
.features li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 12px;
    height: 7px;
    margin-top: -6px;
    border-left: 2px solid #1AAD19;
    border-bottom: 2px solid #1AAD19;
    transform: rotate(-45deg);
    border-radius: 1px;
    filter: drop-shadow(0 1px 1px rgba(26, 173, 25, 0.35));
}

.tips {
    width: 100%;
    margin-top: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 18px;
    font-size: 12.5px;
    color: #8a939d;
    line-height: 1.95;
    box-shadow:
        0 8px 24px rgba(60, 100, 120, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.tips p { margin: 0; }

.ios-guide {
    width: 100%;
    margin-top: 16px;
    padding: 20px 18px 8px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow:
        0 10px 28px rgba(60, 100, 120, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}
.guide-head {
    text-align: center;
    margin-bottom: 18px;
}
.guide-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1AAD19;
    background: rgba(26, 173, 25, 0.1);
    border: 1px solid rgba(26, 173, 25, 0.15);
    border-radius: 20px;
}
.guide-title {
    font-size: 15px;
    font-weight: 600;
    color: #3a4550;
    margin-top: 10px;
}
.guide-steps { list-style: none; }
.guide-step {
    display: flex;
    gap: 12px;
    padding-bottom: 18px;
    position: relative;
}
.guide-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 34px;
    bottom: 2px;
    width: 2px;
    background: linear-gradient(180deg, #d8ebd9 0%, #eaf2ec 100%);
    border-radius: 2px;
}
.step-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid #1AAD19;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: #1AAD19;
    box-shadow:
        0 3px 10px rgba(26, 173, 25, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.step-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.step-content {
    flex: 1;
    padding-top: 2px;
}
.step-title {
    font-size: 14px;
    font-weight: 600;
    color: #3a4550;
    line-height: 1.3;
}
.step-desc {
    font-size: 12.5px;
    color: #8a939d;
    line-height: 1.75;
    margin-top: 4px;
}
.step-desc em {
    font-style: normal;
    color: #1AAD19;
    font-weight: 600;
}

.footer {
    width: 100%;
    text-align: center;
    color: #a8b0ba;
    font-size: 12px;
    margin-top: 22px;
    padding-bottom: 6px;
    line-height: 1.8;
}
.footer p { margin: 0; }
.footer-flush { margin-top: 8px; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 12%;
    transform: translate(-50%, 10px);
    max-width: 80vw;
    padding: 12px 22px;
    border-radius: 14px;
    background: rgba(30, 40, 50, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10000;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

div[id^="_"],
iframe[id^="head__"],
iframe[id^="utp__"],
iframe[src*="ucweb.com"] {
    display: none !important;
}

.uc-tip {
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 40, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.uc-tip.show { opacity: 1; }

.uc-tip-box {
    width: 100%;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    padding: 28px 24px 20px;
    text-align: center;
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.18),
        0 10px 22px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    transform: scale(0.9);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.uc-tip.show .uc-tip-box { transform: scale(1); }

.uc-tip-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff9ee 0%, #fff3d9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 4px 14px rgba(245, 166, 35, 0.16);
}
.uc-tip-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #f5a623;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.uc-tip-title {
    font-size: 17px;
    font-weight: 600;
    color: #2f3a44;
    line-height: 1.4;
}
.uc-tip-desc {
    font-size: 13px;
    color: #8a939d;
    margin-top: 8px;
    line-height: 1.6;
}

.uc-tip-steps {
    list-style: none;
    margin: 18px 0 0;
    padding: 14px 14px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    text-align: left;
    counter-reset: step;
}
.uc-tip-steps li {
    position: relative;
    padding-left: 26px;
    font-size: 13.5px;
    color: #556;
    line-height: 1.75;
}
.uc-tip-steps li + li { margin-top: 4px; }
.uc-tip-steps li::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ecc2e 0%, #1AAD19 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 18px;
    box-shadow: 0 3px 6px rgba(26, 173, 25, 0.3);
}
.uc-tip-steps em {
    font-style: normal;
    color: #1AAD19;
    font-weight: 600;
}

.uc-tip-url {
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed rgba(160, 170, 180, 0.5);
    border-radius: 8px;
    font-size: 11px;
    color: #666;
    word-break: break-all;
    line-height: 1.5;
    user-select: text;
    -webkit-user-select: text;
}

.uc-tip-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.uc-tip-btn {
    flex: 1;
    padding: 13px 0;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, transform 0.1s ease,
                border-color 0.2s ease, color 0.2s ease,
                box-shadow 0.2s ease;
    user-select: none;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}
.uc-tip-btn:active { transform: scale(0.97); }

.uc-tip-btn-primary {
    background: linear-gradient(180deg, #2ecc2e 0%, #1AAD19 50%, #159a15 100%);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(26, 173, 25, 0.3);
    font-size: 13px;
}
.uc-tip-btn-primary:active {
    background: linear-gradient(180deg, #1c9e1c 0%, #178f17 100%);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.18);
}

.uc-tip-btn-ghost {
    background: rgba(255, 255, 255, 0.75);
    color: #556;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 2px 8px rgba(60, 100, 120, 0.06);
    font-size: 13px;
}
.uc-tip-btn-ghost:active {
    background: rgba(240, 250, 240, 0.95);
    color: #1AAD19;
    border-color: rgba(200, 230, 201, 0.9);
}

.uc-tip-close {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 8px 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 13px;
    color: #a0a8b0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}
.uc-tip-close:active { color: #556; }

/* ===== 右下角浮动刷新按钮 ===== */
.fab-refresh {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    box-shadow:
        0 10px 26px rgba(60, 100, 120, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.fab-refresh svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #1AAD19;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fab-refresh:active {
    transform: scale(0.9);
    background: rgba(240, 250, 240, 0.95);
    box-shadow:
        0 4px 12px rgba(26, 173, 25, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.fab-refresh.spinning svg { transform: rotate(360deg); }
.fab-refresh:disabled { opacity: 0.85; }
/* ===== 浮动刷新按钮 end ===== */

@media (max-width: 420px) {
    .icon-box, .icon-spinner, .icon-success { width: 82px; height: 82px; }
    .icon-success svg { width: 44px; height: 44px; }
    .title-text { font-size: 19px; }
    .btn { font-size: 16px; padding: 12px 0; }

    .app-icon { width: 82px; height: 82px; border-radius: 20px; }
    .app-icon > svg { width: 40px; height: 40px; }
    .app-badge { width: 26px; height: 26px; border-width: 2.5px; }
    .app-badge svg { width: 12px; height: 12px; }
    .app-name { font-size: 19px; }
    .features { padding: 14px 15px; }
    .features li { font-size: 13px; }

    .ios-guide { padding: 18px 15px 6px; }
    .step-title { font-size: 13.5px; }
    .step-desc { font-size: 12px; }

    .back-btn { font-size: 13px; padding: 8px 14px 8px 10px; }

    .status-bar { font-size: 12px; padding: 8px 15px; }
    .trust-bar { font-size: 12px; padding: 8px 15px; }

    .btn-route { padding: 12px 76px 12px 12px; font-size: 15px; }
    .route-status { min-width: 58px; padding: 3px 7px; font-size: 10.5px; }

    .uc-tip-box { padding: 24px 20px 16px; border-radius: 22px; }
    .uc-tip-title { font-size: 16px; }
    .uc-tip-btn { font-size: 12.5px; padding: 12px 0; border-radius: 12px; }

    .fab-refresh {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .fab-refresh svg { width: 20px; height: 20px; }
}
@media (min-width: 600px) {
    .stage { max-width: 440px;
    }
}