/* 国学阁 - 主样式（中国风 · 轻量） */
:root{
  --gx-red:#9c2b2b;
  --gx-red-soft:#b5453f;
  --gx-red-bg:#fbf3f1;
  --gx-ink:#2f2b28;
  --gx-ink-2:#5a534c;
  --gx-ink-3:#8d8578;
  --gx-bg:#faf7f0;
  --gx-card:#ffffff;
  --gx-line:#e8e2d6;
  --gx-line-2:#f2ece1;
  --gx-gold:#b8860b;
  --gx-green:#2e7d32;
  --gx-blue:#1565c0;
  --gx-radius:10px;
  --gx-shadow:0 1px 3px rgba(60,45,30,.06),0 6px 20px rgba(60,45,30,.05);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--gx-bg);color:var(--gx-ink);
  font:15px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans SC",sans-serif;
}
a{color:var(--gx-red);text-decoration:none}
a:hover{color:var(--gx-red-soft)}
h1,h2,h3,h4{font-family:"Songti SC","SimSun","Source Han Serif SC",serif;font-weight:600;margin:0 0 12px;line-height:1.4}
h1{font-size:24px}h2{font-size:20px}h3{font-size:17px}
p{margin:0 0 12px}
img{max-width:100%;height:auto}
.gx-wrap{max-width:1100px;margin:0 auto;padding:0 16px}

/* ---------- 头部 ---------- */
.gx-header{
  background:var(--gx-card);border-bottom:1px solid var(--gx-line);
  position:sticky;top:0;z-index:50;
}
.gx-header-inner{display:flex;align-items:center;height:60px;gap:22px}
.gx-logo{display:flex;align-items:center;gap:9px;flex-shrink:0}
.gx-logo-mark{
  width:32px;height:32px;border-radius:8px;background:var(--gx-red);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:17px;
  font-family:"Songti SC","SimSun",serif;
}
.gx-logo-text{font-size:18px;font-weight:600;color:var(--gx-ink);font-family:"Songti SC","SimSun",serif;letter-spacing:1px}
.gx-nav{display:flex;gap:2px;margin-left:auto}
.gx-nav-item{
  padding:7px 13px;border-radius:7px;color:var(--gx-ink-2);font-size:14.5px;white-space:nowrap;
}
.gx-nav-item:hover{background:var(--gx-line-2);color:var(--gx-red)}
.gx-nav-item.active{background:var(--gx-red-bg);color:var(--gx-red);font-weight:600}
.gx-menu-btn{
  display:none;margin-left:auto;background:none;border:1px solid var(--gx-line);
  border-radius:7px;width:38px;height:34px;font-size:17px;color:var(--gx-ink-2);cursor:pointer;
}

/* ---------- 主体 ---------- */
.gx-main{padding:24px 0 48px;min-height:60vh}

/* ---------- 卡片 ---------- */
.gx-card{
  background:var(--gx-card);border:1px solid var(--gx-line);border-radius:var(--gx-radius);
  padding:20px 22px;margin-bottom:18px;
}
.gx-card-tight{padding:15px 17px}
.gx-card-title{
  display:flex;align-items:center;gap:9px;font-size:17px;font-weight:600;
  font-family:"Songti SC","SimSun",serif;margin-bottom:14px;color:var(--gx-ink);
}
.gx-card-title::before{
  content:"";width:3px;height:16px;border-radius:2px;background:var(--gx-red);flex-shrink:0;
}
.gx-card-title .more{margin-left:auto;font-size:13px;font-weight:400;color:var(--gx-ink-3);font-family:inherit}

