/* FC27 Clubs Data — 白天 / 黑夜主题
   由 /theme.js 根据访客 IP 时区自动切换: html.light = 白天模式, 无类名 = 黑夜模式 */
html.light{
  --bg:#eef2f8; --panel:#ffffff; --line:#dae2ee; --text:#12203a; --muted:#5c6d88;
  --accent:#0e9b74; --blue:#2f6df6;
}
html.light body{
  background:
    radial-gradient(1100px 520px at 8% -12%, #cfe0f555, transparent 70%),
    radial-gradient(900px 500px at 92% -4%, #cdf0e455, transparent 70%),
    var(--bg) !important;
  color:#12203a !important;
}
html.light header{background:#f8fbfeee !important;border-bottom-color:#dbe3ef !important}
html.light .card,
html.light .hero,
html.light .kpi,
html.light .feat,
html.light .dstat,
html.light .mdetail,
html.light .teamstats,
html.light .form10,
html.light .intro-empty,
html.light .drawer,
html.light .modal,
html.light .mhead,
html.light #sugg,
html.light #suggA,
html.light #suggB,
html.light .cmpTable thead th{
  background:#ffffff !important;
  border-color:#dde5f0 !important;
  color:#12203a !important;
  box-shadow:none !important;
}
html.light .hero-photo{background:#f7fafe !important}
html.light .card h2{color:#33465f !important;border-bottom-color:#e3eaf4 !important}
html.light .card h2 .r,
html.light .dnote,
html.light .sub,
html.light .rec,
html.light .tm,
html.light .fs,
html.light .fl,
html.light .ie-hint,
html.light footer{color:#6b7c96 !important}
html.light tbody tr,
html.light .h2h-row,
html.light .si,
html.light .teamstats tbody tr,
html.light .crow{border-color:#e6ecf5 !important}
html.light tbody tr:nth-child(odd),
html.light .teamstats tbody tr:nth-child(odd),
html.light .crow:nth-child(odd),
html.light .cmpTable tbody tr:nth-child(even){background:#f6f9fe !important}
html.light tbody tr:hover,
html.light .si:hover,
html.light .cmpTable tbody tr:hover,
html.light .mdetail tr.prow:hover{background:#eef4fd !important}
html.light th{color:#64748f !important;border-bottom-color:#e0e8f3 !important}
html.light td{color:#182a44}
html.light .chip{background:#eef3fb !important;border-color:#dbe4f1 !important;color:#3d557a !important}
html.light .chip b{color:#12203a !important}
html.light .pos{background:#e8eef9 !important;color:#456089 !important}
html.light .pos.midfielder{background:#dff3ec !important;color:#0f7a5c !important}
html.light .pos.forward{background:#fdf0d8 !important;color:#9a6b10 !important}
html.light .pos.defender{background:#e5edfd !important;color:#2857c4 !important}
html.light .pos.goalkeeper{background:#fbe4f4 !important;color:#a02a7a !important}
html.light .form10 .fp.W{background:#d9f4e8 !important;color:#0b6b4f !important;border-color:#a9dfc8 !important}
html.light .form10 .fp.L{background:#fde0e6 !important;color:#b3243f !important;border-color:#f2b6c2 !important}
html.light .form10 .fp.D{background:#fdf0d0 !important;color:#8a6410 !important;border-color:#ead49a !important}
html.light .res.W{background:#d6f3e6 !important;color:#0a6b4e !important;border:1px solid #a9dfc8 !important}
html.light .res.L{background:#fde0e6 !important;color:#b3243f !important;border:1px solid #f2b6c2 !important}
html.light .res.D{background:#fdf0d0 !important;color:#8a6410 !important;border:1px solid #ead49a !important}
html.light input,
html.light select,
html.light .search input,
html.light .lang-toggle{
  background:#ffffff !important;border-color:#d7e0ee !important;color:#12203a !important;
}
html.light .search input::placeholder{color:#8a9bb5 !important}
html.light .lang-toggle:hover{border-color:var(--accent) !important;color:var(--accent) !important}
html.light .nav a{color:#5c6d88 !important}
html.light .nav a.on{background:#e6eefb !important;color:#12203a !important;border-color:#d6e2f2 !important}
html.light .logo{color:#12203a !important}
html.light .logo .lt b{color:#0e9b74 !important}
html.light .mclose,
html.light .dclose{background:#eef3fb !important;color:#3d557a !important;border-color:#dbe4f1 !important}
html.light .mtab{background:#eef3fb !important;color:#3d557a !important;border-color:#dbe4f1 !important}
html.light .mtab.on{background:#dceafd !important;color:#1b4f9c !important}
html.light .bar-track{background:#e6ecf5 !important}
html.light .skel{background:linear-gradient(90deg,#eef3fb,#dfe8f5,#eef3fb) !important}
html.light .match,
html.light .match:nth-child(odd){background:#ffffff !important;border-color:#e3eaf4 !important}
html.light .mdetail.on{background:#f8fbff !important}
html.light .intro-empty{background:linear-gradient(180deg,#ffffff,#f7faff) !important;border-color:#cfdcec !important}
html.light .h2h-row .pill{border-color:#dbe4f1 !important;color:#5c6d88 !important}
html.light .dsec h5{color:#4e6485 !important}
html.light .teamstats{background:#fbfdff !important}
html.light .mask{background:#20304a66 !important}
html.light .home-shade,
html.light .hero-photo .shade{background:linear-gradient(90deg,rgba(252,253,255,.94) 0%,rgba(252,253,255,.78) 30%,rgba(252,253,255,.46) 52%,rgba(252,253,255,.32) 72%,rgba(252,253,255,.27) 100%) !important}
html.light .kicker{background:#0e9b7415 !important;border-color:#0e9b7455 !important;color:#0b7a5c !important}
html.light .best{color:#0e9b74 !important}
/* 抽屉 / 弹窗文字（深色主题的浅色字在浅底上不可读） */
html.light .drawer, html.light .dbody, html.light .modal, html.light .mbody{background:#ffffff !important;color:#12203a !important}
html.light .dhead{background:#ffffff !important;border-bottom-color:#e6ecf5 !important}
html.light .dhead, html.light .dhead div, html.light .dhead span, html.light .dhead b,
html.light .mhead, html.light .mhead div, html.light .mhead span, html.light .mhead b{color:#12203a !important}
html.light .bar-row, html.light .bar-row span, html.light .bar-row .v{color:#33465f !important}
html.light .dstat .v{color:#12203a !important}
html.light .dstat .k{color:#5c6d88 !important}
html.light .mbody td, html.light .mbody th, html.light .mbody div{color:#182a44}
html.light .ovr{background:linear-gradient(160deg,#e5f6ef,#e8f0fd) !important;border-color:#cfe3da !important}
html.light .ovr b{color:#0b7a5c !important}
html.light .ovr i{color:#5c6d88 !important}
/* 进球柱状图 */
html.light .chart .b{background:linear-gradient(180deg,#8fd8bd,#83b4f0) !important}
html.light .chart .b.zero{background:#e4ebf5 !important}
html.light .chart .b b, html.light .chart .b span{color:#2b405c !important}
/* 首页功能图标 */
html.light .feat .ic{background:#eaf4ef !important;border-color:#d3e8de !important;color:#0b7a5c !important}
html.light .search svg{stroke:#8091ab !important}
html.light .ie-icon{color:#0e9b74 !important}
html.light .adcard{background:#ffffff !important;border-color:#dde5f0 !important}
html.light .adlabel{color:#8a9bb5 !important}
html.light .linkbtn{color:#3d557a !important;border-color:#dbe4f1 !important}
html.light .linkbtn:hover{color:#0e9b74 !important;border-color:#0e9b74 !important}
html.light .btn{background:#eef3fb !important;color:#2f4463 !important;border-color:#dbe4f1 !important}
html.light .btn:hover{background:#e2ecfb !important;color:#0e7f60 !important;border-color:#a9cfc3 !important}
html.light .cmpTable th{background:#f4f8fe !important;color:#64748f !important;border-color:#e6ecf5 !important}
html.light .cmpTable td{color:#1c2f4a !important;border-color:#e9eff8 !important}
html.light .cmpTable td.l{color:#4a5f80 !important}
html.light .cmpTable .dl{color:#7d8fa9 !important}
html.light .cmpTable .best{color:#0b7a5c !important}
html.light .cmpTable tr.sec td{background:transparent !important;color:#6f83a0 !important;border-bottom:none !important}
html.light .cmpTable tbody tr:not(.sec):hover{background:#f3f8ff !important}
/* 队徽容器：白天模式不能是黑底 */
html.light .crest,
html.light .hero .crest{background:#eef4fb !important;border-color:#d9e3f0 !important}

/* 三组并排对比块 */
html.light .cmpGrid{border-color:#e6ecf5 !important}
html.light .cmpBlk + .cmpBlk{border-left-color:#e7eef8 !important}
html.light .cmpBlkH{color:#6f83a0 !important}
html.light .cmpTable td.l{border-color:#eef3fa !important}

/* 全局细滚动条（阵容表 / 抽屉 / 联想 / 页面） */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#243349;border-radius:8px;border:2px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background:#33455f;background-clip:padding-box}
::-webkit-scrollbar-corner{background:transparent}
*{scrollbar-width:thin;scrollbar-color:#2a3b52 transparent}
html.light ::-webkit-scrollbar-thumb{background:#c9d7e8;border:2px solid transparent;background-clip:padding-box}
html.light ::-webkit-scrollbar-thumb:hover{background:#aabfd8;background-clip:padding-box}
html.light *{scrollbar-color:#c3d3e6 transparent}

/* 移动端宽表：首列吸附背景 */
html.light .tscroll table th:first-child,
html.light .tscroll table td:first-child,
html.light .sqscroll table th:first-child,
html.light .sqscroll table td:first-child{background:#ffffff !important}

/* 白天模式 hero: 保留球场图原亮度, 文字改浅色 */
html.light .hero-photo h1{color:#0f172a !important}
html.light .hero-photo p{color:#3f5675 !important}
html.light .hero-photo .kicker{background:#0e9b7415 !important;border-color:#0e9b7455 !important;color:#0b7a5c !important}
html.light .hero-photo .search input{background:#ffffff !important;color:#0f172a !important;border-color:#cfdcee !important}
html.light .hero-photo .search input:focus{border-color:#0e9b74 !important;box-shadow:0 0 0 4px #0e9b7418 !important}
html.light .hero-photo .search input::placeholder{color:#7f90aa !important}
html.light .hero-photo .search .hint{color:#7f90aa !important}
html.light .hero-photo .bg{opacity:1 !important;filter:saturate(1.10) contrast(1.04) brightness(1.14) !important}

/* 对比页阵容表头 / 抽屉遮罩 白天模式 */
html.light .sqscroll thead th{background:#eff3fa !important;color:#4a5c78 !important;border-bottom-color:#e3eaf4 !important}
html.light .hero-photo h1{text-shadow:none}
html.light .hero-photo p{text-shadow:none}

/* 排名/列表页标题不套白卡片, 与下方表格左边缘对齐 */
html.light .hero.page-head{background:transparent !important;color:#12203a !important}

/* 移动端: 导航单行横向滚动, 避免换行把头部撑高 */
@media(max-width:860px){
  header .nav{margin-left:0;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;max-width:100%;padding-bottom:2px}
  header .nav::-webkit-scrollbar{display:none}
  header .nav a{white-space:nowrap;flex:0 0 auto}
}

/* 页脚版本号 */
.sitever{max-width:980px;margin:0 auto;padding:0 18px 18px;text-align:right;
  font-size:10px;line-height:1.6;color:var(--muted);opacity:.75;letter-spacing:.4px;
  font-variant-numeric:tabular-nums}

/* 双方数据表：浅色模式下的高亮数值 */
html.light .teamstats td.best{color:#0B6B4F}

/* 白天 hero：手机端文字覆盖整幅，避免照片被洗白过度 */
@media(max-width:640px){
  html.light .hero-photo .shade{background:linear-gradient(180deg,rgba(252,253,255,.92) 0%,rgba(252,253,255,.80) 52%,rgba(252,253,255,.46) 100%) !important}
  html.light .hero-photo .bg{filter:saturate(1.10) contrast(1.05) brightness(1.0) !important}
}
