/* ============================================================
   tadu_pc 2026 视觉刷新（加载于各页样式之后）
   仅覆盖颜色、圆角、阴影、字号与间距，不改变原有栅格布局
   ============================================================ */
:root{
  --r-accent:#ffc53d;
  --r-accent-deep:#ad6800;
  --r-ink:#111827;
  --r-text:#374151;
  --r-muted:#8a94a6;
  --r-line:#eceef2;
  --r-soft:#f7f8fa;
  --r-radius:14px;
}

/* ---------- 通用 ---------- */
body{background:#f7f8fa;color:var(--r-text)}
.boxCenter{max-width:1320px}
a{transition:color .18s}
img{border-radius:6px}

/* ---------- 区块标题 ---------- */
.wrap .sectionBox .sectionBox-left .bookBox .title,
.hotWrap h1,
.centerO h1,
.right h1{
  display:flex;align-items:center;justify-content:space-between;
  margin:0 0 6px;padding:0 0 14px;border-bottom:0;font-size:20px;line-height:1.25;
}
.wrap .sectionBox .sectionBox-left .bookBox .title strong,
.hotWrap h1 strong,
.centerO h1 strong,
.right h1 strong{
  position:relative;padding-left:14px;font-size:20px;font-weight:800;color:var(--r-ink);letter-spacing:.2px;
}
.wrap .sectionBox .sectionBox-left .bookBox .title strong::before,
.hotWrap h1 strong::before,
.centerO h1 strong::before,
.right h1 strong::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:4px;height:18px;border-radius:3px;background:var(--r-accent);
}
.wrap .sectionBox .sectionBox-left .bookBox .title i,
.hotWrap h1 i,
.centerO h1 i,
.right h1 i{display:none}
.wrap .sectionBox .sectionBox-left .bookBox .title a,
.hotWrap h1 a,
.centerO h1 a,
.right h1 a{margin-left:auto;font-size:13px;color:var(--r-muted);text-decoration:none}
.wrap .sectionBox .sectionBox-left .bookBox .title a:hover,
.hotWrap h1 a:hover,
.centerO h1 a:hover,
.right h1 a:hover{color:var(--r-accent-deep)}

