/* ================================================================
   doushou.v1 · 斗首择日二级页「素笺历书」皮肤
   —— 依据《UI设计规范_素笺历书_v1》（E:\通胜择日站\9_UI设计方案\）
   作用域：全部锁 #doushouArea 前缀，不污染其他页
   结构/逻辑零改动：只换皮；引擎取值、app.v26.js 斗首逻辑不动

   ================================================================
   【v3 · 2026-11-11 · 修复「全局 !important 压死本站素笺规范」】
   诊断结论（全站级，非斗首独有）：
     style.v26.css:2802  html,body,body *,button,input,select,textarea
                       { font-family:"PingFang SC",... !important }
     style.v26.css:2824  body, body * { font-size: 12.5px !important }
     style.v26.css:2976  h2 { font-size:14px !important; ... }
     ⇒ 以上三条把「展示层衬线 / 操作层黑体」的分工与 19·17·15·13.5px
       字号阶全部压成 12.5px 黑体，斗首页与丛辰页同样受害。
     ⇒ 本文件所有字号/字体一律用 !important + 更高特异性(0,2,0 以上)
       就地夺回，作用域仍锁 #doushouArea，不外溢到其他页。

   A/B 两版：html[data-dsui="a"] / html[data-dsui="b"]
     A 版「题字墨本」：素笺正统、克制，衬线只用于题字与判级
     B 版「朱印历牌」：印章与题签强化，仪式感更浓
   ================================================================ */

/* ================================================================
   0. 令牌（与基准 congchen41.v1.css 同源，逐字对齐）
   ================================================================ */
#doushouArea{
  --paper:#FAF7F0; --paper-2:#FBF7EE; --card:#FFFEFB;
  --ink:#2A2C28; --ink-2:#40403A; --mute:#6E6E64; --weak:#8E8878; --ph:#A89A7C;
  --ji:#B03A2E; --ji-d:#9A3226; --ji-bg:#FBEAE8; --ji-line:#ECCFCC;
  --xj:#16525F; --xj-d:#123F49; --xj-bg:#E7F1F3; --xj-line:#CFE0E4;
  --jin:#8A6A1F; --jin-bg:#FBF3DC; --jin-line:#E3D3AE;
  --struct:#2E7284; --line:#E5DFD2; --line-2:#D8D2C4;
  --serif:"CC Serif","Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;
  --sans:"PingFang SC","HarmonyOS Sans SC","Noto Sans CJK SC","Source Han Sans SC","Microsoft YaHei",sans-serif;
  --wh:36px;
  --ease:cubic-bezier(.22,.8,.26,1);
  --pad:16px;
}

/* ================================================================
   1. 卡壳与题字区
   ================================================================ */
#doushouArea .card{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
#doushouArea .card::before{ display:none!important; }

/* 题字：衬线（展示层）· 夺回字号与字族 */
#doushouArea .card > h2{
  font-family:var(--serif)!important;
  font-size:19px!important;
  font-weight:600!important;
  letter-spacing:3px!important;
  line-height:1.35!important;
  color:var(--ink)!important;
  text-align:center;
  background:none!important;
  border:0!important;
  border-left:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:18px 0 4px!important;
  margin:0 0 14px!important;
}
/* 主副题分层：主题衬线大字，副题黑体小字（避免整句折行） */
#doushouArea .card > h2 .ds-h2-bd{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
}
#doushouArea .card > h2 .ds-h2-t{
  font-family:var(--serif)!important;
  font-size:19px!important;
  font-weight:600!important;
  letter-spacing:4px!important;
  line-height:1.3!important;
  color:var(--ink)!important;
  text-indent:4px;
}
#doushouArea .card > h2 .ds-h2-s{
  font-family:var(--sans)!important;
  font-size:12.5px!important;
  font-weight:400!important;
  letter-spacing:.5px!important;
  line-height:1.5!important;
  color:var(--mute)!important;
}
/* 题字下的朱砂短横（取代旧的整条底色） */
#doushouArea .card > h2::after{
  content:"";
  display:block;
  width:52px; height:2px;
  background:var(--ji);
  margin:10px auto 0;
  opacity:.5;
}

/* 二级题（区块小标题）：衬线 15px */
#doushouArea .card > div > h3,
#doushouArea h3{
  font-family:var(--serif)!important;
  font-size:15px!important;
  font-weight:600!important;
  letter-spacing:2px!important;
  line-height:1.6!important;
  color:var(--ink-2)!important;
  margin:0 0 10px!important;
  display:flex;
  align-items:center;
  gap:8px;
}
/* 小节题左侧朱砂短竖（与丛辰 .sect 方点同源，改为竖线更适合中文横排） */
#doushouArea h3::before{
  content:"";
  flex:0 0 auto;
  width:3px; height:15px;
  background:var(--ji);
  opacity:.75;
  border-radius:1px;
}

/* ================================================================
   2. 表单区（操作层：细黑体 400）
   ================================================================ */
#doushouArea .ds-form,
#doushouArea .ts-row{
  background:var(--card)!important;
  border:1px solid var(--line-2)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  padding:14px!important;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px 14px;
}
#doushouArea .ts-fl{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
#doushouArea .ts-fl > label{
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:12.5px!important;
  letter-spacing:.5px!important;
  line-height:1.4!important;
  color:var(--mute)!important;
}
/* 控件：黑体 14px，平面细边框 */
#doushouArea .ts-field{
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:14px!important;
  line-height:1.4!important;
  color:var(--ink)!important;
  background:var(--card)!important;
  border:1px solid var(--line-2)!important;
  border-radius:8px!important;
  box-shadow:none!important;
  min-height:40px;
  width:100%;
  max-width:none;
}
#doushouArea .ts-field:focus{
  outline:none!important;
  border-color:var(--struct)!important;
  box-shadow:0 0 0 2px rgba(46,114,132,.14)!important;
}
/* s837 对齐；s838 收编：坐山触发器几何已升 shan-picker.v1.css 库存（56px），此处只保留用事 ui-select 同步抬到 56 */
#doushouArea .ds-form .ui-select-trigger{width:100%;min-width:0;min-height:56px;box-sizing:border-box}
/* 区间区的日期入口与天数：让 ds-ctl 独占整行，视觉成组 */
#doushouArea .ds-ctl{ grid-column:1/-1; }
/* 仙命：可选字段，独占整行，避免右半留白 */
#doushouArea .ds-fl--full{ grid-column:1/-1; }
#doushouArea .ts-row .btn,
#doushouArea .ts-row > button{
  grid-column:1/-1;
  width:100%;
  justify-self:stretch;
}

/* ================================================================
   3. 入口控件「日期 · 时辰」（展示层值 + 操作层标签）
   ================================================================ */
#doushouArea .ds-ctl{
  display:flex; align-items:center; gap:10px;
  min-height:60px; padding:9px 12px; margin:0;
  background:var(--card)!important;
  border:1px solid var(--line-2)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  cursor:pointer;
  transition:transform .12s, border-color .2s;
}
#doushouArea .ds-ctl:active{ transform:scale(.985); border-color:#B9B2A2; }
#doushouArea .ds-ctl .ds-ctl-cx{
  flex:1; min-width:0;
  display:flex; flex-direction:column; gap:3px;
}
/* 标签：操作层黑体 */
#doushouArea .ds-ctl .lab{
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:12.5px!important;
  letter-spacing:.5px!important;
  line-height:1.3!important;
  color:var(--mute)!important;
}
/* 值：展示层衬线 19px —— 这是本页最重要的层级 */
#doushouArea .ds-ctl .val{
  font-family:var(--serif)!important;
  font-weight:600!important;
  font-size:19px!important;
  letter-spacing:2px!important;
  line-height:1.25!important;
  color:var(--ink)!important;
  font-variant-numeric:lining-nums;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
#doushouArea .ds-ctl .chev{
  flex:0 0 auto;
  font-size:18px!important;
  color:var(--ph);
  padding:0 2px;
  line-height:1;
}

/* ================================================================
   4. 主按钮（朱砂实底白字 —— 与丛辰 .pbtn 同款）
   ================================================================ */
#doushouArea .btn--primary{
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:15px!important;
  letter-spacing:6px!important;
  text-indent:6px;
  line-height:1.4!important;
  color:var(--card)!important;
  background:var(--ji)!important;
  border:1px solid var(--ji)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  min-height:46px;
  transition:background .2s, transform .12s;
}
#doushouArea .btn--primary:hover{ background:var(--ji-d)!important; }
#doushouArea .btn--primary:active{ background:var(--ji-d)!important; transform:scale(.985); }

/* ================================================================
   5. 结果区（空态 + 卡片）
   ================================================================ */
#doushouArea #dsResult > div,
#doushouArea #dsPickResult > div{
  border-radius:10px!important;
}
/* 结果表格：细边框 + 表头衬线 */
#doushouArea #dsResult table{ border-color:var(--line)!important; }
#doushouArea #dsResult th,
#doushouArea #dsResult td{ border-color:var(--line)!important; }
#doushouArea #dsResult th{
  font-family:var(--serif)!important;
  font-weight:600!important;
  font-size:12.5px!important;
  color:var(--ink-2)!important;
}
/* 天干：展示层衬线 */
#doushouArea #dsResult .gz-main{
  font-family:var(--serif)!important;
  font-weight:600!important;
  font-size:14px!important;
  color:var(--ink)!important;
}
#doushouArea #dsPickResult .ds-pick-row{ border-radius:10px!important; }

/* 判级方印（规范：印章类永远衬线）——app.v26.js 渲染为 20px 圆角块，此处就地提字族 */
#doushouArea #dsResult span[style*="font-size:20px"]{
  font-family:var(--serif)!important;
  font-weight:600!important;
}
/* 结果区段题（吉凶 / 推理 / 解释）提衬线 */
#doushouArea #dsResult b[style*="letter-spacing:4px"]{
  font-family:var(--serif)!important;
}

/* ================================================================
   6. 折叠条（知识速查 / 术语对照）
   ================================================================ */
