:root{
  --bg:#f3f5fb; --card:#fff; --line:#e5e9f2; --text:#1e2947; --muted:#7d8aaa;
  --accent:#d8232a; --blue:#2f6fed; --green:#0fa36b; --gold:#e59a00;
  --radius:12px; --shadow:0 1px 2px rgba(24,40,80,.06),0 6px 18px rgba(24,40,80,.05);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);
  font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.wrap{max-width:1400px;margin:0 auto}

/* header（两段式：上层品牌条 + 下层导航条） */
.hd{background:linear-gradient(120deg,#16204a,#24407f 60%,#1b2a58);box-shadow:0 1px 0 rgba(255,255,255,.06)}
/* 上半段（logo 那条通栏）白底，下半段导航保持深蓝 */
.hd-top{background:#fff}
.hd-top-in{display:flex;align-items:center;gap:20px;min-height:64px;padding:8px 0;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;gap:9px;color:#1b2a58;font-size:19px;font-weight:800;letter-spacing:.5px;white-space:nowrap}
.brand span{font-weight:400;font-size:13px;color:#7d8aaa;margin-left:6px}
.hd-meta{margin-left:auto;color:#8b96ad;font-size:12.5px;letter-spacing:.5px;white-space:nowrap}
.hd-nav{background:rgba(0,0,0,.18);border-top:1px solid rgba(255,255,255,.07)}
.nav{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{color:#fff;padding:6px 20px 7px 0;border-radius:8px;font-size:16px;transition:.15s;white-space:nowrap}
.nav a:hover{/* background:rgba(255,255,255,.1); */color:#fff895}
.nav a.on{color:#ffaa4f}
.nav-sep{flex:0 0 1px;width:1px;height:16px;background:rgba(255,255,255,.18);margin:0 6px}

main.wrap{padding-top:20px;padding-bottom:0}

/* hero */
.hero{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;margin-bottom:18px}
.hero-hd{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.tag{background:linear-gradient(120deg,#e0403f,#b8161d);color:#fff;padding:3px 12px;border-radius:20px;font-weight:700;font-size:13px}
.iss{font-size:16px;font-weight:700}
.time,.muted{color:var(--muted);font-size:13px}
.balls-lg{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.plus{color:var(--muted);font-weight:700;margin:0 4px;font-size:20px}
.stats-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.stat{background:#f7f9fe;border:1px solid var(--line);border-radius:9px;padding:7px 13px;min-width:78px}
.stat i{display:block;font-style:normal;color:var(--muted);font-size:12px}
.stat b{font-size:15px}
.countdown{background:#f7f9fe;border:1px dashed #c9d5f0;border-radius:9px;padding:10px 14px;color:#35507f;font-size:13px}
.countdown .cd{font-weight:800;color:var(--accent);font-variant-numeric:tabular-nums;font-size:15px}

/* balls */
.ball{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;
  font-weight:700;font-size:14px;color:#fff;font-variant-numeric:tabular-nums}
.ball-lg{width:46px;height:46px;font-size:18px}
.ball-sm{width:27px;height:27px;font-size:12px}
.ball-red{background:linear-gradient(160deg,#f4615c,#c31b24);box-shadow:0 2px 6px rgba(195,27,36,.3)}
.ball-blue{background:linear-gradient(160deg,#5591f7,#1f49c4);box-shadow:0 2px 6px rgba(31,73,196,.3)}
.ball-green{background:linear-gradient(160deg,#3cc98c,#079059);box-shadow:0 2px 6px rgba(7,144,89,.28)}
.ball-grey{background:linear-gradient(160deg,#aab7cf,#7d8ba7);box-shadow:none;font-weight:600}

/* cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;margin-bottom:18px}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}
.card-hd{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}
.card-hd b{font-size:15px}
.balls-md{display:flex;gap:6px;flex-wrap:wrap}

/* panel / table */
.panel{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 18px;margin-bottom:18px}
.panel h2{margin:0 0 14px;font-size:16px;display:flex;align-items:center;gap:8px}
.panel h2:before{content:"";width:3px;height:15px;background:var(--accent);border-radius:2px}
table{width:100%;border-collapse:collapse;font-size:13px}
th,td{padding:10px 8px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
th{color:var(--muted);font-weight:600;background:#f8fafd}
tbody tr:hover{background:#fafcff}
td .balls-inline{display:flex;gap:4px;flex-wrap:wrap}
.tbl-scroll{overflow-x:auto}

/* pills */
.pills{display:flex;flex-wrap:wrap;gap:7px}
.pill{border:1px solid var(--line);border-radius:8px;padding:5px 9px;font-size:13px;background:#fafbfe;font-variant-numeric:tabular-nums}
.pill b{color:var(--accent)}
.pill.hot{background:#fff5f5;border-color:#ffd9da}
.pill.cold{background:#f2f6ff;border-color:#d7e3ff}
.pill.over{background:#fffaf0;border-color:#ffe6b8}
.sec-t{color:var(--muted);font-size:12px;margin:14px 0 8px;font-weight:600}
.sec-t:first-child{margin-top:0}

/* pager（新版式：圆角按钮 + 发光当前页 + 独立信息行） */
.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding-top:20px}
.pg{border:1px solid var(--line);border-radius:10px;padding:9px 14px;background:#fff;color:#4a5570;
  font-size:14px;line-height:1;min-width:40px;text-align:center;font-variant-numeric:tabular-nums;
  transition:background .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s}
.pg:hover{background:#f5f8ff;border-color:#c9d8ff;color:var(--blue);transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(47,111,237,.14)}
.pg.on{background:linear-gradient(145deg,#3b7bf5,#2f6fed);border-color:#2f6fed;color:#fff;font-weight:700;
  box-shadow:0 6px 16px rgba(47,111,237,.30)}
.pg.on:hover{transform:none;color:#fff}
.pg.off{color:#c3cadd;background:#f7f8fb;border-color:#eef1f7;cursor:not-allowed}
.pg.off:hover{transform:none;box-shadow:none;background:#f7f8fb;border-color:#eef1f7;color:#c3cadd}
.pg-gap{color:#aab4c8;font-size:13px;padding:0 2px}
.pg-info{flex-basis:100%;margin-top:4px;text-align:center;color:var(--muted);font-size:12px}

/* footer */
.ft{/* margin-top:20px; */padding:22px 0;background:#fff;border-top:1px solid var(--line);color:var(--muted);font-size:13px;text-align:center}
.ft p{margin:4px 0}
.ft .warn{color:#a03636}
.ft .cp{margin-top:10px;color:#a9b3c8}

/* misc */
.breadcrumb{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px;margin-bottom:14px}
.breadcrumb a:hover{color:var(--blue)}
.kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.kv .stat{min-width:0}
.nav-btns{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.btn{border:1px solid var(--line);border-radius:8px;padding:7px 16px;background:#fff;font-size:13px}
.btn:hover{background:#f5f8ff}
.btn.off{color:#c3cadd;background:#f7f8fb}
.empty{color:var(--muted);padding:24px 0;text-align:center}
@media(max-width:640px){
  .hd-top-in{min-height:54px;padding:6px 0;gap:12px}
  .nav a{padding:8px 11px;font-size:14px}
  .ball-lg{width:38px;height:38px;font-size:15px}
  .ball{width:29px;height:29px;font-size:12px}
  th,td{padding:8px 6px}
}

/* subtabs */
.subtabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.subtabs a{border:1px solid var(--line);border-radius:8px;padding:7px 18px;background:#fff;font-size:13px}
.subtabs a:hover{background:#f5f8ff}
.subtabs a.on{background:#1b2a58;color:#fff;border-color:#1b2a58;font-weight:700}

/* 走势图矩阵 */
.trend{overflow-x:auto;padding-bottom:6px}
.trend table{border-collapse:separate;border-spacing:2px;font-size:12px}
.trend th,.trend td{border:0 !important;padding:0;text-align:center;white-space:nowrap}
.trend th.num{width:24px;color:var(--muted);font-weight:600;font-size:11px}
.trend th.fix,.trend td.fix{position:sticky;left:0;background:#fff;z-index:1;padding-right:10px;text-align:left;width:78px}
.trend th.fix{background:#f8fafd;color:var(--muted)}
.trend td.num{width:24px;height:22px;border-radius:5px;background:#f4f6fb;color:transparent;font-size:10px}
.trend td.num.on{color:#fff}
.trend td.num.on.red{background:linear-gradient(160deg,#f4615c,#c31b24)}
.trend td.num.on.blue{background:linear-gradient(160deg,#5591f7,#1f49c4)}
.trend td.num.on.green{background:linear-gradient(160deg,#3cc98c,#079059)}
.trend tr.sum td{background:#eef2fa;color:#4a5b80;font-weight:700;font-size:11px;height:22px}
.trend tr.sum td.fix{background:#eef2fa}

/* 走势图周期切换 */
.periods{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.periods .lb{color:var(--muted);font-size:13px}
.periods a{border:1px solid var(--line);border-radius:8px;padding:6px 15px;background:#fff;font-size:13px}
.periods a:hover{background:#f5f8ff}
.periods a.on{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:700}

/* 单元格显示数字后放大一点 */
.trend td.num{width:27px;height:24px;font-size:11px;font-weight:600}
.trend th.num{width:27px}

/* ===== 走势图（对齐主流彩票走势图：星期列 / 遗漏数字 / 空心圈 / 分区着色） ===== */
.subtabs.vsw a.on{background:var(--accent);border-color:var(--accent);color:#fff}
.trend-scroll{overflow:auto;max-height:78vh;border:1px solid var(--line);border-radius:8px}
.trend-tbl{border-collapse:separate;border-spacing:0;font-size:11px}
.trend-tbl th,.trend-tbl td{padding:0;text-align:center;white-space:nowrap;height:26px;
  border-right:1px solid #e3e8f2 !important;border-bottom:1px solid #e3e8f2 !important}
.trend-tbl th:last-child,.trend-tbl td:last-child{border-right:0 !important}
.trend-tbl tbody tr:last-child td{border-bottom:0 !important}
.trend-tbl .zb{border-left:2px solid #c9d3e6 !important}
.trend-tbl th.fix,.trend-tbl td.fix{width:46px;min-width:46px;position:sticky;left:0;z-index:2;background:#f2f4f9;color:#5a6785;font-weight:600}
.trend-tbl thead th{position:sticky;top:0;z-index:3;background:#eef1f7;color:#5a6785;font-weight:700;font-size:11px}
.trend-tbl thead th.fix{z-index:4}
.trend-tbl thead tr.zone-row th{border-bottom:1px solid #d3dbea !important;font-size:12px}
.trend-tbl thead tr.num-row th{top:28px}
.trend-tbl th.zone{height:28px;font-size:12px;color:#4a5570}
.trend-tbl th.num,.trend-tbl td.num{width:27px;min-width:27px;font-variant-numeric:tabular-nums}
.trend-tbl .z0{background:#fdf5f5}
.trend-tbl .z1{background:#fbf8ee}
.trend-tbl thead th.z0{background:#f6e7e7}
.trend-tbl thead th.z1{background:#f4eeda}
.trend-tbl td.wd{font-weight:700;color:#5a6785}
.trend-tbl td.miss{color:#9aa4bb}
.trend-tbl td.hit span{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%;
  border:1.5px solid var(--accent);color:var(--accent);font-weight:700;background:#fff}
.trend-tbl td.hit.blue span{border-color:var(--blue);color:var(--blue)}
.trend-tbl tr.sum td{background:#eef2fa;color:#4a5b80;font-weight:700;border-top:1px solid #dde4f0 !important}
.trend-tbl tr.sum td.fix{background:#e6ebf6}

/* 走势图分析：冷热行 / 尾数计数 / 和值高亮 */
.trend-tbl tr.heat td{background:#f7f9fd;font-size:10px;font-weight:700;height:24px}
.trend-tbl tr.heat td.fix{background:#e9eef8}
.trend-tbl td.h-hot{color:#d8232a}
.trend-tbl td.h-warm{color:#98a2b8}
.trend-tbl td.h-cold{color:#2f6fed}
.trend-tbl td.cnt{color:var(--accent);font-weight:700}
td.hl{color:var(--accent);font-weight:700}

/* 走势图左侧固定区：期号 + 星期 两列 */
.trend-tbl th.fix1,.trend-tbl td.fix1{width:70px;min-width:70px;left:0;text-align:center}
.trend-tbl td.fix1 a{color:#35507f}
.trend-tbl td.fix1 a:hover{color:var(--accent)}
.trend-tbl th.fix2,.trend-tbl td.fix2{width:34px;min-width:34px;left:70px}
.trend-tbl td.fixspan{width:104px;min-width:104px;left:0}

/* ===== 选号器 ===== */
.picker-form{margin-bottom:18px}
.pf-row{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end}
.pf{display:flex;flex-direction:column;gap:5px}
.pf span{font-size:12px;color:var(--muted)}
.pf select{border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:#fff;font-size:14px;min-width:140px;color:var(--text)}
.btn.primary{/* background:linear-gradient(133deg,#ededf0,#999); *//* color:#000000; *//* border-color:#999; *//* font-weight:700; *//* padding:9px 22px; */}
.btn.primary:hover{filter:brightness(1.06)}
.tickets{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.ticket{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:#fcfdff}
.tno{width:22px;height:22px;flex:0 0 22px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:#eef2fa;color:#5a6785;font-size:12px;font-weight:700}
.tips{margin:0;padding-left:18px;color:#4a5570}
.tips li{margin:4px 0}

/* 走势图吸顶汇总行（次数 / 冷热 移入 thead，始终可见） */
.trend-tbl thead tr.sum th{top:54px;background:#e9eef8;color:#4a5b80;font-weight:700;font-size:11px}
.trend-tbl thead tr.heat th{top:78px;background:#f2f5fb;font-size:10px;font-weight:700}
.trend-tbl thead tr.heat th.h-hot{color:#d8232a}
.trend-tbl thead tr.heat th.h-warm{color:#98a2b8}
.trend-tbl thead tr.heat th.h-cold{color:#2f6fed}
.trend-tbl th.fixspan{width:104px;min-width:104px;left:0}

/* 分段加载哨兵 */
.load-more{margin:8px 0 2px;padding:9px;text-align:center;font-size:12px;color:#5a6785;
  background:#f2f5fb;border:1px dashed #c9d3e6;border-radius:8px;cursor:pointer}
.load-more:hover{background:#e9eef8}
.load-more.done{color:#98a2b8;border-style:solid;border-color:var(--line);background:#f8fafd;cursor:default}

/* 站点 Logo */
.brand{display:inline-flex;align-items:center;gap:8px}
.brand-logo{height:var(--logo-h,45px);display:inline-block;vertical-align:middle}

/* ===== 专家荐号 ===== */
.badge{display:inline-block;padding:2px 9px;border-radius:20px;background:#eef2fa;color:#4a5b80;font-size:12px;line-height:18px}
.badge.ok{background:#e6f6ec;color:#1a7f43}
.badge.free{background:#e8f2ff;color:#1f5fbf}
.badge.paid{background:#fff2e0;color:#b06a00}
.notice{margin:0 0 12px;padding:10px 14px;border-radius:8px;font-size:13px}
.notice.ok{background:#e6f6ec;color:#1a7f43;border:1px solid #bfe6cd}
.notice.err{background:#fdeaea;color:#b8161d;border:1px solid #f3c8c8}

.exp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.exp-card{display:flex;gap:11px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:11px 13px;background:#fff}
.exp-card:hover{border-color:var(--accent);box-shadow:0 2px 10px rgba(22,32,74,.07)}
.exp-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;object-fit:cover;background:#e8edf7}
.exp-avatar-lg{width:76px;height:76px;flex:0 0 76px}
.exp-avatar-ph{display:inline-flex;align-items:center;justify-content:center;color:#5a6785;font-weight:700;font-size:18px}
.exp-avatar-lg.exp-avatar-ph{font-size:28px}
.exp-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.exp-body b{font-size:15px}
.exp-body .muted{font-size:12px}
.exp-rate{font-size:12px;color:#b0430a}
.exp-head{display:flex;gap:16px;align-items:flex-start}
.exp-info{min-width:0}
.exp-stat{display:flex;flex-wrap:wrap;gap:16px;margin:10px 0 0;font-size:13px;color:#5a6785}
.exp-stat b{color:var(--accent)}

.post-list{display:flex;flex-direction:column;gap:9px}
.post-item{display:flex;justify-content:space-between;align-items:center;gap:12px;
  border:1px solid var(--line);border-radius:9px;padding:11px 14px;background:#fff}
.post-item:hover{border-color:var(--accent);background:#fcfdff}
.post-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.post-meta{display:flex;gap:6px;flex-wrap:wrap;flex:0 0 auto}

.article-body{line-height:1.85;color:#2f3a52;font-size:14px;word-break:break-word}
.pay-numbers{font-size:19px;font-weight:700;color:var(--accent);letter-spacing:1px;margin:0 0 12px}

.paywall{position:relative;border:1px dashed #c9d3e6;border-radius:11px;padding:8px;background:#f7f9fd}
.paywall-mask{text-align:center;padding:26px 16px}
.paywall-lock{font-size:30px;display:block;margin-bottom:8px}
.paywall-title{margin:0 0 6px;font-weight:700;font-size:15px;color:#26304a}
.paywall .btn.primary{margin-top:12px}

.login-form{display:flex;flex-direction:column;gap:13px}
.login-form .pf span{font-size:13px;font-weight:600}
.login-form input[type=email],.login-form input[type=password]{
  width:100%;padding:9px 12px;border:1px solid #d5dae6;border-radius:8px;font-size:14px}
.pf-check{display:flex;align-items:center;gap:7px;font-size:13px;color:#5a6785}

/* ===== P1：注册 / 解锁方式 / 兑换 ===== */
.code-row{display:flex;gap:9px;align-items:stretch}
.code-row input{flex:1}
.code-row .btn{flex:0 0 auto;white-space:nowrap;padding:9px 14px}
.login-form input[type=text],.login-form input[type=tel]{
  width:100%;padding:9px 12px;border:1px solid #d5dae6;border-radius:8px;font-size:14px}
.pf small{display:block;font-size:12px}
.unlock-options{display:flex;flex-direction:column;gap:9px;max-width:340px;margin:14px auto 0}
.unlock-form{display:flex;align-items:center;gap:10px;justify-content:space-between}
.unlock-form .btn{flex:0 0 auto;min-width:190px}
.unlock-form .muted{font-size:12px;text-align:right;flex:1}

/* ===== 分页：新版式已在文件上方统一实现（见 .pager/.pg）===== */
.pager .pg{font-variant-numeric:tabular-nums}

/* 窄屏：按钮收窄 */
@media (max-width:640px){
  .pager{gap:6px;padding-top:16px}
  .pg{padding:8px 10px;min-width:34px;font-size:13px;border-radius:8px}
}

/* ===== 专家主页 v2 ===== */
.exp-hero{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-bottom:18px}
.exp-cover{position:relative;height:104px;background:linear-gradient(120deg,#16204a,#24407f 58%,#2f6fed)}
.exp-cover:after{content:"";position:absolute;right:-40px;top:-70px;width:220px;height:220px;border-radius:50%;
  background:rgba(255,255,255,.07)}
.exp-cover-label{position:absolute;left:20px;top:16px;color:#c9d8f7;font-size:12px;letter-spacing:2px}
.exp-hero-body{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap;padding:0 20px;margin-top:-40px}
.exp-avatar-hero{border:4px solid #fff;box-shadow:0 6px 18px rgba(22,32,74,.18);width:88px;height:88px;flex:0 0 88px;font-size:32px}
.exp-h-main{flex:1;min-width:230px;padding-top:46px}
.exp-h-name{margin:0 0 8px;font-size:20px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.exp-tags{margin:0 0 8px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.exp-tags-label{color:var(--muted);font-size:13px}
.exp-intro{margin:0;color:#4a5570}
.exp-h-actions{display:flex;gap:10px;padding-top:50px;flex-wrap:wrap}
.exp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:10px;padding:16px 20px 20px}
.exp-stat-card{background:#f7f9fe;border:1px solid var(--line);border-radius:10px;padding:10px 14px}
.exp-stat-card i{display:block;font-style:normal;color:var(--muted);font-size:12px;margin-bottom:2px}
.exp-stat-card b{font-size:19px;color:#1b2a58;font-variant-numeric:tabular-nums}
.exp-stat-card b small{font-size:12px;color:var(--muted);font-weight:400;margin-left:1px}
.exp-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.exp-side{display:flex;flex-direction:column;gap:18px}
.exp-side .panel{margin-bottom:0}
.exp-disclaimer{margin:0;padding:0 4px;color:var(--muted);font-size:12px;line-height:1.7}
.exp-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.exp-tabs a{border:1px solid var(--line);border-radius:20px;padding:6px 16px;background:#fff;font-size:13px;color:#4a5570}
.exp-tabs a:hover{border-color:var(--accent);color:var(--accent)}
.exp-tabs a.on{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700}
.exp-tabs a b{font-weight:700;margin-left:5px;opacity:.8}
.post-list.v2 .post-item{border-left:3px solid #dfe5f1;align-items:flex-start}
.post-list.v2 .post-item.free{border-left-color:var(--blue)}
.post-list.v2 .post-item.paid{border-left-color:var(--gold)}
.post-list.v2 .post-item.hit{border-left-color:var(--green)}
.post-list.v2 .post-item:hover{border-left-color:var(--accent)}
.post-top{display:flex;align-items:center;gap:8px}
.post-code{color:#35507f;font-weight:600}
@media(max-width:900px){
  .exp-layout{grid-template-columns:1fr}
  .exp-h-main{padding-top:46px;min-width:0}
  .exp-h-actions{padding-top:0}
  .exp-cover{height:88px}
}

/* ===== 会员中心 ===== */
.mc-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap;background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow);padding:18px 20px;margin-bottom:16px}
.mc-id{flex:1;min-width:220px}
.mc-name{margin:0 0 6px;font-size:19px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mc-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mc-actions form{margin:0}
.mc-assets{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:18px}
.mc-asset{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px}
.mc-asset i{display:block;font-style:normal;color:var(--muted);font-size:12px;margin-bottom:4px}
.mc-asset b{display:block;font-size:24px;color:#1b2a58;font-variant-numeric:tabular-nums;line-height:1.25}
.mc-asset b small{font-size:13px;color:var(--muted);font-weight:400;margin-left:3px}
.mc-asset .muted{font-size:12px}
.mc-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.mc-side{display:flex;flex-direction:column;gap:18px}
.mc-side .panel{margin-bottom:0}
.mc-recharge{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.mc-recharge .pf{flex:1;min-width:220px}
.mc-recharge input[type=text]{width:100%;padding:9px 12px;border:1px solid #d5dae6;border-radius:8px;font-size:14px}
.mc-tip{margin:12px 0 0;font-size:13px;line-height:1.7}
.mc-links{display:flex;gap:10px;flex-wrap:wrap;margin:0}
@media(max-width:900px){.mc-grid{grid-template-columns:1fr}}

/* ===== 登录 / 注册页 ===== */
.auth-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:22px;
  max-width:980px;margin:0 auto 26px;align-items:stretch}
.auth-brand{position:relative;overflow:hidden;border-radius:var(--radius);padding:30px 28px;color:#fff;
  background:linear-gradient(140deg,#16204a,#24407f 58%,#2f6fed);box-shadow:var(--shadow);
  display:flex;flex-direction:column;justify-content:center;gap:12px}
.auth-brand:after{content:"";position:absolute;right:-60px;bottom:-90px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.07)}
.auth-brand h2{margin:0;font-size:22px;color:#fff;position:relative}
.auth-slogan{margin:0;color:#c9d8f7;font-size:14px;position:relative}
.auth-points{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:11px;position:relative}
.auth-points li{display:flex;gap:10px;align-items:flex-start;color:#dbe6fb;font-size:13px;line-height:1.6}
.auth-points b{color:#fff}
.auth-dot{width:8px;height:8px;border-radius:50%;background:#ffd166;flex:0 0 8px;margin-top:6px}
.auth-note{margin:6px 0 0;font-size:12px;line-height:1.7;color:#9fb6e8;position:relative}
.auth-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:26px 26px 22px;display:flex;flex-direction:column}
.auth-title{margin:0 0 6px;font-size:20px;display:flex;align-items:center;gap:8px}
.auth-sub{margin:0 0 18px;color:var(--muted);font-size:13px}
.auth-form{display:flex;flex-direction:column;gap:14px}
.auth-field{display:flex;flex-direction:column;gap:6px}
.auth-field>span:first-child{font-size:13px;font-weight:600;color:#37456b}
.auth-input{display:flex;align-items:center;gap:8px;border:1px solid #d5dae6;border-radius:9px;
  background:#fbfcff;padding:0 12px;transition:.15s}
.auth-input:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,111,237,.12);background:#fff}
.auth-input input{flex:1;min-width:0;border:0;background:transparent;padding:11px 0;font-size:14px;color:var(--text);outline:none;font-family:inherit}
.auth-input input::placeholder{color:#a8b2c8}
.auth-toggle{border:0;background:transparent;color:var(--blue);font-size:12px;cursor:pointer;padding:4px 2px;font-family:inherit}
.auth-code-btn{border:0;background:#eef2fa;color:#1f5fbf;border-radius:7px;padding:7px 12px;font-size:13px;
  cursor:pointer;white-space:nowrap;font-family:inherit}
.auth-code-btn:hover{background:#e2e9f8}
.auth-code-btn:disabled{color:#a8b2c8;background:#f4f6fb;cursor:default}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#5a6785;flex-wrap:wrap}
.auth-submit{width:100%;padding:12px 20px;font-size:15px;border-radius:9px;letter-spacing:1px}
.auth-foot{margin-top:18px;padding-top:14px;border-top:1px dashed var(--line);font-size:13px;
  color:var(--muted);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.auth-tip{margin:12px 0 0;font-size:12px;color:var(--muted);line-height:1.75}
@media(max-width:860px){
  .auth-wrap{grid-template-columns:1fr;gap:14px}
  .auth-brand{padding:22px}
  .auth-brand h2{font-size:19px}
}

/* ===== 专家主页 v2（重新设计）===== */
.exp-cover-badge{position:absolute;right:20px;top:14px;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.35);color:#fff;font-size:12px;padding:3px 10px;border-radius:20px}

/* hero 右侧：命中率放进视觉重心 */
.exp-hero-rate{flex:0 0 auto;padding-top:46px;text-align:right;min-width:150px}
.exp-rate-num{font-size:30px;font-weight:800;color:var(--accent);line-height:1.05;
  font-variant-numeric:tabular-nums}
.exp-rate-cap{font-size:12px;color:var(--muted);margin-top:2px}
.exp-rate-sub{font-size:12px;color:#5a6785;margin-top:8px;line-height:1.6}
.exp-rate-sub b{color:#1b2a58;font-variant-numeric:tabular-nums}

/* 指标行 */
.exp-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:18px}
.exp-metric{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px}
.exp-metric i{display:block;font-style:normal;color:var(--muted);font-size:12px;margin-bottom:4px}
.exp-metric b{font-size:23px;color:#1b2a58;font-variant-numeric:tabular-nums;letter-spacing:.5px}
.exp-metric span{font-size:12px;color:var(--muted);margin-left:3px}

/* 近期战绩走势 */
.exp-streak h2 small{font-size:13px;font-weight:400}
.streak-row{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.streak-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  width:52px;height:56px;border-radius:10px;border:1px solid var(--line);background:#f7f9fe;
  text-decoration:none;transition:.15s}
.streak-cell b{font-size:17px;font-variant-numeric:tabular-nums;line-height:1}
.streak-cell span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.streak-cell.hit{background:#fdeceb;border-color:#f3c3c0;color:var(--accent)}
.streak-cell.hit b{color:var(--accent)}
.streak-cell.miss{background:#f4f6fa;border-color:#e2e7f2;color:#8b97b3}
.streak-cell:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(22,32,74,.10)}
.streak-note{margin:0;font-size:12px;color:var(--muted);line-height:1.7}

/* 列表项：补正文摘要 */
.post-excerpt{margin:3px 0 0;font-size:12.5px;color:#6b7691;line-height:1.6;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* 空状态 */
.empty-state{text-align:center;padding:34px 16px;border:1px dashed #d5dcea;border-radius:11px;background:#fafbfe}
.empty-state p{margin:0 0 6px;color:#4a5570}

/* 侧栏：分彩种战绩 */
.type-stat{padding:10px 0;border-bottom:1px dashed #e6ebf5}
.type-stat:last-of-type{border-bottom:0}
.type-stat-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
.type-stat-head b{font-size:14px}
.type-stat-head .muted{font-size:12px}
.type-bar{height:6px;border-radius:4px;background:#eef1f8;overflow:hidden}
.type-bar i{display:block;height:100%;border-radius:4px;
  background:linear-gradient(90deg,#2f6fed,#d8232a)}
.type-stat-foot{font-size:12px;margin-top:5px}

/* 窄屏：命中率块不再右对齐 */
@media (max-width:720px){
  .exp-hero-rate{padding-top:0;text-align:left;min-width:0;flex-basis:100%}
  .exp-rate-num{font-size:26px}
  .streak-cell{width:46px;height:52px}
}

/* ===== 专家页：无稿专家的「有内容」空状态 ===== */
.exp-rate-pending{color:#8b97b3;font-size:22px;font-weight:700}
.exp-blank{text-align:center;padding:20px 16px;border:1px dashed #d5dcea;border-radius:11px;background:#fafbfe;margin-bottom:6px}
.exp-blank p{margin:0 0 6px;color:#4a5570}

.draw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-bottom:6px}
.draw-card{display:block;border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#fff;text-decoration:none}
.draw-card:hover{border-color:var(--accent);box-shadow:0 3px 12px rgba(22,32,74,.08)}
.draw-card-hd{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:9px}
.draw-card-hd b{font-size:14px}
.draw-card-hd .muted{font-size:12px}
.draw-card-balls{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.draw-card-ft{font-size:12px;margin-top:9px}

.mini-draw{display:flex;justify-content:space-between;align-items:baseline;
  padding:6px 0;border-bottom:1px dashed #e6ebf5;font-size:13px}
.mini-draw:last-of-type{border-bottom:0}
.mini-draw b{color:var(--accent);font-variant-numeric:tabular-nums}

/* ===== 专家页 hero 遮挡修复 =====
   两个叠加问题：
   1) .exp-cover 是 position:relative（定位元素），按绘制顺序会盖在
      未定位的 .exp-hero-body 之上 —— body 又用 margin-top:-40px 上移，
      导致头像上半截被深蓝封面吃掉。
   2) .exp-h-main / .exp-hero-rate 的 padding-top 只留了 6px 间距，
      字号/换行稍有差异文字就会压到封面上。
   处理：让内容显式压在封面之上 + 拉开安全间距 + 收住装饰圆越界。 */
.exp-hero-body{position:relative;z-index:2}
.exp-cover{overflow:hidden}
.exp-h-main{padding-top:58px;padding-bottom:30px}
.exp-hero-rate{padding-top:58px}
/* 按钮现在位于 .exp-h-main 内部，原来的 50px 是旧结构遗留，留出巨大空档 */
.exp-h-actions{padding-top:14px}

@media(max-width:900px){
  .exp-h-main{padding-top:52px}
  .exp-hero-rate{padding-top:52px}
}

/* ===== 个人资料 ===== */
.mc-avatar-link{display:inline-flex;border-radius:50%;transition:.15s}
.mc-avatar-link:hover{box-shadow:0 0 0 3px rgba(47,111,237,.18)}
.pf-avatar{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px dashed var(--line)}
.pf-avatar-side{flex:1;min-width:220px;display:flex;flex-direction:column;gap:8px}
.pf-avatar-side input[type=file]{font-size:13px;color:#5a6785;max-width:100%}
.pf-avatar-side input[type=file]::file-selector-button{
  border:1px solid var(--line);background:#f7f9fe;color:#35507f;border-radius:7px;
  padding:6px 12px;margin-right:10px;cursor:pointer;font-size:13px;font-family:inherit}
.pf-avatar-side input[type=file]::file-selector-button:hover{background:#eef2fa}

/* ===== 首页第一排：双色球 / 大乐透 两列 ===== */
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}
.hero-grid .hero{margin-bottom:0;min-width:0}
.hero-grid .ball-lg{width:40px;height:40px;font-size:16px}
.hero-grid .stat{padding:6px 11px;min-width:66px}
.hero-grid .countdown{padding:8px 12px}
@media(max-width:860px){
  .hero-grid{grid-template-columns:1fr;gap:12px}
  .hero-grid .ball-lg{width:38px;height:38px;font-size:15px}
}

/* ===== 页眉账号区（品牌条右侧，白底上的胶囊按钮） ===== */
.nav-user{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto}
.nav-user a{color:#35507f;border:1px solid rgba(27,42,88,.20);padding:5px 15px;border-radius:20px;
  font-size:13.5px;transition:.15s;white-space:nowrap}
.nav-user a:hover{background:#f1f5fd;border-color:rgba(27,42,88,.38);color:#1b2a58}
.nav-user a.on{color:#e08a1e;border-color:rgba(224,138,30,.55)}
@media(max-width:900px){
  .hd-meta{display:none}
}

/* ===== 登录/注册页主体宽度：按老板要求放到与全站一致的 1400px =====
   （.wrap 本来就是 1400px，但 .auth-wrap 把它收窄到了 980px） */
.auth-wrap{max-width:1400px}

/* ===== 资讯文章（前台页 + 后台预览共用） ===== */
.preview-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff7e6;border:1px solid #ffd9a0;
  border-radius:var(--radius);padding:10px 16px;margin-bottom:14px;font-size:13px}
.preview-tag{background:#e59a00;color:#fff;border-radius:20px;padding:2px 12px;font-weight:700;font-size:12px}
.preview-actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}
.article-page{max-width:880px;margin:0 auto}
.article-hd{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.article-title{font-size:24px;line-height:1.4;margin:0 0 10px;color:#1b2a58}
.article-meta{font-size:13px;margin:0 0 16px}
.article-cover{width:100%;border-radius:10px;margin:0 0 16px;display:block}
.article-lead{background:#f7f9fe;border-left:3px solid var(--blue);border-radius:0 8px 8px 0;
  padding:12px 16px;margin:0 0 18px;color:#3d4a68;font-size:14px}
.article-content{font-size:17px;line-height:32px;color:#2f3a52;word-break:break-word;padding:0px 30px}
.article-content h2{font-size:18px;margin:22px 0 10px}
.article-content h3{font-size:16px;margin:18px 0 8px}
.article-content p{margin:0 0 14px}
.article-content ul,.article-content ol{padding-left:22px;margin:0 0 14px}
.article-content li{margin:4px 0}
.article-content blockquote{border-left:3px solid var(--line);margin:0 0 14px;padding:6px 14px;color:#5a6785;background:#f8fafd}
.article-content img{max-width:100%;height:auto;border-radius:8px}
.article-content a{color:var(--blue)}
.article-notice{margin:24px 0 0;padding-top:14px;border-top:1px dashed var(--line);font-size:12px}

/* ===== 资讯列表（前台） ===== */
.news-hd{display:flex;align-items:baseline;gap:10px;margin-bottom:14px}
.news-hd h1{font-size:20px;margin:0;color:#1b2a58}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.tab{padding:5px 14px;border-radius:20px;font-size:13.5px;color:#5a6785;background:#f3f6fc;transition:.15s}
.tab:hover{background:#e8eefb;color:#1b2a58}
.tab.on{background:var(--blue);color:#fff}
.news-list{list-style:none;margin:0;padding:0}
.news-item{padding:15px 30px;border-bottom:1px dashed var(--line)}
.news-item:last-child{border-bottom:0}
.news-item-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.news-item-title{font-size:18px;font-weight:600;color:#1b2a58;line-height:1.5}
.news-item-title:hover{color:var(--blue)}
.news-item-sum{margin:7px 0 0;color:#5a6785;font-size:13.5px;line-height:1.75;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-item-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:9px;font-size:12.5px}
@media(max-width:640px){
  .news-item{padding:12px 0}
  .news-item-title{font-size:15px}
}

/* ===== 资讯详情：相关推荐 / 返回 ===== */
.rel-list{list-style:none;padding:0;margin:0}
.rel-list li{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line)}
.rel-list li:last-child{border-bottom:0}
.rel-list a{color:#2f3a52;flex:1}
.rel-list a:hover{color:var(--blue)}
.article-back{max-width:880px;margin:16px auto 0;text-align:center}

/* ===== 资讯页两栏（左：资讯文字列表 / 右：所有彩种最新开奖） ===== */
.news-layout{display:grid;grid-template-columns:minmax(0,1fr) 436px;gap:18px;align-items:start}
.news-main{min-width:0}
.news-side{position:sticky;top:14px}
.side-lots{list-style:none;margin:0;padding:0}
.side-lot{padding:11px 0;border-bottom:1px dashed var(--line)}
.side-lot:last-child{border-bottom:0;padding-bottom:2px}
.side-lot-hd{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:13.5px}
.side-lot-hd a{color:#1b2a58}
.side-lot-hd a:hover{color:var(--blue)}
.side-lot-balls{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:8px 0 5px}
.side-lot-time{font-size:12px}
.side-note{margin:12px 0 0;font-size:12px}
.ball-xs{width:30px;height:30px;font-size:16px}
@media(max-width:900px){
  .news-layout{grid-template-columns:1fr;gap:14px}
  .news-side{position:static}
}

/* 资讯详情也走两栏：左栏正文不再单独限宽居中 */
.news-main .article-page{max-width:none;margin-bottom:20px}
.news-main .article-back{max-width:none;margin:16px 0 0}

/* 走势图：红球/蓝球合并成一张表时，蓝球列左侧加分隔线 */
.trend-tbl th.bs,.trend-tbl td.bs{border-left:2px solid #c8d3e8}

/* 蓝球走势连线（SVG 覆盖层，懒加载/窗口变化时重绘） */
.trend-lines{position:absolute;left:0;top:0;pointer-events:none;z-index:1;overflow:visible}
.trend-lines line{stroke:#2f6fed;stroke-width:1.5;stroke-opacity:.6;stroke-linecap:round}
/* ===== 奖号统计柱状图（纯 CSS，不引外部图表库：国内 CDN 不稳） ===== */
.nc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 8px}
.nc-title{/* color:var(--muted); */font-size:15px;/* font-weight:600; */}
.nc-legend{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}
.nc-legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:4px;vertical-align:-1px}
.nc-legend i.h-hot{background:linear-gradient(180deg,#ff7a5c,#d8232a)}
.nc-legend i.h-warm{background:linear-gradient(180deg,#ffc061,#e8912b)}
.nc-legend i.h-cold{background:linear-gradient(180deg,#9db6e8,#5f7fc0)}

.numchart{position:relative;display:flex;align-items:stretch;gap:2px;
  padding:8px 10px 6px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe;
  overflow-x:auto;overflow-y:hidden}
/* 网格线：与绘图区严格对齐（padding-top 8 + 柱顶数字 11 = 19px 起，高 150px） */
.numchart:before{content:"";position:absolute;left:0;right:0;top:19px;height:150px;
  background-image:linear-gradient(to bottom,#eef2f9 1px,transparent 1px);
  background-size:100% 50px;pointer-events:none}
.nc-col{position:relative;flex:1 0 auto;min-width:15px;display:flex;flex-direction:column;
  justify-content:flex-end;border-radius:6px;padding:0 1px;transition:background .15s}
.nc-col:hover{background:rgba(47,111,237,.07)}
.nc-val{height:11px;line-height:11px;font-size:10px;font-weight:600;color:#44527a;
  text-align:center;font-variant-numeric:tabular-nums}
.nc-track{height:150px;display:flex;align-items:flex-end;position:relative;z-index:1}
.nc-bar{width:100%;max-width:25px;margin:0 auto;min-height:3px;border-radius:3px 3px 0 0;
  background:linear-gradient(180deg,#9db6e8,#5f7fc0);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);transition:filter .15s}
.nc-bar.h-hot{background:linear-gradient(180deg,#ff7a5c,#d8232a)}
.nc-bar.h-warm{background:linear-gradient(180deg,#ffc061,#e8912b)}
.nc-bar.h-cold{background:linear-gradient(180deg,#9db6e8,#5f7fc0)}
.nc-num{height:13px;line-height:13px;margin-top:5px;font-size:10px;color:#7b87a3;
  text-align:center;font-variant-numeric:tabular-nums}
.numchart.dense .nc-val{display:none}
.numchart.dense:before{top:8px}
.numchart.dense .nc-col{min-width:11px}
.numchart.dense .nc-num{font-size:9px}

/* 列表里的文字链（如「中奖详情」入口） */
.tbl-link{color:var(--blue);font-size:12px;white-space:nowrap;font-weight:600}
.tbl-link:hover{text-decoration:underline}

/* ===== 彩种图标（首页卡片/card + 顶部大卡/hero） ===== */
.lot-icon{display:block;flex:0 0 auto;border-radius:7px}
.card-name{display:flex;align-items:center;gap:8px;font-size:15px}
.tag-icon{display:inline-flex;align-items:center;gap:6px}

/* ===== 内容页（关于/免责/协议/反馈/网站地图）===== */
.crumb{margin:14px 0 0;font-size:13px;color:var(--muted)}
.crumb a{color:var(--blue)}
.crumb span{margin:0 6px;color:#c3ccdd}
.crumb em{font-style:normal;color:var(--text)}

.page{max-width:900px;margin:14px auto 0;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:26px 30px 30px}
.page h1{margin:0 0 6px;font-size:24px}
.page h2{margin:26px 0 10px;font-size:17px;padding-left:10px;border-left:4px solid var(--blue)}
.page p{margin:10px 0;color:#41506f}
.page ul,.page ol{margin:10px 0;padding-left:22px;color:#41506f}
.page li{margin:6px 0}
.page a{color:var(--blue)}
.page strong{color:var(--text)}
.page-lead{margin-top:14px;padding:12px 14px;background:#f5f8ff;border-radius:10px;border:1px solid #e2ebff;color:#33456b}
.page-note{margin:14px 0;padding:12px 14px;background:#fff8e8;border:1px solid #ffe6b5;border-radius:10px;color:#8a6108;font-size:13px}
.page-meta{margin-top:20px;font-size:12px;color:var(--muted)}

.page-alert{margin:14px 0;padding:11px 14px;border-radius:10px;font-size:13px}
.page-alert.ok{background:#eafaf1;border:1px solid #b7ebd0;color:#0b7a4d}
.page-alert.err{background:#fdecec;border:1px solid #f7c7c7;color:#a03636}

.page-form{margin:16px 0 6px;display:grid;gap:14px}
.pf-row{display:grid;gap:6px}
.pf-row label{font-size:13px;font-weight:600;color:#33405e}
.pf-row .req{color:var(--accent)}
.pf-row input,.pf-row select,.pf-row textarea{
  width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbfe;
  font-size:14px;color:var(--text);font-family:inherit}
.pf-row input:focus,.pf-row select:focus,.pf-row textarea:focus{
  outline:none;border-color:#c9d8ff;background:#fff;box-shadow:0 0 0 3px rgba(47,111,237,.12)}
.pf-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pf-actions button{padding:11px 26px;border:0;border-radius:10px;cursor:pointer;
  background:linear-gradient(145deg,#3b7bf5,#2f6fed);color:#fff;font-size:15px;font-weight:600;
  box-shadow:0 8px 18px rgba(47,111,237,.28)}
.pf-actions button:hover{filter:brightness(1.05)}
.pf-hint{font-size:12px;color:var(--muted)}

/* 网站地图 */
.map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}
.map-col h2{margin-top:0}
.map-col ul{list-style:none;margin:0;padding:0}
.map-col li{margin:8px 0;padding-bottom:8px;border-bottom:1px dashed var(--line)}
.map-sub{margin-left:8px;font-size:12px;color:var(--muted)}
.map-experts{display:flex;flex-wrap:wrap;gap:8px 14px;list-style:none;padding:0;margin:12px 0}
.map-experts li{margin:0}
@media (max-width:760px){
  .map-grid{grid-template-columns:1fr}
  .page{padding:20px 18px 22px}
}

/* 页脚：链接行 + 备案 */
.ft-links{margin:0 0 12px !important;font-size:13px;color:#b9c3d8}
.ft-links a{color:#333;margin:0 6px;font-size:15px}
.ft-links a:hover{color:#000;text-decoration:underline}
.ft-links span{color:#7f8dad}
.ft-icp{color:inherit;text-decoration:none}
.ft-icp:hover{color:#fff;text-decoration:underline}

/* ===== 首页「彩票分析」资讯板块 ===== */
.home-news{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start;margin-bottom:18px}
.hn-main{margin-bottom:0}
.hn-hd{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:1px}
.hn-hd h2{margin:0}
.hn-more{font-size:13px;color:var(--blue);white-space:nowrap;text-decoration:none}
.hn-more:hover{text-decoration:underline}
.hn-side .panel{margin-bottom:0}
.news-item-ft{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;margin-top:6px}
@media(max-width:900px){ .home-news{grid-template-columns:1fr} }

/* ===== 首页改版：大气版式（全部限定在 .home-page 内，不影响其它页） ===== */
.home-page{padding-bottom:8px}

/* 首屏横幅 —— 视觉重心 */
.home-hero{position:relative;overflow:hidden;border-radius:18px;margin-bottom:34px;
  background:linear-gradient(125deg,#16204a 0%,#24407f 52%,#2f6fed 100%);
  box-shadow:0 18px 44px rgba(22,32,74,.22)}
.home-hero:before{content:"";position:absolute;right:-90px;top:-140px;width:420px;height:420px;
  border-radius:50%;background:rgba(255,255,255,.07)}
.home-hero:after{content:"";position:absolute;left:-70px;bottom:-170px;width:340px;height:340px;
  border-radius:50%;background:rgba(255,255,255,.05)}
.hh-inner{position:relative;z-index:1;padding:44px 48px 40px;max-width:920px}
.hh-kicker{margin:0 0 12px;color:#9fb6e6;font-size:12.5px;letter-spacing:3px}
.hh-title{margin:0 0 14px;color:#fff;font-size:40px;line-height:1.15;font-weight:800;letter-spacing:1px}
.hh-sub{margin:0 0 26px;color:#c9d8f7;font-size:15px;line-height:1.8}
.hh-stats{display:flex;flex-wrap:wrap;gap:38px;margin-bottom:30px}
.hh-stat b{display:block;color:#fff;font-size:28px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
.hh-stat span{display:block;color:#9fb6e6;font-size:12.5px;margin-top:6px;letter-spacing:.5px}
.hh-actions{display:flex;gap:14px;flex-wrap:wrap}
.hh-btn{display:inline-block;padding:13px 30px;border-radius:10px;background:#fff;color:#16204a;
  font-size:14.5px;font-weight:700;text-decoration:none;transition:.18s;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.hh-btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.24)}
.hh-btn.ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35);box-shadow:none}
.hh-btn.ghost:hover{background:rgba(255,255,255,.2)}

/* 板块间距：拉开节奏 */
.home-page .hero-grid{gap:22px;margin-bottom:34px}
.home-page .grid{gap:22px;margin-bottom:34px}
.home-page .panel{margin-top:0}
.home-page .home-news{gap:22px;margin-bottom:34px}
.home-page .panel h2,.home-page .hn-hd h2{font-size:19px;margin-bottom:18px}
.home-page .panel h2:before{height:18px;width:4px}

/* 卡片更舒展、有呼吸感 */
.home-page .card{padding:24px;border-radius:14px;transition:.2s;border:1px solid transparent}
.home-page .card:hover{transform:translateY(-3px);border-color:#dbe4f5;box-shadow:0 14px 34px rgba(22,32,74,.12)}
.home-page .card-hd{margin-bottom:16px}
.home-page .card-name{font-size:18px}

/* 顶部四张大卡（.hero 限定在首页，其它页不受影响） */
.home-page .hero{padding:28px;border-radius:16px;transition:.2s}
.home-page .hero:hover{box-shadow:0 14px 34px rgba(22,32,74,.13)}
.home-page .hero-hd{margin-bottom:20px}

/* 资讯列表更舒展 */
.home-page .news-item{padding:18px 0;border-bottom:1px solid #eef1f7}
.home-page .news-item:last-child{border-bottom:0}
.home-page .news-item-title{font-size:16.5px;line-height:1.5;font-weight:600}
.home-page .news-item-sum{font-size:13.5px;line-height:1.8}

@media(max-width:900px){
  .hh-inner{padding:32px 24px 30px;max-width:100%}
  .hh-title{font-size:28px}
  .hh-stats{gap:24px}
  .hh-stat b{font-size:22px}
  .home-page .hero-grid,.home-page .grid{gap:16px;margin-bottom:24px}
}

/* ===== 文章页作者信息条（头像 + 作者 + 来源 + 时间 + 阅读）===== */
.article-byline{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 18px;padding:9px 13px;
  background:#f7f9ff;border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--muted)}
.by-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(140deg,#3b7bf5,#1b2a58);color:#fff;font-size:15px;font-weight:600;letter-spacing:0;
  box-shadow:0 2px 6px rgba(27,42,88,.18);user-select:none}
.by-name{color:var(--text);font-size:14px;font-weight:600}
.by-source{padding:2px 9px;border-radius:999px;background:#eaf1ff;color:var(--blue);font-size:12px;line-height:18px}
.by-time,.by-views{color:var(--muted)}
.by-views:before{content:"·";margin-right:7px;color:#c3ccdd}
@media (max-width:520px){
  .article-byline{gap:7px;padding:8px 10px}
  .by-avatar{width:30px;height:30px;flex-basis:30px;font-size:14px}
  .by-source{font-size:11px}
}

/* 笔名真人头像（config/pen_avatars.php 映射；取不到时回退首字圆头像） */
.by-avatar-img{width:34px;height:34px;flex:0 0 34px;border-radius:50%;object-fit:cover;display:block;
  box-shadow:0 2px 6px rgba(27,42,88,.18);background:#e8eefc}
@media (max-width:520px){.by-avatar-img{width:30px;height:30px;flex-basis:30px}}

/* ===== 首页三列：开奖结果 ×2 + 资讯卡 ===== */
.home-3col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;align-items:start;/* margin-bottom:18px; */}
.home-col{display:flex;flex-direction:column;gap:14px;min-width:0}

.draw-card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px;min-width:0;
  display:flex;flex-direction:column;min-height:196px}
.dc-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.dc-name{display:inline-flex;align-items:center;gap:6px;font-size:15px;color:var(--text);white-space:nowrap}
.dc-name a{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none}
.dc-name a:hover{color:var(--blue)}
.dc-iss{font-size:12px;white-space:nowrap;color:var(--muted);text-decoration:none}
.dc-iss:hover{color:var(--blue);text-decoration:underline}
.dc-balls{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;gap:4px;min-height:64px}
.dc-meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;margin-top:9px;min-height:17px}
.dc-ft{display:flex;gap:7px;margin-top:auto;padding-top:11px}
.dc-ft .btn{flex:1;text-align:center;padding:7px 2px;font-size:12.5px;white-space:nowrap}

.col-news{min-width:0}
.nc-list{display:flex;flex-direction:column}
.news-card{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:3px 0}
.news-card:first-child{padding-top:2px}
.news-card:last-child{padding-bottom:2px}
/* 每 10 条为一组，组间行距加大一点（老板 2026-10-02 要求首页不再分组，故注释） */
/* .nc-list .news-card:nth-child(10n):not(:last-child){margin-bottom:9px} */
.col-news .nc-title{flex:1;min-width:0;font-size:16px;font-weight:400;color:#000000;line-height:20px;
  display:flex;align-items:center;overflow:hidden;white-space:nowrap}
.nc-cat{flex:0 0 auto;margin-right:6px;padding:1px 7px;border-radius:4px;background:#eef3ff;color:#2f6fed;font-size:12px;line-height:18px;white-space:nowrap}
.nc-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.col-news .nc-title:hover{color:var(--blue)}
.nc-time{flex:0 0 auto;font-size:12px;color:var(--muted);white-space:nowrap}

@media (max-width:1080px){
  .home-3col{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .home-3col{grid-template-columns:1fr;gap:12px}
  .dc-ft .btn{padding:8px 0}
}

/* 专家认证图标（专家主页名字后的标签） */
.exp-verified{display:inline-flex;align-items:center;gap:4px;vertical-align:2px;margin-left:4px;
  padding:2px 9px 2px 7px;border-radius:12px;background:#e8f0ff;color:#2f6fed;
  font-size:12px;font-weight:600;line-height:18px;white-space:nowrap}
.exp-verified svg{width:14px;height:14px;flex:0 0 auto}

/* 首页分类板块（第 2、3 列）：每个分类一个面板 */
.home-col > .panel{margin-bottom:0}
.cat-block .hn-hd{margin-bottom:4px}
.cat-block .hn-hd h2{font-size:16px;margin-bottom:0}

/* 首页文章条目前的小圆点图标 */
.nc-list .nc-text::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;
  background:#2f6fed;margin-right:7px;vertical-align:2px}

/* 首页友情链接 */
.friend-links .fl-list{display:flex;flex-wrap:wrap;gap:8px 18px}
.friend-links .fl-item{font-size:15px;color:#5a6785}
.friend-links .fl-item:hover{color:var(--blue)}

/* 首页友情链接：上侧间距 20px */
.home-page .friend-links{margin-top:20px}

/* 首页底部：网站地图（XML）链接 */
.sitemap-link{margin:14px 0 4px;font-size:13px;color:var(--muted)}
.sitemap-link a{color:var(--blue)}
