/* user 站各页面专属样式（页内 <style> 外置于此）。 */

[v-cloak] { display: none; }

/* ==== account/dashboard 个人中心工作台 ==== */
.uc-eyebrow { font-family:'Cormorant Garamond',serif; letter-spacing:3px; color:var(--primary); font-size:12px; margin-bottom:6px; }
.uc-head h1 { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); margin-bottom:6px; }
.uc-desc { color:var(--ink-muted); font-size:13px; margin-bottom:22px; }
.uc-stats { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.uc-stat { position:relative; background:#fff; border:1px solid var(--line-light); border-radius:16px; padding:22px 20px; text-decoration:none; overflow:hidden; }
.uc-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.us-num { font-family:'Cormorant Garamond','Noto Serif SC',serif; font-size:30px; color:var(--primary-dark); font-weight:600; }
.us-label { margin-top:4px; font-size:12.5px; color:var(--ink-muted); }
.us-icon { position:absolute; right:14px; top:14px; font-size:22px; color:rgba(224,123,74,.2); }
.uc-sec { font-family:'Noto Serif SC',serif; font-size:17px; color:var(--ink); margin:26px 0 14px; }
.uc-actions { display:grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap:14px; }
.uc-act { display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--line-light); border-radius:14px; padding:16px 16px; text-decoration:none; }
.uc-act:hover { box-shadow: var(--shadow); border-color: rgba(224,123,74,.4); }
.ua-ic { width:46px; height:46px; border-radius:12px; background: linear-gradient(135deg, rgba(224,123,74,.12), rgba(216,154,62,.1)); color:var(--primary-dark); font-size:19px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ua-t { font-size:14.5px; font-weight:500; color:var(--ink); }
.ua-d { font-size:12px; color:var(--ink-muted); margin-top:2px; }
@media (max-width: 960px){ .uc-wrap { grid-template-columns: 1fr; } .uc-side{ position:static; } .uc-menu{ flex-direction:row; flex-wrap:wrap; } }
@media (max-width: 640px){ .uc-stats{ grid-template-columns:1fr; } }

/* ==== account/orders 我的订单 ==== */
.od-head { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin: 8px 0 22px; }
.od-eyebrow { font-family:'Cormorant Garamond',serif; letter-spacing:3px; color:var(--primary); font-size:12px; margin-bottom:4px; }
.od-head h1 { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); }
.od-sub { color:var(--ink-muted); font-size:13px; margin-top:4px; }
.od-stats { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-bottom:20px; }
.od-stat { background:#fff; border:1px solid var(--line-light); border-radius:16px; padding:18px 20px; }
.od-stat.hot { border-color: rgba(201,168,106,.5); background: rgba(201,168,106,.06); }
.od-num { font-family:'Cormorant Garamond','Noto Serif SC',serif; font-size:26px; font-weight:700; color:var(--primary-dark); }
.od-stat.hot .od-num { color:var(--primary); }
.od-label { font-size:12.5px; color:var(--ink-muted); margin-top:4px; }
.od-empty { background:#fff; border:1px solid var(--line-light); border-radius:18px; text-align:center; padding:70px 20px; }
.oe-ic { font-size:46px; color:var(--ink-muted); opacity:.5; margin-bottom:14px; }
.oe-t { font-family:'Noto Serif SC',serif; font-size:18px; color:var(--ink); margin-bottom:6px; }
.oe-d { font-size:13px; color:var(--ink-muted); margin-bottom:22px; }
.od-list { display:flex; flex-direction:column; gap:16px; }
.od-card { background:#fff; border:1px solid var(--line-light); border-radius:16px; padding:18px 22px; }
.odc-top { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding-bottom:12px; border-bottom:1px solid var(--line-light); }
.odc-no { font-family:monospace; font-size:12.5px; color:var(--ink-muted); }
.odc-date { font-size:12px; color:var(--ink-muted); }
.odc-status { margin-left:auto; font-size:12px; color:#4f8f66; background:rgba(79,143,102,.12); padding:3px 12px; border-radius:20px; }
.odc-body { display:flex; gap:16px; align-items:center; padding:16px 0; flex-wrap:wrap; }
.odc-cover { width:64px; height:64px; border-radius:14px; background:linear-gradient(135deg,var(--primary),var(--amber)); color:#241b12; display:flex; align-items:center; justify-content:center; font-size:26px; flex-shrink:0; }
.odc-info { flex:1; min-width:180px; }
.odc-title { font-family:'Noto Serif SC',serif; font-size:16px; font-weight:500; color:var(--ink); text-decoration:none; }
.odc-title:hover { color:var(--primary); }
.odc-meta { font-size:12.5px; color:var(--ink-muted); margin:4px 0; }
.odc-auth { font-size:12px; color:var(--ink-light); }
.odc-right { text-align:right; }
.odc-amt { font-family:'Cormorant Garamond','Noto Serif SC',serif; font-size:22px; font-weight:700; color:var(--primary-dark); margin-bottom:8px; }
.odc-foot { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; padding-top:12px; border-top:1px solid var(--line-light); font-size:12px; color:var(--ink-muted); }
.odc-foot a { color:var(--ink-light); text-decoration:none; }
.odc-foot a:hover { color:var(--primary); }
@media (max-width: 640px){ .od-stats{ grid-template-columns:1fr; } .odc-right{ text-align:left; } }

/* ==== account/balance_records 钱包明细 ==== */
.bl-head { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin: 6px 0 18px; }
.bl-head h1 { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); }
.rec-card { background:#fff; border:1px solid var(--line-light); border-radius:16px; padding:8px 20px; overflow-x:auto; }
.rec-empty { color:var(--ink-muted); text-align:center; padding:48px 0; font-size:13px; }
.rec-table { width:100%; border-collapse:collapse; min-width:460px; }
.rec-table th { text-align:left; font-size:12px; color:var(--ink-muted); font-weight:500; padding:14px 8px; border-bottom:1px solid var(--line); }
.rec-table td { padding:13px 8px; font-size:13.5px; color:var(--ink); border-bottom:1px solid var(--line-light); }
.rec-table td.amt { font-family:'Cormorant Garamond','Noto Serif SC',serif; font-weight:700; }
.rec-table td.amt.in { color:#4f8f66; }
.rec-table td.amt.out { color:var(--primary-dark); }
.rec-table td.time { color:var(--ink-muted); font-size:12.5px; }


/* ==== account/balance ==== */
    .wl-head { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin: 6px 0 18px; }
    .uc-eyebrow { font-family:'Cormorant Garamond',serif; letter-spacing:3px; color:var(--primary); font-size:12px; margin-bottom:4px; }
    .wl-head h1 { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); }
    .uc-desc { color:var(--ink-muted); font-size:13px; margin-top:4px; }
    .wl-warn { background: rgba(224,123,74,.1); border:1px solid rgba(224,123,74,.3); color:var(--primary-dark); border-radius:12px; padding:12px 16px; margin-bottom:16px; font-size:13px; }

    .wl-stack { display:flex; flex-direction:column; gap:18px; }

    .wl-total { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; background: linear-gradient(150deg, #2a2012 0%, #3c2e1b 60%, #4a3a24 100%); border:1px solid rgba(201,168,106,.4); border-radius:18px; padding:24px 30px; color:#f6edda; box-shadow: var(--shadow); }
    .wt-label { font-size:14px; color:#e6cf9c; letter-spacing:1px; }
    .wt-num { font-family:'Cormorant Garamond','Noto Serif SC',serif; font-size:44px; font-weight:700; color:#f2e2b8; line-height:1; white-space:nowrap; }
    .wt-sub { font-size:12px; color:#b8ab93; }

    .wl-recharge { background:#fff; border:1px solid var(--line-light); border-radius:18px; padding:22px 24px; }
    .br-title { display:flex; align-items:center; gap:8px; font-family:'Noto Serif SC',serif; color:var(--ink); font-size:16px; margin-bottom:14px; }
    .br-title i { color:var(--primary); }
    .br-quick { display:flex; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
    .br-chip { background: var(--cream); border:1px solid var(--line); color:var(--ink-light); border-radius:10px; padding:9px 18px; font-size:13px; cursor:pointer; }
    .br-chip:hover { border-color:var(--primary); color:var(--primary-dark); }
    .br-chip.on { background:linear-gradient(135deg,var(--primary),var(--amber)); color:#fff; border-color:transparent; font-weight:600; }
    .br-form { display:flex; gap:10px; flex-wrap:wrap; }
    .br-form input { flex:1; min-width:200px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); outline:none; font-size:13.5px; }
    .br-form input:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(201,168,106,.14); }
    .br-form .btn { background:linear-gradient(135deg,var(--primary),var(--amber)); border:none; color:#fff; font-weight:600; }
    .br-note { font-size:11px; color:var(--ink-muted); margin-top:12px; }
    .auth-tip { font-size:12.5px; border-radius:8px; padding:8px 12px; margin:0 0 12px; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.25); color:#c0392b; }

/* ==== account/checkout ==== */
    .hero-sm {
        padding: 130px 0 60px;
    }
    .hero-sm h1 {
        font-size: 40px;
        letter-spacing: 6px;
    }
    .breadcrumb {
        font-size: 13px;
        color: var(--ink-muted);
        margin-bottom: 24px;
    }
    .breadcrumb a { color: var(--ink-muted); transition: color 0.3s var(--ease); }
    .breadcrumb a:hover { color: var(--primary); }
    .breadcrumb .sep { margin: 0 8px; opacity: 0.4; }
    .breadcrumb .current { color: var(--ink); }

    .buy-layout {
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        gap: 40px;
        align-items: start;
    }

    .order-card {
        background: var(--white);
        border: 1px solid var(--line-light);
        border-radius: var(--r-lg);
        padding: 36px 40px;
        box-shadow: var(--shadow-sm);
    }
    .oc-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 28px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--line-light);
    }
    .oc-icon {
        width: 44px; height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(224,123,74,0.1), rgba(216,154,62,0.1));
        color: var(--primary-dark);
        display: flex; align-items: center; justify-content: center;
        font-size: 20px;
    }
    .oc-title {
        font-family: 'Noto Serif SC', serif;
        font-size: 20px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 2px;
        letter-spacing: 1px;
    }
    .oc-sub {
        font-size: 13px;
        color: var(--ink-muted);
    }

    .form-group { margin-bottom: 22px; }
    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }
    .required { color: var(--primary); margin-left: 2px; }
    .input-icon { position: relative; display: flex; align-items: center; }
    .input-icon .ic {
        position: absolute;
        left: 16px;
        font-size: 15px;
        opacity: 0.5;
        z-index: 1;
    }
    .input-icon input {
        width: 100%;
        padding: 13px 16px 13px 44px;
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        font-size: 14px;
        font-family: inherit;
        color: var(--ink);
        background: var(--white);
        transition: all 0.3s var(--ease);
        outline: none;
    }
    .input-icon input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(224, 123, 74, 0.08);
    }
    .form-hint {
        font-size: 12px;
        color: var(--ink-muted);
        margin-top: 6px;
    }
    .auth-tip { font-size:12.5px; border-radius:8px; padding:8px 12px; margin:0 0 16px; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.25); color:#c0392b; }


    .auth-notice {
        display: flex;
        gap: 14px;
        padding: 18px 20px;
        background: rgba(216, 154, 62, 0.08);
        border-radius: var(--r-md);
        margin-bottom: 24px;
    }
    .an-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
    .an-content strong {
        display: block;
        font-size: 13px;
        color: var(--primary-dark);
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }
    .an-content p {
        font-size: 12.5px;
        color: var(--ink-light);
        line-height: 1.8;
    }

    .btn-block { width: 100%; }
    .btn-lg { padding: 15px; font-size: 15px; letter-spacing: 2px; }
    .price-inline {
        font-family: 'Cormorant Garamond', serif;
        font-size: 18px;
        font-weight: 500;
        margin-left: 12px;
        padding-left: 12px;
        border-left: 1px solid rgba(255,255,255,0.3);
    }

    /* 订单摘要 */
    .order-summary {
        background: var(--white);
        border: 1px solid var(--line-light);
        border-radius: var(--r-lg);
        padding: 28px;
        position: sticky;
        top: 100px;
        box-shadow: var(--shadow-sm);
    }
    .os-title {
        font-family: 'Noto Serif SC', serif;
        font-size: 17px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 18px;
        letter-spacing: 2px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--line-light);
    }
    .os-material {
        display: flex;
        gap: 14px;
        align-items: center;
        margin-bottom: 20px;
        padding: 14px;
        background: var(--cream);
        border-radius: var(--r-md);
    }
    .os-cover {
        width: 52px; height: 52px;
        border-radius: var(--r-md);
        background: linear-gradient(135deg, #f5e6d8, #eed0b8);
        display: flex; align-items: center; justify-content: center;
        font-size: 26px;
        flex-shrink: 0;
    }
    .os-info { flex: 1; min-width: 0; }
    .os-name {
        font-family: 'Noto Serif SC', serif;
        font-size: 14px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .os-theme {
        font-size: 12px;
        color: var(--ink-muted);
    }

    .os-list {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--line-light);
    }
    .os-row {
        display: flex;
        justify-content: space-between;
        padding: 7px 0;
        font-size: 13px;
        color: var(--ink-light);
    }
    .os-row span:last-child {
        color: var(--ink);
        font-weight: 400;
    }

    .os-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 18px;
    }
    .os-total > span {
        font-size: 14px;
        color: var(--ink-light);
    }
    .os-price {
        font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
        font-size: 32px;
        font-weight: 600;
        color: var(--primary-dark);
        line-height: 1;
    }
    .os-price .sym {
        font-size: 16px;
        font-family: 'Noto Sans SC', sans-serif;
        font-weight: 400;
    }

    .os-security {
        display: flex;
        justify-content: space-between;
        font-size: 11.5px;
        color: var(--ink-muted);
    }
    .os-sec-item span {
        color: var(--primary);
        margin-right: 4px;
    }

/* ==== account/pay_success 支付成功 ==== */
    [v-cloak] { display: none; }
    .pay-suc-wrap { display: flex; justify-content: center; }
    .pay-suc-box { width: 100%; max-width: 560px; background: var(--white); border: 1px solid var(--line-light); border-radius: 24px; padding: 42px 42px 36px; text-align: center; box-shadow: var(--shadow-lg); box-sizing: border-box; }
    .ps-check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--amber)); color: #fff; font-size: 42px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(224, 123, 74, 0.28); }
    .ps-title { font-family: 'Noto Serif SC', serif; font-size: 26px; font-weight: 600; color: var(--primary-deep); letter-spacing: 2px; }
    .ps-order { font-size: 13px; color: var(--ink-muted); margin: 8px 0 22px; }
    .ps-material { display: flex; align-items: center; gap: 14px; background: var(--cream); border: 1px solid var(--line-light); border-radius: 14px; padding: 14px 16px; text-align: left; }
    .ps-m-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #f5e6d8, #eed0b8); color: var(--primary-dark); font-size: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .ps-m-title { font-family: 'Noto Serif SC', serif; font-size: 16px; font-weight: 500; color: var(--ink); }
    .ps-m-sub { font-size: 12.5px; color: var(--ink-muted); margin-top: 3px; }
    .ps-m-amount { margin-left: auto; text-align: right; flex-shrink: 0; }
    .ps-m-amount strong { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--primary-dark); }
    .ps-m-amount span { display: block; font-size: 11px; color: var(--ink-muted); margin-top: 2px; }
    .ps-tip { font-size: 13px; color: var(--ink-light); margin: 22px 0 4px; }
    .ps-tip i { color: var(--primary); }
    .ps-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
    @media(max-width: 560px){ .pay-suc-box{ padding: 30px 20px 28px; } .ps-material{ flex-wrap: wrap; } }

/* ==== account/download ==== */
    [v-cloak] { display: none; }
    .hero-sm {
        padding: 130px 0 60px;
    }
    .hero-sm h1 {
        font-size: 40px;
        letter-spacing: 6px;
    }
    .breadcrumb {
        font-size: 13px;
        color: var(--ink-muted);
        margin-bottom: 24px;
    }
    .breadcrumb a { color: var(--ink-muted); transition: color 0.3s var(--ease); }
    .breadcrumb a:hover { color: var(--primary); }
    .breadcrumb .sep { margin: 0 8px; opacity: 0.4; }
    .breadcrumb .current { color: var(--ink); }
    .mono { font-family: monospace; font-size: 13px; }

    .download-layout {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
        align-items: start;
    }

    .success-banner {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 32px 36px;
        background: linear-gradient(135deg, rgba(92,160,120,0.1), rgba(216,154,62,0.1));
        border: 1px solid rgba(92,160,120,0.2);
        border-radius: var(--r-lg);
        margin-bottom: 28px;
    }
    .sb-icon {
        width: 64px; height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--amber));
        color: white;
        font-size: 32px;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 8px 24px rgba(224, 123, 74, 0.3);
    }
    .sb-text h2 {
        font-family: 'Noto Serif SC', serif;
        font-size: 24px;
        font-weight: 600;
        color: var(--primary-deep);
        margin-bottom: 6px;
        letter-spacing: 2px;
    }
    .sb-text p {
        font-size: 14px;
        color: var(--ink-light);
    }
    .sb-text strong {
        color: var(--primary-dark);
        font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
        font-size: 18px;
        font-weight: 600;
    }

    .dm-card {
        background: var(--white);
        border: 1px solid var(--line-light);
        border-radius: var(--r-lg);
        padding: 24px 28px;
        margin-bottom: 24px;
        box-shadow: var(--shadow-sm);
    }
    .dm-header {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .dm-icon {
        width: 56px; height: 56px;
        border-radius: var(--r-md);
        background: linear-gradient(135deg, #f5e6d8, #eed0b8);
        display: flex; align-items: center; justify-content: center;
        font-size: 28px;
        flex-shrink: 0;
    }
    .dm-title {
        font-family: 'Noto Serif SC', serif;
        font-size: 18px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 4px;
        letter-spacing: 1px;
    }
    .dm-sub {
        font-size: 13px;
        color: var(--ink-muted);
    }

    .file-list {
        background: var(--white);
        border: 1px solid var(--line-light);
        border-radius: var(--r-lg);
        overflow: hidden;
        margin-bottom: 24px;
        box-shadow: var(--shadow-sm);
    }
    .file-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 18px 24px;
        border-bottom: 1px solid var(--line-light);
        transition: background 0.3s var(--ease);
    }
    .file-item:last-child { border-bottom: none; }
    .file-item:hover { background: var(--cream); }
    .fi-index {
        width: 28px; height: 28px;
        border-radius: 50%;
        background: var(--cream-dark);
        color: var(--primary-dark);
        font-family: 'Cormorant Garamond', serif;
        font-size: 14px;
        font-weight: 500;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }
    .fi-icon {
        font-size: 32px;
        flex-shrink: 0;
    }
    .fi-info { flex: 1; min-width: 0; }
    .fi-name {
        font-size: 14px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 4px;
    }
    .fi-wm {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .wm-label {
        font-size: 11px;
        color: var(--ink-muted);
        letter-spacing: 0.5px;
    }
    .wm-code {
        font-family: monospace;
        font-size: 11.5px;
        color: var(--primary-dark);
        background: rgba(224, 123, 74, 0.08);
        padding: 2px 8px;
        border-radius: 4px;
    }
    .btn-sm { padding: 8px 18px; font-size: 13px; }
    .btn-block { width: 100%; }
    .fi-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .fi-actions .btn { padding: 7px 12px; font-size: 12.5px; white-space: nowrap; }

    .pack-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
        background: linear-gradient(135deg, rgba(216,154,62,0.08), rgba(224,123,74,0.06));
        border: 1px dashed rgba(224,123,74,0.4);
        border-radius: var(--r-lg);
        padding: 18px 24px;
        margin-bottom: 20px;
    }
    .pb-info { min-width: 0; }
    .pb-title {
        font-family: 'Noto Serif SC', serif;
        font-size: 15px;
        font-weight: 600;
        color: var(--primary-deep);
        letter-spacing: 1px;
        margin-bottom: 4px;
    }
    .pb-title i { margin-right: 8px; color: var(--primary); }
    .pb-info p { font-size: 12.5px; color: var(--ink-muted); }
    .pb-btn { padding: 10px 26px; font-size: 14px; flex-shrink: 0; cursor: pointer; }
    .pb-btn.busy { opacity: 0.65; cursor: wait; pointer-events: none; }
    .pb-btn .spin {
        display: inline-block; width: 13px; height: 13px; margin-right: 8px;
        border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff; border-radius: 50%;
        vertical-align: -2px; animation: pb-spin 0.7s linear infinite;
    }
    @keyframes pb-spin { to { transform: rotate(360deg); } }
    .pb-state.err { color: #c0392b; }

    .action-row {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    /* 侧边栏 */
    .side-card {
        background: var(--white);
        border: 1px solid var(--line-light);
        border-radius: var(--r-lg);
        padding: 24px;
        margin-bottom: 20px;
        box-shadow: var(--shadow-sm);
    }
    .sc-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Noto Serif SC', serif;
        font-size: 16px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 18px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--line-light);
        letter-spacing: 1px;
    }
    .sc-icon { font-size: 18px; }
    .sc-list { display: flex; flex-direction: column; gap: 16px; }
    .sc-item {
        display: flex;
        gap: 12px;
    }
    .sc-dot {
        width: 8px; height: 8px;
        border-radius: 50%;
        background: var(--primary);
        margin-top: 6px;
        flex-shrink: 0;
        box-shadow: 0 0 0 4px rgba(224, 123, 74, 0.12);
    }
    .sc-item strong {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 3px;
    }
    .sc-item p {
        font-size: 12px;
        color: var(--ink-muted);
        line-height: 1.6;
    }
    .sc-desc {
        font-size: 13px;
        color: var(--ink-light);
        line-height: 1.8;
        margin-bottom: 14px;
    }

/* ==== account/feedback ==== */
    .fd-head { margin: 6px 0 18px; }
    .uc-eyebrow { font-family:'Cormorant Garamond',serif; letter-spacing:3px; color:var(--primary); font-size:12px; margin-bottom:4px; }
    .fd-head h1 { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); }
    .uc-desc { color:var(--ink-muted); font-size:13px; margin-top:4px; }

    .fd-card { background:#fff; border:1px solid var(--line-light); border-radius:18px; padding:26px 30px; max-width:720px; }
    .fg { margin-bottom:18px; }
    .fg label { display:block; font-size:13px; color:var(--ink-light); margin-bottom:8px; }
    .required { color:var(--primary); }
    .form-control { width:100%; box-sizing:border-box; padding:10px 12px; border:1px solid var(--line); border-radius:10px; font-size:13.5px; color:var(--ink); outline:none; }
    .form-control:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(201,168,106,.14); }
    .fd-note { font-size:12px; color:var(--ink-muted); background:var(--cream); border-radius:10px; padding:10px 14px; margin-bottom:18px; line-height:1.7; }
    .btn-primary { background:linear-gradient(135deg,var(--primary),var(--amber)); border:none; color:#fff; font-weight:600; }
    .auth-tip { font-size:12.5px; border-radius:8px; padding:8px 12px; margin:0 0 12px; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.25); color:#c0392b; }
    .auth-tip.ok { background:rgba(39,128,39,.08); border-color:rgba(39,128,39,.25); color:#277528; }

/* ==== account/messages ==== */
    [v-cloak] { display: none; }
    .msg-head { margin: 6px 0 18px; display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
    .uc-eyebrow { font-family:'Cormorant Garamond',serif; letter-spacing:3px; color:var(--primary); font-size:12px; margin-bottom:4px; }
    .msg-head h1 { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); }
    .uc-desc { color:var(--ink-muted); font-size:13px; margin-top:4px; }

    .auth-tip { font-size:12.5px; border-radius:8px; padding:8px 12px; margin:0 0 16px; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.25); color:#c0392b; }

    .fv-empty { background:#fff; border:1px solid var(--line-light); border-radius:18px; text-align:center; padding:70px 20px; }
    .fe-ic { font-size:46px; color:var(--ink-muted); opacity:.5; margin-bottom:12px; }
    .fe-t { font-family:'Noto Serif SC',serif; font-size:18px; color:var(--ink); margin-bottom:6px; }
    .fe-d { font-size:13px; color:var(--ink-muted); margin-bottom:22px; }

    .msg-list { display:flex; flex-direction:column; gap:12px; }
    .msg-row { display:flex; align-items:flex-start; gap:14px; background:#fff; border:1px solid var(--line-light); border-radius:16px; padding:16px 18px; cursor:pointer; transition:box-shadow .15s, border-color .15s; }
    .msg-row:hover { box-shadow:var(--shadow-sm); border-color: rgba(224,123,74,.35); }
    .msg-row.unread { background: linear-gradient(90deg, rgba(224,123,74,.04), #fff 60%); }
    .msg-icon { width:42px; height:42px; border-radius:12px; background:linear-gradient(135deg, rgba(224,123,74,.12), rgba(216,154,62,.1)); color:var(--primary-dark); font-size:18px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
    .msg-body { flex:1; min-width:0; }
    .msg-top { display:flex; align-items:center; gap:8px; }
    .msg-type { font-size:11px; color:var(--primary-dark); background:rgba(224,123,74,.08); border:1px solid rgba(224,123,74,.18); padding:1px 8px; border-radius:10px; }
    .msg-row.unread .msg-type { background:var(--primary); color:#fff; border-color:var(--primary); }
    .msg-dot { width:7px; height:7px; border-radius:50%; background:var(--primary); display:inline-block; }
    .msg-time { margin-left:auto; font-size:12px; color:var(--ink-muted); }
    .msg-title { font-size:14.5px; font-weight:500; color:var(--ink); margin-top:7px; }
    .msg-row.unread .msg-title { font-weight:600; }
    .msg-content { font-size:13px; color:var(--ink-muted); margin-top:4px; line-height:1.6; word-break:break-word; }
    .msg-go { align-self:center; font-size:12.5px; color:var(--ink-muted); flex-shrink:0; }
    .msg-row:hover .msg-go { color:var(--primary); }
    @media (max-width:600px){ .msg-go{ display:none; } }

/* ==== account/favorites ==== */
    [v-cloak] { display: none; }
    .fv-head { margin: 6px 0 18px; }
    .uc-eyebrow { font-family:'Cormorant Garamond',serif; letter-spacing:3px; color:var(--primary); font-size:12px; margin-bottom:4px; }
    .fv-head h1 { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); }
    .uc-desc { color:var(--ink-muted); font-size:13px; margin-top:4px; }

    .auth-tip { font-size:12.5px; border-radius:8px; padding:8px 12px; margin:0 0 16px; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.25); color:#c0392b; }

    .fv-empty { background:#fff; border:1px solid var(--line-light); border-radius:18px; text-align:center; padding:70px 20px; }
    .fe-ic { font-size:46px; color:var(--ink-muted); opacity:.5; margin-bottom:12px; }
    .fe-t { font-family:'Noto Serif SC',serif; font-size:18px; color:var(--ink); margin-bottom:6px; }
    .fe-d { font-size:13px; color:var(--ink-muted); margin-bottom:22px; }

    .fv-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap:16px; }
    .fv-card { background:#fff; border:1px solid var(--line-light); border-radius:16px; overflow:hidden; }
    .fv-cover { position:relative; display:flex; align-items:center; justify-content:center; height:140px; background:linear-gradient(135deg,var(--primary),var(--amber)); color:#fff; font-size:44px; text-decoration:none; overflow:hidden; }
    .fv-cover img { position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; }
    .fv-info { padding:14px 16px; }
    .fv-title { font-family:'Noto Serif SC',serif; font-size:15px; font-weight:500; color:var(--ink); text-decoration:none; }
    .fv-title:hover { color:var(--primary); }
    .fv-meta { font-size:12.5px; color:var(--ink-muted); margin:6px 0 12px; }
    .fv-actions { display:flex; gap:8px; }

/* ==== account/following ==== */
    [v-cloak] { display: none; }
    .fv-head { margin: 6px 0 18px; }
    .uc-eyebrow { font-family:'Cormorant Garamond',serif; letter-spacing:3px; color:var(--primary); font-size:12px; margin-bottom:4px; }
    .fv-head h1 { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); }
    .uc-desc { color:var(--ink-muted); font-size:13px; margin-top:4px; }

    .auth-tip { font-size:12.5px; border-radius:8px; padding:8px 12px; margin:0 0 16px; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.25); color:#c0392b; }

    .fv-empty { background:#fff; border:1px solid var(--line-light); border-radius:18px; text-align:center; padding:70px 20px; }
    .fe-ic { font-size:46px; color:var(--ink-muted); opacity:.5; margin-bottom:12px; }
    .fe-t { font-family:'Noto Serif SC',serif; font-size:18px; color:var(--ink); margin-bottom:6px; }
    .fe-d { font-size:13px; color:var(--ink-muted); margin-bottom:22px; }

    .fw-list { display:flex; flex-direction:column; gap:14px; }
    .fw-row { display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--line-light); border-radius:16px; padding:18px 20px; }
    .fw-avatar { position:relative; width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--amber)); color:#fff; font-size:24px; font-family:'Noto Serif SC',serif; display:flex; align-items:center; justify-content:center; flex-shrink:0; text-decoration:none; overflow:hidden; }
    .fw-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
    .fw-info { flex:1; min-width:0; }
    .fw-name-row { display:flex; align-items:center; gap:10px; }
    .fw-name { font-family:'Noto Serif SC',serif; font-size:17px; font-weight:600; color:var(--ink); text-decoration:none; }
    .fw-name:hover { color:var(--primary); }
    .fw-loc { font-size:12px; color:var(--ink-muted); }
    .fw-bio { font-size:13px; color:var(--ink-muted); margin:6px 0 8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .fw-stats { display:flex; gap:18px; font-size:12.5px; color:var(--ink-muted); }
    .fw-stat b { color:var(--primary-dark); font-weight:600; margin-right:2px; }
    .fw-actions { display:flex; flex-direction:column; gap:8px; flex-shrink:0; }
    .fw-actions .btn { min-width:84px; }
    @media (max-width:600px){ .fw-row{ flex-wrap:wrap; } .fw-actions{ flex-direction:row; width:100%; } }

/* ==== oauth/my ==== */
    [v-cloak] { display: none; }
    .section-eyebrow { font-family:'Cormorant Garamond',serif; letter-spacing:3px; color:var(--primary); font-size:12px; margin-bottom:6px; }
    .section-title { font-family:'Noto Serif SC',serif; font-size:26px; color:var(--ink); }
    .section-sub { color:var(--ink-muted); font-size:13px; margin-top:6px; }

    .auth-tip { font-size:12.5px; border-radius:8px; padding:8px 12px; margin:0 0 16px; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.25); color:#c0392b; }

    .empty-state {
        text-align: center;
        padding: 80px 40px;
        background: var(--white);
        border: 1px solid var(--line-light);
        border-radius: var(--r-lg);
    }
    .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
    .empty-title {
        font-family: 'Noto Serif SC', serif;
        font-size: 18px;
        color: var(--ink);
        margin-bottom: 8px;
    }
    .empty-desc { font-size: 13px; color: var(--ink-muted); }

    .auth-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .auth-item {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 24px 28px;
        background: var(--white);
        border: 1px solid var(--line-light);
        border-radius: var(--r-lg);
        transition: all 0.3s var(--ease);
    }
    .auth-item:hover {
        box-shadow: var(--shadow);
    }
    .ai-icon {
        width: 56px; height: 56px;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--terracotta), var(--gold));
        color: white;
        display: flex; align-items: center; justify-content: center;
        font-family: 'Noto Serif SC', serif;
        font-size: 22px;
        flex-shrink: 0;
    }
    .ai-info { flex: 1; }
    .ai-name {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Noto Serif SC', serif;
        font-size: 17px;
        font-weight: 500;
        color: var(--ink);
        margin-bottom: 6px;
    }
    .ai-status {
        font-size: 11px;
        padding: 2px 10px;
        border-radius: 20px;
        font-weight: normal;
        font-family: 'Noto Sans SC', sans-serif;
    }
    .ai-status.active {
        background: rgba(92, 116, 100, 0.1);
        color: var(--sage);
    }
    .ai-status.revoked {
        background: var(--bone-dark);
        color: var(--ink-muted);
    }
    .ai-status.expired {
        background: rgba(166, 124, 82, 0.1);
        color: var(--terracotta);
    }
    .ai-meta {
        font-size: 12px;
        color: var(--ink-muted);
        margin-bottom: 8px;
    }
    .ai-scopes {
        font-size: 12px;
        color: var(--ink-light);
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    .ai-scope-tag {
        padding: 2px 10px;
        background: var(--cream);
        border-radius: 20px;
        font-size: 11px;
        color: var(--sage);
    }
    .btn-sm { padding: 8px 18px; font-size: 12px; }
    .ai-revoked-time { font-size: 12px; color: var(--ink-muted); }

/* ==== passport/login ==== */
    /* 登录输入框：图标与内边距安全规则 */
    .input-icon { position: relative; display: block; }
    .input-icon .ic { position: absolute !important; left: 16px !important; top: 50% !important; transform: translateY(-50%) !important; width:18px !important; height:18px !important; margin:0 !important; }
    .input-icon input { padding: 13px 14px 13px 44px !important; box-sizing: border-box; height: 48px; }
    .input-with-btn input { padding-right: 118px !important; }
    .auth-tip { font-size:12.5px; color:#c0392b; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.25); border-radius:8px; padding:8px 12px; margin:0 0 12px; }
    .idtype-wrap{ margin-bottom: 6px; }
    .idtype-label{ font-size:13px; color:var(--ink-light); margin-bottom:8px; font-weight:500; }
    .idtype-row{ display:flex; gap:10px; }
    .idtype-chip{ flex:1; cursor:pointer; border:1px solid var(--line); border-radius:var(--r-md); padding:9px 6px; text-align:center; font-size:13px; color:var(--ink-muted); transition:.2s; user-select:none; }
    .idtype-chip input{ display:none; }
    .idtype-chip:has(input:checked){ border-color:var(--primary); color:#fff; background:linear-gradient(135deg,var(--primary),var(--amber)); font-weight:500; }
    .idtype-hint{ font-size:11px; color:var(--ink-muted); margin-top:6px; line-height:1.5; }
    @media(max-width:380px){ .idtype-row{ flex-direction:column; } }

/* ==== security/password 修改密码 ==== */
.pwd-sec { display:flex; justify-content:center; }
.pwd-wrap { width:100%; max-width:500px; }
.pwd-card { background:#fff; border:1px solid var(--line-light); border-radius:22px; padding:34px 36px 32px; box-shadow:var(--shadow-lg); box-sizing:border-box; }
.pwd-head { text-align:center; margin:0 0 22px; }
.pwd-icon { width:60px; height:60px; margin:0 auto 14px; border-radius:18px; background:linear-gradient(135deg, rgba(201,168,106,.18), rgba(201,168,106,.07)); color:var(--primary-dark); font-size:24px; display:flex; align-items:center; justify-content:center; }
.pwd-head h1 { font-family:'Noto Serif SC',serif; font-size:24px; color:var(--ink); margin:0 0 6px; }
.pwd-head p { font-size:13px; color:var(--ink-muted); margin:0; line-height:1.6; }
.pwd-form input[type=password] { width:100%; box-sizing:border-box; padding:12px 14px; border:1px solid var(--line); border-radius:12px; font-size:14px; color:var(--ink); background:#fff; outline:none; transition:border-color .15s, box-shadow .15s; }
.pwd-form input[type=password]:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(201,168,106,.16); }
.rq { color:var(--primary); font-weight:600; }
@media(max-width:560px){ .pwd-card{ padding:26px 20px 24px; border-radius:18px; } }