#doushouArea details.ds-ref,
#doushouArea details{
  background:var(--card)!important;
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  padding:12px 14px!important;
  margin:10px 0!important;
}
#doushouArea details > summary{
  display:flex!important;
  align-items:center;
  gap:8px;
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:13.5px!important;
  letter-spacing:.5px!important;
  line-height:1.5!important;
  color:var(--ink-2)!important;
  cursor:pointer;
  list-style:none;
  min-height:36px;
  padding:6px 0;
}
#doushouArea details > summary::-webkit-details-marker{ display:none; }
/* 自绘展开箭头 */
#doushouArea details > summary::before{
  content:"";
  flex:0 0 auto;
  width:7px; height:7px;
  border-right:1.5px solid var(--mute);
  border-bottom:1.5px solid var(--mute);
  transform:rotate(-45deg);
  transition:transform .2s;
  margin-right:2px;
}
#doushouArea details[open] > summary::before{ transform:rotate(45deg); }
#doushouArea details[open] > summary{
  padding-bottom:10px;
  border-bottom:1px dashed var(--line);
}
#doushouArea details .ds-wx-grid > div,
#doushouArea details .ds-yiji-grid > div{
  background:var(--paper-2)!important;
  border:1px solid var(--line)!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
#doushouArea details table{ border-color:var(--line)!important; }
#doushouArea details th,
#doushouArea details td{ border-color:var(--line)!important; }

/* 五行格：全局 @media(max-width:700px) 用 !important 压成 2 列，
   导致 5 格排成 2+2+1、「金」字孤行。此处就地夺回为单列横排行。 */
#doushouArea details .ds-wx-grid{
  grid-template-columns:1fr!important;
  gap:5px!important;
}
#doushouArea details .ds-wx-grid > div{
  display:flex!important;
  align-items:center;
  gap:9px;
  padding:6px 10px!important;
  border-radius:8px!important;
}
#doushouArea details .ds-wx-grid > div > b{
  flex:0 0 auto;
  width:1.6em;
  text-align:center;
  font-family:var(--serif)!important;
  font-weight:600!important;
  font-size:14px!important;
}
/* 逐山宜忌格：窄屏单列 */
#doushouArea details .ds-yiji-grid{
  grid-template-columns:1fr!important;
}

/* ================================================================
   7. 底部抽屉（与丛辰 .ov/.panel/.p-hd/.wheels 同构）
   ================================================================ */
#doushouArea .ds-ov{
  position:fixed; inset:0; z-index:999;
  display:flex; align-items:flex-end;
  background:rgba(30,28,22,.42);
  animation:ds-ov-in .22s ease-out;
}
#doushouArea .ds-ov.hidden{ display:none!important; }
#doushouArea .ds-panel{
  width:100%; max-height:86%;
  display:flex; flex-direction:column; overflow:hidden;
  background:var(--card)!important;
  border-top:1px solid var(--line)!important;
  border-radius:16px 16px 0 0!important;
  box-shadow:0 -8px 30px rgba(42,44,40,.16);
  animation:ds-panel-in .34s var(--ease);
}
/* 把手条（丛辰 .grab 同款） */
#doushouArea .ds-panel::before{
  content:"";
  flex:0 0 auto;
  width:38px; height:4px; border-radius:2px;
  margin:8px auto 0;
  background:var(--line-2);
}
@keyframes ds-ov-in{ from{opacity:0} to{opacity:1} }
@keyframes ds-panel-in{ from{transform:translateY(40px);opacity:.4} to{transform:none;opacity:1} }

/* 抽屉头：黑体 16px（操作层，丛辰同款） */
#doushouArea .ds-p-hd{
  flex:0 0 auto;
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 8px 8px var(--pad);
}
#doushouArea .ds-p-hd .t{
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:16px!important;
  letter-spacing:1px!important;
  line-height:1.4!important;
  color:var(--ink)!important;
}
#doushouArea .ds-p-hd .x{
  width:36px; height:36px; position:relative; cursor:pointer; border-radius:50%;
}
#doushouArea .ds-p-hd .x::before, #doushouArea .ds-p-hd .x::after{
  content:""; position:absolute; left:50%; top:50%; width:14px; height:1.5px; margin:-.75px 0 0 -7px;
  background:var(--mute); transform:rotate(45deg);
}
#doushouArea .ds-p-hd .x::after{ transform:rotate(-45deg); }
#doushouArea .ds-p-hd .x:active{ background:#F0EFEA; }

/* 日期值行：黑体 18px（丛辰 .tfield 同款） */
#doushouArea .ds-tfield{
  display:flex; justify-content:space-between; align-items:baseline;
  min-height:46px; padding:0 var(--pad); margin-top:2px;
}
#doushouArea .ds-tfield #dsTfVal{
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:18px!important;
  letter-spacing:1px!important;
  line-height:1.35!important;
  color:var(--ink)!important;
  font-variant-numeric:lining-nums;
}
#doushouArea .ds-tfield .u{
  font-family:var(--sans)!important;
  font-size:12.5px!important;
  color:var(--mute)!important;
  letter-spacing:1px;
}

/* 滚轮：行高 36，选中 18px 黑体 500，未选 14px 灰 */
#doushouArea .ds-wheels{ margin-top:8px; padding:0 8px; }
#doushouArea .ds-wcap{ display:flex; }
#doushouArea .ds-wcap span{
  flex:1; text-align:center;
  font-family:var(--sans)!important;
  font-size:11.5px!important;
  color:var(--weak)!important;
  letter-spacing:2px;
  padding-bottom:5px;
}
#doushouArea .ds-wbox{ position:relative; }
#doushouArea .ds-wband{
  position:absolute; left:14px; right:14px; top:calc(var(--wh)*2); height:var(--wh);
  pointer-events:none;
  border-top:1px solid var(--ji); border-bottom:1px solid var(--ji);
  opacity:.5;
}
#doushouArea .ds-wrow{
  display:flex; position:relative; z-index:2;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 34%,#000 66%,transparent 100%);
          mask-image:linear-gradient(180deg,transparent 0,#000 34%,#000 66%,transparent 100%);
}
#doushouArea .wheel{
  flex:1; height:calc(var(--wh)*5); overflow-y:auto;
  scroll-snap-type:y mandatory; scrollbar-width:none;
}
#doushouArea .wheel::-webkit-scrollbar{ display:none; }
#doushouArea .wheel::before, #doushouArea .wheel::after{ content:""; display:block; height:calc(var(--wh)*2); }
#doushouArea .wi{
  height:var(--wh); line-height:var(--wh); text-align:center; scroll-snap-align:center;
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:14px!important;
  color:var(--ph)!important;
  font-variant-numeric:lining-nums;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  transition:color .15s, font-size .15s;
}
#doushouArea .wi.on{
  font-family:var(--sans)!important;
  font-weight:500!important;
  font-size:18px!important;
  color:var(--ink)!important;
}

/* 农历换算行 */
#doushouArea .ds-cvrow{ display:flex; padding:10px var(--pad) 0; }
#doushouArea .ds-cvrow .cv{
  flex:1; display:flex; align-items:baseline; gap:8px;
  font-family:var(--sans)!important;
  font-size:12px!important;
  color:var(--xj)!important;
  white-space:nowrap;
}
#doushouArea .ds-cvrow .cv .k{
  font-size:10px!important;
  padding:2px 5px; line-height:1;
  align-self:center;
  color:var(--xj)!important;
  box-shadow:inset 0 0 0 1px var(--xj-line);
  border-radius:3px;
}
#doushouArea .ds-cvrow .cv b{
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:15px!important;
  letter-spacing:.5px!important;
  color:var(--xj)!important;
  overflow:hidden; text-overflow:ellipsis;
}

/* 确定按钮：黑体 15px 字距 6 朱砂实底 */
#doushouArea .ds-pbtn{
  display:flex; align-items:center; justify-content:center;
  min-height:46px; margin:14px var(--pad) 16px;
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:15px!important;
  letter-spacing:6px!important;
  text-indent:6px;
  line-height:1.4!important;
  color:var(--card)!important;
  background:var(--ji)!important;
  border:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
  cursor:pointer;
  transition:background .2s, transform .12s;
}
#doushouArea .ds-pbtn:active{ background:var(--ji-d)!important; transform:scale(.985); }


/* ================================================================
   ================================================================
   B 版「朱印历牌」 · 印章与题签强化
   —— 仅在 html[data-dsui="b"] 下生效；A 版为默认
   —— 设计意图：把斗首的「山 / 用事 / 择日」做成印章语汇，
      与 A 版「墨本读帖」的差异集中在：题字带印、入口控件带方印、
      抽屉标题带题签、区块题带编号。
   ================================================================
   ================================================================ */
html[data-dsui="b"] #doushouArea .card > h2{
  padding:20px 0 4px!important;
  display:block;
  text-align:center;
}
/* 题字前的朱砂方印「斗」 */
html[data-dsui="b"] #doushouArea .card > h2::before{
  content:"斗";
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px; height:34px;
  margin:0 auto 10px;
  font-family:var(--serif)!important;
  font-size:19px!important;
  font-weight:600!important;
  color:var(--card);
  background:var(--ji);
  border-radius:6px;
  letter-spacing:0;
}
/* B 版：主副题分两级，整组居中；方印另起一行居中（避免 inline 错位） */
html[data-dsui="b"] #doushouArea .card > h2 .ds-h2-bd{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  text-align:center;
  vertical-align:middle;
}
html[data-dsui="b"] #doushouArea .card > h2 .ds-h2-t{
  font-size:19px!important;
  letter-spacing:4px;
}
/* 朱印下方改为赭金文武双线 */
html[data-dsui="b"] #doushouArea .card > h2::after{
  width:100%; height:0;
  border-top:1px solid var(--jin-line);
  border-bottom:1px solid var(--jin-line);
  background:none;
  opacity:1;
  margin:14px auto 0;
}

/* B 版：入口控件左侧加方印，与丛林 ctl.ico 同款 */
html[data-dsui="b"] #doushouArea .ds-ctl::before{
  content:"日";
  flex:0 0 auto;
  width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif)!important;
  font-size:17px!important;
  font-weight:600!important;
  color:var(--card);
  background:var(--ji);
  border-radius:6px;
  line-height:1;
}
/* B 版：起始日期框用「始」印，与单日框区分 */
html[data-dsui="b"] #doushouArea #dsStartCtl::before{ content:"始"; }
/* B 版：入口控件改赭金描边（与 A 版石青细线区分） */
html[data-dsui="b"] #doushouArea .ds-ctl{
  border-color:var(--jin-line)!important;
  background:var(--card)!important;
}
html[data-dsui="b"] #doushouArea .ds-ctl .val{ color:var(--ji)!important; }

