/* 链接不可访问提示页 — v10 设计版（2026-10-09 按 v10 重做）
风格：玻璃质感面板 + 裸图主图标（media/tb2001~tb2003）+ 中等饱和按钮
.upcard.member 登录可升级（蓝）
.upcard.guest  未登录可认领（青）
.upcard.foreign 他人链接不可操作（灰）
配色精简：每态仅 3 变量（--cd 强调色/对勾 / --ctint 淡底 / --cbtn 按钮+价格；hover 用 filter:brightness 内联）*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', Arial, sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding: 36px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eceff5;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(760px 480px at 12% 4%,rgba(120,150,255,.13),transparent 62%), radial-gradient(700px 460px at 88% 96%,rgba(80,200,190,.12),transparent 62%);
}
.upshell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 388px;
    animation: upin .6s cubic-bezier(.22,.9,.35,1) both;
}
@keyframes upin {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.upcard {
    --cpanel: rgba(255,255,255,.66);
    --cline: rgba(15,23,42,.07);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 26px;
    padding: 32px 26px 22px;
    box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 14px 34px -20px rgba(15,23,42,.20);
}
.upcard.member {
    --cd: #2563eb;
    --ctint: rgba(37,99,235,.07);
    --cbtn: #3d78dd;
    background: linear-gradient(168deg,#e9f0ff 0%,#f4f8ff 42%,#ffffff 100%);
}
.upcard.guest {
    --cd: #0d9488;
    --ctint: rgba(13,148,136,.08);
    --cbtn: #149a8b;
    background: linear-gradient(168deg,#e4f6f3 0%,#f1fbfa 42%,#ffffff 100%);
}
.upcard.foreign {
    --cd: #64748b;
    --ctint: rgba(100,116,139,.08);
    --cbtn: #7c8a9e;
    background: linear-gradient(168deg,#eceef3 0%,#f6f7fa 42%,#ffffff 100%);
}
/* 几何底纹 */
.updeco {
    position: absolute;
    top: -58px;
    right: -62px;
    width: 200px;
    height: 200px;
    color: var(--cd);
    opacity: .085;
    pointer-events: none;
}
.updeco circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
}
.updeco .dot {
    fill: currentColor;
    stroke: none;
}
/* ---------- 头部 ---------- */
.uphero {
    position: relative;
    text-align: center;
}
/* 主图标：裸图（media/tb2001~tb2003），无圆底无边框 */
.upico {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.upico img {
    height: 80px;
    width: auto;
    display: block;
}
/* 防御：卡片内任何「没有 class」的裸 svg 都不继承尺寸（避免底纹退化成默认 300px） */
.upcard>svg:not([class]) {
    width: auto;
    height: auto;
}
.upcard h1 {
    margin-top: 11px;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.2px;
    line-height: 1.4;
    color: #0a1020;
}
.updesc {
    margin: 11px auto 0;
    max-width: 290px;
    font-size: 13.5px;
    line-height: 1.95;
    color: #5b6879;
}
.updesc b {
    color: #3c4756;
    font-weight: 600;
}
/* ---------- 玻璃面板 ---------- */
.uppanel {
    position: relative;
    margin-top: 22px;
    padding: 17px 18px 16px;
    border-radius: 19px;
    background: var(--cpanel);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
/* 链接条 */
.upmeta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--cline);
}
.upmeta .mlabel {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8d97a6;
    font-weight: 500;
}
.upmeta .mlabel svg {
    width: 15px;
    height: 15px;
    stroke: #a4aebb;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.upmeta .url {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    color: #1b2432;
    font-size: 13px;
    word-break: break-all;
    line-height: 1.5;
}
.upmeta .copy {
    flex: none;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: rgba(15,23,42,.045);
    color: #8d97a6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s, color .18s;
}
.upmeta .copy:hover {
    background: var(--ctint);
    color: var(--cbtn);
}
.upmeta .copy svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* 权益：圆圈对勾 */
.uplist {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.uplist li {
    position: relative;
    list-style: none;
    padding-left: 26px;
    font-size: 13px;
    color: #46536a;
    line-height: 1.6;
}
.uplist li svg {
    position: absolute;
    left: 0;
    top: 1px;
    width: 16px;
    height: 16px;
    stroke: var(--cd);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* 价格 */
.upprice {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--cline);
}
.upprice .t {
    font-size: 12.5px;
    color: #8d97a6;
    line-height: 1.6;
    letter-spacing: .2px;
    padding-bottom: 3px;
    white-space: nowrap;
}
.upprice .n {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--cbtn);
    font-variant-numeric: tabular-nums;
}
.upprice .n i {
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    margin-right: 2px;
}
/* 失效态替代信息 */
.upalt {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--cline);
}
.upalt .ai {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--ctint);
    color: var(--cbtn);
    display: flex;
    align-items: center;
    justify-content: center;
}
.upalt .ai svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.upalt p {
    font-size: 12.5px;
    color: #5b6879;
    line-height: 1.8;
    padding-top: 2px;
}
.upalt p b {
    color: #3c4756;
    font-weight: 600;
}
/* ---------- 按钮 ---------- */
.upacts {
    margin-top: 20px;
}
.upbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 15px;
    background: var(--cbtn);
    color: #fff;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .4px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px -8px var(--cbtn), inset 0 1px 0 rgba(255,255,255,.20);
    transition: background .16s, transform .12s, box-shadow .2s;
}
.upbtn .bic {
    width: 19px;
    height: 19px;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.upbtn:hover {
    background: var(--cbtn);
    filter: brightness(1.08);
    box-shadow: 0 6px 18px -7px var(--cbtn);
}
.upbtn:active {
    transform: scale(.99);
    box-shadow: 0 2px 7px -4px var(--cbtn);
}
.upbtn.link {
    margin-top: 14px;
    height: auto;
    background: none;
    border: 0;
    box-shadow: none;
    color: var(--cbtn);
    font-size: 13.5px;
    font-weight: 600;
}
.upbtn.link .bic {
    width: 15px;
    height: 15px;
    stroke-width: 1.9;
}
.upbtn.link:hover {
    text-decoration: underline;
    background: none;
    box-shadow: none;
}
.upbtn.link:active {
    transform: none;
    box-shadow: none;
}
/* ---------- 附注 / 落款 ---------- */
.upnote {
    margin-top: 18px;
    font-size: 11.5px;
    color: #9aa4b3;
    line-height: 1.85;
    text-align: center;
}
.upnote b {
    color: var(--cbtn);
    font-weight: 600;
}
.upfoot {
    margin-top: 11px;
    text-align: center;
    font-size: 10.5px;
    color: #c3cad4;
    letter-spacing: 1.6px;
    font-weight: 600;
}
/* 升级 AJAX 结果 */
#upres {
    display: none;
    margin-top: 12px;
    font-size: 13px;
    border-radius: 12px;
    padding: 11px 13px;
    line-height: 1.7;
    text-align: center;
}
#upres.err {
    display: block;
    background: #fef2f2;
    color: #ff6200;
    border: 1px solid #fecaca;
}
#upres.ok {
    display: block;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
@media (max-width:420px) {
    body {
        padding: 16px 10px;
    }
    .upcard {
        padding: 28px 19px 20px;
        border-radius: 22px;
    }
    .upcard h1 {
        font-size: 21px;
    }
    .updesc {
        max-width: none;
        font-size: 13px;
    }
    .upprice .n {
        font-size: 27px;
    }
    .upbtn {
        height: 50px;
        font-size: 15px;
    }
}
@media (max-height:720px) {
    .upcard {
        padding: 26px 24px 18px;
    }
    .uppanel {
        margin-top: 18px;
        padding: 15px 16px 14px;
    }
    .upacts {
        margin-top: 16px;
    }
    .upnote {
        margin-top: 14px;
    }
}
/* 手机端：卡片顶部对齐（PC 端保持垂直居中） */
@media (max-width:600px) {
    body {
        align-items: flex-start;
    }
}