/* ---------- 首页卡片 ---------- */
.wrap .sectionBox .sectionBox-left .bookBox .booklist a{
  border:1px solid var(--r-line);border-radius:var(--r-radius);background:#fff;
  padding:12px;transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
.wrap .sectionBox .sectionBox-left .bookBox .booklist a:hover{
  transform:translateY(-2px);border-color:#e2e7ef;box-shadow:0 14px 30px rgba(17,24,39,.08);
}
.wrap .sectionBox .sectionBox-left .bookBox .booklist a .bookimg{width:92px;height:118px;border-radius:10px;overflow:hidden}
.wrap .sectionBox .sectionBox-left .bookBox .booklist a .bookimg img{border-radius:10px}
.wrap .sectionBox .sectionBox-left .bookBox .booklist a .bookinfo h2{font-size:15px;color:var(--r-ink);margin-top:6px}
.wrap .sectionBox .sectionBox-left .bookBox .booklist a .bookinfo h2:hover{color:var(--r-accent-deep)}
.wrap .sectionBox .sectionBox-left .bookBox .booklist a .bookinfo .desc{font-size:13px;color:var(--r-muted);line-height:19px;height:38px;margin-top:6px}
.wrap .sectionBox .sectionBox-left .bookBox .booklist a .bookinfo .author{font-size:12px;color:#9aa4b2;margin-top:8px}

/* 精品推荐一列四本，缩小封面与内边距 */
.wrap .sectionBox .sectionBox-left .boutique .booklist a{padding:10px;border-radius:12px}
.wrap .sectionBox .sectionBox-left .boutique .booklist a .bookimg{width:72px;height:94px}
.wrap .sectionBox .sectionBox-left .boutique .booklist a .bookinfo h2{font-size:13px}
.wrap .sectionBox .sectionBox-left .boutique .booklist a .bookinfo .desc{font-size:12px;line-height:17px;height:34px}

/* 顶部主编力荐列表 */
.hotWrap .bookLink{border-radius:12px;padding:8px;transition:background .18s}
.hotWrap .bookLink:hover{background:#fff}
.hotWrap .bookIntro h2{font-size:15px;color:var(--r-ink)}
.hotWrap .bookIntro span{color:var(--r-muted)}
.hotWrap .rt a{color:var(--r-text);font-size:13px;border-radius:8px;padding:4px 6px}
.hotWrap .rt a:hover{background:#fff;color:var(--r-accent-deep)}
.hotWrap .rt a i{background:#d7dce5}

/* ---------- 最近更新表格 ---------- */
.ct_left .title{background:#fff;border:1px solid var(--r-line);border-radius:12px;padding:11px 12px;color:var(--r-muted);font-size:12px;font-weight:600;box-sizing:border-box}
.ct_left .updateList{border-bottom:1px solid #f1f3f6;padding:12px 12px 10px;border-radius:10px;box-sizing:border-box;transition:background .18s}
.ct_left .updateList:hover{background:#fff}
.ct_left .updateList a,.ct_left .updateList span{font-size:13px}
.ct_left .updateList .name{color:var(--r-ink);font-weight:600}
.ct_left .updateList .chapter{color:var(--r-text)}
.ct_left .updateList .time{color:var(--r-muted)}

/* 右侧榜单 */
.centerO .list a{padding:8px 4px;border-radius:8px;transition:background .18s}
.centerO .list a:hover{background:#fff}
.centerO .list a strong{font-size:14px;color:var(--r-ink)}
.centerO .list a em{font-size:12px;color:var(--r-muted)}

/* ---------- 页脚 ---------- */
.ft{margin-top:56px;background:#fff;border-top:1px solid var(--r-line);color:var(--r-text)}
.ft-inner{max-width:1320px;margin:0 auto;padding:40px 20px 26px}
.ft-top{display:flex;align-items:center;gap:36px;flex-wrap:wrap}
.ft-logo{display:inline-flex;align-items:center;text-decoration:none}
.ft-logo img{height:36px;width:auto;border-radius:0}
.ft-nav{display:flex;flex-wrap:wrap;gap:6px 24px;font-size:14px}
.ft-nav a{color:#4b5563;text-decoration:none}
.ft-nav a:hover{color:var(--r-accent-deep)}
.ft-app{margin-left:auto;display:flex;align-items:center;gap:12px;padding:10px 14px;background:var(--r-soft);border-radius:14px}
.ft-app img{width:62px;height:62px;border-radius:8px;margin:0}
.ft-app strong{display:block;font-size:13px;color:var(--r-ink);font-weight:600;line-height:1.5}
.ft-app span{display:block;font-size:12px;color:var(--r-muted);line-height:1.5}
.ft-service{margin-top:26px;padding-top:18px;border-top:1px solid #f1f3f6;font-size:12px;color:var(--r-muted);line-height:1.9}
.ft-service a{color:var(--r-accent-deep);text-decoration:none}
.ft-service a:hover{text-decoration:underline}
.ft-bottom{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:#9aa4b2}
.ft-legal{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.ft-legal a,.ft-legal span{color:#9aa4b2;text-decoration:none}
.ft-legal a:hover{color:var(--r-accent-deep)}
.ft-friend{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;max-width:640px}
.ft-friend .ft-friend-label{color:#b3bac6}
.ft-friend a{color:#9aa4b2;text-decoration:none}
.ft-friend a:hover{color:var(--r-accent-deep)}

/* ---------- 个人中心头部 ---------- */
.uh{background:#fff;border-bottom:1px solid var(--r-line);position:sticky;top:0;z-index:900}
.uh-inner{max-width:1320px;margin:0 auto;padding:0 20px;height:68px;display:flex;align-items:center;gap:14px}
.uh-logo{display:inline-flex;align-items:center;text-decoration:none}
.uh-logo img{height:36px;width:auto;border-radius:0}
.uh-title{padding-left:14px;border-left:1px solid #e5e7eb;font-size:18px;font-weight:700;color:var(--r-ink);line-height:1.2}
.uh-right{margin-left:auto;display:flex;align-items:center;gap:14px}
.uh-back{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 12px;border:1px solid #e5e7eb;border-radius:10px;color:#374151;font-size:13px;text-decoration:none}
.uh-back:hover{border-color:#d1d5db;background:#f7f8fa;color:var(--r-ink)}
.uh .langswitch-toggle{padding:7px 11px;border-radius:10px;box-shadow:none;font-size:13px}

/* ---------- 个人中心菜单 ---------- */
.personal_list a{border-radius:10px;transition:background .18s,color .18s}
.personal_list a:hover{background:#fff;color:var(--r-accent-deep)}
.personal_list a.current{background:#fff7e6;color:var(--r-accent-deep)}

@media (max-width:1200px){
  .ft-app{margin-left:0}
}

/* ---------- VIP 页 ---------- */
.vip-container{max-width:1320px;margin:0 auto;padding:26px 20px 10px}
.vip-tabs{border:1px solid var(--r-line);border-radius:14px;overflow:hidden;box-shadow:none;background:#fff}
.vip-tab{font-size:16px;font-weight:600;color:#6b7280}
.vip-tab.active{background:#111827;color:#fff}
.section,.help-section{background:#fff;border:1px solid var(--r-line);border-radius:16px;box-shadow:none}
.section-title,.help-title{font-size:18px;color:var(--r-ink)}
.plan{border-radius:14px;border-color:#e8ebf0}
.plan:hover{border-color:#ffd666}
.plan.selected{border-color:var(--r-accent);background:#fffdf5;box-shadow:0 10px 26px rgba(255,197,61,.18)}
.plan-title{font-size:18px;color:var(--r-ink)}
.plan-desc{color:var(--r-muted)}
.plan-price{color:#e67700}
.btn-primary{background:#111827;color:#fff;border-radius:10px}
.btn-primary:hover{background:#000;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.btn-secondary{border-radius:10px}

/* ---------- 搜索页表单 ---------- */
.search_form{display:flex;align-items:center;height:44px;background:#fff;border:1px solid var(--r-line);border-radius:12px;overflow:hidden}
.search_form .text{flex:1;height:100%;border:0;outline:0;padding:0 14px;font-size:14px;background:transparent}
.search_form .searchBtn{position:static;display:flex;align-items:center;justify-content:center;width:52px;height:100%;margin:0;border:0;border-radius:0;background:var(--r-accent);cursor:pointer}
.search_form .searchBtn em{background-position:0 -71px;margin:0 auto}
.search_form:focus-within{border-color:#ffd666;box-shadow:0 0 0 3px rgba(255,197,61,.16)}

/* VIP 页内联样式优先级较高，单独加强 */
.vip-tabs{border-color:#eceef2 !important}
.vip-tabs .vip-tab.active{background:#111827 !important;color:#fff !important}
.vip-tabs .vip-tab{background:#fff}

/* 左侧窄栏标题：长语言下省略，避免“更多”被挤压 */
.hotWrap h1{gap:8px}
.hotWrap h1 strong{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.hotWrap h1 a{flex:0 0 auto;margin-left:0;font-size:10.5px;white-space:nowrap}