/* B 版：抽屉标题带题签 */
html[data-dsui="b"] #doushouArea .ds-p-hd .t{
  display:flex;
  align-items:center;
  gap:8px;
}
html[data-dsui="b"] #doushouArea .ds-p-hd .t::before{
  content:"择";
  flex:0 0 auto;
  width:22px; height:22px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif)!important;
  font-size:12.5px!important;
  font-weight:600!important;
  color:var(--card);
  background:var(--ji);
  border-radius:4px;
  letter-spacing:0;
}
/* B 版：区块题带朱砂方点（丛辰 .sect 同款） */
html[data-dsui="b"] #doushouArea h3::before{
  width:6px; height:6px;
  border-radius:1px;
  transform:rotate(45deg);
  background:var(--jin);
  opacity:1;
}
/* B 版：折叠条题签化——左侧赭金小方印（取代箭头） */
html[data-dsui="b"] #doushouArea details > summary::before{
  content:"知";
  width:20px; height:20px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif)!important;
  font-size:11.5px!important;
  color:var(--jin);
  background:var(--jin-bg);
  border-radius:3px;
  transform:none!important;
  border:0!important;
  letter-spacing:0;
  margin-right:2px;
}
/* B 版：主按钮改朱印式（略收窄字距、加方角感） */
html[data-dsui="b"] #doushouArea .btn--primary{
  letter-spacing:4px!important;
  text-indent:4px;
  border-radius:8px!important;
}
html[data-dsui="b"] #doushouArea .ds-pbtn{
  letter-spacing:4px!important;
  text-indent:4px;
  border-radius:8px!important;
}

/* s730 共用资料＋找吉日/评日课：结构新增样式仍只锁斗首作用域 */
#doushouArea [hidden]{display:none!important}
#doushouArea .ds-card-title{
  grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:8px;
  font-family:var(--serif)!important;font-size:15px!important;font-weight:600!important;color:var(--ink)!important;letter-spacing:1px!important
}
#doushouArea .ds-card-title span{font-family:var(--sans)!important;font-size:11px!important;font-weight:400!important;color:var(--mute)!important;letter-spacing:0!important}
#doushouArea .ds-mode-switch{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin-top:2px}
#doushouArea .ds-mode-switch button{
  min-height:44px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--mute);cursor:pointer;
  font-family:var(--sans)!important;font-size:14px!important;font-weight:400!important
}
#doushouArea .ds-mode-switch button.active{color:var(--ji);border-bottom-color:var(--ji);font-weight:600!important;background:var(--ji-bg)}
#doushouArea .ds-mode-switch button:focus-visible{outline:2px solid var(--struct);outline-offset:-3px}
#doushouArea .ds-mode-pane{grid-column:1/-1;display:grid;gap:12px;min-width:0}
#doushouArea .ds-range-grid{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}
#doushouArea .ds-mode-pane .btn--primary{width:100%;min-height:44px;margin:0}
#doushouArea .ds-results{margin-top:14px}
#doushouArea .ds-pick-shell{background:var(--paper-2);border:1px solid var(--jin-line);border-radius:10px;padding:12px}
/* s737 吉日卡片：按《斗首吉日卡片_UI样稿_2026-11-13.html》暖灰底定稿 */
#doushouArea .ds-pick-summary{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:8px 12px;margin:2px}
#doushouArea .ds-pick-summary .ds-sum-main{color:var(--ink-2);font-size:12.5px!important;line-height:1.6}
#doushouArea .ds-pick-summary b{color:var(--ink);font-weight:600!important}
#doushouArea .ds-pick-period{display:block;margin-top:2px;color:var(--mute);font-size:11px!important;font-weight:400!important}
#doushouArea .ds-sum-stats{display:flex;gap:7px;flex:0 0 auto}
#doushouArea .ds-stat{padding:3px 8px;border:1px solid #E5DED1;border-radius:5px;background:rgba(255,254,251,.7);color:var(--mute);font-size:11px!important;line-height:18px;white-space:nowrap}
#doushouArea .ds-stat strong{color:var(--ink-2);font-weight:600!important}
#doushouArea .ds-stat--best{border-color:#DDDCD4;background:#F4F3EF;color:var(--ji-d)}
#doushouArea .ds-stat--best strong{color:var(--ji-d)}
#doushouArea .ds-layer-guide{display:flex;flex-wrap:wrap;gap:4px 16px;margin:10px 2px 0;color:var(--jin);font-size:11px!important;line-height:20px}
#doushouArea .ds-layer-guide span{padding:0;border-radius:0;background:none}
#doushouArea .ds-pick-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#doushouArea .ds-day-card{min-width:0;overflow:hidden;border:1px solid #E2D9C8;border-radius:10px;background:var(--card);padding:13px}
#doushouArea .ds-date-line{margin:0 0 11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px!important;line-height:22px;font-variant-numeric:lining-nums;letter-spacing:-.15px}
#doushouArea .ds-date-line .solar{color:var(--ink);font-weight:600}
#doushouArea .ds-date-line .week{color:var(--ink-2)}
#doushouArea .ds-date-line .lunar{color:var(--struct);font-weight:600}
#doushouArea .ds-ausp-panel{overflow:hidden;border:1px solid #DDDCD4;border-radius:7px;background:#F4F3EF}
#doushouArea .ds-best-row{min-height:42px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:7px 9px;border-bottom:1px solid rgba(110,110,100,.14)}
#doushouArea .ds-day-card--ban .ds-best-row{border-bottom-color:transparent}
#doushouArea .ds-level{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:24px;border:1px solid #DDDCD4;border-radius:5px;background:transparent;font-family:var(--serif)!important;font-size:12px!important;font-weight:600!important;letter-spacing:1px;color:var(--jin)}
#doushouArea .ds-level--best{color:var(--ji-d)}
#doushouArea .ds-level--ban{color:var(--xj)}
#doushouArea .ds-best-time{display:flex;align-items:baseline;gap:7px;white-space:nowrap;min-width:0}
#doushouArea .ds-best-time .label{color:var(--mute);font-size:11px!important}
#doushouArea .ds-best-time strong{color:var(--ji-d);font-family:var(--serif)!important;font-size:17px!important;font-weight:600!important}
#doushouArea .ds-day-card--ban .ds-best-time strong{color:var(--mute)}
#doushouArea .ds-score{color:var(--ji-d);font-size:10.5px!important;white-space:nowrap;font-variant-numeric:lining-nums}
#doushouArea .ds-day-card--ban .ds-score{color:var(--xj)}
#doushouArea .ds-hours-content{padding:8px 9px 9px}
#doushouArea .ds-hours-label{margin-bottom:3px;color:var(--jin);font-size:10.5px!important;font-weight:600!important;line-height:17px}
#doushouArea .ds-hours{color:var(--ji-d);font-size:12px!important;line-height:20px;word-break:break-all;white-space:normal}
#doushouArea .ds-hours i{margin:0 4px;color:#C99A91;font-style:normal}
#doushouArea .ds-day-note{display:flex;align-items:flex-start;gap:7px;margin-top:9px;font-size:11px!important;line-height:19px}
#doushouArea .ds-day-note .note-label{flex:0 0 auto;color:var(--mute);font-weight:600}
#doushouArea .ds-day-note span:last-child{color:var(--xj)}
#doushouArea .ds-empty{padding:14px 8px;color:var(--mute);font-size:13px!important;line-height:1.7;text-align:center}
/* s738 逐日结果：分区标题 + 四路筛选 + 分页 */
#doushouArea .ds-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:16px 2px 9px}
#doushouArea .ds-sec-head h3{margin:0;color:var(--ink-2);font-family:var(--serif)!important;font-size:15px!important;font-weight:600!important;letter-spacing:1px;white-space:nowrap}
#doushouArea .ds-stat--ban{border-color:#CFE0E4;background:#F1F5F5;color:var(--xj)}
#doushouArea .ds-stat--ban strong{color:var(--xj)}
#doushouArea .ds-filter-bar{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:7px 0;margin:0 -2px;background:var(--paper-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#doushouArea .ds-fchip{min-width:0;min-height:42px;padding:0 3px;border:1px solid var(--line-2);border-radius:8px;background:var(--card);color:var(--mute);cursor:pointer;font-size:12.5px!important;white-space:nowrap}
#doushouArea .ds-fchip b{color:var(--ink-2);font-weight:600!important}
#doushouArea .ds-fchip.active{border-color:var(--ink-2);color:var(--ink-2);background:var(--panel,#F4F3EF);font-weight:600!important}
#doushouArea .ds-fchip--best.active{border-color:var(--ji);color:var(--ji)}
#doushouArea .ds-fchip--best.active b{color:var(--ji)}
#doushouArea .ds-fchip--ok.active{border-color:var(--jin);color:var(--jin)}
#doushouArea .ds-fchip--ok.active b{color:var(--jin)}
#doushouArea .ds-fchip--ban.active{border-color:var(--xj);color:var(--xj);background:#F1F5F5}
#doushouArea .ds-fchip--ban.active b{color:var(--xj)}
#doushouArea .ds-reason-list{flex:1;min-width:0;color:var(--xj)}
#doushouArea .ds-reason-item{padding:2px 0}
#doushouArea .ds-reason-item+.ds-reason-item{border-top:1px dashed var(--line-2)}
#doushouArea .ds-pick-note{margin-top:12px;padding-top:4px;border-top:1px dashed var(--jin-line);color:var(--ink-2);font-size:11px!important}
#doushouArea .ds-pick-note-line{padding:4px 0;border-bottom:1px dashed var(--line-2);line-height:1.55}
#doushouArea .ds-pick-note-line:first-child{padding-top:1px}
#doushouArea .ds-pick-note-line:last-child{border-bottom:0;padding-bottom:0}
#doushouArea .ds-pick-note-t{color:var(--jin)}
@media(max-width:370px){
  #doushouArea .ds-day-card{padding:11px}
  #doushouArea .ds-date-line{font-size:12px!important}
  #doushouArea .ds-hours{font-size:11px!important}
  #doushouArea .ds-hours i{margin:0 2px}
  #doushouArea .ds-best-row{gap:7px;padding-left:7px;padding-right:7px}
}
@media(min-width:700px){
  #doushouArea .ds-range-grid{grid-template-columns:1.5fr 1fr}
  #doushouArea .ds-range-grid #dsStartCtl{grid-column:auto}
  #doushouArea .ds-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #doushouArea .ds-all-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* s731 仙命/年命：出生年月日时引导入口 */
#doushouArea .ds-field-label{font-family:var(--sans)!important;font-weight:400!important;font-size:12.5px!important;color:var(--mute)!important;letter-spacing:.5px!important}
#doushouArea .ds-xm-ctl .val{font-size:16px!important;letter-spacing:1px!important}
#doushouArea .ds-xm-note{margin:0 var(--pad);padding:9px 10px;border-radius:8px;background:var(--jin-bg);color:var(--mute);font-size:11px!important;line-height:1.65}
#doushouArea .ds-xm-clear{display:block;margin:10px auto 0;min-width:120px;min-height:38px;border:1px solid var(--line-2);border-radius:8px;background:var(--card);color:var(--mute);cursor:pointer;font-size:12.5px!important}
#doushouArea .ds-xm-clear:active{transform:scale(.985)}

/* ================================================================
   s732 操作控件与知识区统一（用户逐屏意见）
   标签 11.5 赭金 / 已选 14 墨色 / 未填 13 灰；操作值不再使用大号衬线。
   ================================================================ */
#doushouArea .card > h2,
html[data-dsui="b"] #doushouArea .card > h2{
  display:block;text-align:left;padding:12px 14px!important;margin:0 0 12px!important;
  background:var(--paper-2)!important;border:1px solid var(--jin-line)!important;
  border-left:3px solid var(--ji)!important;border-radius:8px!important;
}
#doushouArea .card > h2::before,
#doushouArea .card > h2::after{display:none!important}
#doushouArea .card > h2 .ds-h2-bd,
html[data-dsui="b"] #doushouArea .card > h2 .ds-h2-bd{
  display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:10px;text-align:left;
}
#doushouArea .card > h2 .ds-h2-t,
html[data-dsui="b"] #doushouArea .card > h2 .ds-h2-t{
  font-family:var(--serif)!important;font-size:17px!important;font-weight:600!important;
  letter-spacing:2px!important;line-height:1.4!important;color:var(--ji-d)!important;text-indent:0;
}
#doushouArea .card > h2 .ds-h2-s{
  font-family:var(--sans)!important;font-size:11.5px!important;font-weight:400!important;
  letter-spacing:.5px!important;color:var(--mute)!important;
}
#doushouArea .ds-form.ts-row{padding:12px!important;gap:11px 12px!important}
#doushouArea .ds-card-title{font-size:14px!important;letter-spacing:.5px!important;color:var(--ink-2)!important}
#doushouArea .ds-card-title span{padding:2px 7px;border-radius:10px;background:var(--jin-bg);color:var(--jin)!important;font-size:10.5px!important}
#doushouArea .ts-fl > label,
#doushouArea .ds-field-label,
#doushouArea .ds-ctl .lab{
  font-family:var(--sans)!important;font-size:11.5px!important;font-weight:400!important;
  line-height:1.4!important;letter-spacing:.3px!important;color:var(--jin)!important;
}
#doushouArea .ts-field{
  font-family:var(--sans)!important;font-size:14px!important;font-weight:400!important;
  line-height:1.4!important;letter-spacing:0!important;color:var(--ink-2)!important;
}
#doushouArea select optgroup{font-family:var(--sans)!important;font-size:12px!important;font-weight:600!important;font-style:normal;color:var(--jin);background:var(--paper-2)}
#doushouArea select option{font-family:var(--sans)!important;font-size:14px!important;font-weight:400!important;color:var(--ink-2);background:var(--card)}
#doushouArea .ds-ctl{min-height:54px;padding:8px 12px;background:var(--card)!important;border-color:var(--line-2)!important}
#doushouArea .ds-ctl .ds-ctl-cx{gap:4px}
#doushouArea .ds-ctl .val,
#doushouArea .ds-xm-ctl .val,
html[data-dsui="b"] #doushouArea .ds-ctl .val{
  font-family:var(--sans)!important;font-size:14px!important;font-weight:400!important;
  line-height:1.45!important;letter-spacing:0!important;color:var(--ink-2)!important;
}
#doushouArea .ds-ctl .val.is-placeholder{font-size:13px!important;color:var(--mute)!important}
#doushouArea .ds-ctl .chev{font-size:16px!important;color:var(--ph)!important}
html[data-dsui="b"] #doushouArea .ds-ctl::before{display:none!important}
#doushouArea .ds-tfield #dsTfVal{font-size:16px!important;font-weight:500!important;letter-spacing:0!important;color:var(--ink-2)!important}
#doushouArea .ds-wi{font-size:13.5px!important}
#doushouArea .ds-wi.on{font-size:16px!important;font-weight:500!important}

