/* ============================================================
   TORCIDA · 足球赛事资讯模板样式层（叠加于 bootstrap5.3 + module.css 之上）
   1:1 复刻参照站 scriptut 的设计系统（同一份 module.css / 同一组 section 编号结构），
   仅在此层做「配色多变 + 布局微调 + torcida 自有组件」：
     - 9 套配色 theme-1~9（浅底区永远深字、深底区永远白字，关键色对与渐变各采样点均 ≥4.5；色相由 _tc_huepick_batch.php 在“9 档彼此 ≥36° 且避开 45-95° 泥色带”约束下寻优，并由 _tc_palette_preview.php 出图逐行目视定稿）
     - 3 套卡片皮肤 style-1~3（圆角/投影节奏，由配色派生）
     - 深色/浅色头部 head-dark / head-light
   加载顺序：bootstrap → fontawesome → swiper → mipcms → module → torcida(本文件)，
   故本文件一律用 body.torcida + #id 抬优先级压过 module.css；颜色一律走 CSS 变量，禁止内联写死。
   ============================================================ */

/* ---------- 默认变量（未登记域名回落 = theme-1 #954f09 琥珀橙） ---------- */
body.torcida{
  --k-primary:#954f09; --k-primary-2:#b15f0c;
  --k-accent:#ffd324; --k-accent-ink:#1a1200;
  --k-head-a:#6c3804; --k-head-b:#954f09;
  --k-hero-a:#3d1f01; --k-hero-b:#1e0501;
  --k-tint:#faede0; --k-tint2:#fdf7e3;
  --k-ink:#161c2e; --k-muted:#545e73; --k-line:#e3e8f4;
  --k-radius:18px; --k-shadow:0 14px 34px rgba(16,24,40,.10); --k-gap:56px;
  --bs-primary:#954f09; --bs-primary-rgb:149,79,9;
  --bs-link-color:#954f09; --bs-link-hover-color:#6c3804;
}