/* ---------- 首页 ---------- */
.gx-hero{
  text-align:center;padding:34px 20px 30px;background:var(--gx-card);
  border:1px solid var(--gx-line);border-radius:var(--gx-radius);margin-bottom:18px;
}
.gx-hero h1{font-size:27px;letter-spacing:3px;margin-bottom:10px}
.gx-hero p{color:var(--gx-ink-3);margin:0;font-size:14.5px}
.gx-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}
.gx-tool{
  display:block;background:var(--gx-card);border:1px solid var(--gx-line);
  border-radius:var(--gx-radius);padding:20px 16px;text-align:center;transition:.15s;
}
.gx-tool:hover{border-color:var(--gx-red);transform:translateY(-2px);box-shadow:var(--gx-shadow)}
.gx-tool-ico{
  width:44px;height:44px;margin:0 auto 11px;border-radius:11px;background:var(--gx-red-bg);
  color:var(--gx-red);display:flex;align-items:center;justify-content:center;
  font-size:20px;font-family:"Songti SC","SimSun",serif;
}
.gx-tool-name{font-size:15.5px;font-weight:600;color:var(--gx-ink);margin-bottom:4px}
.gx-tool-desc{font-size:12.5px;color:var(--gx-ink-3);line-height:1.5}

.gx-2col{display:grid;grid-template-columns:1fr 1fr;gap:18px}

