/* ============================================================
 * 在线听书 主题 - 橙红风格
 * 覆盖宿主 ink.min.css 的深色调
 * ============================================================ */
:root{
  /* 覆盖宿主 ink.min.css 的 CSS 变量！核心！*/
  --text:#333333!important;
  --accent:#F86442!important;
  --bg:#f9f9f9!important;
  --bg-mid:#fdfdfd!important;
  --surface:#ffffff!important;
  --card:#ffffff!important;
  --chip:#FFF3EF!important;
  --muted:#727272!important;
  --brand:#F86442!important;
  --brand-lite:#FF8A65!important;
  --line:#eeeeee!important;
  --stroke:rgba(248,100,66,.08)!important;
  --accent-soft:rgba(248,100,66,.12)!important;
  --text-soft:#555555!important;
  
  /* 听书自定义 */
  --ts-primary:#F86442;
  --ts-primary-dark:#D84315;
  --ts-accent:#FF8A65;
  --ts-bg:#f9f9f9;
  --ts-card:#ffffff;
  --ts-text:#333;
  --ts-muted:#727272;
  --ts-border:#eeeeee;
  --ts-shadow:0 2px 12px rgba(0,0,0,.06);
  --ts-shadow-hover:0 6px 20px rgba(248,100,66,.18);
}