/* 两个知识入口：金=规则速查，青=名词解释；标题短、用途清楚。 */
#doushouArea details.ds-ref{padding:0!important;margin:12px 0 0!important;overflow:hidden;border-radius:8px!important}
#doushouArea details.ds-ref > summary,
html[data-dsui="b"] #doushouArea details.ds-ref > summary{
  min-height:44px;padding:10px 12px!important;gap:8px;border:0!important;
  font-family:var(--sans)!important;font-size:13px!important;font-weight:400!important;letter-spacing:0!important;
}
#doushouArea .ds-ref--guide{border-color:var(--jin-line)!important;background:var(--card)!important}
#doushouArea .ds-ref--terms{border-color:var(--xj-line)!important;background:var(--card)!important}
#doushouArea .ds-ref--guide > summary{background:var(--jin-bg)!important;color:var(--jin)!important}
#doushouArea .ds-ref--terms > summary{background:var(--xj-bg)!important;color:var(--xj)!important}
#doushouArea details.ds-ref > summary::before,
html[data-dsui="b"] #doushouArea details.ds-ref > summary::before{
  content:"";width:7px;height:7px;border:0!important;border-right:1.5px solid currentColor!important;
  border-bottom:1.5px solid currentColor!important;background:transparent!important;border-radius:0!important;
  transform:rotate(-45deg)!important;margin-right:2px;
}
#doushouArea details.ds-ref[open] > summary::before,
html[data-dsui="b"] #doushouArea details.ds-ref[open] > summary::before{transform:rotate(45deg)!important}
#doushouArea .ds-ref-main{font-size:13.5px!important;font-weight:600!important;color:inherit}
#doushouArea .ds-ref-sub{margin-left:auto;font-size:11px!important;font-weight:400!important;color:inherit;opacity:.78}
#doushouArea .ds-ref-body{padding:12px;font-family:var(--sans)!important;font-size:12.5px!important;line-height:1.7!important;color:var(--ink-2)!important}
#doushouArea .ds-guide-title{display:flex;align-items:baseline;gap:8px;margin:2px 0 8px;font-size:13px!important;font-weight:600!important;color:var(--ink-2)}
#doushouArea .ds-guide-title:not(:first-child){margin-top:14px}
#doushouArea .ds-guide-title small{font-size:10.5px!important;font-weight:400!important;color:var(--mute)}
#doushouArea details .ds-wx-grid{display:grid;grid-template-columns:1fr!important;gap:6px!important;margin:0!important}
#doushouArea details .ds-wx-grid > div{
  min-height:36px;padding:7px 10px!important;border:1px solid var(--line)!important;border-left-width:3px!important;
  border-radius:6px!important;background:var(--paper-2)!important;color:var(--ink-2)!important;
}
#doushouArea details .ds-wx-grid > div > b{width:22px;font-family:var(--sans)!important;font-size:13px!important;font-weight:600!important;color:inherit}
#doushouArea details .ds-wx-grid > div > span{font-family:var(--sans)!important;font-size:12.5px!important;letter-spacing:1px!important;color:var(--ink-2)!important}
#doushouArea details .ds-wx-tu{border-left-color:var(--jin)!important;color:var(--jin)!important}
#doushouArea details .ds-wx-huo{border-left-color:var(--ji)!important;color:var(--ji)!important}
#doushouArea details .ds-wx-mu{border-left-color:#3E6B75!important;color:#3E6B75!important}
#doushouArea details .ds-wx-shui{border-left-color:var(--xj)!important;color:var(--xj)!important}
#doushouArea details .ds-wx-jin{border-left-color:var(--weak)!important;color:var(--weak)!important}
#doushouArea .ds-mini-block{display:grid;grid-template-columns:70px 1fr;gap:8px;margin-top:8px;padding:8px 10px;border-radius:6px;background:var(--paper-2);font-size:12px!important;line-height:1.65}
#doushouArea .ds-mini-block b{font-size:12px!important;font-weight:600!important;color:var(--jin)}
#doushouArea .ds-mini-block span{font-size:12px!important;color:var(--ink-2)}
#doushouArea .ds-five-stars{display:grid;gap:6px;margin-top:8px}
#doushouArea .ds-note{display:grid;grid-template-columns:30px 1fr;gap:8px;padding:8px 10px;border-radius:6px;font-size:12px!important;line-height:1.65}
#doushouArea .ds-note b{font-size:12px!important;font-weight:600!important}
#doushouArea .ds-note span{font-size:12px!important}
#doushouArea .ds-note--good{background:var(--ji-bg);color:var(--ji-d)}
#doushouArea .ds-note--bad{background:var(--xj-bg);color:var(--xj-d)}
#doushouArea details .ds-yiji-grid{display:grid;grid-template-columns:1fr!important;gap:7px!important}
#doushouArea details .ds-yiji-grid > div{padding:9px 10px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:var(--card)!important}
#doushouArea details .ds-yiji-grid b{display:flex;justify-content:space-between;gap:8px;margin-bottom:5px;font-family:var(--sans)!important;font-size:13px!important;font-weight:600!important;color:var(--ink-2)}
#doushouArea details .ds-yiji-grid b small{font-size:10.5px!important;font-weight:400!important;color:var(--mute)}
#doushouArea details .ds-yiji-grid p{margin:2px 0;font-family:var(--sans)!important;font-size:12px!important;line-height:1.6}
#doushouArea .ds-good{font-style:normal;color:var(--ji)!important}
#doushouArea .ds-bad{font-style:normal;color:var(--xj)!important}
#doushouArea .ds-ref-foot{margin-top:9px;padding-top:8px;border-top:1px dashed var(--line);font-size:10.5px!important;line-height:1.65;color:var(--mute)}
#doushouArea .ds-terms-grid{display:grid;grid-template-columns:1fr;gap:7px}
#doushouArea .ds-term{display:grid;grid-template-columns:82px 1fr;gap:8px;padding:9px 10px;border:1px solid var(--xj-line);border-radius:6px;background:#F4F8F8}
#doushouArea .ds-term b{font-family:var(--sans)!important;font-size:12px!important;font-weight:600!important;color:var(--xj)}
#doushouArea .ds-term span{font-family:var(--sans)!important;font-size:12px!important;line-height:1.65;color:var(--ink-2)}
#doushouArea .ds-term em{font-style:normal}
@media(min-width:700px){
  #doushouArea details .ds-yiji-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #doushouArea .ds-terms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* s733 坐山面板样式已于 s777 迁出至全站组件 shan-picker.v1.css
   （.sp-host 作用域 + --sp-* 变量，默认值即本页 s738h 配色），此处不再保留。 */

/* s735 找吉日：起始日期 → 结止日期；中性区间统一黛青，不再使用天数下拉。 */
#doushouArea .ds-range-grid #dsStartCtl,
#doushouArea .ds-range-grid #dsEndCtl{grid-column:auto}
#doushouArea .ds-range-grid .ds-range-date{
  border-color:#B8D0D8!important;background:#F7FBFC!important;
}
#doushouArea .ds-range-grid .ds-range-date .lab{color:#2E7284!important}
#doushouArea .ds-range-grid .ds-range-date .val{color:#254E59!important}
#doushouArea .ds-range-grid .ds-range-date .chev{color:#2E7284!important}
#doushouArea .ds-range-grid .ds-range-date:focus,
#doushouArea .ds-range-grid .ds-range-date:active{border-color:#2E7284!important;outline:none;box-shadow:0 0 0 2px rgba(46,114,132,.12)}
#doushouArea .ds-tfield .u.is-error{color:#B03A2E!important;font-size:12px!important}
#doushouArea .ds-ov--range .ds-pbtn{background:#2E7284!important}
#doushouArea .ds-ov--range .ds-pbtn:active{background:#16525F!important}
#doushouArea .ds-ov--range .ds-wband{border-color:#2E7284!important}
#doushouArea .ds-ov--range .ds-wi.on{color:#16525F!important}
#doushouArea .ds-ov--range .ds-cvrow .cv{color:#2E7284!important}
@media(min-width:700px){
  #doushouArea .ds-range-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ================================================================
   s736 已确认「生辰红 / 起始蓝」三行紧凑滚轮正式版
   外部：所有日期入口默认白底；生辰确定后才显示淡红已填状态。
   内部：生辰红、区间蓝；三行 36px，可滑动，也可直接点选。
   ================================================================ */
#doushouArea .ds-range-grid .ds-range-date{
  border-color:var(--line-2)!important;background:var(--card)!important;
}
#doushouArea .ds-range-grid .ds-range-date .lab{color:var(--jin)!important}
#doushouArea .ds-range-grid .ds-range-date .val{color:var(--ink-2)!important}
#doushouArea .ds-range-grid .ds-range-date .chev{color:var(--ph)!important}
#doushouArea .ds-range-grid .ds-range-date:focus,
#doushouArea .ds-range-grid .ds-range-date:active{
  border-color:var(--jin-line)!important;outline:none;box-shadow:0 0 0 2px rgba(138,106,31,.10);
}
#doushouArea .ds-xm-ctl{
  border-color:var(--line-2)!important;background:var(--card)!important;
}
#doushouArea .ds-xm-ctl.is-filled{
  border-color:#D9A39C!important;background:#FDF4F2!important;
}
#doushouArea .ds-xm-ctl.is-filled .lab{color:var(--ji)!important}
#doushouArea .ds-xm-ctl.is-filled .val{color:var(--ji-d)!important}
#doushouArea .ds-xm-ctl.is-filled .chev{color:var(--ji)!important}