/* ---------- 表单 ---------- */
.gx-form-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px;align-items:flex-end}
.gx-field{display:flex;flex-direction:column;gap:6px}
.gx-field>label{font-size:13px;color:var(--gx-ink-2);font-weight:500}
.gx-input,.gx-select{
  height:40px;padding:0 12px;border:1px solid var(--gx-line);border-radius:8px;
  background:#fff;font-size:15px;color:var(--gx-ink);outline:none;font-family:inherit;
}
.gx-input:focus,.gx-select:focus{border-color:var(--gx-red);box-shadow:0 0 0 3px rgba(156,43,43,.08)}
.gx-input-num{width:88px}
.gx-select{min-width:96px}
.gx-btn{
  height:40px;padding:0 26px;border:0;border-radius:8px;background:var(--gx-red);color:#fff;
  font-size:15px;cursor:pointer;font-family:inherit;transition:.15s;
}
.gx-btn:hover{background:var(--gx-red-soft)}
.gx-btn-lg{height:46px;padding:0 40px;font-size:16px;letter-spacing:2px}
.gx-btn-ghost{background:#fff;color:var(--gx-ink-2);border:1px solid var(--gx-line)}
.gx-btn-ghost:hover{background:var(--gx-line-2);color:var(--gx-red)}
.gx-radio-group{display:flex;gap:8px}
.gx-radio{position:relative}
.gx-radio input{position:absolute;opacity:0;pointer-events:none}
.gx-radio span{
  display:block;height:40px;line-height:38px;padding:0 20px;border:1px solid var(--gx-line);
  border-radius:8px;background:#fff;cursor:pointer;font-size:14.5px;color:var(--gx-ink-2);
}
.gx-radio input:checked+span{border-color:var(--gx-red);background:var(--gx-red-bg);color:var(--gx-red);font-weight:600}
.gx-hint{font-size:12.5px;color:var(--gx-ink-3);line-height:1.7}
.gx-alert{
  padding:11px 15px;border-radius:8px;background:#fdf0ef;border:1px solid #f3d6d3;
  color:#9c2b2b;font-size:14px;margin-bottom:16px;
}

/* ---------- 结果表 ---------- */
.gx-table{width:100%;border-collapse:collapse;font-size:14.5px}
.gx-table th,.gx-table td{
  padding:11px 12px;border-bottom:1px solid var(--gx-line-2);text-align:left;vertical-align:top;
}
.gx-table th{background:#fcfaf6;color:var(--gx-ink-2);font-weight:600;font-size:13.5px;white-space:nowrap}
.gx-table tr:last-child td{border-bottom:0}
.gx-pillar{text-align:center}
.gx-pillar .gz{font-size:28px;font-family:"Songti SC","SimSun",serif;font-weight:600;line-height:1.3}
.gx-pillar .gan,.gx-pillar .zhi{display:inline-block;min-width:30px}
.gx-pillar .sub{font-size:12px;color:var(--gx-ink-3);line-height:1.6;margin-top:5px}
.gx-scroll-x{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ---------- 标签 ---------- */
.gx-tag{
  display:inline-block;padding:2px 9px;border-radius:5px;font-size:12.5px;
  background:var(--gx-line-2);color:var(--gx-ink-2);margin:0 5px 5px 0;
}
.gx-tag-red{background:var(--gx-red-bg);color:var(--gx-red)}
.gx-tag-green{background:#eaf5ea;color:var(--gx-green)}
.gx-tag-blue{background:#e9f1fb;color:var(--gx-blue)}
.gx-tag-gold{background:#fdf6e3;color:var(--gx-gold)}
.gx-wx{display:inline-flex;align-items:center;justify-content:center;
  width:24px;height:24px;border-radius:50%;font-size:12.5px;color:#fff;font-weight:600}
.gx-wx-金{background:#b8860b}
.gx-wx-木{background:#2e7d32}
.gx-wx-水{background:#1565c0}
.gx-wx-火{background:#c62828}
.gx-wx-土{background:#6d4c41}

/* ---------- 五行条 ---------- */
.gx-wx-bar{display:flex;height:12px;border-radius:6px;overflow:hidden;margin:10px 0 8px;background:var(--gx-line-2)}
.gx-wx-bar i{display:block;height:100%}
.gx-wx-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--gx-ink-2)}
.gx-wx-legend em{font-style:normal;font-weight:600}

/* ---------- 评分 ---------- */
.gx-score{text-align:center;padding:6px 0 2px}
.gx-score-num{font-size:52px;font-weight:600;color:var(--gx-red);line-height:1.1;font-family:"Songti SC","SimSun",serif}
.gx-score-num small{font-size:16px;color:var(--gx-ink-3);margin-left:3px}
.gx-score-grade{font-size:15px;color:var(--gx-ink-2);margin-top:2px}

/* ---------- 列表 ---------- */
.gx-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gx-list-item{
  display:block;padding:13px 15px;background:var(--gx-card);border:1px solid var(--gx-line);
  border-radius:8px;color:var(--gx-ink-2);font-size:14px;transition:.15s;
}
.gx-list-item:hover{border-color:var(--gx-red);color:var(--gx-red)}
.gx-list-item .n{float:right;font-size:12px;color:var(--gx-ink-3)}
.gx-article-item{padding:15px 0;border-bottom:1px dashed var(--gx-line)}
.gx-article-item:last-child{border-bottom:0}
.gx-article-item h3{font-size:16.5px;margin-bottom:5px}
.gx-article-item p{color:var(--gx-ink-3);font-size:13.5px;margin:0}

/* ---------- 分页 ---------- */
.gx-pager{margin:22px 0 4px;text-align:center}
.gx-pager ul{list-style:none;padding:0;margin:0;display:inline-flex;gap:5px;flex-wrap:wrap;justify-content:center}
.gx-pager li a,.gx-pager li span{
  display:block;min-width:34px;padding:6px 10px;border:1px solid var(--gx-line);
  border-radius:7px;background:#fff;color:var(--gx-ink-2);font-size:13.5px;
}
.gx-pager li a:hover{border-color:var(--gx-red);color:var(--gx-red)}
.gx-pager li.active span{background:var(--gx-red);border-color:var(--gx-red);color:#fff}
.gx-pager li.disabled span{color:var(--gx-ink-3);background:#faf8f4}

/* ---------- 面包屑 ---------- */
.gx-crumb{font-size:13px;color:var(--gx-ink-3);margin-bottom:14px}
.gx-crumb a{color:var(--gx-ink-3)}
.gx-crumb a:hover{color:var(--gx-red)}
.gx-crumb span{margin:0 6px}

/* ---------- 黄历 ---------- */
.gx-hl-head{text-align:center;padding:18px 14px 20px;border-bottom:1px dashed var(--gx-line);margin-bottom:16px}
.gx-hl-date{font-size:15px;color:var(--gx-ink-2)}
.gx-hl-lunar{font-size:30px;font-family:"Songti SC","SimSun",serif;font-weight:600;color:var(--gx-red);margin:8px 0 6px}
.gx-hl-gz{font-size:13.5px;color:var(--gx-ink-3);letter-spacing:1px}
.gx-hl-nav{display:flex;justify-content:center;gap:10px;margin-top:14px}
.gx-hl-yj{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.gx-hl-yj-box{border-radius:8px;padding:14px 16px}
.gx-hl-yi{background:#f2f9f2}
.gx-hl-ji{background:#fdf3f3}
.gx-hl-yj-box h4{font-size:14.5px;margin-bottom:8px}
.gx-hl-yi h4{color:var(--gx-green)}
.gx-hl-ji h4{color:var(--gx-red)}
.gx-hours{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.gx-hour{
  text-align:center;padding:9px 4px;border-radius:7px;border:1px solid var(--gx-line);font-size:12.5px;
}
.gx-hour .z{font-size:15px;font-weight:600;font-family:"Songti SC","SimSun",serif;color:var(--gx-ink)}
.gx-hour.good{background:#f2f9f2;border-color:#cfe6cf}
.gx-hour.good .z{color:var(--gx-green)}
.gx-hour.bad{background:#fdf6f6;border-color:#f0dcdc}
.gx-hour.bad .z{color:#b5453f}
.gx-hour .s{color:var(--gx-ink-3);font-size:11.5px}

/* ---------- 文章 ---------- */
.gx-content{font-size:15.5px;line-height:1.9}
.gx-content h2{font-size:19px;margin:22px 0 10px}
.gx-content h3{font-size:16.5px;margin:18px 0 8px}
.gx-content p{margin:0 0 14px}
.gx-content img{border-radius:8px;margin:8px 0}
.gx-content ul,.gx-content ol{padding-left:22px;margin:0 0 14px}
.gx-content blockquote{
  margin:0 0 14px;padding:10px 16px;background:#fcfaf6;
  border-left:3px solid var(--gx-red);color:var(--gx-ink-2);border-radius:0 6px 6px 0;
}
.gx-content table{width:100%;border-collapse:collapse;margin:0 0 14px;font-size:14.5px}
.gx-content th,.gx-content td{border:1px solid var(--gx-line);padding:8px 11px}

/* ---------- 底部 ---------- */
.gx-footer{
  border-top:1px solid var(--gx-line);background:var(--gx-card);
  padding:22px 0 26px;text-align:center;
}
.gx-footer-links{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-bottom:12px;font-size:13.5px}
.gx-footer-links a{color:var(--gx-ink-2)}
.gx-disclaimer{font-size:12.5px;color:var(--gx-ink-3);max-width:760px;margin:0 auto 8px;line-height:1.7}
.gx-copy{font-size:12.5px;color:var(--gx-ink-3);margin:0}

/* ---------- 今日运势 ---------- */
.gx-yun-hero{
  background:var(--gx-card);border:1px solid var(--gx-line);border-radius:var(--gx-radius);
  padding:22px 24px;margin-bottom:18px;
}
.gx-yun-hero-main{display:flex;align-items:center;gap:22px}
.gx-yun-score{
  width:104px;height:104px;flex-shrink:0;border-radius:50%;
  background:conic-gradient(var(--gx-red) var(--p),var(--gx-line-2) 0);
  display:flex;align-items:center;justify-content:center;
}
.gx-yun-score-in{
  width:84px;height:84px;border-radius:50%;background:var(--gx-card);
  display:flex;align-items:baseline;justify-content:center;gap:1px;
}
.gx-yun-score-in b{font-size:32px;line-height:1;color:var(--gx-red);font-family:"Songti SC","SimSun",serif}
.gx-yun-score-in i{font-style:normal;font-size:13px;color:var(--gx-ink-3);margin-bottom:2px}
.gx-yun-hero-txt{min-width:0;flex:1}
.gx-yun-date{font-size:13px;color:var(--gx-ink-3);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gx-yun-level{
  font-size:23px;margin:8px 0 6px;letter-spacing:1px;
  font-family:"Songti SC","SimSun",serif;color:var(--gx-ink);
}
.gx-yun-stars{display:flex;align-items:center;gap:3px;font-size:17px;color:var(--gx-line)}
.gx-yun-stars span.on{color:#d9a406}
.gx-yun-stars em{font-style:normal;font-size:13px;color:var(--gx-ink-3);margin-left:6px}
.gx-yun-gz{font-size:13px;color:var(--gx-ink-3);margin-top:7px;line-height:1.7}

.gx-yun-advice{
  margin-top:18px;padding:14px 16px;border-radius:8px;
  background:#fcfaf6;border:1px solid var(--gx-line-2);border-left:3px solid var(--gx-gold);
}
.gx-yun-advice-h{display:flex;align-items:center;gap:8px;margin-bottom:7px;font-size:13.5px;color:var(--gx-ink-2)}
.gx-yun-advice-h .dot{width:6px;height:6px;border-radius:50%;background:var(--gx-gold)}
.gx-yun-advice-tag{
  margin-left:auto;font-size:11.5px;padding:1px 8px;border-radius:20px;
  background:var(--gx-line-2);color:var(--gx-ink-3);white-space:nowrap;
}
.gx-yun-advice-tag.is-ai{background:#eef3fb;color:var(--gx-blue)}
.gx-yun-advice-tag.loading{background:#fdf6e3;color:var(--gx-gold)}
.gx-ai-text{margin:0;font-size:15px;line-height:1.9;color:var(--gx-ink-2)}

.gx-lucky-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gx-lucky-item{
  border:1px solid var(--gx-line-2);border-radius:8px;padding:12px 14px;background:#fdfbf7;
}
.gx-lucky-item .k{display:block;font-size:12px;color:var(--gx-ink-3);margin-bottom:5px}
.gx-lucky-item .v{
  display:flex;align-items:center;gap:6px;font-size:15.5px;font-weight:600;color:var(--gx-ink);
  font-family:"Songti SC","SimSun",serif;
}
.gx-lucky-item .s{display:block;font-size:11.5px;color:var(--gx-ink-3);margin-top:5px;line-height:1.5}
.gx-swatch{width:14px;height:14px;border-radius:4px;display:inline-block;border:1px solid rgba(0,0,0,.08)}

.gx-yun-list{list-style:none;padding:0;margin:0}
.gx-yun-list li{
  position:relative;padding:7px 0 7px 20px;font-size:14.5px;color:var(--gx-ink-2);line-height:1.7;
}
.gx-yun-list li::before{
  content:"";position:absolute;left:4px;top:15px;width:6px;height:6px;border-radius:50%;background:var(--gx-ink-3);
}
.gx-yun-list-do li::before{background:var(--gx-green)}
.gx-yun-list-avoid li::before{background:var(--gx-red-soft)}
.gx-yun-list li.muted{color:var(--gx-ink-3);font-size:13.5px}
.gx-yun-list.gx-reasons li::before{background:var(--gx-gold)}
.gx-tags-line{display:flex;flex-wrap:wrap;gap:0;margin-top:10px}

/* ---------- 幸运号码 ---------- */
.gx-lot{display:flex;flex-direction:column;gap:14px}
.gx-lot-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.gx-lot-name{
  width:66px;flex-shrink:0;font-size:13.5px;color:var(--gx-ink-2);font-weight:500;
}
.gx-lot-balls{display:flex;flex-wrap:wrap;gap:7px}
.ball{
  width:34px;height:34px;border-radius:50%;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:600;font-style:normal;color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;
}
.ball-red{background:#c0392b}
.ball-blue{background:#2c6fb5}
.ball-gray{background:#7d756b}
.gx-lot-note{
  margin:16px 0 0;padding:12px 14px;border-radius:8px;background:#fdf6f5;
  border:1px solid #f2dedb;font-size:12.5px;line-height:1.85;color:#8a4a44;
}
.gx-lot-note strong{color:#9c2b2b}

/* ---------- 箴言卡 ---------- */
.gx-quote-card{
  position:relative;text-align:center;padding:28px 24px 24px;margin-bottom:18px;
  background:linear-gradient(180deg,#fdfaf4,#fbf6ec);
  border:1px solid var(--gx-line);border-radius:var(--gx-radius);
}
.gx-quote-mark{
  position:absolute;top:2px;left:16px;font-size:58px;line-height:1;
  color:var(--gx-red);opacity:.13;font-family:"Songti SC","SimSun",serif;
}
.gx-quote-text{
  position:relative;margin:0 0 10px;font-size:17px;line-height:2;color:var(--gx-ink);
  font-family:"Songti SC","SimSun",serif;letter-spacing:1px;
}
.gx-quote-src{margin:0;font-size:12.5px;color:var(--gx-ink-3)}

/* ---------- 每日一签 ---------- */
.gx-qian-stage{
  text-align:center;padding:30px 20px 32px;background:var(--gx-card);
  border:1px solid var(--gx-line);border-radius:var(--gx-radius);margin-bottom:18px;
}
.gx-qian-tube{width:96px;height:124px;margin:0 auto 20px;position:relative}
.gx-qian-tube-body{
  position:absolute;inset:0;border-radius:10px 10px 16px 16px;
  background:linear-gradient(165deg,#a8443c,#7c2a25);
  display:flex;align-items:center;justify-content:center;gap:3px;
  color:#f7e8d6;font-size:19px;letter-spacing:1px;
  font-family:"Songti SC","SimSun",serif;font-weight:600;
  box-shadow:inset 0 -10px 20px rgba(0,0,0,.25),0 6px 18px rgba(120,40,35,.2);
}
.gx-qian-tube-body .st2{opacity:.92;transform:translateY(-3px)}
.gx-qian-tube-shadow{
  position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);
  width:74px;height:12px;border-radius:50%;background:rgba(120,60,40,.13);filter:blur(3px);
}
.gx-qian-title{font-size:24px;letter-spacing:4px;margin:0 0 10px}
.gx-qian-sub{font-size:13.5px;color:var(--gx-ink-3);line-height:1.9;margin:0 0 20px}
.gx-qian-form{margin:0 0 14px}
.gx-qian-meta{font-size:12.5px;color:var(--gx-ink-3);margin:0}
.gx-qian-meta .gx-tag{margin-left:5px}

.gx-level-legend{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:center;font-size:13.5px;color:var(--gx-ink-2)}
.gx-level-badge{
  display:inline-block;padding:3px 11px;border-radius:5px;font-size:12.5px;font-weight:600;
  text-align:center;white-space:nowrap;
}
.gx-level-badge.level-a{background:#fdeceb;color:#9c2b2b}
.gx-level-badge.level-b{background:#fdf4e6;color:#a9750b}
.gx-level-badge.level-c{background:#eaf1fb;color:#1c4f97}
.gx-level-badge.level-d{background:#f1efe9;color:#6b645a}
.gx-level-badge.level-e{background:#eee9e3;color:#8a8076}

.gx-slot{
  background:var(--gx-card);border:1px solid var(--gx-line);border-radius:var(--gx-radius);
  padding:26px 24px 28px;margin-bottom:18px;text-align:center;
}
.gx-slot-head{margin-bottom:22px}
.gx-slot-no{font-size:13px;color:var(--gx-ink-3);letter-spacing:2px;margin:12px 0 4px}
.gx-slot-title{
  font-size:24px;letter-spacing:5px;margin:0 0 10px;
  font-family:"Songti SC","SimSun",serif;color:var(--gx-ink);
}
.gx-slot-time{font-size:12px;color:var(--gx-ink-3)}
.gx-slot-poem{
  display:inline-block;text-align:center;padding:20px 26px;margin-bottom:20px;
  background:linear-gradient(180deg,#fdfaf4,#fbf6ec);
  border:1px solid var(--gx-line-2);border-radius:10px;
}
.gx-slot-poem p{
  margin:0 0 8px;font-size:19px;line-height:2.1;letter-spacing:3px;color:var(--gx-ink);
  font-family:"Songti SC","SimSun",serif;
}
.gx-slot-poem p:last-child{margin-bottom:0}
.gx-slot-explain{
  text-align:left;max-width:660px;margin:0 auto;padding-top:18px;
  border-top:1px dashed var(--gx-line);
}
.gx-slot-explain h2{
  font-size:14.5px;color:var(--gx-red);margin-bottom:9px;letter-spacing:2px;
}
.gx-slot-explain p{margin:0;font-size:14.5px;line-height:2;color:var(--gx-ink-2)}

.gx-aspect-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.gx-aspect{
  border:1px solid var(--gx-line-2);border-radius:8px;padding:13px 15px;background:#fdfbf7;
}
.gx-aspect-h{
  display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;
  color:var(--gx-ink);margin-bottom:7px;
}
.gx-aspect-h .ico{
  width:24px;height:24px;border-radius:6px;background:var(--gx-red-bg);color:var(--gx-red);
  display:inline-flex;align-items:center;justify-content:center;font-size:12.5px;
  font-family:"Songti SC","SimSun",serif;
}
.gx-aspect p{margin:0;font-size:13.5px;line-height:1.8;color:var(--gx-ink-2)}
.gx-share-box label{font-size:13px;color:var(--gx-ink-2)}

/* ---------- 首页运势卡 ---------- */
.gx-home-luck-top{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.gx-home-luck-score{
  width:78px;height:78px;flex-shrink:0;border-radius:50%;
  background:conic-gradient(var(--gx-red) var(--p),var(--gx-line-2) 0);
  display:flex;align-items:center;justify-content:center;
}
.gx-home-luck-score-in{
  width:62px;height:62px;border-radius:50%;background:var(--gx-card);
  display:flex;align-items:baseline;justify-content:center;
}
.gx-home-luck-score-in b{font-size:23px;line-height:1;color:var(--gx-red);font-family:"Songti SC","SimSun",serif}
.gx-home-luck-score-in i{font-style:normal;font-size:11px;color:var(--gx-ink-3)}
.gx-home-luck-info{min-width:0;flex:1}
.gx-home-luck-level{
  font-size:19px;font-weight:600;color:var(--gx-ink);margin-bottom:4px;
  font-family:"Songti SC","SimSun",serif;
}
.gx-home-luck-meta{font-size:12.5px;color:var(--gx-ink-3);margin-bottom:7px}
.gx-home-luck-tags{display:flex;flex-wrap:wrap;gap:0}
.gx-home-quote{
  padding:11px 14px;border-radius:8px;background:#fdfbf6;border-left:3px solid var(--gx-gold);
  font-size:13.5px;line-height:1.85;color:var(--gx-ink-2);
}
.gx-home-quote em{display:block;font-style:normal;font-size:12px;color:var(--gx-ink-3);margin-top:5px}
.gx-home-luck-btn{
  display:block;margin-top:14px;text-align:center;padding:9px 0;border-radius:8px;
  background:var(--gx-red-bg);color:var(--gx-red);font-size:13.5px;font-weight:500;
}
.gx-home-luck-btn:hover{background:var(--gx-red);color:#fff}

/* ---------- 响应式 ---------- */
@media (max-width:860px){
  .gx-tools{grid-template-columns:repeat(2,1fr)}
  .gx-2col{grid-template-columns:1fr}
  .gx-list{grid-template-columns:repeat(2,1fr)}
  .gx-hours{grid-template-columns:repeat(4,1fr)}
  .gx-nav{
    display:none;position:absolute;left:0;right:0;top:60px;background:#fff;
    flex-direction:column;padding:8px 16px 14px;border-bottom:1px solid var(--gx-line);gap:2px;
    max-height:calc(100vh - 60px);overflow-y:auto;
    box-shadow:0 10px 24px rgba(60,45,30,.08);
  }
  body.nav-open .gx-nav{display:flex}
  .gx-menu-btn{display:block}
  .gx-header-inner{position:relative}
  .gx-hero h1{font-size:22px;letter-spacing:1px}
  .gx-hl-yj{grid-template-columns:1fr}

  /* 互动运势 / 签文 */
  .gx-lucky-grid{grid-template-columns:repeat(2,1fr)}
  .gx-aspect-grid{grid-template-columns:1fr}
  .gx-slot-poem p{font-size:17px;letter-spacing:2px}
}

/* 平板竖屏与大屏手机：表单与号码行改为纵向，避免挤压 */
@media (max-width:640px){
  .gx-lot-row{flex-direction:column;align-items:flex-start;gap:8px}
  .gx-lot-name{width:auto}
  .gx-yun-hero-main{gap:16px}
  .gx-yun-score{width:86px;height:86px}
  .gx-yun-score-in{width:70px;height:70px}
  .gx-yun-score-in b{font-size:26px}
  .gx-yun-level{font-size:20px}

  /* 表单在窄屏一律单列整宽，避免 iOS 上输入框过窄与误触 */
  .gx-form-row{gap:10px}
  .gx-field{width:100%}
  .gx-input,.gx-select,.gx-input-num{width:100%}
  .gx-form-row .gx-btn{width:100%;display:block}
  .gx-radio-group{width:100%}
  .gx-radio{flex:1}
  .gx-radio span{text-align:center;padding:0 10px}

  /* 表格缩小留白，仍靠 .gx-scroll-x 横向滚动 */
  .gx-table th,.gx-table td{padding:9px 9px;font-size:13.5px}
}

@media (max-width:520px){
  .gx-wrap{padding:0 12px}
  .gx-card{padding:16px 14px}
  .gx-tools{grid-template-columns:repeat(2,1fr);gap:10px}
  .gx-list{grid-template-columns:1fr}
  .gx-hours{grid-template-columns:repeat(3,1fr)}
  .gx-score-num{font-size:44px}
  .gx-hl-lunar{font-size:25px}
  .gx-pillar .gz{font-size:23px}
  .gx-main{padding:16px 0 40px}

  /* 运势总览改为纵向居中，评分圆环置于顶部 */
  .gx-lucky-grid{grid-template-columns:1fr}
  .gx-yun-hero{padding:18px 16px}
  .gx-yun-hero-main{flex-direction:column;text-align:center;gap:14px}
  .gx-yun-hero-txt{width:100%}
  .gx-yun-date,.gx-yun-stars{justify-content:center}
  .gx-yun-level{font-size:19px;letter-spacing:0}
  .gx-yun-advice{padding:12px 13px}
  .gx-ai-text{font-size:14.5px;line-height:1.85}

  /* 箴言与签文 */
  .gx-quote-card{padding:22px 16px 18px}
  .gx-quote-text{font-size:15.5px;letter-spacing:0;line-height:1.95}
  .gx-qian-stage{padding:24px 16px 26px}
  .gx-qian-title{font-size:21px;letter-spacing:2px}
  .gx-qian-sub{font-size:13px}
  .gx-slot{padding:20px 15px 22px}
  .gx-slot-title{font-size:20px;letter-spacing:3px}
  .gx-slot-poem{display:block;width:100%;padding:16px 12px}
  .gx-slot-poem p{font-size:16px;letter-spacing:1px;line-height:2}
  .gx-slot-explain p{font-size:14px;line-height:1.9}
  .gx-level-legend{grid-template-columns:1fr;gap:6px 0}
  .gx-level-legend .gx-level-badge{justify-self:start;margin-top:6px}

  /* 号码球与首页卡 */
  .ball{width:30px;height:30px;font-size:13px}
  .gx-lot-balls{gap:6px}
  .gx-home-luck-top{gap:12px}
  .gx-home-luck-score{width:68px;height:68px}
  .gx-home-luck-score-in{width:54px;height:54px}
  .gx-home-luck-score-in b{font-size:20px}
  .gx-home-luck-level{font-size:17px}
}
