/* ---------- 导航栏入口 ---------- */
.uc-sign-link{margin-left:10px;}
.uc-sign-link a{color:#0188fb;}
.uc-nav-vip{color:#f5a623;font-weight:600;}

/* ---------- 用户中心独立页面 ---------- */
.uc-body{margin:0;background:#f5f6f8;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#333;}
.uc-shell{min-height:100vh;display:flex;flex-direction:column;}
.uc-top{background:#fff;border-bottom:1px solid #e8eaed;padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;}
.uc-logo{text-decoration:none;font-size:20px;font-weight:700;color:#0188fb;}
.uc-logo img{height:36px;max-width:200px;vertical-align:middle;}
.uc-nav a{text-decoration:none;color:#666;font-size:14px;margin-left:16px;}
.uc-nav a:hover{color:#0188fb;}
.uc-main{flex:1;width:100%;max-width:620px;margin:40px auto;padding:0 16px;box-sizing:border-box;}
.uc-foot{text-align:center;color:#999;font-size:12px;padding:24px 0;}

.uc-card{background:#fff;border:1px solid #e8eaed;border-radius:10px;padding:28px 32px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.03);}
.uc-card h2{margin:0 0 6px;font-size:22px;color:#222;}
.uc-card h3{margin:0 0 12px;font-size:16px;color:#222;}
.uc-sub{margin:0 0 22px;color:#999;font-size:13px;}

.uc-field{margin-bottom:16px;}
.uc-field label{display:block;margin-bottom:6px;font-size:14px;color:#555;}
.uc-field input[type="text"],.uc-field input[type="password"],.uc-field input[type="email"]{width:100%;height:42px;padding:0 12px;font-size:14px;border:1px solid #dcdfe3;border-radius:6px;box-sizing:border-box;outline:none;background:#fff;}
.uc-field input:focus{border-color:#0188fb;box-shadow:0 0 0 3px rgba(1,136,251,.12);}
.uc-field-btn{margin-top:22px;}
.uc-agree{font-size:13px;color:#666;}

.uc-btn{display:inline-block;width:100%;height:42px;border:none;border-radius:6px;font-size:15px;cursor:pointer;text-align:center;line-height:42px;text-decoration:none;box-sizing:border-box;}
.uc-btn-primary{background:#0188fb;color:#fff;}
.uc-btn-primary:hover{background:#0079e0;}
.uc-msg{margin:12px 0 0;font-size:13px;color:#e04040;min-height:18px;}
.uc-links{margin-top:16px;display:flex;justify-content:space-between;font-size:13px;}
.uc-links a{color:#0188fb;text-decoration:none;}
.uc-links a:hover{text-decoration:underline;}

/* 第三方登录 */
.uc-oauth{margin-top:24px;}
.uc-oauth-title{display:flex;align-items:center;color:#bbb;font-size:12px;margin-bottom:14px;}
.uc-oauth-title::before,.uc-oauth-title::after{content:"";flex:1;height:1px;background:#eee;}
.uc-oauth-title span{padding:0 12px;}
.uc-oauth-btns{display:flex;gap:12px;}
.uc-oauth-btn{flex:1;height:40px;line-height:40px;text-align:center;border-radius:6px;text-decoration:none;font-size:14px;color:#fff;}
.uc-oauth-qq{background:#12b7f5;}
.uc-oauth-wx{background:#07c160;}

/* 用户中心 */
.uc-userwrap .uc-userinfo{display:flex;gap:16px;align-items:center;}
.uc-avatar{width:72px;height:72px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#eee;}
.uc-avatar img{width:100%;height:100%;object-fit:cover;}
.uc-umeta{flex:1;}
.uc-umeta h2{margin:0 0 6px;}
.uc-umeta p{margin:2px 0;color:#888;font-size:13px;}
.uc-vip-badge{display:inline-block;margin-top:8px;padding:3px 12px;border-radius:20px;font-size:12px;background:#f0f0f0;color:#888;}
.uc-vip-badge.uc-vip-on{background:#fff5e6;color:#f5a623;}
.uc-unlock-info{display:inline-block;margin-top:6px;padding:3px 12px;border-radius:20px;font-size:12px;background:#eef4ff;color:#5b8def;}
.uc-usermenu{display:flex;flex-wrap:wrap;gap:10px;}
.uc-usermenu a{flex:1;min-width:110px;text-align:center;padding:12px 0;border:1px solid #e4e7ea;border-radius:6px;text-decoration:none;color:#444;font-size:14px;}
.uc-usermenu a:hover{border-color:#0188fb;color:#0188fb;}
.uc-userbind p{margin:6px 0;font-size:14px;color:#555;}

/* 开通 VIP */
.uc-vip-cur{background:#fff8ef;border:1px solid #ffd9a0;color:#b4700f;padding:10px 14px;border-radius:6px;font-size:13px;margin-bottom:16px;}
.uc-plans{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-bottom:20px;}
.uc-plan{position:relative;border:2px solid #e4e7ea;border-radius:8px;padding:14px 10px;text-align:center;cursor:pointer;transition:all .15s;}
.uc-plan input{position:absolute;opacity:0;}
.uc-plan.uc-plan-sel{border-color:#0188fb;background:#f0f7ff;}
.uc-plan-name{display:block;font-size:14px;font-weight:600;color:#333;}
.uc-plan-price{display:block;font-size:18px;color:#e04040;margin:6px 0;font-weight:700;}
.uc-plan-days{display:block;font-size:12px;color:#999;}
.uc-paytype{display:flex;gap:12px;margin-bottom:8px;}
.uc-paytype label{flex:1;cursor:pointer;}
.uc-paytype input{display:none;}
.uc-payicon{display:block;text-align:center;padding:12px 0;border:2px solid #e4e7ea;border-radius:8px;font-size:14px;color:#555;}
.uc-paytype input:checked + .uc-payicon{border-color:#0188fb;color:#0188fb;background:#f0f7ff;}
.uc-pay-alipay:before{content:"支 ";}
.uc-pay-wechat:before{content:"微 ";}
.uc-warn{background:#fff8ef;border:1px solid #ffd9a0;color:#b4700f;padding:10px 14px;border-radius:6px;font-size:13px;}

/* 微信扫码弹窗 */
.uc-modal{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:9999;}
.uc-modal-box{background:#fff;border-radius:10px;padding:28px 32px;text-align:center;min-width:280px;}
.uc-modal-box h3{margin:0 0 16px;font-size:16px;}
.uc-modal-box .uc-msg{color:#666;}
.uc-modal-box .uc-btn{width:auto;padding:0 24px;margin-top:14px;background:#eee;color:#333;}

/* 订单 */
.uc-table{width:100%;border-collapse:collapse;font-size:13px;}
.uc-table th,.uc-table td{border:1px solid #eceef1;padding:8px 10px;text-align:left;}
.uc-table th{background:#fafbfc;font-weight:600;}
.uc-empty{color:#999;text-align:center;padding:20px 0;}

/* 下载选择页 */
.uc-dlselect h2{margin:0 0 16px;}
.uc-dl-item{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #e4e7ea;border-radius:6px;padding:12px 14px;margin-bottom:10px;text-decoration:none;color:#333;transition:border-color .15s;}
.uc-dl-item:hover{border-color:#0188fb;}
.uc-dl-name{font-size:14px;font-weight:600;}
.uc-dl-tag{font-size:12px;background:#0188fb;color:#fff;border-radius:3px;padding:2px 8px;}
.uc-dl-pwd{font-size:12px;color:#999;font-style:normal;}

/* ---------- 文章页门控（与主题融合） ---------- */
/* 阅读更多 - VIP 门控（精致高级版） */
.uc-gate{position:relative;margin:28px 0;padding:44px 24px 38px;text-align:center;overflow:hidden;border:1px solid #f0e2c4;border-radius:14px;background:radial-gradient(120% 150% at 50% -30%, rgba(245,166,35,.16) 0%, rgba(245,166,35,0) 55%), linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);box-shadow:0 10px 30px rgba(120,90,20,.07), inset 0 1px 0 rgba(255,255,255,.95);}
.uc-gate::before{content:"";position:absolute;top:0;left:18%;right:18%;height:3px;border-radius:0 0 8px 8px;background:linear-gradient(90deg, transparent, #f5a623, #ffd580, #f5a623, transparent);}
.uc-gate-ico{position:relative;width:66px;height:66px;margin:0 auto 18px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 26%, rgba(255,255,255,.95), rgba(255,255,255,0) 48%), linear-gradient(160deg, #ffcf7d 0%, #f5a623 55%, #d98a10 100%);box-shadow:0 8px 18px rgba(245,166,35,.38), inset 0 1px 0 rgba(255,255,255,.55);}
.uc-gate-ico::after{content:"";width:27px;height:27px;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23ffffff%27 stroke-width=%272.2%27%3E%3Crect x=%273%27 y=%2711%27 width=%2718%27 height=%2711%27 rx=%272%27 stroke-linecap=%27round%27/%3E%3Cpath d=%27M7 11V7a5 5 0 0 1 10 0v4%27/%3E%3C/svg%3E") no-repeat center;background-size:contain;}
.uc-gate h3{margin:0 0 8px;font-size:19px;font-weight:700;color:#1d2733;letter-spacing:.5px;}
.uc-gate p{margin:0 auto 22px;max-width:430px;font-size:13px;line-height:1.75;color:#7a8699;}
.uc-gate-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
.uc-gate-btn{display:inline-flex;align-items:center;justify-content:center;min-width:140px;padding:11px 30px;border-radius:24px;text-decoration:none;font-size:14px;font-weight:600;letter-spacing:.5px;box-sizing:border-box;transition:all .2s ease;}
.uc-gate-login{background:#fff;border:1px solid #d8e0ea;color:#3d4c5e;box-shadow:0 2px 6px rgba(30,50,80,.06);}
.uc-gate-login:hover{border-color:#0188fb;color:#0188fb;box-shadow:0 4px 14px rgba(1,136,251,.18);transform:translateY(-1px);}
.uc-gate-vip{background:linear-gradient(135deg, #ffc65c 0%, #f5a623 55%, #e08e12 100%);color:#fff;border:none;box-shadow:0 4px 14px rgba(245,166,35,.4), inset 0 1px 0 rgba(255,255,255,.35);}
.uc-gate-vip:hover{background:linear-gradient(135deg, #ffd06e 0%, #f7ad35 55%, #e89a1c 100%);box-shadow:0 6px 22px rgba(245,166,35,.5);transform:translateY(-1px);}
.uc-gate-msg{margin:10px auto 0;font-size:13px;color:#e04040;min-height:16px;}
.uc-gate-unlock{cursor:pointer;font-family:inherit;border:none;}
@media (max-width:480px){.uc-gate{padding:36px 16px 30px;} .uc-gate-btn{min-width:120px;padding:10px 22px;}}

.uc-dlbox{margin:20px 0;padding:16px 18px;background:#f8fafc;border:1px solid #e4e7ea;border-radius:8px;}
.uc-dlbox h3{margin:0 0 12px;font-size:15px;color:#333;}
.uc-dl-list{display:flex;flex-direction:column;gap:8px;}
.uc-dl-list .uc-dl-item{background:#fff;}
.uc-dl-list .uc-dl-pwd{display:block;margin-top:4px;font-size:12px;color:#999;}