/* ========== 宿主基础覆盖 ========== */
body{background:var(--ts-bg)!important}
body .content{max-width:1200px!important;margin:0 auto!important;padding:20px 16px!important}
body .site-head{background:#fff!important;border-bottom:1px solid var(--ts-border)!important;box-shadow:0 1px 4px rgba(0,0,0,.04)!important}
body .site-head .site-logo{color:#F86442!important;font-weight:700!important;font-size:22px!important}
body .site-head .site-logo .logo-mark{background:#F86442!important}
body .site-head .site-nav a{color:#333!important;font-weight:500!important}
body .site-head .site-nav a.active,
body .site-head .site-nav a:hover{color:#F86442!important}

/* 顶栏搜索框 */
body .search-form{background:#f5f5f5!important;border-radius:20px!important;border:1px solid transparent!important;transition:all .2s}
body .search-form:focus-within{background:#fff!important;border-color:#F86442!important;box-shadow:0 0 0 3px rgba(248,100,66,.1)!important}
body .search-form .search-input{color:#333!important}
body .search-form .search-input::placeholder{color:#bbb!important}
body .search-form .search-form-icon{color:#999!important}
body .search-form:focus-within .search-form-icon{color:#F86442!important}

body .btn-primary,
body .uc-btn-primary,
body a.btn-primary,
body button.btn-primary,
body .btn-primary{
  background:#F86442!important;
  background-color:#F86442!important;
  border-color:#F86442!important;
  color:#fff!important;
}
body .btn-primary:hover,
body .btn-primary:hover{
  background:#D84315!important;
  background-color:#D84315!important;
  border-color:#D84315!important;
}

body a:hover,
body a:hover{color:#F86442!important}
body .ts-cat-item:hover{color:#F86442!important;box-shadow:var(--ts-shadow-hover)!important;transform:translateY(-3px)}

body{background:var(--ts-bg)!important;color:var(--ts-text)!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif!important
}

/* ========== 首页容器 ========== */
body .ts-home{max-width:1200px;margin:0 auto}

/* ========== Hero 轮播 ========== */
body .ts-hero{margin-bottom:24px;border-radius:12px;overflow:hidden}
body .ts-hero-inner{display:flex;gap:0;position:relative}
body .ts-hero-slide{
  position:relative;display:block;border-radius:12px;overflow:hidden;
  aspect-ratio:16/5;text-decoration:none;color:#fff;flex:1;
  transition:transform .3s;
}
body .ts-hero-slide:hover{transform:scale(1.01)}

body .ts-hero-mask{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.65) 0%,rgba(0,0,0,.1) 100%)}
body .ts-hero-info{position:absolute;left:32px;bottom:28px;right:32px;z-index:2}
body .ts-hero-cat{display:inline-block;background:rgba(255,255,255,.2);backdrop-filter:blur(4px);padding:3px 12px;border-radius:20px;font-size:12px;margin-bottom:10px}
body .ts-hero-info h2{font-size:26px;margin:0 0 8px;font-weight:700;max-width:600px;text-shadow:0 2px 6px rgba(0,0,0,.3)}
body .ts-hero-info p{margin:0;font-size:14px;opacity:.85;max-width:560px}

/* Hero 轮播箭头 + 分页点 (theme.js 注入) */
body .ts-hero{position:relative}
body .ts-hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:10;
  width:44px;height:44px;border-radius:50%;border:none;background:rgba(0,0,0,.3);
  color:#fff;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:all .2s;backdrop-filter:blur(4px);
}
body .ts-hero-arrow:hover{background:rgba(248,100,66,.8);width:50px;height:50px}
body .ts-hero-prev{left:16px}
body .ts-hero-next{right:16px}
body .ts-hero-dots{
  position:absolute;bottom:14px;left:50%;transform:translateX(-50%);z-index:10;
  display:flex;gap:6px;
}
body .ts-hero-dot{
  width:10px;height:10px;border-radius:50%;border:none;background:rgba(255,255,255,.5);
  cursor:pointer;transition:all .2s;padding:0;
}
body .ts-hero-dot.is-active{width:24px;border-radius:5px;background:#F86442}

/* 首页排行榜 tab (热门/连载/完结) */
body .ts-block-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
body .ts-rank-tabs{display:flex;gap:4px;background:#f7f7f7;padding:4px;border-radius:20px}
body .ts-rank-tab{
  padding:5px 14px;border-radius:16px;font-size:12px;color:#666;cursor:pointer;
  border:none;background:none;font-weight:500;transition:all .2s;
}
body .ts-rank-tab:hover{color:#F86442}
body .ts-rank-tab.is-active{background:#F86442;color:#fff!important}
body .ts-rank-pane{animation:tsFade .3s}
@keyframes tsFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* ========== 分类入口 ========== */
body .ts-cat-nav{display:grid;grid-template-columns:repeat(10,1fr);gap:12px;margin-bottom:28px}
body .ts-cat-item{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  padding:18px 8px;background:#fff;border-radius:10px;text-decoration:none;
  color:#333;transition:all .2s;box-shadow:0 1px 4px rgba(0,0,0,.04);
}
body .ts-cat-item i{font-size:26px;color:#F86442!important}
body .ts-cat-item span{font-size:13px;font-weight:500}

/* ========== 主内容双栏 ========== */
body .ts-main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
body .ts-block{background:#fff;border-radius:12px;padding:20px;margin-bottom:24px;box-shadow:0 1px 4px rgba(0,0,0,.04)}
body .ts-block-head{margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #F86442!important;display:flex;align-items:center}
body .ts-block-head h3{margin:0;font-size:17px;font-weight:700;color:#333}

/* ========== 专辑网格 ========== */
body .ts-album-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ts-album-card{display:block;text-decoration:none;color:#333}
.ts-album-cover{
  position:relative;width:100%;aspect-ratio:3/4;border-radius:10px;overflow:hidden;
  background:#f0f0f0;margin-bottom:10px;box-shadow:0 1px 6px rgba(0,0,0,.06);
  transition:transform .2s,box-shadow .2s;
}
.ts-album-card:hover .ts-album-cover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(248,100,66,.18)!important}
.ts-album-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ts-album-play{
  position:absolute;right:8px;bottom:8px;width:36px;height:36px;border-radius:50%;
  background:#F86442!important;color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:18px;opacity:0;transform:scale(.8);transition:all .2s;
}
.ts-album-card:hover .ts-album-play{opacity:1;transform:scale(1)}
.ts-album-body h4{margin:0;font-size:14px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ts-album-meta{margin-top:4px;font-size:12px;color:#999;display:flex;gap:10px}
.ts-album-meta i{margin-right:2px}

/* ========== 最新列表 ========== */
body .ts-latest-list{display:flex;flex-direction:column;gap:0}
body .ts-latest-item{
  display:grid;grid-template-columns:72px 1fr;gap:14px;padding:14px 0;
  border-bottom:1px solid #f5f5f5;text-decoration:none;color:#333;
}
body .ts-latest-item:last-child{border-bottom:none}
body .ts-latest-cover{
  width:72px;height:72px;border-radius:8px;overflow:hidden;background:#f0f0f0;
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;font-weight:700;flex-shrink:0;
}
body .ts-latest-cover img{width:100%;height:100%;object-fit:cover}
body .ts-latest-info h4{margin:0 0 6px;font-size:15px;font-weight:600;color:#333}
body .ts-latest-item:hover .ts-latest-info h4{color:#F86442!important}
body .ts-latest-info p{margin:0 0 8px;font-size:13px;color:#888;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .ts-latest-meta{display:flex;gap:10px;font-size:12px;color:#999;align-items:center;flex-wrap:wrap}
body .ts-tag-cat{background:#FFF3EF!important;color:#F86442!important;padding:2px 10px;border-radius:10px}

/* ========== 右侧栏 ========== */
body .ts-main-right{position:sticky!important;top:80px}
body .ts-side-block{background:#fff!important;border-radius:12px!important;padding:18px!important;margin-bottom:16px!important;box-shadow:0 1px 4px rgba(0,0,0,.04)!important}
body .ts-side-title{margin:0 0 14px;font-size:15px;font-weight:700;color:#333;display:flex;align-items:center;gap:6px}
body .ts-side-title i{color:#F86442!important}

/* 排行榜 */
.ts-rank-list{margin:0;padding:0;list-style:none}
.ts-rank-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f7f7f7;font-size:14px}
.ts-rank-item:last-child{border-bottom:none}
.ts-rank-num{
  width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;background:#f0f0f0;color:#999;flex-shrink:0;
}
.ts-rank-item .is-top{background:#F86442!important;color:#fff!important}
.ts-rank-item a{flex:1;color:#333;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ts-rank-item a:hover{color:#F86442!important}
.ts-rank-views{color:#999;font-size:12px}

/* 侧栏列表 */
.ts-side-list{margin:0;padding:0;list-style:none}
.ts-side-list li{padding:8px 0;border-bottom:1px solid #f7f7f7}
.ts-side-list li:last-child{border-bottom:none}
.ts-side-list a{color:#333;text-decoration:none;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.ts-side-list a:hover{color:#F86442!important}

/* 侧栏分类 */
.ts-side-cats{display:flex;flex-wrap:wrap;gap:6px}
.ts-side-cats a{
  display:inline-flex;align-items:center;gap:4px;padding:4px 12px;
  background:#f7f7f7;border-radius:16px;font-size:12px;color:#333;text-decoration:none;
  transition:all .2s;
}
.ts-side-cats a em{font-style:normal;color:#999}
.ts-side-cats a:hover{background:#F86442!important;color:#fff!important}
.ts-side-cats a:hover em{color:rgba(255,255,255,.8)}

/* ========== 详情页 ========== */
body .ts-detail{max-width:1200px;margin:0 auto}
body .ts-crumbs{font-size:13px;color:#999;margin-bottom:18px;padding:12px 16px;background:#fff;border-radius:8px}
body .ts-crumbs a{color:#666;text-decoration:none}
body .ts-crumbs a:hover{color:#F86442}
body .ts-crumbs span{margin:0 8px;color:#ccc}

body .ts-detail-main{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start}
body .ts-detail-hero{
  display:grid;grid-template-columns:220px 1fr;gap:24px;
  background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 4px rgba(0,0,0,.04);
}
.ts-detail-cover{width:220px;height:293px;border-radius:12px;overflow:hidden;background:#f0f0f0;box-shadow:var(--ts-shadow)}
.ts-detail-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ts-detail-cover-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#FF8A65,#F86442);color:#fff;font-size:64px;font-weight:700}
.ts-detail-info h1{margin:0 0 12px;font-size:22px;font-weight:700;color:#333;line-height:1.4}
.ts-detail-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:#888;margin-bottom:12px}
.ts-detail-meta i{margin-right:3px;color:#F86442}
.ts-detail-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.ts-detail-tags a{padding:3px 12px;background:#FFF3EF;color:#F86442;border-radius:14px;font-size:12px;text-decoration:none}
.ts-detail-actions{display:flex;gap:10px}
.ts-btn{padding:10px 22px;border-radius:22px;border:1px solid #eee;background:#fff;color:#333;font-size:14px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:all .2s}
.ts-btn:hover{border-color:#F86442;color:#F86442}
.ts-btn-play{background:#F86442!important;color:#fff!important;border-color:#F86442!important}
.ts-btn-play:hover{background:#D84315!important;color:#fff!important;border-color:#D84315!important}
.ts-btn-fav{background:#fff}
.ts-audio-tip{font-size:12px;color:#999;margin-top:10px}

body .ts-detail-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.ts-section-title{margin:0 0 14px;font-size:16px;font-weight:700;color:#333;padding-bottom:10px;border-bottom:2px solid #F86442;display:flex;align-items:center;gap:8px}
.ts-detail-excerpt{
  background:linear-gradient(135deg,#FFF3EF,#FFE8E0);border-left:3px solid #F86442;
  padding:14px 18px;border-radius:6px;margin-bottom:16px;font-size:14px;color:#666;line-height:1.7;
}
.ts-detail-content{font-size:15px;line-height:1.8;color:#333}
.ts-detail-content img{max-width:100%;border-radius:8px;margin:10px 0}

/* 侧栏相关推荐 */
body .ts-detail-side{position:sticky!important;top:80px}
.ts-related-list{margin:0;padding:0;list-style:none}
.ts-related-item{display:grid;grid-template-columns:32px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid #f7f7f7;text-decoration:none;color:#333}
.ts-related-item:last-child{border-bottom:none}
.ts-related-num{width:24px;height:24px;border-radius:5px;background:#f0f0f0;color:#999;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ts-related-info h4{margin:0;font-size:14px;font-weight:500;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ts-related-info span{font-size:12px;color:#999;margin-top:3px;display:block}
.ts-related-item:hover .ts-related-info h4{color:#F86442!important}

/* ========== 响应式 ========== */
@media (max-width: 1000px){
  body .ts-cat-nav{grid-template-columns:repeat(5,1fr)}
  body .ts-album-grid{grid-template-columns:repeat(3,1fr)}
  body .ts-main,body .ts-detail-main{grid-template-columns:1fr}
  body .ts-main-right,body .ts-detail-side{position:static}
}
@media (max-width: 640px){
  body .ts-cat-nav{grid-template-columns:repeat(4,1fr)}
  body .ts-album-grid{grid-template-columns:repeat(2,1fr)}
  body .ts-detail-hero{grid-template-columns:1fr}
  body .ts-detail-cover{margin:0 auto}
  body .ts-hero-slide{aspect-ratio:16/9}
  body .ts-hero-info h2{font-size:18px}
  body .ts-hero-info p{display:none}
  body .content{padding:12px 10px!important}
}

/* ========== 底部悬浮播放条（theme.js 注入） ========== */
.ts-player-bar{
  position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));z-index:9999;
  width:min(960px,calc(100% - 40px));
  padding:10px 14px 12px;
  background:rgba(24,24,28,.94);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.08);border-radius:18px;
  color:#fff;box-shadow:0 14px 44px rgba(0,0,0,.34);
  transform:translate(-50%,140%);
  transition:transform .34s cubic-bezier(.22,.61,.36,1);
}
.ts-player-bar.is-visible{transform:translate(-50%,0)}
.ts-pb-main{display:flex;align-items:center;gap:12px}
.ts-pb-cover{
  width:44px;height:44px;border-radius:12px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:21px;color:#fff;
  background:linear-gradient(135deg,#FF8A65,#F86442);
  box-shadow:0 6px 16px rgba(248,100,66,.32);
  overflow:hidden;
}
.ts-pb-cover img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.ts-player-bar.is-playing .ts-pb-cover{animation:tsPbPulse 2.6s ease-in-out infinite}
@keyframes tsPbPulse{
  0%,100%{box-shadow:0 6px 16px rgba(248,100,66,.32)}
  50%{box-shadow:0 6px 22px rgba(248,100,66,.55)}
}
.ts-pb-info{flex:1;min-width:0}
.ts-pb-title{
  font-size:14px;font-weight:600;line-height:1.4;color:#fff;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ts-pb-meta{display:flex;align-items:center;gap:7px;margin-top:2px;font-size:12px;color:#9aa0aa}
.ts-pb-dot{width:3px;height:3px;border-radius:50%;background:#5c626c;flex-shrink:0}
.ts-pb-state{color:#b7bcc6}
.ts-pb-ctrl{display:flex;align-items:center;gap:6px;flex-shrink:0}
.ts-player-bar button{
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  border:none;background:none;color:#fff;cursor:pointer;transition:all .2s;
}
.ts-pb-play{
  width:42px;height:42px;border-radius:50%;font-size:20px;
  background:linear-gradient(135deg,#FF8A65,#F86442);
  box-shadow:0 4px 14px rgba(248,100,66,.38);
}
.ts-pb-play:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(248,100,66,.5)}
.ts-pb-play:active{transform:scale(.94)}
.ts-pb-close{width:32px;height:32px;border-radius:50%;font-size:18px;color:#8b9099}
.ts-pb-close:hover{background:rgba(255,255,255,.08);color:#fff}
.ts-pb-progress{
  position:relative;height:4px;margin:9px 2px 0;border-radius:4px;
  background:rgba(255,255,255,.14);cursor:pointer;touch-action:none;
}
.ts-pb-progress-fill{
  position:absolute;left:0;top:0;bottom:0;width:0;border-radius:4px;
  background:linear-gradient(90deg,#FFB199,#F86442);
}
.ts-pb-progress-fill::after{
  content:"";position:absolute;right:-5px;top:50%;width:11px;height:11px;
  transform:translateY(-50%);border-radius:50%;background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.3);
  opacity:0;transition:opacity .2s;
}
.ts-player-bar:hover .ts-pb-progress-fill::after,
.ts-player-bar.is-seeking .ts-pb-progress-fill::after{opacity:1}
body.has-ts-player{padding-bottom:96px}

@media(max-width:640px){
  .ts-player-bar{
    width:calc(100% - 20px);
    bottom:calc(10px + env(safe-area-inset-bottom));
    padding:8px 10px 10px;border-radius:16px;
  }
  .ts-pb-main{gap:10px}
  .ts-pb-cover{width:38px;height:38px;border-radius:10px;font-size:18px}
  .ts-pb-title{font-size:13px}
  .ts-pb-meta{font-size:11px;gap:6px}
  .ts-pb-play{width:38px;height:38px;font-size:18px}
  .ts-pb-close{width:28px;height:28px;font-size:16px}
  .ts-pb-progress{margin-top:7px}
  .ts-pb-progress-fill::after{opacity:1;width:10px;height:10px;right:-4px}
  body.has-ts-player{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
}

/* ========== 新版首页组件（对标 tingshuwang.cc） ========== */
.ts-home{display:block}

/* 顶部一体区：Banner + 排行榜 */
.ts-top{display:flex;gap:20px;margin-bottom:8px;align-items:stretch}
.ts-top .ts-hero{flex:1;min-width:0;margin-bottom:0}
.ts-top .ts-hero-inner{border-radius:10px}
.ts-top .ts-hero-slide{height:340px;aspect-ratio:auto;border-radius:10px}

.ts-hero-badge{
  position:absolute;right:16px;bottom:16px;z-index:3;
  padding:8px 20px;border-radius:20px;font-size:14px;font-weight:600;color:#fff;
  background:linear-gradient(135deg,#FF8A65,#F86442);box-shadow:0 4px 12px rgba(248,100,66,.4);
}

/* 右侧排行榜盒 */
.ts-rank-box{
  width:320px;flex-shrink:0;background:#fff;border-radius:10px;padding:16px 16px 12px;
  box-shadow:0 1px 4px rgba(0,0,0,.05);display:flex;flex-direction:column;
}
.ts-rank-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.ts-rank-hd h3{font-size:17px;font-weight:700;color:#333;position:relative;padding-left:10px}
.ts-rank-hd h3::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:2px;background:#F86442}
.ts-rank-tabs{display:flex;gap:2px;background:#f5f5f5;border-radius:14px;padding:2px}
.ts-rank-tab{
  padding:4px 12px;border:none;background:none;border-radius:12px;font-size:12px;color:#666;cursor:pointer;transition:all .2s;
}
.ts-rank-tab.is-active{background:#F86442;color:#fff}
.ts-rank-ls{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 16px;flex:1;align-content:start}
.ts-rank-ls li{
  display:flex;align-items:center;gap:6px;padding:5px 0;min-width:0;
  border-bottom:1px dashed #f0f0f0;font-size:13px;
}
.ts-rank-ls li .num{
  width:16px;height:16px;border-radius:3px;flex-shrink:0;text-align:center;line-height:16px;
  font-size:11px;color:#999;background:#f0f0f0;font-style:normal;
}
.ts-rank-ls li:nth-child(1) .num,.ts-rank-ls li:nth-child(2) .num,.ts-rank-ls li:nth-child(3) .num{background:#F86442;color:#fff}
.ts-rank-ls li a{color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}
.ts-rank-ls li a:hover{color:#F86442}

/* 红色竖条节标题 */
.ts-sec-title{
  font-size:20px;font-weight:700;color:#333;margin:28px 0 16px;position:relative;padding-left:12px;line-height:1.3;
}
.ts-sec-title::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:5px;border-radius:3px;background:#F86442}
.ts-sec-title em{font-style:normal;font-size:14px;color:#F86442;font-weight:500;margin-left:8px}

/* 分类 tab 条 */
.ts-cat-tabs{
  display:flex;align-items:center;gap:4px;flex-wrap:wrap;background:#fff;border-radius:10px;
  padding:10px 14px;margin-bottom:16px;box-shadow:0 1px 4px rgba(0,0,0,.04);
}
.ts-cat-lead{
  font-size:14px;font-weight:700;color:#fff;background:#F86442;border-radius:14px;
  padding:5px 14px;margin-right:10px;flex-shrink:0;
}
.ts-cat-tabs a{
  font-size:14px;color:#555;padding:5px 12px;border-radius:14px;transition:all .2s;
}
.ts-cat-tabs a:hover{color:#F86442;background:#FFF3EF}

/* 横排书卡网格 */
.ts-book-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ts-book-card{
  display:flex;gap:12px;background:#fff;border-radius:10px;padding:14px;
  box-shadow:0 1px 4px rgba(0,0,0,.04);transition:all .25s;min-width:0;
}
.ts-book-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.1)}
.ts-book-cover{
  width:96px;height:128px;border-radius:6px;flex-shrink:0;overflow:hidden;
  background:linear-gradient(135deg,#667eea,#F86442);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;
}
.ts-book-cover img{width:100%;height:100%;object-fit:cover}
.ts-book-info{flex:1;min-width:0;display:flex;flex-direction:column}
.ts-book-info h4{
  font-size:15px;font-weight:700;color:#333;margin-bottom:6px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:6px;
}
.ts-book-info h4 .tag{
  font-style:normal;font-size:11px;font-weight:500;color:#F86442;border:1px solid #F86442;
  border-radius:3px;padding:1px 5px;flex-shrink:0;
}
.ts-book-info h4 .tag.blue{color:#4a90d9;border-color:#4a90d9}
.ts-book-meta{font-size:12px;color:#999;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ts-book-desc{
  font-size:12px;color:#888;line-height:1.7;flex:1;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
}

/* 纯文字书名矩阵 */
.ts-title-grid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:0;background:#fff;border-radius:10px;
  padding:8px 14px;margin-top:16px;box-shadow:0 1px 4px rgba(0,0,0,.04);
}
.ts-title-grid a{
  font-size:13px;color:#555;padding:9px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  border-bottom:1px dashed #eee;transition:color .2s;text-align:center;
}
.ts-title-grid a:hover{color:#F86442}

/* 响应式 */
@media (max-width:1000px){
  .ts-top{flex-direction:column}
  .ts-rank-box{width:100%}
  .ts-book-grid{grid-template-columns:repeat(2,1fr)}
  .ts-title-grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:640px){
  .ts-top .ts-hero-slide{height:200px}
  .ts-book-grid{grid-template-columns:1fr}
  .ts-title-grid{grid-template-columns:repeat(2,1fr)}
  .ts-sec-title{font-size:17px}
}

/* ========== Hero 重构：模糊背景 + 左文案 + 右封面 ========== */
.ts-top .ts-hero-slide{background:#2b3a55}
.ts-hero-bg{
  position:absolute;inset:-20px;background-size:cover;background-position:center;
  filter:blur(36px) brightness(.75);transform:scale(1.25);z-index:0;
}
.ts-hero-body{
  position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;
  gap:30px;height:100%;padding:30px 44px;
}
.ts-top .ts-hero-info{position:static;flex:1;min-width:0;max-width:520px}
.ts-top .ts-hero-info h2{font-size:32px;margin:12px 0 10px;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.ts-top .ts-hero-info p{display:block;opacity:.9;margin-bottom:18px;line-height:1.7}
.ts-hero-cat{
  display:inline-block;padding:4px 12px;border-radius:14px;font-size:12px;
  background:rgba(248,100,66,.9);color:#fff;font-weight:600;
}
.ts-hero-cover{
  flex-shrink:0;width:190px;height:254px;border-radius:10px;overflow:hidden;
  box-shadow:0 12px 32px rgba(0,0,0,.4);transform:rotate(2deg);
}
.ts-hero-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ts-hero-body .ts-hero-badge{position:static;display:inline-block}
@media (max-width:640px){
  .ts-hero-cover{display:none}
  .ts-hero-body{padding:20px}
  .ts-top .ts-hero-info h2{font-size:22px}
}

.ts-top .ts-hero-slide{overflow:hidden}
