* {
    padding: 0;
    margin: 0;
}

[hidden] {
    display: none !important;
}

body.landpage-loading {
    background: #fff;
}

body.landpage-loading #app {
    visibility: hidden !important;
    background: none !important;
}
@media (max-width: 768px) {
    body {
        width: 100%;
        height: 100vh;
        background: #fff;
        overflow: hidden;
    }
}
@media screen and (max-width: 3000px) and (min-width: 768px) {
    body {
        background: #fff;
        overflow: hidden;
        margin: 0 auto;
    }
    #app {
        padding-top: 34px;
        width: 347px;
        min-width: 347px;
        max-width: 347px;
        height: 712px;
        background: url('imgs/phone-shell-v4.jpg') no-repeat;
        background-size: 347px 712px;
        margin: 24px auto 0;
    }
}
.ssl_tips_container {
    display: flex;
    justify-content: center;
    padding: 14px 0 8px;
}
.ssl_tips {
    display: flex;
    align-items: center;
}
.ssl_logo {
    width: 20px;
    height: 20px;
    margin-right: 3px;
    background: url('http://p19.qhimg.com/t11a4d74fffce4080f2538787d7.png') no-repeat;
    background-position: center;
    background-size: 80%;
}
.ssl_text {
    flex: 1;
    font-size: 12px;
    color: #999;
}
.jump_gif {
    width: 50%;
    margin: 44px auto 0;
}
.jump_gif img {
    width: 100%;
}
.jump_text {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 74px;
}
.jump_button_tips {
    text-align: center;
    color: #ccc;
    margin-top: 10px;
    font-size: 13px;
}
.jump_button {
    width: 52%;
    height: 36px;
    line-height: 36px;
    text-align: center;
    color: #fff;
    background: #0ccf67;
    border-radius: 15px;
    margin: 18px auto 0;
    font-size: 15px;
    animation: breathe 1s ease-in-out infinite;
    transform-origin: center;
}
.a-jump {
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(255,0,0,0);
}
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.powerby {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #ccc;
    font-size: 13px;
    text-align: center;
}
.icon {
    width: 50px;
    height: 50px;
    background: url('http://p19.qhimg.com/t11a4d74fffd16151e145e4e374.png') no-repeat;
    margin: 100px auto 10px;
    background-position: center;
    background-size: 100%;
}
.error {
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    padding: 15px 0;
}

body.xhs-landing-page {
    min-height: 100vh;
    overflow: hidden;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.xhs-landing-page #app.xhs-landing-app {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: #fff;
}

.xhs-cert-strip {
    display: flex;
    justify-content: center;
    gap: 28px;
    width: 100%;
    padding: 11px 12px;
    border-bottom: 1px solid #edf7ed;
    background: #f9fdf9;
    box-sizing: border-box;
}

.xhs-cert-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 11px;
    white-space: nowrap;
}

.xhs-cert-item svg {
    width: 13px;
    height: 13px;
    fill: #07c160;
}

.xhs-jump-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 380px);
    min-height: calc(100vh - 39px);
    margin: 0 auto;
    padding: 24px 28px 56px;
    text-align: center;
    box-sizing: border-box;
    animation: xhs-fade-in .5s cubic-bezier(.16, 1, .3, 1);
}

.xhs-jump-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
}

.xhs-app-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    box-sizing: border-box;
}

.xhs-source {
    border: 2px solid #ff2442;
    color: #ff2442;
}

.xhs-source img {
    display: block;
    width: 43px;
    height: auto;
}

.xhs-wechat {
    border: 2px solid #07c160;
}

.xhs-wechat svg {
    width: 32px;
    height: 32px;
    fill: #07c160;
}

.xhs-wechat circle {
    fill: #fff;
}

.xhs-bridge {
    position: relative;
    width: 70px;
    height: 8px;
    margin: 0 12px;
}

.xhs-bridge-line {
    position: absolute;
    top: 4px;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.xhs-bridge i {
    position: absolute;
    top: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: xhs-dot-run 2s ease-in-out infinite;
    will-change: left, opacity, transform;
}

.xhs-bridge i:nth-of-type(2) { animation-delay: .4s; }
.xhs-bridge i:nth-of-type(3) { animation-delay: .8s; }
.xhs-bridge i:nth-of-type(4) { animation-delay: 1.2s; }
.xhs-bridge i:nth-of-type(5) { animation-delay: 1.6s; }

.xhs-jump-card h1 {
    margin: 0 0 6px;
    color: #222;
    font-size: 20px;
    font-weight: 600;
}

.xhs-jump-note {
    margin: 0 0 28px;
    color: #999;
    font-size: 13px;
}

.xhs-checks {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
}

.xhs-checks div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 11px;
}

.xhs-checks b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f0faf3;
    color: #07c160;
    font-size: 13px;
}

.xhs-checks b svg {
    width: 12px;
    height: 12px;
    fill: #07c160;
}

.xhs-jump-button {
    display: block;
    width: 240px;
    height: 48px;
    border-radius: 24px;
    background: #07c160;
    box-shadow: 0 4px 20px rgba(7, 193, 96, .3);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 48px;
    text-decoration: none;
}

.xhs-jump-button:active { transform: scale(.96); }

