/* 由 frontend/pages/shipin.php 拆分而来，改样式改这里。 */
.vx-app{
    --vx-brand: var(--theme-color, #6C3BF4);
    --vx-brand-rgb: var(--theme-color-rgb, 108, 59, 244);
    --vx-lime:#C8F56B;
    --vx-text:#1B1B26;
    --vx-sub:#5C5D6E;
    --vx-muted:#8A8B9A;
    --vx-line:#E9EAF2;
    --vx-bg:#F4F5FA;
    --vx-card:#ffffff;
    --vx-cell:#F7F8FC;
    --vx-input:#FAFAFD;
    --vx-feat-g:#EDFBF2;
    --vx-feat-b:#EAF3FF;
    --vx-feat-p:#F3EFFF;
    --vx-feat-p-ico:linear-gradient(135deg,#7C4DF8,#5A2BE0);
    --vx-feat-p-line:#6C3BF4;
    --vx-shadow:0 18px 46px -24px rgba(38,26,92,.28);
    --vx-shadow-sm:0 6px 18px -12px rgba(38,26,92,.28);
    --vx-brand-d:#5A2BE0;
    --vx-grad:linear-gradient(135deg,#7C4DF8,#5A2BE0);
    --vx-grad-side:linear-gradient(158deg,#7C4DF8 0%,#6432E8 42%,#4A1FD2 100%);
    --vx-brand-l:rgba(var(--vx-brand-rgb), .10);
    --vx-brand-l2:rgba(var(--vx-brand-rgb), .18);

    max-width:1320px;
    margin:0 auto;
    padding:6px 0 40px;
    color:var(--vx-text);
    font-size:14px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
}
@supports (color: color-mix(in srgb, red, blue)){
    .vx-app{
        --vx-brand-d:color-mix(in srgb, var(--vx-brand) 70%, #000);
        --vx-grad:linear-gradient(135deg, color-mix(in srgb, var(--vx-brand) 76%, #fff), var(--vx-brand));
        --vx-grad-side:linear-gradient(158deg,
            color-mix(in srgb, var(--vx-brand) 72%, #fff) 0%,
            var(--vx-brand) 44%,
            color-mix(in srgb, var(--vx-brand) 82%, #000) 100%);
    }
}
.vx-app *,
.vx-app *::before,
.vx-app *::after{ box-sizing:border-box; }

.vx-main{
    display:grid;
    grid-template-columns:minmax(0,400px) minmax(0,1fr);
    background:var(--vx-card);
    border-radius:26px;
    box-shadow:var(--vx-shadow);
    overflow:hidden;
}

.vx-side{
    position:relative;
    overflow:hidden;
    padding:44px 34px 30px;
    background:var(--vx-grad-side);
    color:#fff;
    display:flex;
    flex-direction:column;
}
.vx-side::before{
    content:"";
    position:absolute;
    right:-60px;top:-40px;
    width:0;height:0;
    border-left:70px solid rgba(255,255,255,.10);
    border-bottom:70px solid transparent;
    transform:rotate(12deg);
}
.vx-side::after{
    content:"";
    position:absolute;
    left:-40px;bottom:120px;
    width:0;height:0;
    border-right:60px solid rgba(255,255,255,.07);
    border-top:60px solid transparent;
}
.vx-txt{position:relative;z-index:2}
.vx-side h1{
    position:relative;
    margin:0;
    font-size:32px;
    line-height:1.28;
    font-weight:900;
    letter-spacing:1px;
    text-shadow:0 3px 12px rgba(20,0,70,.28);
}
.vx-side h1 em{font-style:normal;display:block}
.vx-underline{
    display:block;
    width:172px;height:8px;
    margin:12px 0 0;
    border-radius:8px;
    background:var(--vx-lime);
    box-shadow:0 4px 14px rgba(200,245,107,.45);
    transform:rotate(-1.6deg);
}
.vx-side p{
    position:relative;
    margin:26px 0 0;
    font-size:15px;
    line-height:2;
    color:rgba(255,255,255,.9);
    font-weight:500;
}

.vx-illus{
    position:relative;
    flex:0 0 auto;
    height:330px;
    margin-top:auto;
    padding-top:14px;
}
.vx-illus::before{
    content:"";
    position:absolute;
    left:50%;bottom:-50px;
    width:320px;height:320px;
    margin-left:-160px;
    border-radius:50%;
    background:radial-gradient(closest-side,rgba(255,255,255,.16),transparent 72%);
    pointer-events:none;
}
.vx-illus svg{
    position:absolute;
    left:50%;bottom:0;
    width:250px;height:auto;
    margin-left:-125px;
    filter:drop-shadow(0 18px 30px rgba(24,0,80,.32));
}

.vx-panel{
    padding:26px 28px 22px;
    min-width:0;
    display:flex;
    flex-direction:column;
}

.vx-head{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
}
.vx-head .vx-ico{
    width:22px;height:22px;
    color:var(--vx-brand);
    flex:none;
}
.vx-head h2{
    margin:0;
    font-size:18px;
    font-weight:800;
    letter-spacing:.2px;
    color:var(--vx-text);
}

.vx-inputrow{display:flex;gap:10px;margin-bottom:12px}
.vx-inputrow input{
    flex:1 1 auto;
    min-width:0;
    height:46px;
    padding:0 16px;
    border-radius:12px;
    border:1.5px solid var(--vx-line);
    background:var(--vx-input);
    color:var(--vx-text);
    font-size:14px;
    font-family:inherit;
    outline:none;
    transition:border-color .2s,background .2s,box-shadow .2s;
}
.vx-inputrow input::placeholder{color:#A6A7B4}
.vx-inputrow input:focus{
    border-color:var(--vx-brand);
    background:var(--vx-card);
    box-shadow:0 0 0 4px rgba(var(--vx-brand-rgb),.12);
}
.vx-btn-parse{
    flex:none;
    height:46px;
    padding:0 24px;
    border:0;
    border-radius:12px;
    background:var(--vx-grad);
    color:#fff;
    font-size:14px;
    font-weight:700;
    font-family:inherit;
    cursor:pointer;
    white-space:nowrap;
    box-shadow:0 10px 22px -12px rgba(var(--vx-brand-rgb),.9);
    transition:transform .18s,filter .18s;
}
.vx-btn-parse:hover{transform:translateY(-1px);filter:brightness(1.06)}
.vx-btn-parse:active{transform:translateY(0) scale(.99)}
.vx-btn-parse:disabled{opacity:.6;cursor:not-allowed;transform:none}

.vx-notice{
    display:flex;
    align-items:flex-start;
    gap:8px;
    padding:10px 14px;
    border-radius:10px;
    background:var(--vx-brand-l);
    color:var(--vx-brand-d);
    font-size:12.5px;
    font-weight:600;
    line-height:1.7;
    margin-bottom:16px;
    transition:background .25s,color .25s;
}
.vx-notice.is-err{background:#FEECEC;color:#D64545}
.vx-notice.is-load{background:#FFF6E6;color:#B77800}

.vx-stage{
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    min-height:0;
}

.vx-empty{
    flex:1 1 auto;
    min-height:230px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
    border:1.5px dashed var(--vx-line);
    border-radius:16px;
    color:var(--vx-muted);
    text-align:center;
    padding:24px;
}
.vx-empty .eico{
    width:58px;height:58px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--vx-brand-l);
    color:var(--vx-brand-d);
}
.vx-empty .eico svg{width:26px;height:26px}
.vx-empty p{margin:0;font-size:12.5px;line-height:1.9}
.vx-empty.is-load .eico svg{animation:vx-spin 1s linear infinite}
@keyframes vx-spin{to{transform:rotate(360deg)}}

.vx-hist{
    width:100%;
    max-width:430px;
    margin-top:16px;
    text-align:left;
}
.vx-hist .h{
    display:flex;align-items:center;gap:6px;
    margin-bottom:7px;
    font-size:11.5px;
    color:var(--vx-muted);
}
.vx-hist .h em{
    font-style:normal;
    margin-left:auto;
    cursor:pointer;
    color:var(--vx-muted);
    transition:color .16s;
}
.vx-hist .h em:hover{color:var(--vx-brand)}
.vx-hist .it{
    display:flex;align-items:center;gap:8px;
    padding:8px 11px;
    margin-bottom:6px;
    border-radius:9px;
    background:var(--vx-cell);
    cursor:pointer;
    transition:background .16s,transform .16s;
}
.vx-hist .it:hover{background:var(--vx-brand-l);transform:translateX(2px)}
.vx-hist .it b{
    flex:1 1 auto;min-width:0;
    font-size:12px;font-weight:600;color:var(--vx-text);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.vx-hist .it i{
    flex:none;
    font-style:normal;
    font-size:10.5px;
    color:var(--vx-muted);
}

/* ---------- 结果卡 ---------- */
.vx-result{
    border:1px solid var(--vx-line);
    border-radius:16px;
    padding:16px;
    background:var(--vx-card);
    animation:vx-up .35s ease both;
}
@keyframes vx-up{
    from{opacity:0;transform:translateY(10px)}
    to{opacity:1;transform:translateY(0)}
}

.vx-r-top{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}
.vx-back{
    flex:none;
    display:inline-flex;
    align-items:center;
    gap:4px;
    height:32px;
    padding:0 12px;
    border-radius:9px;
    border:1px solid var(--vx-line);
    background:var(--vx-card);
    color:var(--vx-sub);
    font-size:12px;
    font-weight:600;
    font-family:inherit;
    cursor:pointer;
    white-space:nowrap;
    transition:.18s;
}
.vx-back:hover{color:var(--vx-brand);border-color:var(--vx-brand);background:var(--vx-brand-l)}
.vx-r-title{
    display:flex;
    margin:0 0 12px;
    font-size:13.5px;
    font-weight:700;
    line-height:1.65;
    color:var(--vx-text);
}
.vx-r-title .t{
    flex:1 1 auto;
    min-width:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    word-break:break-word;
}

.vx-info{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin-bottom:12px;
}
.vx-cell{
    background:var(--vx-cell);
    border-radius:9px;
    padding:9px 12px;
    min-width:0;
}
.vx-cell label{
    display:block;
    font-size:11.5px;
    color:var(--vx-muted);
    line-height:1.5;
    margin-bottom:2px;
}
.vx-cell b{
    display:block;
    font-size:13px;
    font-weight:700;
    color:var(--vx-text);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.vx-previews{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:12px;
}
.vx-thumb{
    position:relative;
    margin:0;
    border-radius:11px;
    overflow:hidden;
    background:#0E0F14;
    aspect-ratio:16/10;
}
.vx-thumb img,
.vx-thumb video{
    width:100%;height:100%;
    display:block;
    object-fit:contain;
}
.vx-thumb.cover img{object-fit:cover}
.vx-tag{
    position:absolute;
    left:8px;top:8px;
    z-index:2;
    padding:3px 9px;
    border-radius:6px;
    background:rgba(15,16,22,.62);
    color:#fff;
    font-size:11px;
    font-weight:600;
    letter-spacing:.2px;
}
.vx-play{
    position:absolute;
    left:50%;top:50%;
    width:46px;height:46px;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:rgba(255,255,255,.22);
    border:1.5px solid rgba(255,255,255,.85);
    display:grid;
    place-items:center;
    pointer-events:none;
    z-index:2;
}
.vx-play::after{
    content:"";
    width:0;height:0;
    margin-left:3px;
    border-left:13px solid #fff;
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
}

.vx-acts{display:flex;flex-wrap:wrap;gap:8px}
.vx-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:36px;
    padding:0 16px;
    border-radius:9px;
    border:1px solid transparent;
    font-size:12.5px;
    font-weight:700;
    font-family:inherit;
    text-decoration:none;
    cursor:pointer;
    transition:transform .16s,filter .16s,background .16s,color .16s;
}
.vx-btn.primary{background:var(--vx-brand);color:#fff;box-shadow:0 8px 18px -12px rgba(var(--vx-brand-rgb),1)}
.vx-btn.primary:hover{filter:brightness(1.07);transform:translateY(-1px);color:#fff}
.vx-btn.soft{background:var(--vx-brand-l);color:var(--vx-brand-d)}
.vx-btn.soft:hover{background:var(--vx-brand-l2);transform:translateY(-1px);color:var(--vx-brand-d)}
.vx-btn.done{background:#22C55E !important;color:#fff !important}

.vx-error{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:14px 16px;
    border-radius:14px;
    background:#FEECEC;
    border:1px solid #F8D4D4;
    color:#C0392B;
    font-size:13px;
    line-height:1.7;
    animation:vx-up .3s ease both;
}
.vx-error b{display:block;font-weight:700;margin-bottom:2px}
.vx-error .eh{
    display:block;
    margin-top:3px;
    font-size:12px;
    color:#B05A50;
}

.vx-plats{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:auto;
    padding-top:18px;
}
.vx-plats .lb{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:12.5px;
    font-weight:700;
    color:var(--vx-sub);
    white-space:nowrap;
}
.vx-plats .lb::before{
    content:"";
    width:0;height:0;
    border-left:7px solid var(--vx-text);
    border-top:5px solid transparent;
    border-bottom:5px solid transparent;
}
.vx-icons{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.vx-pi{
    display:block;
    width:28px;height:28px;
    border-radius:7px;
    overflow:hidden;
    background:#fff;
    box-shadow:inset 0 0 0 1px rgba(0,0,0,.06), 0 3px 8px -4px rgba(0,0,0,.45);
    transition:transform .18s,box-shadow .18s;
}
.vx-pi:hover{
    transform:translateY(-3px) scale(1.1);
    box-shadow:inset 0 0 0 1px rgba(0,0,0,.06), 0 8px 16px -6px rgba(0,0,0,.45);
}
.vx-pi img{
    width:100%;height:100%;
    display:block;
    object-fit:contain;
}
.vx-more{font-size:12px;color:var(--vx-muted);padding-left:2px}

.vx-imgs{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(130px,1fr));
    gap:8px;
    margin-bottom:12px;
}
.vx-img{
    position:relative;
    display:block;
    aspect-ratio:1/1;
    border-radius:10px;
    overflow:hidden;
    background:#0E0F14;
}
.vx-img img{
    width:100%;height:100%;
    display:block;
    object-fit:cover;
    transition:transform .25s;
}
.vx-img:hover img{transform:scale(1.06)}
.vx-img i{
    position:absolute;left:6px;top:6px;
    font-style:normal;
    padding:1px 6px;
    border-radius:5px;
    background:rgba(15,16,22,.62);
    color:#fff;
    font-size:10.5px;font-weight:700;
}
.vx-img.more{
    display:grid;place-items:center;
    background:var(--vx-cell);
    color:var(--vx-sub);
    font-size:13px;font-weight:700;
}

.vx-tip{
    display:flex;
    gap:8px;
    align-items:flex-start;
    margin-top:10px;
    padding:9px 12px;
    border-radius:9px;
    background:var(--vx-cell);
    color:var(--vx-sub);
    font-size:11.5px;
    line-height:1.75;
}
.vx-tip b{color:var(--vx-text);font-weight:700}

.vx-featwrap{
    margin-top:18px;
    padding:14px;
    border-radius:22px;
    background:var(--vx-card);
    box-shadow:var(--vx-shadow-sm);
}
.vx-features{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.vx-feat{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:22px 22px 20px;
    border-radius:16px;
    background:var(--vx-card);
}
.vx-feat.brand{background:var(--vx-feat-p)}
.vx-feat.green{background:var(--vx-feat-g)}
.vx-feat.blue{background:var(--vx-feat-b)}
.vx-feat .fi{
    flex:none;
    width:52px;height:52px;
    border-radius:50%;
    display:grid;
    place-items:center;
    color:#fff;
}
.vx-feat.brand .fi{background:var(--vx-feat-p-ico)}
.vx-feat.green .fi{background:linear-gradient(135deg,#34D399,#16A34A)}
.vx-feat.blue .fi{background:linear-gradient(135deg,#60A5FA,#2563EB)}
.vx-feat .fi svg{width:24px;height:24px}
.vx-feat .ft{min-width:0}
.vx-feat h3{
    margin:2px 0 6px;
    font-size:15px;
    font-weight:800;
    color:var(--vx-text);
}
.vx-feat p{
    margin:0;
    font-size:12.5px;
    line-height:1.75;
    color:var(--vx-sub);
}
.vx-feat .fl{
    display:block;
    width:26px;height:3px;
    border-radius:3px;
    margin-top:10px;
}
.vx-feat.brand .fl{background:var(--vx-feat-p-line)}
.vx-feat.green .fl{background:#22C55E}
.vx-feat.blue .fl{background:#3B82F6}

.vx-steps{
    display:flex;
    align-items:center;
    margin-top:14px;
    padding:14px 4px 2px;
    border-top:1px dashed var(--vx-line);
}
.vx-steps .sh{
    display:inline-flex;
    align-items:center;
    gap:8px;
    flex:none;
    font-size:13px;
    font-weight:800;
    color:var(--vx-text);
    white-space:nowrap;
}
.vx-steps .sh svg{
    width:18px;height:18px;
    color:var(--vx-brand);
    opacity:.9;
}
.vx-sl{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    align-items:center;
    margin-left:24px;
}
.vx-step{
    display:inline-flex;
    align-items:center;
    gap:9px;
    font-size:13px;
    font-weight:600;
    color:var(--vx-text);
    white-space:nowrap;
}
.vx-step em{
    font-style:normal;
    flex:none;
    width:26px;height:26px;
    border-radius:50%;
    background:var(--vx-grad);
    color:#fff;
    font-size:12px;
    font-weight:800;
    display:grid;
    place-items:center;
    box-shadow:0 0 0 4px rgba(var(--vx-brand-rgb),.13),
               0 4px 10px -6px rgba(var(--vx-brand-rgb),.95);
    transition:transform .2s;
}
.vx-step:hover em{transform:scale(1.1)}
.vx-step .t-short{display:none}
.vx-line{
    flex:1 1 40px;
    height:2px;
    border-radius:2px;
    margin:0 16px;
    position:relative;
    background:linear-gradient(90deg,rgba(var(--vx-brand-rgb),.5),rgba(var(--vx-brand-rgb),.1));
}
.vx-line::after{
    content:"";
    position:absolute;
    right:-1px;top:50%;
    width:5px;height:5px;
    border-radius:50%;
    background:rgba(var(--vx-brand-rgb),.35);
    transform:translateY(-50%);
}

.vx-toast{
    position:fixed;
    left:50%;bottom:40px;
    transform:translate(-50%,14px);
    padding:11px 22px;
    border-radius:12px;
    background:rgba(26,28,33,.94);
    color:#fff;
    font-size:13px;
    opacity:0;
    pointer-events:none;
    transition:.26s;
    z-index:99999;
    max-width:80vw;
    text-align:center;
}
.vx-toast.show{opacity:1;transform:translate(-50%,0)}

html.io-black-mode .vx-app{
    --vx-text:#ECEDF5;
    --vx-sub:#B7B9C7;
    --vx-muted:#8B8D9E;
    --vx-line:#3A3B47;
    --vx-bg:#1B1D1F;
    --vx-card:#2A2B33;
    --vx-cell:#33343D;
    --vx-input:#33343D;
    --vx-brand-d:#C3B4FF;
    --vx-feat-g:#1E3329;
    --vx-feat-b:#1E2C42;
    --vx-feat-p:#2A2340;
    --vx-feat-p-line:#A78BFA;
    --vx-shadow:0 18px 46px -24px rgba(0,0,0,.8);
    --vx-shadow-sm:0 6px 18px -12px rgba(0,0,0,.7);
}
@supports (color: color-mix(in srgb, red, blue)){
    html.io-black-mode .vx-app{
        --vx-brand-d:color-mix(in srgb, var(--vx-brand) 45%, #fff);
    }
}
html.io-black-mode .vx-notice.is-err{background:#3A2323;color:#FF9A9A}
html.io-black-mode .vx-notice.is-load{background:#3A3020;color:#F0B44C}
html.io-black-mode .vx-error{background:#3A2323;border-color:#4D2C2C;color:#FF9A9A}
html.io-black-mode .vx-error .eh{color:#E8908A}
html.io-black-mode .vx-inputrow input::placeholder{color:#6E707E}
html.io-black-mode .vx-plats .lb::before{border-left-color:#ECEDF5}

@media (max-width:940px){
    .vx-main{grid-template-columns:1fr}
    .vx-side{
        flex-direction:row;
        align-items:center;
        gap:16px;
        padding:28px 26px;
    }
    .vx-txt{flex:1 1 auto;min-width:0}
    .vx-side h1{font-size:27px}
    .vx-side p{margin-top:14px;font-size:14px;line-height:1.85}
    .vx-underline{width:140px;height:7px;margin-top:10px}
    .vx-illus{
        flex:none;
        width:186px;
        min-height:0;
        height:190px;
        margin:0;
    }
    .vx-illus::before{display:none}
    .vx-illus svg{width:158px;left:50%;margin-left:-79px;bottom:0}
    .vx-features{grid-template-columns:1fr}
}
@media (max-width:680px){
    .vx-app{padding-bottom:30px}
    .vx-main{border-radius:20px}
    .vx-panel{padding:20px 16px 18px}
    .vx-side{padding:22px 18px;gap:6px;align-items:flex-start}
    .vx-side h1{font-size:22px;letter-spacing:.5px}
    .vx-side p{margin-top:10px;font-size:12.5px}
    .vx-underline{width:104px;height:6px;margin-top:8px}
    .vx-illus{width:126px;height:150px}
    .vx-illus svg{width:118px;left:50%;margin-left:-59px;bottom:0}
    .vx-inputrow{flex-wrap:wrap}
    .vx-inputrow input{flex:1 1 100%}
    .vx-btn-parse{flex:1 1 100%}
    .vx-r-top{flex-wrap:wrap}
    .vx-info{gap:6px}
    .vx-cell{padding:8px 9px}
    .vx-cell b{font-size:12px}
    .vx-previews{grid-template-columns:1fr}
    .vx-imgs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
    .vx-btn{flex:1 1 calc(50% - 4px)}
    .vx-steps{padding:12px 0 2px;flex-direction:column;align-items:stretch}
    .vx-sl{width:auto;margin-left:0;margin-top:10px;justify-content:space-between;gap:4px}
    .vx-step{flex:1 1 0;min-width:0;justify-content:center;gap:5px;font-size:11.5px}
    .vx-step em{width:18px;height:18px;font-size:10px;
                box-shadow:0 3px 8px -6px rgba(var(--vx-brand-rgb),1)}
    .vx-step .t-long{display:none}
    .vx-step .t-short{display:inline}
    /* 连线在小屏收成一个 › */
    .vx-line{flex:none;width:auto;height:auto;margin:0;background:none}
    .vx-line::after{display:none}
    .vx-line::before{content:"›";color:#B9BBC6;font-size:13px;line-height:1}
    .vx-feat{padding:18px}
    .vx-featwrap{padding:10px;border-radius:18px}
    .vx-features{gap:10px}
    .vx-empty{min-height:180px}
}