#doushouArea .ds-ov{
  box-sizing:border-box;align-items:flex-start;justify-content:center;
  padding:clamp(32px,11vh,96px) 12px 12px;overflow-y:auto;
  background:rgba(42,44,40,.24);overscroll-behavior:contain;
}
#doushouArea .ds-panel{
  box-sizing:border-box;flex:0 0 auto;width:100%;max-width:420px;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);
  padding:12px;overflow-y:auto;overscroll-behavior:contain;
  border:1px solid var(--line-2)!important;border-radius:12px!important;
  background:var(--card)!important;box-shadow:0 12px 30px rgba(42,44,40,.18);
  animation:ds-panel-compact-in .18s ease-out;-webkit-overflow-scrolling:touch;
}
#doushouArea .ds-panel::before{display:none}
@keyframes ds-panel-compact-in{from{transform:translateY(12px);opacity:.5}to{transform:none;opacity:1}}
#doushouArea .ds-p-hd{
  min-height:36px;margin:0 0 7px;padding:0;align-items:center;
}
#doushouArea .ds-p-heading{display:flex;align-items:baseline;gap:7px;min-width:0}
#doushouArea .ds-p-hd .t{
  font-size:14px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.4!important;color:var(--ink-2)!important;
  white-space:nowrap;
}
#doushouArea .ds-p-hd .x{
  box-sizing:border-box;flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;
  border:1px solid var(--line-2)!important;border-radius:7px!important;background:var(--card)!important;color:var(--mute)!important;
  cursor:pointer;
}
#doushouArea .ds-p-hd .x::before,
#doushouArea .ds-p-hd .x::after{background:currentColor}
#doushouArea .ds-tfield{
  box-sizing:border-box;min-height:30px;margin:0 0 7px;padding:5px 9px;align-items:center;
  border-radius:6px;background:var(--paper);
}
#doushouArea .ds-tfield #dsTfVal{
  font-size:13px!important;font-weight:500!important;letter-spacing:0!important;line-height:1.5!important;color:var(--ink-2)!important;
}
#doushouArea .ds-tfield .u{font-size:11px!important;letter-spacing:0!important;color:var(--mute)!important;white-space:nowrap}
#doushouArea .ds-ov--range .ds-panel{border-color:var(--xj-line)!important;border-top:3px solid var(--xj)!important;background:#FDFEFE!important}
#doushouArea .ds-ov--range .ds-tfield{background:#F1F6F7}
#doushouArea .ds-ov--range .ds-tfield .u{color:var(--xj)!important}
#doushouArea .ds-ov--range .ds-p-hd .x{border-color:var(--xj-line)!important;color:var(--xj)!important}

#doushouArea .ds-wheels{margin:0;padding:0}
#doushouArea .ds-wcap{display:grid;gap:6px;margin:0 0 4px}
#doushouArea .ds-wcap span{
  min-width:0;padding:4px 0;text-align:center;font-size:10.5px!important;font-weight:400!important;letter-spacing:0!important;line-height:1.3!important;
  color:var(--jin)!important;
}
#doushouArea .ds-ov--range .ds-wcap span{border-radius:4px;background:#F1F6F7;color:var(--xj)!important}
#doushouArea .ds-wband{display:none}
#doushouArea .ds-wrow{
  display:grid;gap:6px;position:relative;z-index:auto;
  -webkit-mask-image:none;mask-image:none;
}
#doushouArea .wheel{
  min-width:0;height:calc(var(--wh)*3);overflow-y:auto;overscroll-behavior:contain;
  border-radius:7px;scroll-snap-type:y mandatory;scrollbar-width:none;
  background:linear-gradient(to bottom,var(--card) 0,var(--card) 36px,var(--jin-bg) 36px,var(--jin-bg) 72px,var(--card) 72px);
  -webkit-overflow-scrolling:touch;
}
#doushouArea .ds-ov--range .wheel{
  background:linear-gradient(to bottom,#FFF 0,#FFF 36px,var(--xj-bg) 36px,var(--xj-bg) 72px,#FFF 72px);
}
#doushouArea .wheel::before,
#doushouArea .wheel::after{height:var(--wh)}
#doushouArea .wi{
  box-sizing:border-box;height:var(--wh);line-height:var(--wh);cursor:pointer;user-select:none;
  font-size:11.5px!important;font-weight:400!important;letter-spacing:0!important;color:#AAA496!important;
  scroll-snap-align:center;touch-action:pan-y;transition:color .15s;
}
#doushouArea .wi.on{
  border-top:1px solid var(--jin-line);border-bottom:1px solid var(--jin-line);
  font-size:15px!important;font-weight:500!important;line-height:calc(var(--wh) - 2px)!important;color:var(--ink-2)!important;
}
#doushouArea .ds-ov--range .wi.on{
  border-color:#9BBBC3;color:var(--xj)!important;font-weight:600!important;
}
#doushouArea .ds-compact-note{
  box-sizing:border-box;min-height:32px;margin:9px 0 10px;padding:7px 9px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  border-left:2px solid var(--jin);border-radius:5px;background:var(--jin-bg);color:#58707E;
  font-family:var(--sans)!important;font-size:11px!important;font-weight:400!important;line-height:1.5!important;white-space:nowrap;
}
#doushouArea .ds-compact-note i{display:block;width:1px;height:13px;background:#A3B4BE}
#doushouArea .ds-ov--range .ds-compact-note{border-left-color:var(--xj);background:var(--xj-bg);color:#9A6A72}
#doushouArea .ds-ov--range .ds-compact-note i{background:#C9A3A9}
#doushouArea .ds-legacy-conv,
#doushouArea .ds-xm-note{display:none!important}