.xhs-report-button {
    position: fixed;
    bottom: 24px;
    left: 50%;
    padding: 6px 18px;
    border: 0;
    background: transparent;
    color: #999;
    font: inherit;
    font-size: 12px;
    transform: translateX(-50%);
    cursor: pointer;
}

.xhs-report-overlay,
.xhs-feedback-overlay {
    position: fixed;
    z-index: 10000;
    inset: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, .38);
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
}

.xhs-report-overlay.is-open,
.xhs-feedback-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.xhs-report-sheet {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 480px;
    margin: 0 auto;
    padding: 18px 18px max(20px, env(safe-area-inset-bottom));
    border-radius: 8px 8px 0 0;
    background: #fff;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform .22s ease;
}

.xhs-report-overlay.is-open .xhs-report-sheet {
    transform: translateY(0);
}

.xhs-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.xhs-report-header h2 {
    color: #222;
    font-size: 16px;
    font-weight: 600;
}

.xhs-report-close {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #888;
    font-size: 25px;
    line-height: 30px;
    cursor: pointer;
}

.xhs-report-reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.xhs-report-reasons button {
    min-height: 42px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
    color: #444;
    font-size: 14px;
    cursor: pointer;
}

.xhs-report-reasons button:active {
    border-color: #07c160;
    background: #f2fbf6;
}

.xhs-report-reasons button:disabled {
    color: #aaa;
    cursor: wait;
}

.xhs-report-status {
    min-height: 18px;
    margin-top: 10px;
    color: #888;
    font-size: 12px;
    text-align: center;
}

.xhs-report-detail-step label {
    display: block;
    margin-bottom: 10px;
    color: #444;
    font-size: 13px;
}

.xhs-report-detail-step textarea {
    display: block;
    width: 100%;
    height: 128px;
    padding: 11px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    color: #333;
    font: inherit;
    font-size: 14px;
    line-height: 21px;
    resize: none;
    box-sizing: border-box;
}

.xhs-report-detail-step textarea:focus {
    border-color: #07c160;
    box-shadow: 0 0 0 2px rgba(7, 193, 96, .1);
}

.xhs-report-detail-count {
    margin-top: 6px;
    color: #aaa;
    font-size: 11px;
    text-align: right;
}

.xhs-report-detail-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    margin-top: 14px;
}

.xhs-report-detail-actions button {
    height: 42px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.xhs-report-back {
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
}

.xhs-report-submit {
    border: 1px solid #07c160;
    background: #07c160;
    color: #fff;
}

.xhs-report-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.xhs-report-detail-status {
    min-height: 18px;
    margin-top: 8px;
    color: #e5484d;
    font-size: 12px;
    text-align: center;
}

.xhs-feedback-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.xhs-feedback-dialog {
    width: min(calc(100% - 48px), 300px);
    padding: 26px 24px 22px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
    transform: translateY(10px);
    transition: transform .2s ease;
}

.xhs-feedback-overlay.is-open .xhs-feedback-dialog {
    transform: translateY(0);
}

.xhs-feedback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #effaf4;
    color: #07c160;
    font-size: 22px;
}

.xhs-feedback-dialog.is-error .xhs-feedback-icon {
    background: #fff2f2;
    color: #e5484d;
}

.xhs-feedback-dialog h2 {
    margin-bottom: 8px;
    color: #222;
    font-size: 18px;
}

.xhs-feedback-dialog p {
    min-height: 40px;
    color: #777;
    font-size: 13px;
    line-height: 20px;
}

.xhs-feedback-dialog button {
    width: 100%;
    height: 40px;
    margin-top: 16px;
    border: 0;
    border-radius: 6px;
    background: #07c160;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.xhs-reported-page,
.xhs-reported-page #app.xhs-landing-app {
    background: #f6f6f6;
}

.xhs-expired-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    padding: 20px;
    background: #f6f6f6;
    text-align: center;
    box-sizing: border-box;
}

.xhs-expired-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 390px);
    min-height: 270px;
    padding: 36px 28px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    box-sizing: border-box;
}

.xhs-expired-card h1 {
    margin-bottom: 24px;
    color: #ff2442;
    font-size: 25px;
    font-weight: 500;
}

.xhs-expired-card p {
    margin-bottom: 30px;
    color: #666;
    font-size: 15px;
    line-height: 24px;
}

.xhs-expired-card a {
    display: block;
    width: 156px;
    height: 46px;
    border-radius: 23px;
    background: #ff2442;
    color: #fff;
    font-size: 16px;
    line-height: 46px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(255, 36, 66, .2);
}

@keyframes xhs-fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes xhs-dot-run {
    0% { left: 4px; background: #ff2442; opacity: 0; transform: scale(.5); }
    15% { opacity: 1; transform: scale(1); }
    55% { background: #ff6b81; }
    80% { opacity: 1; }
    90% { background: #07c160; }
    100% { left: calc(100% - 4px); background: #07c160; opacity: 0; transform: scale(.5); }
}

@media (max-width: 380px) {
    .xhs-cert-strip { gap: 20px; }
    .xhs-cert-item { font-size: 10px; }
    .xhs-jump-card { padding-right: 18px; padding-left: 18px; }
}