/* ---------- 9 套配色（全部经 WCAG 2.1 穷举校验：关键色对与渐变 5 采样点均 >=4.5；色相由 _tc_huepick_batch.php 在"9 点彼此 >=36 度且避开 45-95 度泥色带"约束下组合寻优，绿相降饱和，并用 _tc_palette_preview.php 出图逐行目视定稿）---------- */
/* 中性色：--k-ink:#161c2e  --k-muted:#545e73  --k-line:#e3e8f4 */
body.torcida.theme-1{ --k-primary:#954f09; --k-primary-2:#b15f0c; --k-accent:#ffd324; --k-accent-ink:#1a1200; --k-head-a:#6c3804; --k-head-b:#954f09; --k-hero-a:#3d1f01; --k-hero-b:#1e0501; --k-tint:#faede0; --k-tint2:#fdf7e3; --bs-primary:#954f09; --bs-primary-rgb:149,79,9; --bs-link-color:#954f09; --bs-link-hover-color:#6c3804; } /* 琥珀橙 Ambra */
body.torcida.theme-2{ --k-primary:#2a5016; --k-primary-2:#396b1e; --k-accent:#fbac23; --k-accent-ink:#1a1200; --k-head-a:#172d0b; --k-head-b:#2a5016; --k-hero-a:#19330a; --k-hero-b:#061909; --k-tint:#eaf8e2; --k-tint2:#fdf3e3; --bs-primary:#2a5016; --bs-primary-rgb:42,80,22; --bs-link-color:#2a5016; --bs-link-hover-color:#172d0b; } /* 草坪绿 Prato */
body.torcida.theme-3{ --k-primary:#174a24; --k-primary-2:#206531; --k-accent:#fae52e; --k-accent-ink:#1a1200; --k-head-a:#0b2812; --k-head-b:#174a24; --k-hero-a:#0c3215; --k-hero-b:#061815; --k-tint:#e3f8e8; --k-tint2:#fdfae3; --bs-primary:#174a24; --bs-primary-rgb:23,74,36; --bs-link-color:#174a24; --bs-link-hover-color:#0b2812; } /* 森林绿 Bosco */
body.torcida.theme-4{ --k-primary:#12544a; --k-primary-2:#197164; --k-accent:#fa6829; --k-accent-ink:#1d0600; --k-head-a:#092f29; --k-head-b:#12544a; --k-hero-a:#08352e; --k-hero-b:#04131a; --k-tint:#e1faf6; --k-tint2:#fdebe3; --bs-primary:#12544a; --bs-primary-rgb:18,84,74; --bs-link-color:#12544a; --bs-link-hover-color:#092f29; } /* 碧玺青 Lago */
body.torcida.theme-5{ --k-primary:#0e538b; --k-primary-2:#1166ac; --k-accent:#fd9d21; --k-accent-ink:#1a0d00; --k-head-a:#073a64; --k-head-b:#0e538b; --k-hero-a:#02213b; --k-hero-b:#02051d; --k-tint:#e0eefa; --k-tint2:#fdf1e3; --bs-primary:#0e538b; --bs-primary-rgb:14,83,139; --bs-link-color:#0e538b; --bs-link-hover-color:#073a64; } /* 钴蓝 Cobalto */
body.torcida.theme-6{ --k-primary:#1d178c; --k-primary-2:#231cab; --k-accent:#fccb2c; --k-accent-ink:#1a1200; --k-head-a:#130e67; --k-head-b:#1d178c; --k-hero-a:#080638; --k-hero-b:#0e031c; --k-tint:#e2e0fa; --k-tint2:#fdf7e3; --bs-primary:#1d178c; --bs-primary-rgb:29,23,140; --bs-link-color:#1d178c; --bs-link-hover-color:#130e67; } /* 群青 Oltremare */
body.torcida.theme-7{ --k-primary:#521971; --k-primary-2:#671f8e; --k-accent:#1fc1a6; --k-accent-ink:#001a17; --k-head-a:#370f4d; --k-head-b:#521971; --k-hero-a:#250835; --k-hero-b:#1a0418; --k-tint:#f1e1fa; --k-tint2:#e5fbf7; --bs-primary:#521971; --bs-primary-rgb:82,25,113; --bs-link-color:#521971; --bs-link-hover-color:#370f4d; } /* 紫罗兰 Viola */
body.torcida.theme-8{ --k-primary:#73115b; --k-primary-2:#921673; --k-accent:#09a8e1; --k-accent-ink:#00161d; --k-head-a:#4d0a3c; --k-head-b:#73115b; --k-hero-a:#38052b; --k-hero-b:#1c030a; --k-tint:#fae0f4; --k-tint2:#e3f6fd; --bs-primary:#73115b; --bs-primary-rgb:115,17,91; --bs-link-color:#73115b; --bs-link-hover-color:#4d0a3c; } /* 洋红 Magenta */
body.torcida.theme-9{ --k-primary:#8e101c; --k-primary-2:#ae1323; --k-accent:#fdb526; --k-accent-ink:#1a1200; --k-head-a:#670912; --k-head-b:#8e101c; --k-hero-a:#3a0309; --k-hero-b:#1d0c02; --k-tint:#fae0e3; --k-tint2:#fdf4e3; --bs-primary:#8e101c; --bs-primary-rgb:142,16,28; --bs-link-color:#8e101c; --bs-link-hover-color:#670912; } /* 樱桃红 Ciliegia */

/* ---------- 3 套卡片皮肤 ---------- */
body.torcida.style-1{ --k-radius:18px; --k-shadow:0 14px 34px rgba(16,24,40,.10); --k-gap:56px; }
body.torcida.style-2{ --k-radius:8px;  --k-shadow:0 2px 0 rgba(0,0,0,0);     --k-gap:46px; }
body.torcida.style-3{ --k-radius:26px; --k-shadow:0 22px 48px rgba(16,24,40,.16); --k-gap:64px; }
body.torcida.style-2 .whyus11-card,body.torcida.style-2 .torcida-review-card,body.torcida.style-2 .news13-card,body.torcida.style-2 #update-9 article,body.torcida.style-2 .torcida-list-card,body.torcida.style-2 .torcida-side-widget{ box-shadow:none !important; border:1px solid var(--k-line) !important; }

/* ---------- 基础 ---------- */
body.torcida{ background:#fff; color:var(--k-ink); font-family:"PingFang SC","Microsoft YaHei","Segoe UI",Roboto,"Helvetica Neue",sans-serif; }
body.torcida .mipcms-main{ margin-top:0; }
body.torcida .torcida-accent-bar{ height:3px; background:linear-gradient(90deg,var(--k-primary),var(--k-primary-2),var(--k-accent)); }
body.torcida mark.k-brand{ background:transparent; color:var(--k-primary); padding:0; font-weight:inherit; }
body.torcida .k-brand-txt{ color:#fff; font-size:1.05rem; letter-spacing:.5px; text-shadow:0 1px 2px rgba(0,0,0,.25); }
/* 品牌名在手机上也必须可见（不能靠 d-none 隐藏），改为缩小字号并允许折不下时 ellipsis */
@media (max-width:575px){ body.torcida .k-brand-txt{ font-size:.92rem; letter-spacing:0; max-width:56vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } }
html{ scroll-behavior:smooth; scroll-padding-top:88px; }
@media (max-width:991px){ html{ scroll-padding-top:72px; } }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

/* 回到顶部 */
body.torcida .torcida-totop{ position:fixed; right:20px; bottom:24px; width:44px; height:44px; border-radius:50%; background:var(--k-primary); color:#fff; display:flex; align-items:center; justify-content:center; text-decoration:none; opacity:0; visibility:hidden; transform:translateY(10px); transition:.3s; z-index:1050; box-shadow:0 6px 18px rgba(0,0,0,.25); }
body.torcida .torcida-totop.show{ opacity:1; visibility:visible; transform:none; }
body.torcida .torcida-totop:hover{ background:var(--k-primary-2); color:#fff; }

/* ============================================================
   section 配色覆盖（结构/布局仍由 module.css 决定，此处只换色）
   ============================================================ */
/* header-6 吸顶导航 */
body.torcida #header-6{ background:linear-gradient(to right,var(--k-head-a),var(--k-head-b)); }
body.torcida #header-6 .navbar-nav .nav-link{ color:#fff; }
body.torcida #header-6 .navbar-nav .nav-link:hover{ background-color:rgba(255,255,255,.16); color:#fff; }
/* 汉堡按钮：nav 未挂 navbar-light/dark，Bootstrap 不下发图标，需自补深色描边 SVG（按钮恒为 bg-light 浅底） */
body.torcida #header-6 .navbar-toggler{ border:1px solid rgba(255,255,255,.55); }
body.torcida #header-6 .navbar-toggler-icon{ width:1.4em; height:1.4em; background-repeat:no-repeat; background-position:center; background-size:100%;
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2818,26,38,0.82%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
body.torcida #header-6.head-light{ background:#fff; box-shadow:0 2px 12px rgba(0,0,0,.08); }
body.torcida #header-6.head-light .navbar-nav .nav-link{ color:var(--k-ink); }
body.torcida #header-6.head-light .navbar-nav .nav-link:hover{ background:var(--k-tint); color:var(--k-primary); }
body.torcida #header-6.head-light .k-brand-txt{ color:var(--k-primary); text-shadow:none; }
body.torcida #header-6.head-light .btn-outline-light{ color:var(--k-primary); border-color:var(--k-primary); }
body.torcida #header-6.head-light .btn-outline-light:hover{ background:var(--k-primary); color:#fff; }
body.torcida #header-6.head-light .navbar-toggler{ border-color:var(--k-line); }

/* hero-6 首屏 */
body.torcida #hero-6{ background:radial-gradient(ellipse at center,var(--k-hero-a) 0,var(--k-hero-b) 100%); }
body.torcida #hero-6 h1{ color:#fff; }
body.torcida #hero-6 h1 strong{ color:var(--k-accent); }
body.torcida .btn-hero6-primary{ background:var(--k-accent); color:var(--k-accent-ink); }
body.torcida .btn-hero6-primary:hover{ filter:brightness(1.06); color:var(--k-accent-ink); }
body.torcida .btn-hero6-secondary{ background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.5); color:#fff; }
body.torcida .btn-hero6-secondary:hover{ background:rgba(255,255,255,.26); color:#fff; }
body.torcida .hero6-image-wrapper img{ width:100%; max-height:260px; object-fit:cover; }

/* why-us11 平台优势 */
body.torcida #why-us11{ background:var(--k-tint); }
body.torcida #why-us11 .text-primary{ color:var(--k-primary) !important; }
body.torcida .whyus11-card{ background:#fff; border:1px solid var(--k-line); box-shadow:var(--k-shadow); }
body.torcida .whyus11-card:hover{ border-color:var(--k-primary-2); }
body.torcida .whyus11-card .icon-circle{ background:linear-gradient(135deg,var(--k-primary),var(--k-primary-2)); color:#fff; }
body.torcida .whyus11-card h5{ color:var(--k-ink); }

/* departments-11 五大足球专区 */
body.torcida #departments-11{ background:linear-gradient(to bottom,var(--k-tint2),var(--k-tint)); color:var(--k-ink); }
body.torcida #departments-11 .title-block h2{ color:var(--k-ink); }
body.torcida #departments-11 .tab-btn{ background:#fff; border:1px solid var(--k-line); color:var(--k-ink); }
body.torcida #departments-11 .tab-btn:hover{ border-color:var(--k-primary-2); color:var(--k-primary); }
body.torcida #departments-11 .tab-btn.active{ background:var(--k-primary); border-color:var(--k-primary); color:#fff; }
body.torcida #departments-11 .tab-inner{ background:#fff; box-shadow:var(--k-shadow); }
body.torcida #departments-11 .tab-text h3{ color:var(--k-primary); }
body.torcida #departments-11 .tab-text p{ color:#4a5468; }
/* 布局修正：桌面图文左右分栏（图片占 ~42%），移动端堆叠 */
body.torcida #departments-11 .tab-image{ flex:0 0 42%; width:42%; }
body.torcida #departments-11 .tab-image img{ width:100%; height:260px; object-fit:cover; border-radius:12px; }

/* update-9 版本演进 */
body.torcida #update-9{ background:linear-gradient(to bottom,var(--k-tint),var(--k-tint2)); }
body.torcida #update-9 h2{ color:var(--k-ink); }
body.torcida #update-9 article{ border:1px solid var(--k-line); }
body.torcida #update-9 .text-primary{ color:var(--k-primary) !important; }

/* app-2 APP 下载 */
body.torcida #app-2{ background:linear-gradient(to bottom right,var(--k-tint),var(--k-tint2)); }
body.torcida #app-2 h2{ color:var(--k-ink); }
body.torcida #app-2 .btn-gradient{ background:linear-gradient(90deg,var(--k-primary),var(--k-primary-2)); color:#fff; border:none; }
body.torcida #app-2 .btn-gradient:hover{ filter:brightness(1.07); color:#fff; }
body.torcida #app-2 .qr-badge{ background:#fff; border:1px solid var(--k-line); }

/* news-13 精选资讯 swiper */
body.torcida #news-13{ background:linear-gradient(135deg,var(--k-tint),var(--k-tint2)); }
body.torcida #news-13 h2{ color:var(--k-ink); }
body.torcida #news-13 .news13-card{ background:#fff; border:1px solid var(--k-line) !important; }
body.torcida #news-13 .news13-card h3 a{ color:var(--k-ink); }
body.torcida #news-13 .news13-card h3 a:hover{ color:var(--k-primary); }
/* news-13 原生 scroll-snap 横滑：触摸/触控板/滚轮/箭头按钮均可拉，不依赖 Swiper 初始化 */
body.torcida #news-13 .torcida-news-scroll{ overflow-x:auto; scroll-snap-type:x mandatory; gap:16px; padding:4px 2px 10px; -webkit-overflow-scrolling:touch; scrollbar-width:thin; scrollbar-color:var(--k-primary) transparent; }
body.torcida #news-13 .torcida-news-scroll::-webkit-scrollbar{ height:6px; }
body.torcida #news-13 .torcida-news-scroll::-webkit-scrollbar-thumb{ background:var(--k-primary); border-radius:3px; }
body.torcida #news-13 .torcida-news-item{ flex:0 0 auto; width:100%; scroll-snap-align:start; }
@media (min-width:576px){ body.torcida #news-13 .torcida-news-item{ width:calc(50% - 8px); } }
@media (min-width:992px){ body.torcida #news-13 .torcida-news-item{ width:calc(33.3333% - 11px); } }
body.torcida #news-13 .torcida-news-nav{ position:absolute; top:42%; z-index:5; width:40px; height:40px; border-radius:50%; border:1px solid var(--k-line); background:#fff; color:var(--k-primary); box-shadow:0 4px 14px rgba(0,0,0,.12); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s,color .2s; }
body.torcida #news-13 .torcida-news-nav:hover{ background:var(--k-primary); color:#fff; }
body.torcida #news-13 .torcida-news-prev{ left:-6px; }
body.torcida #news-13 .torcida-news-next{ right:-6px; }
@media (max-width:575px){ body.torcida #news-13 .torcida-news-nav{ display:none; } }
/* 卡片文案行数截断＋省略号，避免任何宽度下出现“半字/半卡”的不完整观感 */
body.torcida #news-13 .news13-card h3 a{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body.torcida #news-13 .news13-card p.text-muted{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin-bottom:0; }

/* article-8 正文页 */
body.torcida #article-8 .breadcrumb a{ color:var(--k-muted); text-decoration:none; }
body.torcida #article-8 .breadcrumb a:hover{ color:var(--k-primary); }
body.torcida #article-8 .breadcrumb-item.active{ color:var(--k-muted); }
body.torcida #article-8 a:hover{ color:var(--k-primary); }
body.torcida #article-8 .article-body blockquote{ border-left-color:var(--k-primary); }

/* related-7 精选推荐 / related-10 图文推荐 */
body.torcida #related-7 h2{ border-left-color:var(--k-primary); }
body.torcida #related-7 .rank-number{ color:var(--k-primary); }
body.torcida #related-7 .list-group-item{ border-color:var(--k-line) !important; }
body.torcida #related-10 .related-card-overlay{ background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,.05)); }
body.torcida #related-10 .badge.bg-warning{ background:var(--k-accent) !important; color:var(--k-accent-ink) !important; }

/* list-8 列表页 */
body.torcida #list-8 .torcida-list-card{ border:1px solid var(--k-line); }
body.torcida #list-8 .torcida-list-card h3{ transition:color .25s; }
body.torcida #list-8 a:hover .torcida-list-card h3{ color:var(--k-primary); }

/* footer-10 */
body.torcida #footer-10 a:hover{ color:#fff !important; }
body.torcida #footer-10 .text-warning{ color:var(--k-accent) !important; }

/* ============================================================
   torcida 自有组件（module.css 未覆盖的新区块）
   ============================================================ */
body.torcida .torcida-sec-head h2{ color:var(--k-ink); }
body.torcida .torcida-sec-head h2 i{ color:var(--k-primary); }

/* 数据快照 stats-6 */
body.torcida .torcida-stats{ background:linear-gradient(135deg,var(--k-tint),#fff); }
body.torcida .torcida-stats h2{ color:var(--k-ink); }
body.torcida .torcida-stats h2 i{ color:var(--k-primary); }
body.torcida .torcida-stats-sub{ color:var(--k-muted); max-width:720px; margin:0 auto; }
body.torcida .torcida-stats-grid{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; }
body.torcida .torcida-stats-item{ background:#fff; border:1px solid var(--k-line); border-radius:var(--k-radius); box-shadow:var(--k-shadow); padding:22px 16px; text-align:center; transition:transform .3s; }
body.torcida .torcida-stats-item:hover{ transform:translateY(-5px); }
body.torcida .torcida-stats-icon{ width:56px; height:56px; margin:0 auto 12px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:24px; color:#fff; background:linear-gradient(135deg,var(--k-primary),var(--k-primary-2)); }
body.torcida .torcida-stats-data h5{ font-size:14px; color:var(--k-muted); margin-bottom:6px; font-weight:600; }
body.torcida .torcida-stats-num{ font-size:22px; font-weight:800; color:var(--k-ink); margin-bottom:4px; }
body.torcida .torcida-stats-data small{ color:var(--k-muted); font-size:12px; }
@media (max-width:991px){ body.torcida .torcida-stats-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:420px){ body.torcida .torcida-stats-grid{ grid-template-columns:minmax(0,1fr); } }

/* 常见问题 faq-2 */
body.torcida .torcida-faq{ background:var(--k-tint); }
body.torcida .torcida-faq-item{ border:1px solid var(--k-line); border-radius:12px !important; margin-bottom:12px; overflow:hidden; background:#fff; }
body.torcida .torcida-faq-q{ background:#fff !important; color:var(--k-ink); font-weight:600; box-shadow:none !important; padding:16px 20px; }
body.torcida .torcida-faq-q:not(.collapsed){ color:var(--k-primary); background:var(--k-tint2) !important; }
body.torcida .torcida-faq-q::after{ filter:none; }
body.torcida .torcida-faq-a{ color:var(--k-muted); line-height:1.8; padding:0 20px 18px; }

/* 球迷好评 judge-11 */
body.torcida .torcida-reviews{ background:linear-gradient(135deg,var(--k-tint2),var(--k-tint)); }
body.torcida .torcida-reviews h2{ color:var(--k-ink); }
body.torcida .torcida-reviews h2 i{ color:var(--k-primary); }
body.torcida .torcida-review-card{ background:#fff; border:1px solid var(--k-line); border-radius:var(--k-radius); box-shadow:var(--k-shadow); padding:24px; transition:transform .3s; }
body.torcida .torcida-review-card:hover{ transform:translateY(-5px); }
body.torcida .torcida-avatar{ width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:20px; flex-shrink:0; }
body.torcida .torcida-av-1{ background:linear-gradient(135deg,var(--k-primary),var(--k-primary-2)); }
body.torcida .torcida-av-2{ background:linear-gradient(135deg,var(--k-head-a),var(--k-primary)); }
body.torcida .torcida-av-3{ background:linear-gradient(135deg,var(--k-primary-2),var(--k-head-b)); }
body.torcida .torcida-av-4{ background:linear-gradient(135deg,var(--k-head-a),var(--k-primary-2)); }
body.torcida .torcida-av-5{ background:linear-gradient(135deg,var(--k-hero-a),var(--k-head-b)); }
body.torcida .torcida-av-6{ background:linear-gradient(135deg,var(--k-head-b),var(--k-primary)); }
body.torcida .torcida-review-name{ color:var(--k-ink); font-size:15px; }
body.torcida .torcida-review-stars{ color:#f5a623; font-size:12px; letter-spacing:1px; }
body.torcida .torcida-review-body{ line-height:1.75; font-size:14px; }

/* 侧栏小工具 / 标签云 / 榜单 */
body.torcida .torcida-side-widget{ border:1px solid var(--k-line); }
body.torcida .torcida-side-widget h3 i{ }
body.torcida .torcida-rank-list li a:hover{ color:var(--k-primary) !important; }
body.torcida .torcida-tagcloud{ display:flex; flex-wrap:wrap; gap:8px; }
body.torcida .torcida-tag{ display:inline-block; padding:5px 12px; background:var(--k-tint); border:1px solid var(--k-line); border-radius:20px; color:var(--k-muted); font-size:13px; text-decoration:none; transition:.25s; }
body.torcida .torcida-tag:hover{ background:var(--k-primary); border-color:var(--k-primary); color:#fff; }
body.torcida .torcida-tagcloud-lg .torcida-tag{ font-size:15px; padding:7px 16px; }

/* 文章详情左侧标签 */
body.torcida .torcida-detail-tags{ display:flex; flex-wrap:wrap; gap:6px; }
body.torcida .torcida-detail-tags a{ display:inline-block; padding:4px 10px; background:var(--k-tint); border-radius:16px; color:var(--k-muted); font-size:12px; text-decoration:none; }
body.torcida .torcida-detail-tags a:hover{ background:var(--k-primary); color:#fff; }
body.torcida .torcida-detail-tags a i{ margin-right:3px; font-size:10px; }

/* 迷你卡片（相关/推荐） */
body.torcida .torcida-mini-card{ border-color:var(--k-line) !important; }
body.torcida .torcida-mini-thumb{ width:80px; height:60px; border-radius:8px; overflow:hidden; }
body.torcida .torcida-mini-thumb img{ width:100%; height:100%; object-fit:cover; }

/* 两行截断 */
body.torcida .torcida-clamp-2{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* 分页 */
body.torcida .torcida-pagination{ display:flex; justify-content:center; }
body.torcida .torcida-pagination ul,body.torcida .mip-page-pagination ul{ display:inline-flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; margin:0; justify-content:center; }
body.torcida .torcida-pagination li a,body.torcida .torcida-pagination li span,body.torcida .mip-page-pagination li a{ display:inline-block; min-width:38px; padding:7px 12px; text-align:center; background:#fff; border:1px solid var(--k-line); border-radius:8px; color:var(--k-muted); text-decoration:none; font-size:14px; }
body.torcida .torcida-pagination li.active a,body.torcida .torcida-pagination li.active span,body.torcida .mip-page-pagination li.active a{ background:var(--k-primary); border-color:var(--k-primary); color:#fff; }
body.torcida .torcida-pagination li a:hover{ border-color:var(--k-primary); color:var(--k-primary); }

/* ============================================================
   文章正文排版（article-body）—— 复刻 dugout 富正文：figure.art-lead + h2/h3 + ul
   ============================================================ */
body.torcida .article-body{ color:#2b3243; font-size:16px; line-height:1.9; }
body.torcida .article-body p{ margin:0 0 1.1rem; }
body.torcida .article-body h2{ font-size:22px; font-weight:800; color:var(--k-ink); margin:1.8rem 0 1rem; padding-left:12px; border-left:4px solid var(--k-primary); line-height:1.4; }
body.torcida .article-body h3{ font-size:19px; font-weight:700; color:var(--k-ink); margin:1.5rem 0 .8rem; }
body.torcida .article-body h3::before{ content:""; }
body.torcida .article-body strong{ color:var(--k-primary); font-weight:700; }
body.torcida .article-body ul,body.torcida .article-body ol{ margin:0 0 1.2rem; padding-left:1.3rem; }
body.torcida .article-body li{ margin-bottom:.5rem; }
body.torcida .article-body img{ max-width:100%; height:auto; border-radius:12px; box-shadow:0 2px 10px rgba(0,0,0,.08); }
body.torcida .article-body figure.art-lead{ margin:1.6rem 0; }
body.torcida .article-body figure.art-lead img{ width:100%; border-radius:12px; }
body.torcida .article-body figure.art-lead figcaption{ text-align:center; color:var(--k-muted); font-size:13px; margin-top:8px; }
body.torcida .article-body blockquote{ background:var(--k-tint); border-left:4px solid var(--k-primary); padding:14px 18px; margin:1.4rem 0; color:#4a5468; border-radius:0 8px 8px 0; }
body.torcida .article-body table{ width:100%; border-collapse:collapse; margin:1.2rem 0; }
body.torcida .article-body th,body.torcida .article-body td{ border:1px solid var(--k-line); padding:8px 10px; font-size:14px; }
body.torcida .article-body th{ background:var(--k-tint); color:var(--k-ink); }

/* ============================================================
   响应式修正
   ============================================================ */
@media (max-width:991px){
  body.torcida #header-6 .navbar-collapse{ background:rgba(0,0,0,.14); border-radius:10px; padding:10px 14px; margin-top:10px; }
  body.torcida #header-6.head-light .navbar-collapse{ background:var(--k-tint); }
  body.torcida #departments-11 .tab-inner{ flex-direction:column; padding:24px; gap:20px; text-align:center; }
  body.torcida #departments-11 .tab-image,body.torcida #departments-11 .tab-image img{ flex:0 0 auto; width:100%; height:200px; }
  body.torcida #departments-11 .tab-nav{ justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; -webkit-overflow-scrolling:touch; padding-bottom:6px; }
  body.torcida #departments-11 .tab-btn{ white-space:nowrap; flex:0 0 auto; }
  body.torcida .hero6-card{ padding:26px 18px; }
  body.torcida #hero-6 h1{ font-size:24px; }
  body.torcida .hero6-image-wrapper img{ max-height:180px; }
}
@media (max-width:575px){
  body.torcida #departments-11 .dept11-header{ flex-direction:column; align-items:flex-start; }
  body.torcida .torcida-stats-num{ font-size:19px; }
  body.torcida #article-8 .row.gx-5 > div{ padding-left:12px; padding-right:12px; }
}

/* ============================================================
   TORCIDA 本批新增层：顶栏全栏目化 + 专区功能键 + 热榜 rank-4 + 专题墙 topics-3
   说明：rank-4 / topics-3 是本站群自有新区块（参照站无此二区），故可自定底色；
        参照站已有的 header-6 / hero-6 / why-us11 / departments-11 / update-9 / app-2 / news-13 / footer-10
        的区块级标志性背景一律不覆盖，只换色相载体（按钮/链接/图标底）。
   ============================================================ */
/* 顶栏 9 个入口（首页 + 站群 7 栏目 + 搜索）：单档紧凑规格；容器被 mipcms.css 锁在 1113px，≥1200px 才单行展开，992–1199px 走汉堡 */
body.torcida #header-6 .navbar-nav .nav-link{ padding-left:.58rem; padding-right:.58rem; font-size:.95rem; white-space:nowrap; }
@media (max-width:1199px){ body.torcida #header-6 .navbar-nav .nav-link{ padding-left:.4rem; padding-right:.4rem; font-size:.9rem; } }
/* 手机端注册入口：图标常显、极窄屏只留图标（不用 d-none 把主功能藏掉） */
@media (max-width:400px){ body.torcida .tc-cta .tc-cta-txt{ display:none; } body.torcida .tc-cta{ padding-left:.55rem; padding-right:.55rem; } }

/* 通用渐变按钮（原仅 #app-2 内生效，专区 CTA 复用同一色相载体） */
body.torcida .btn-gradient{ background:linear-gradient(90deg,var(--k-primary),var(--k-primary-2)); color:#fff; border:none; }
body.torcida .btn-gradient:hover{ filter:brightness(1.07); color:#fff; }

/* 五大足球专区：每个标签面板挂 3 篇该栏目真实最新文章，点进去即详情页 */
body.torcida #departments-11 .dept-tab-list{ list-style:none; margin:0; padding:0 24px 22px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
body.torcida #departments-11 .dept-tab-list li{ background:var(--k-tint); border:1px solid var(--k-line); border-radius:10px; padding:10px 12px; min-width:0; }
body.torcida #departments-11 .dept-tab-list a{ display:block; color:var(--k-ink); text-decoration:none; font-size:.92rem; line-height:1.55; }
body.torcida #departments-11 .dept-tab-list a:hover{ color:var(--k-primary); }
body.torcida #departments-11 .dept-tab-date{ display:inline-block; margin-right:8px; color:var(--k-primary); font-weight:700; font-variant-numeric:tabular-nums; }
@media (max-width:991px){ body.torcida #departments-11 .dept-tab-list{ grid-template-columns:minmax(0,1fr); padding:0 18px 18px; } }

/* 球迷热读榜 rank-4 */
body.torcida #rank-4{ background:linear-gradient(135deg,var(--k-tint),#fff); }
body.torcida #rank-4 h2{ color:var(--k-ink); }
body.torcida #rank-4 h2 i{ color:var(--k-primary); }
body.torcida .torcida-min0{ min-width:0; }
body.torcida .torcida-rank-list{ background:#fff; border:1px solid var(--k-line); border-radius:var(--k-radius); box-shadow:var(--k-shadow); padding:8px 18px; }
body.torcida .torcida-rank-item{ padding:14px 6px; border-bottom:1px dashed var(--k-line); }
body.torcida .torcida-rank-item:last-child{ border-bottom:0; }
body.torcida .torcida-rank-no{ flex:0 0 34px; width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-right:14px; font-weight:800; background:var(--k-tint); color:var(--k-muted); }
body.torcida .torcida-rank-item.top .torcida-rank-no{ background:linear-gradient(135deg,var(--k-primary),var(--k-primary-2)); color:#fff; }
body.torcida .torcida-rank-title{ color:var(--k-ink); font-weight:600; line-height:1.55; }
body.torcida .torcida-rank-title:hover{ color:var(--k-primary); }
body.torcida .torcida-rank-meta{ color:var(--k-muted); }
body.torcida .torcida-rank-side{ background:#fff; border:1px solid var(--k-line); border-radius:var(--k-radius); box-shadow:var(--k-shadow); padding:20px; height:100%; }
body.torcida .torcida-rank-side h3{ color:var(--k-ink); border-bottom:1px solid var(--k-line); padding-bottom:8px; }
body.torcida .torcida-rank-side h3 i{ color:var(--k-primary); }
body.torcida .torcida-rank-thumb img{ display:block; width:100%; height:96px; object-fit:cover; border-radius:10px; }
body.torcida .torcida-rank-cap{ display:block; margin-top:6px; font-size:.86rem; line-height:1.45; color:var(--k-ink); }
body.torcida .torcida-rank-thumb:hover .torcida-rank-cap{ color:var(--k-primary); }

/* 七大专题入口 topics-3 */
body.torcida #topics-3{ background:linear-gradient(135deg,var(--k-tint2),var(--k-tint)); }
body.torcida #topics-3 h2{ color:var(--k-ink); }
body.torcida #topics-3 h2 i{ color:var(--k-primary); }
body.torcida .torcida-topics-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
@media (max-width:1199px){ body.torcida .torcida-topics-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:991px){ body.torcida .torcida-topics-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:575px){ body.torcida .torcida-topics-grid{ grid-template-columns:minmax(0,1fr); } }
body.torcida .torcida-topic-card{ background:#fff; border:1px solid var(--k-line); border-radius:var(--k-radius); box-shadow:var(--k-shadow); padding:20px; display:flex; flex-direction:column; text-decoration:none; transition:transform .3s,border-color .3s; min-width:0; }
body.torcida .torcida-topic-card:hover{ transform:translateY(-5px); border-color:var(--k-primary-2); }
body.torcida .torcida-topic-ico{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:19px; color:#fff; background:linear-gradient(135deg,var(--k-primary),var(--k-primary-2)); margin-bottom:12px; flex-shrink:0; }
body.torcida .torcida-topic-name{ font-weight:700; color:var(--k-ink); font-size:1.02rem; margin-bottom:6px; }
body.torcida .torcida-topic-desc{ color:var(--k-muted); font-size:.86rem; line-height:1.6; flex-grow:1; }
body.torcida .torcida-topic-foot{ margin-top:12px; padding-top:10px; border-top:1px dashed var(--k-line); color:var(--k-primary); font-size:.84rem; font-weight:600; }
body.torcida .torcida-topic-card:hover .torcida-topic-name{ color:var(--k-primary); }

/* ============================================================
   自有 hook 类补位层：历史上这些类只作语义挂钩、样式表里无规则，
   本轮全部补齐（审计口径：HTML 出现的自有 class 必须在样式表里有定义，杜绝"有类无样式"）。
   只做边框/间距/最小宽度级别的微调，不改变参照站版式观感。
   ============================================================ */
body.torcida .torcida-news-wrap{ position:relative; }
body.torcida .torcida-list-head{ padding-bottom:10px; border-bottom:1px solid var(--k-line); }
body.torcida .torcida-list-head h1{ color:var(--k-ink); }
body.torcida .torcida-search-bar .form-control{ border-color:var(--k-line); color:var(--k-ink); }
body.torcida .torcida-search-bar .form-control:focus{ border-color:var(--k-primary); box-shadow:0 0 0 .2rem rgba(var(--bs-primary-rgb),.18); outline:0; }
body.torcida .torcida-detail-side{ min-width:0; }
body.torcida .torcida-detail-side p{ margin-bottom:.35rem; }
body.torcida .torcida-review-head{ min-width:0; }
body.torcida section.torcida-rank,body.torcida section.torcida-topics{ position:relative; }

/* ============================================================
   顶栏断点改档：header 由 navbar-expand-lg 升级为 navbar-expand-xl
   原因：本版导航为「首页 + 站群 7 栏目 + 搜索」共 9 个入口，桌面单行需要约 1.09k px；
        Bootstrap 在 992–1199px 的 .container 只有 960px，硬塞必然溢出（横向裁字/换行错位）。
   方案：≥1200px 单行全展开（配下方压缩档，留 ~30px 余量）；992–1199px 与移动端一样走汉堡折叠，
        菜单项一字不缩、绝不横向溢出。锚点滚动偏移同步到 1200px 断点。
   ============================================================ */
/* mipcms.css 在 ≥1200px 把 .container 锁成 1113px!important（含左右 12px padding，净宽 1089px），
   且该锁在 1400px 以上不放宽，所以 ≥1200 全部只用一档紧凑规格，避免 1200–1399 与 ≥1400 宽窄不一。 */
body.torcida #header-6 .navbar-nav .nav-link{ padding-left:.42rem; padding-right:.42rem; font-size:.9rem; }
@media (max-width:1199px){
  html{ scroll-padding-top:72px; }
  body.torcida #header-6 .navbar-collapse{ background:rgba(0,0,0,.14); border-radius:10px; padding:10px 14px; margin-top:10px; }
  body.torcida #header-6 .navbar-collapse .navbar-nav .nav-link{ color:#fff; padding:.5rem .6rem; font-size:1rem; }
  body.torcida #header-6.head-light .navbar-collapse{ background:var(--k-tint); }
  body.torcida #header-6.head-light .navbar-collapse .navbar-nav .nav-link{ color:var(--k-ink); }
  body.torcida #header-6 .navbar-nav{ flex-direction:column; align-items:stretch; }
  body.torcida #header-6 .navbar-nav .nav-item{ border-bottom:1px solid rgba(255,255,255,.12); }
  body.torcida #header-6.head-light .navbar-nav .nav-item{ border-bottom-color:var(--k-line); }
}

/* ============================================================
   长品牌档 nav-tight（header.html 按品牌短名 ≥10 字自动挂上）
   背景：本批存在 12 字品牌（如“开云网页版·官方版在线登入”）。按 mipcms.css 锁定的 1089px 净宽实算，
   默认规格下顶栏单行需要 1121px，溢出 32px。修法是同时收紧品牌字号/字距与导航内边距（共省 ~65px，余量 28px），
   绝不截断品牌名（用户明确反感品牌被切），也不改 992–1199px（该档本来就走汉堡，不拥挤）。
   ============================================================ */
@media (min-width:1200px){
  body.torcida #header-6.nav-tight .k-brand-txt{ font-size:.92rem; letter-spacing:0; }
  body.torcida #header-6.nav-tight .navbar-nav .nav-link{ padding-left:.30rem; padding-right:.30rem; }
}