#doushouArea .ds-picker-actions{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-top:8px}
#doushouArea .ds-pbtn{
  grid-column:2;box-sizing:border-box;width:116px;min-height:38px;margin:0;padding:7px 12px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--ji)!important;border-radius:7px!important;background:var(--ji)!important;color:#FFF!important;
  font-size:12.5px!important;font-weight:500!important;letter-spacing:3px!important;text-indent:3px;line-height:1.4!important;
}
#doushouArea .ds-ov--range .ds-pbtn{border-color:var(--struct)!important;background:var(--struct)!important}
#doushouArea .ds-ov--range .ds-pbtn:active{background:var(--xj)!important}
#doushouArea .ds-xm-clear{
  grid-column:3;justify-self:start;box-sizing:border-box;min-width:64px;min-height:36px;margin:0;padding:6px 8px;
  border:1px solid var(--line-2)!important;border-radius:6px!important;background:var(--card)!important;color:var(--mute)!important;
  font-family:var(--sans)!important;font-size:11px!important;font-weight:400!important;line-height:1.4!important;white-space:nowrap;cursor:pointer;
}
#doushouArea .ds-seg-slider{display:none}
/* s739 生辰确定/清空：B版等宽连体滑动导航；单确定按钮仍用上方原样式。 */
#doushouArea .ds-picker-actions.is-segmented{
  position:relative;isolation:isolate;grid-template-columns:1fr 1fr;gap:0;width:252px;max-width:100%;height:46px;margin:10px auto 0;padding:3px;
  border:1px solid #E7C9C2;border-radius:10px;background:#F6F1EC;
}
#doushouArea .ds-picker-actions.is-segmented .ds-pbtn,
#doushouArea .ds-picker-actions.is-segmented .ds-xm-clear{
  position:relative;z-index:2;grid-column:auto;justify-self:stretch;box-sizing:border-box;width:auto;min-width:0;min-height:38px;margin:0;padding:0 8px;
  display:flex;align-items:center;justify-content:center;border:0!important;border-radius:7px!important;background:transparent!important;color:#8B6E67!important;
  font-family:var(--sans)!important;font-size:12.5px!important;font-weight:400!important;line-height:1.4!important;white-space:nowrap;cursor:pointer;transform:none;
}
#doushouArea .ds-picker-actions.is-segmented .ds-pbtn{letter-spacing:3px!important;text-indent:3px}
#doushouArea .ds-picker-actions.is-segmented .ds-xm-clear{letter-spacing:0!important;text-indent:0}
#doushouArea .ds-picker-actions.is-segmented .is-active{color:#FFF!important;font-weight:500!important;background:transparent!important}
#doushouArea .ds-picker-actions.is-segmented button:focus-visible{outline:2px solid var(--ji-d);outline-offset:-3px}
#doushouArea .ds-picker-actions.is-segmented .ds-seg-slider{
  display:block;position:absolute;z-index:1;top:3px;bottom:3px;left:3px;width:calc(50% - 3px);border-radius:7px;background:var(--ji);
  transition:transform .2s ease;pointer-events:none;
}
#doushouArea .ds-picker-actions.is-segmented[data-active="clear"] .ds-seg-slider{transform:translateX(100%)}
@media(max-width:340px){
  #doushouArea .ds-ov{padding-left:8px;padding-right:8px}
  #doushouArea .ds-panel{padding:10px}
}

/* ============ s738m 评日课 B版（首页同风格） ============ */
#doushouArea .ds2-root .good{color:var(--ji);font-weight:600}
#doushouArea .ds2-root .bad{color:var(--xj);font-weight:600}
#doushouArea .ds2-root .neutral{color:var(--ink-2);font-weight:500}
#doushouArea .ds2-card{border:1px solid var(--jin-line);border-radius:8px;background:var(--card);padding:12px 14px;margin-bottom:12px}
#doushouArea .ds2-date{white-space:nowrap;font-size:12.5px!important;line-height:21px;letter-spacing:-.15px;overflow-x:auto}
#doushouArea .ds2-date .solar{font-weight:600;color:var(--ink)}
#doushouArea .ds2-date .week{color:var(--ink-2)}
#doushouArea .ds2-date .lunar{color:#2E7284;font-weight:600}
#doushouArea .ds2-meta{margin-top:4px;color:var(--mute);font-size:12px!important;line-height:20px}
#doushouArea .ds2-gz{margin-top:8px;padding-top:8px;border-top:1px solid var(--line-2);color:var(--jin);font-family:var(--serif)!important;font-size:14px!important;font-weight:500;letter-spacing:.5px;text-align:center}
#doushouArea .ds2-verdict{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:14px;margin-bottom:12px;border:1px solid #DDDCD4;border-radius:8px;background:#F4F3EF}
#doushouArea .ds2-seal{display:grid;place-items:center;width:54px;height:54px;border:1px solid currentColor;border-radius:5px;font-family:var(--serif)!important;font-size:29px!important;font-weight:600}
#doushouArea .ds2-vname{font-family:var(--serif)!important;font-size:20px!important;font-weight:600;letter-spacing:1px}
#doushouArea .ds2-vsub{margin-top:2px;color:var(--mute);font-size:12px!important;font-weight:500}
#doushouArea .ds2-vtotal{margin-top:3px;color:var(--mute);font-size:12px!important;line-height:1.6}
#doushouArea .ds2-vcaution{grid-column:1/-1;padding-top:9px;border-top:1px solid #DDDCD4;color:var(--xj);font-size:12.5px!important;font-weight:500;line-height:1.65}
#doushouArea .ds2-concl{margin:0 0 12px;padding:11px 12px;border-left:3px solid var(--ji);border-radius:0 8px 8px 0;background:var(--card);color:var(--ink-2);font-size:12.5px!important;line-height:1.75}
#doushouArea .ds2-sec-hd{position:relative;display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid var(--jin-line)}
#doushouArea .ds2-sec-hd h2{position:relative;margin:0;padding:0!important;color:var(--ink);background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-family:var(--serif)!important;font-size:17px!important;font-weight:600;line-height:24px;letter-spacing:2px}
#doushouArea .ds2-sec-hd h2::after{content:"";position:absolute;left:0;right:2px;bottom:-10px;height:2px;background:var(--jin)}
#doushouArea .ds2-sec-hd span{color:var(--weak);font-size:11.5px!important;font-weight:400}
#doushouArea .ds2-three{display:grid;gap:8px}
#doushouArea .ds2-trow{display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:start;padding:9px 10px;border:1px solid #DDDCD4;border-radius:6px;background:#F4F3EF;font-size:13.5px!important;line-height:1.6}
#doushouArea .ds2-trow>b{color:var(--jin);font-size:11.5px!important;font-weight:400;letter-spacing:.5px;line-height:21px}
#doushouArea .ds2-check{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
#doushouArea .ds2-citem{padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--card);font-size:11.5px!important;line-height:1.6;text-align:center}
#doushouArea .ds2-citem span{display:block;color:#3E6B75;font-weight:400}
#doushouArea .ds2-citem b{display:block;font-size:12.5px!important;font-weight:400;margin-top:1px}
#doushouArea .ds2-citem b.neutral{color:var(--weak);font-weight:400}
#doushouArea .ds2-pillars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#doushouArea .ds2-pillar{min-width:0;padding:9px 2px;border:1px solid #DDDCD4;border-radius:6px;background:#F4F3EF;text-align:center}
#doushouArea .ds2-pillar .pos{color:var(--weak);font-size:11px!important;font-weight:400}
#doushouArea .ds2-pillar .gz{margin:3px 0;color:var(--ink);font-family:var(--serif)!important;font-size:17px!important;font-weight:600;line-height:1.35}
#doushouArea .ds2-pillar .star{font-size:12.5px!important;font-weight:600;line-height:1.5}
#doushouArea .ds2-pillar .qi{margin-top:3px;color:var(--mute);font-size:11px!important;font-weight:400}
#doushouArea .ds2-fold{border:1px solid var(--jin-line);border-radius:8px;background:var(--card);margin-bottom:12px;overflow:hidden}
#doushouArea .ds2-fold>summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px;cursor:pointer;list-style:none;color:var(--ink-2);font-size:12.5px!important;font-weight:500}
#doushouArea .ds2-fold>summary::-webkit-details-marker{display:none}
#doushouArea .ds2-fold>summary span{color:var(--weak);font-size:11.5px!important;font-weight:400}
#doushouArea .ds2-fold>summary::after{content:"\FF0B";color:var(--jin);font-size:16px;font-weight:400}
#doushouArea .ds2-fold[open]>summary::after{content:"\2212"}
#doushouArea .ds2-fbody{padding:0 12px 12px;border-top:1px solid var(--line-2);font-size:13px!important;line-height:1.85;color:var(--ink)}
#doushouArea .ds2-matrix{width:100%;margin-top:8px;border-collapse:collapse;table-layout:fixed;font-size:12.5px!important;line-height:1.45}
#doushouArea .ds2-matrix th,#doushouArea .ds2-matrix td{padding:8px 2px;border-bottom:1px solid var(--line-2);text-align:center;vertical-align:middle}
#doushouArea .ds2-matrix th{color:var(--weak);font-size:11.5px!important;font-weight:400}
#doushouArea .ds2-matrix td{color:var(--ink-2);font-weight:500}
#doushouArea .ds2-matrix tr:last-child th,#doushouArea .ds2-matrix tr:last-child td{border-bottom:0}
#doushouArea .ds2-foot{margin:14px 2px 0;color:var(--weak);font-size:11.5px!important;line-height:1.65;text-align:center}
#doushouArea .ds2-detail{margin-bottom:12px}
@media(max-width:374px){
  #doushouArea .ds2-card{padding-left:12px;padding-right:12px}
  #doushouArea .ds2-date{font-size:11.5px!important}
  #doushouArea .ds2-trow{font-size:12.5px!important}
  #doushouArea .ds2-matrix{font-size:12px!important}
}

/* ---- s739d：吉日列表入口 + 简洁列表弹层 ---- */
#doushouArea .ds-kdlist-btn,#heluoArea .ds-kdlist-btn{flex:none;min-height:36px;padding:0 12px;border:1px solid var(--jin-line);border-radius:6px;background:var(--card);color:var(--jin);font-family:var(--sans)!important;font-size:12px!important;font-weight:400;letter-spacing:0;cursor:pointer;white-space:nowrap}
#doushouArea .ds-kdlist-btn:active,#heluoArea .ds-kdlist-btn:active{background:var(--jin-bg)}
#dsKdOv{--paper:#FAF7F0;--paper-2:#FBF7EE;--card:#FFFEFB;--ink:#2A2C28;--ink-2:#40403A;--mute:#6E6E64;--ji:#B03A2E;--ji-d:#9A3226;--ji-bg:#FBEAE8;--ji-line:#ECCFCC;--jin:#8A6A1F;--jin-bg:#FBF3DC;--jin-line:#E3D3AE;--serif:"CC Serif","Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;--sans:"PingFang SC","HarmonyOS Sans SC","Noto Sans CJK SC","Source Han Sans SC","Microsoft YaHei",sans-serif;position:fixed;inset:0;z-index:9700;background:rgba(42,44,40,.45);display:flex;align-items:flex-end;justify-content:center}
#dsKdOv[hidden]{display:none}
#dsKdOv .ds-kd-panel{display:flex;flex-direction:column;width:100%;max-width:520px;max-height:80dvh;background:var(--paper-2,#FAF7F0);border:1px solid var(--jin-line);border-radius:14px 14px 0 0;overflow:hidden}
#dsKdOv .ds-kd-hd{display:flex;align-items:baseline;gap:10px;padding:13px 16px 11px;border-bottom:1px solid var(--jin-line);background:var(--card)}
#dsKdOv .ds-kd-hd b{font-family:var(--serif)!important;font-size:16px!important;font-weight:600;letter-spacing:2px;color:var(--ink)}
#dsKdOv .ds-kd-hd span{flex:1;font-size:11.5px!important;color:var(--mute)}
#dsKdOv .ds-kd-x{flex:none;width:36px;height:36px;margin:-6px -8px -6px 0;border:0;background:none;color:var(--mute);font-size:20px!important;line-height:1;cursor:pointer}
#dsKdOv .ds-kd-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:6px 12px 14px}
#dsKdOv .ds-kd-row{padding:9px 2px;border-bottom:1px solid var(--line-2)}
#dsKdOv .ds-kd-row:last-child{border-bottom:0}
#dsKdOv .ds-kd-l1{display:flex;align-items:baseline;gap:8px;font-size:13px!important;color:var(--ink);line-height:1.7}
#dsKdOv .ds-kd-l1 .d{font-family:var(--serif)!important;font-weight:600;letter-spacing:.5px;color:var(--ji)}
#dsKdOv .ds-kd-l1 .w{font-size:11.5px!important;color:var(--mute)}
#dsKdOv .ds-kd-l1 .lu{font-size:11.5px!important;color:var(--jin)}
#dsKdOv .ds-kd-l1 .ck{font-size:12px!important;font-weight:600;color:var(--jin)}
#dsKdOv .ds-kd-l2{display:flex;align-items:center;gap:10px;margin-top:3px;font-size:12px!important;color:var(--ink-2);line-height:1.7}
#dsKdOv .ds-kd-l1 .lv{flex:none;min-width:34px;text-align:center;padding:1px 6px;border:1px solid var(--ji-line);border-radius:4px;background:var(--ji-bg);color:var(--ji);font-size:11px!important;font-weight:600}
#dsKdOv .ds-kd-l1 .lv.ok{border-color:var(--jin-line);background:var(--jin-bg);color:var(--jin)}
#dsKdOv .ds-kd-l2 .pz{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--serif)!important;color:#1E88A6;letter-spacing:.5px}
#dsKdOv .ds-kd-l2 .kd-btn{margin-left:auto}
#dsKdOv .ds-kd-empty{padding:40px 20px;text-align:center;font-size:12.5px!important;color:var(--mute)}
#dsKdOv .ds-kd-hd span i{font-style:normal;font-weight:600!important}
#dsKdOv .ds-kd-hd span .c-ji{color:var(--ji)}
#dsKdOv .ds-kd-hd span .c-jin{color:var(--jin)}

/* ================================================================
   s782 河洛择日：复用斗首单卡双模式、丛辰白框与素笺语义色。
   仅作用 #heluoArea；坐山/日期/下拉/课单仍由全站组件承载。
   ================================================================ */
#heluoArea{
  --paper:#FAF7F0; --paper-2:#FBF7EE; --card:#FFFEFB;
  --ink:#2A2C28; --ink-2:#40403A; --mute:#6E6E64; --weak:#8E8878; --ph:#A89A7C;
  --ji:#B03A2E; --ji-d:#9A3226; --ji-bg:#FBEAE8; --ji-line:#ECCFCC;
  --xj:#16525F; --xj-d:#123F49; --xj-bg:#E7F1F3; --xj-line:#CFE0E4;
  --jin:#8A6A1F; --jin-bg:#FBF3DC; --jin-line:#E3D3AE;
  --struct:#2E7284; --line:#E5DFD2; --line-2:#D8D2C4;
  --serif:"CC Serif","Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;
  --sans:"PingFang SC","HarmonyOS Sans SC","Noto Sans CJK SC","Source Han Sans SC","Microsoft YaHei",sans-serif;
}
#heluoArea [hidden]{display:none!important}
#heluoArea .hl-page{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#heluoArea .hl-page::before{display:none!important}
#heluoArea .hl-page>h2{margin:0 0 12px;padding:0;text-align:left;border:0;background:none;box-shadow:none}
#heluoArea .hl-page>h2 .ds-h2-bd{display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:10px;text-align:left}
#heluoArea .hl-page>h2 .ds-h2-t{font-family:var(--serif)!important;font-size:17px!important;font-weight:600!important;letter-spacing:2px!important;line-height:1.4!important;color:var(--ji-d)!important}
#heluoArea .hl-page>h2 .ds-h2-s{font-family:var(--sans)!important;font-size:11.5px!important;font-weight:400!important;letter-spacing:.5px!important;color:var(--mute)!important}
#heluoArea .hl-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px!important;margin:0;padding:12px!important;background:var(--card)!important;border:1px solid var(--line-2)!important;border-radius:10px!important;box-shadow:none!important;align-items:end}
#heluoArea .ds-card-title{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:8px;font-family:var(--serif)!important;font-size:14px!important;font-weight:600!important;letter-spacing:.5px!important;color:var(--ink-2)!important}
#heluoArea .ds-card-title span{padding:2px 7px;border-radius:10px;background:var(--jin-bg);color:var(--jin)!important;font-family:var(--sans)!important;font-size:10.5px!important;font-weight:400!important;letter-spacing:0!important;white-space:nowrap}
#heluoArea .hl-form .ts-fl{min-width:0;gap:4px}
#heluoArea .hl-form .ts-fl>label{font-family:var(--sans)!important;font-size:11.5px!important;font-weight:400!important;line-height:1.4!important;letter-spacing:.3px!important;color:var(--jin)!important}
#heluoArea .hl-form .ui-select-trigger{width:100%;min-width:0;min-height:56px;padding:9px 11px;box-sizing:border-box;border:1px solid #D8D2C4!important;border-radius:8px!important;background:var(--card)!important;box-shadow:none!important;color:var(--ink-2)!important}
/* s826 对齐；s838 收编：坐山触发器已归 shan-picker.v1.css 库存 56px，此处只保留用事 ui-select 同步 */
#heluoArea .hl-form .ui-select-current{font-family:var(--sans)!important;font-size:14px!important;font-weight:400!important;line-height:1.45!important;letter-spacing:0!important;color:var(--ink-2)!important}
#heluoArea .ds-mode-switch{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin-top:2px}
#heluoArea .ds-mode-switch button{min-height:44px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--mute);cursor:pointer;font-family:var(--sans)!important;font-size:14px!important;font-weight:400!important}
#heluoArea .ds-mode-switch button.active{color:var(--ji);border-bottom-color:var(--ji);font-weight:600!important;background:var(--ji-bg)}
#heluoArea .ds-mode-switch button:focus-visible{outline:2px solid var(--struct);outline-offset:-3px}
#heluoArea .ds-mode-pane{grid-column:1/-1;display:grid;gap:11px;min-width:0}
#heluoArea .ds-range-grid{display:grid;grid-template-columns:1fr;gap:11px;min-width:0}
#heluoArea .ds-ctl{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;margin:0;padding:8px 12px;box-sizing:border-box;text-align:left;background:var(--card)!important;border:1px solid var(--line-2)!important;border-radius:10px!important;box-shadow:none!important;color:var(--ink-2);cursor:pointer}
#heluoArea .ds-ctl-cx{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
#heluoArea .ds-ctl .lab{font-family:var(--sans)!important;font-size:11.5px!important;font-weight:400!important;line-height:1.4!important;letter-spacing:.3px!important;color:var(--jin)!important}
#heluoArea .ds-ctl .val{font-family:var(--sans)!important;font-size:14px!important;font-weight:400!important;line-height:1.45!important;letter-spacing:0!important;color:var(--ink-2)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#heluoArea .ds-ctl .chev{flex:none;font-size:16px!important;color:var(--ph)!important;line-height:1}
#heluoArea .ds-ctl:focus,#heluoArea .ds-ctl:active{outline:none;border-color:var(--jin-line)!important;box-shadow:0 0 0 2px rgba(138,106,31,.10)}
#heluoArea .hl-hour-field{grid-column:1/-1}
#heluoArea .ds-mode-pane>.btn--primary{width:100%;min-height:46px;margin:0;border:1px solid var(--ji)!important;border-radius:10px!important;background:var(--ji)!important;color:var(--card)!important;font-family:var(--sans)!important;font-size:15px!important;font-weight:400!important;letter-spacing:5px!important;text-indent:5px;box-shadow:none!important}
#heluoArea .ds-mode-pane>.btn--primary:active{background:var(--ji-d)!important}
#heluoArea .hl-form-err{grid-column:1/-1;padding:8px 10px;border-left:3px solid var(--ji);border-radius:0 7px 7px 0;background:var(--ji-bg);color:var(--ji-d);font-size:12px!important;line-height:1.65}
#heluoArea .hl-results{margin-top:14px;min-width:0}
#heluoArea .hl-empty{padding:14px;border:1px dashed var(--jin-line);border-radius:8px;background:var(--card);color:var(--mute);font-size:12px!important;line-height:1.75;text-align:center}
#heluoArea .hl-pick-summary{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:8px 12px;padding:12px;margin-bottom:12px;border:1px solid var(--jin-line);border-radius:10px;background:var(--paper-2)}
#heluoArea .hl-sum-main{min-width:0;color:var(--ink-2);font-size:12.5px!important;line-height:1.65}
#heluoArea .hl-sum-main b{color:var(--ink);font-weight:600!important}
#heluoArea .hl-sum-note{display:block;margin-top:3px;color:var(--mute);font-size:11px!important}
#heluoArea .hl-sum-side{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-left:auto}
#heluoArea .hl-stat{padding:3px 8px;border:1px solid #E5DED1;border-radius:5px;background:var(--card);color:var(--mute);font-size:11px!important;line-height:18px;white-space:nowrap}
#heluoArea .hl-stat b{font-weight:600!important}
#heluoArea .hl-day-list{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
#heluoArea .hl-day-card{min-width:0;padding:12px 13px;border:1px solid #E2D9C8;border-radius:10px;background:#F4F3EF}
#heluoArea .hl-day-r1{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
#heluoArea .hl-day-date{min-width:0;color:var(--ink-2);font-size:12.5px!important;line-height:1.55}
#heluoArea .hl-day-date b{font-family:var(--serif)!important;font-size:14px!important;font-weight:600!important;color:var(--ink)}
#heluoArea .hl-day-date span{display:block;margin-top:1px;color:var(--struct);font-size:11px!important}
#heluoArea .hl-level{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:40px;height:25px;padding:0 8px;border:1px solid var(--ji-line);border-radius:5px;background:var(--card);color:var(--ji-d);font-family:var(--serif)!important;font-size:12px!important;font-weight:600!important}
#heluoArea .hl-level.is-ban{border-color:var(--xj-line);color:var(--xj)}
#heluoArea .hl-level.is-flat{border-color:#DDDCD4;color:var(--mute)}
#heluoArea .hl-day-course{margin-top:6px;color:var(--ink-2);font-size:12.5px!important;line-height:1.6}
#heluoArea .hl-day-course b{color:var(--ji);font-weight:600!important}
#heluoArea .hl-day-nums{margin-top:3px;color:var(--mute);font-size:11.5px!important;line-height:1.6;overflow-wrap:anywhere}
#heluoArea .hl-day-sha{margin-top:5px;padding-top:5px;border-top:1px dashed var(--line);color:var(--jin);font-size:11px!important;line-height:1.6}
#heluoArea .hl-day-sha.bad{color:var(--xj)}
#heluoArea .hl-more{width:100%;min-height:40px;margin-top:9px;border:1px solid var(--jin-line);border-radius:8px;background:var(--card);color:var(--jin);font-size:12px!important;cursor:pointer}
#heluoArea .hl-note{margin:12px 0 0;padding:10px 12px;border-left:3px solid var(--jin);border-radius:0 8px 8px 0;background:var(--card);color:var(--ink-2);font-size:12.5px!important;line-height:1.75}
#heluoArea .hl-card{padding:12px 14px;margin-bottom:12px;border:1px solid var(--jin-line);border-radius:8px;background:var(--card)}
#heluoArea .hl-date{font-size:12.5px!important;line-height:21px;letter-spacing:-.15px;white-space:nowrap;overflow-x:auto}
#heluoArea .hl-date .solar{font-weight:600!important;color:var(--ink)}
#heluoArea .hl-date .lunar{color:var(--struct);font-weight:600!important}
#heluoArea .hl-meta{margin-top:4px;color:var(--mute);font-size:12px!important;line-height:20px}
#heluoArea .hl-gz{margin-top:8px;padding-top:8px;border-top:1px solid var(--line-2);color:var(--jin);font-family:var(--serif)!important;font-size:14px!important;font-weight:500!important;letter-spacing:.5px;text-align:center;line-height:22px}
#heluoArea .hl-verdict{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;align-items:center;padding:14px;margin-bottom:12px;border:1px solid #DDDCD4;border-radius:8px;background:#F4F3EF;color:var(--ji)}
#heluoArea .hl-verdict.is-ban{color:var(--xj)}
#heluoArea .hl-verdict.is-pending{color:var(--mute)}
#heluoArea .hl-seal{display:grid;place-items:center;width:54px;height:54px;border:1px solid currentColor;border-radius:5px;color:inherit;font-family:var(--serif)!important;font-size:29px!important;font-weight:600!important}
#heluoArea .hl-vname{font-family:var(--serif)!important;font-size:20px!important;font-weight:600!important;letter-spacing:1px;line-height:32px;color:inherit}
#heluoArea .hl-vsub{margin-top:2px;color:var(--mute);font-size:12px!important;font-weight:500!important;line-height:1.6}
#heluoArea .hl-vcaution{grid-column:1/-1;padding-top:9px;border-top:1px solid #DDDCD4;color:var(--xj);font-size:12.5px!important;font-weight:500!important;line-height:1.65}
#heluoArea .hl-sec-hd{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid var(--jin-line)}
#heluoArea .hl-sec-hd h3{margin:0;color:var(--ink);font-family:var(--serif)!important;font-size:17px!important;font-weight:600!important;letter-spacing:2px;line-height:24px}
#heluoArea .hl-sec-hd span{color:var(--weak);font-size:11px!important;text-align:right}
#heluoArea .hl-trows{display:grid;gap:8px}
#heluoArea .hl-trow{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px;align-items:start;padding:9px 10px;border:1px solid #DDDCD4;border-radius:6px;background:#F4F3EF;color:var(--ink);font-size:12.5px!important;line-height:1.65}
#heluoArea .hl-trow>b{color:var(--jin);font-size:11.5px!important;font-weight:400!important;letter-spacing:.5px}
#heluoArea .hl-pillars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#heluoArea .hl-pillar{min-width:0;padding:9px 2px;border:1px solid #DDDCD4;border-radius:6px;background:#F4F3EF;text-align:center}
#heluoArea .hl-pillar.is-ti{border-color:var(--jin-line);background:var(--jin-bg)}
#heluoArea .hl-pillar .pos{color:var(--weak);font-size:10.5px!important;line-height:1.6;white-space:nowrap}
#heluoArea .hl-pillar .num{margin:3px 0;color:var(--ink);font-family:var(--serif)!important;font-size:17px!important;font-weight:600!important;line-height:1.35}
#heluoArea .hl-pillar .rel{font-size:12px!important;font-weight:600!important;line-height:1.5}
#heluoArea .hl-pillar .qi{margin-top:3px;color:var(--mute);font-size:10.5px!important;line-height:1.6}
#heluoArea .hl-good{color:var(--ji)!important;font-weight:600!important}
#heluoArea .hl-bad{color:var(--xj)!important;font-weight:600!important}
#heluoArea .hl-gold{color:var(--jin)!important;font-weight:600!important}
#heluoArea details.ds-ref{padding:0!important;margin:12px 0 0!important;overflow:hidden;border:1px solid var(--jin-line)!important;border-radius:8px!important;background:var(--card)!important;box-shadow:none!important}
#heluoArea details.ds-ref>summary{display:flex!important;align-items:center;gap:8px;min-height:44px;padding:10px 12px!important;box-sizing:border-box;cursor:pointer;list-style:none;font-family:var(--sans)!important;font-size:13px!important;font-weight:400!important;color:var(--jin)!important;background:var(--jin-bg)!important}
#heluoArea details.ds-ref--terms{border-color:var(--xj-line)!important}
#heluoArea details.ds-ref--terms>summary{color:var(--xj)!important;background:var(--xj-bg)!important}
#heluoArea details.ds-ref>summary::-webkit-details-marker{display:none}
#heluoArea details.ds-ref>summary::before{content:"";width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-right:2px}
#heluoArea details.ds-ref[open]>summary::before{transform:rotate(45deg)}
#heluoArea .ds-ref-main{font-size:13px!important;font-weight:600!important;color:inherit}
#heluoArea .ds-ref-sub{margin-left:auto;font-size:10.5px!important;font-weight:400!important;color:inherit;opacity:.82;text-align:right}
#heluoArea .ds-ref-body{padding:12px;border-top:1px dashed var(--line);font-family:var(--sans)!important;font-size:12px!important;line-height:1.75;color:var(--ink-2)}
#heluoArea .hl-rules>div+div{margin-top:9px;padding-top:9px;border-top:1px dashed var(--line)}
#heluoArea .hl-rules b{display:inline-block;min-width:64px;margin-right:6px;color:var(--ink);font-weight:600!important}
#heluoArea .hl-calc-step{padding:7px 0;border-bottom:1px dashed var(--line)}
#heluoArea .hl-calc-step:last-child{border-bottom:0}
#heluoArea .hl-calc-detail{margin-top:3px;color:var(--mute);font-size:11.5px!important;line-height:1.75}
#heluoArea .hl-sha-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
#heluoArea .hl-sha-item{min-width:0;padding:8px 9px;border:1px solid var(--line);border-radius:6px;background:var(--card);font-size:11px!important;line-height:1.6}
#heluoArea .hl-sha-item.is-hit{border-color:var(--xj);background:var(--xj-bg)}
#heluoArea .hl-sha-item b{display:block;color:var(--ink-2);font-size:11.5px!important}
#heluoArea .hl-sha-item span{color:var(--jin)}
#heluoArea .hl-sha-item em{display:block;margin-top:2px;color:var(--mute);font-size:10.5px!important;font-style:normal;overflow-wrap:anywhere}
@media(min-width:700px){#heluoArea .ds-range-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:374px){#heluoArea .hl-card{padding-left:12px;padding-right:12px}#heluoArea .hl-date{font-size:11.5px!important}#heluoArea .hl-vname{font-size:18px!important}#heluoArea .hl-sum-side{margin-left:0}}
