/* s35hl — 仿 m.huangli123.net 简约古典风格 */
fss,acronym,time,sdu,tcenter,stysle,ssmall,areass,abbr,sadw,dfn,noscripta,ecode,is,font,tyyt,sup{display:none!important;width:0!important;height:0!important;overflow:hidden!important;line-height:0!important;font-size:0!important;margin:0!important;padding:0!important;border:0!important}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:19px}
body{font-family:"PingFang SC","Microsoft YaHei","SimSun",sans-serif;background:#faf8f5;color:#4a3728;line-height:1.8}
.s35{max-width:640px;margin:0 auto;padding:0 12px 40px}

/* ===== 站点头部 ===== */
.s35-header{text-align:center;padding:16px 0 8px;border-bottom:1px solid #e8e0d0}
.s35-header h1{font-size:1.3rem;color:#8b4513;font-weight:700;letter-spacing:2px}

/* ===== 日期信息头 ===== */
.s35-datehead{text-align:center;padding:10px 0 6px}
.s35-datehead-title{font-size:.75rem;color:#a09080}

/* ===== 大号日期 ===== */
.s35-hero{text-align:center;padding:16px 0;background:#fff;border:1px solid #e8e0d0;border-radius:8px;margin:10px 0}
.s35-hero-top{font-size:.82rem;color:#a09080;margin-bottom:4px}
.s35-hero-day{font-size:5rem;font-weight:900;color:#8b4513;font-family:Georgia,serif;line-height:1.1}
.s35-hero-lunar{font-size:.9rem;color:#4a3728;font-weight:600;margin-top:4px}
.s35-hero-tags{display:flex;justify-content:center;gap:10px;margin-top:6px;flex-wrap:wrap}
.s35-hero-tags span{font-size:.74rem;color:#8b7355;background:#fdf8f0;padding:3px 12px;border-radius:12px}

/* ===== 广告区域 ===== */
.s35-ad-box{background:#fff;border:1px solid #e8e0d0;padding:12px;margin:8px 0;border-radius:4px}
.s35-ad-desc{color:#8b4513;font-size:.78rem;font-weight:600;text-align:center;margin-bottom:10px;line-height:1.6}
.s35-ad-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.s35-ad-icons a{display:flex;flex-direction:column;align-items:center;text-decoration:none;padding:6px;border-radius:4px;transition:background .2s}
.s35-ad-icons a:hover{background:#fdf6ec}
.s35-ad-icons img{width:60px;height:60px;margin-bottom:6px}
.s35-ad-icons span{font-size:.72rem;color:#666}

/* ===== 宜忌 ===== */
.s35-yiji{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:8px 0;border:1px solid #e8e0d0;border-radius:4px;overflow:hidden}
.s35-yi,.s35-ji{background:#fff;padding:12px}
.s35-yi{border-right:1px solid #f0e8d8}
.s35-yiji-title{font-size:.9rem;font-weight:700;margin-bottom:8px;text-align:center;padding:2px 0}
.yi-title{color:#2e7d32;border-bottom:1px solid #e8f5e9;padding-bottom:6px}
.ji-title{color:#c62828;border-bottom:1px solid #fce4ec;padding-bottom:6px}
.s35-yiji-list{line-height:2;font-size:.78rem}
.s35-yiji-list span{display:inline-block;margin:1px 4px;color:#555}
.s35-ji .s35-yiji-list span{color:#888}

/* ===== 黄历信息行 ===== */
.s35-info{background:#fff;border:1px solid #e8e0d0;border-radius:4px;margin:8px 0;overflow:hidden}
.s35-info-row{display:flex;border-bottom:1px solid #f5f0eb;font-size:.78rem}
.s35-info-row:last-child{border-bottom:0}
.s35-info-label{width:82px;flex-shrink:0;padding:10px 0 10px 12px;color:#a09080;font-weight:500;font-size:.72rem;background:#fdfcfa}
.s35-info-val{flex:1;padding:10px 12px;color:#4a3728;line-height:1.6}
.s35-c-good{color:#4a7c3f!important}
.s35-c-bad{color:#c0392b!important}
.s35-xiusong{padding:8px 14px;font-size:.76rem;color:#8b7355;border-top:1px solid #f5f0eb;line-height:1.8}

/* ===== 日期动态卦象 ===== */
.s35-gua{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;overflow:hidden}
.s35-gua-header{display:flex;align-items:center;gap:8px;padding:10px 14px;background:linear-gradient(180deg,#fdf8f0,#fdf6ec);border-bottom:1px solid #f0e6d0}
.s35-gua-icon{font-size:1.2rem}
.s35-gua-header h3{font-size:.88rem;color:#8b4513;font-weight:700}
.s35-gua-card{padding:14px}
.s35-gua-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.s35-gua-name{font-size:1.1rem;font-weight:700;color:#8b4513}
.s35-gua-type{display:inline-block;padding:1px 10px;border-radius:10px;font-size:.7rem;font-weight:600;background:#fdf6ec;color:#8b6914}
.s35-gua-trigram{font-size:.78rem;color:#a09080;margin-bottom:10px}
.s35-gua-line{font-size:.78rem;color:#5a4a3a;line-height:2;padding:3px 0}
.s35-gua-line b{color:#8b6914;margin-right:4px}
.s35-gua-note{font-size:.68rem;color:#bbb;margin-top:8px;font-style:italic}

/* ===== 月历 ===== */
.s35-cal{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;padding:12px}
.s35-cal h3{font-size:.88rem;color:#8b4513;text-align:center;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #f0e8d8}
.s35-cal-week{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:.7rem;color:#a09080;padding:4px 0;font-weight:600}
.s35-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:2px}
.s35-cal-grid>span{padding:5px 1px;font-size:.72rem;min-height:34px;display:flex;flex-direction:column;justify-content:center;border-radius:2px}
.s35-cal-grid b{font-size:.76rem}
.s35-cal-grid i{font-style:normal;font-size:.58rem;color:#bbb}
.s35-today{background:#8b4513!important;color:#fff!important;border-radius:4px}
.s35-today b,.s35-today i{color:#fff!important}

/* ===== 节气 ===== */
.s35-jq{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;padding:12px}
.s35-jq h3{font-size:.88rem;color:#8b4513;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #f0e8d8}
.s35-jq-list{display:flex;flex-direction:column;gap:2px}
.s35-jq-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:.76rem;color:#555;border-bottom:1px solid #faf8f5}
.s35-jq-item:last-child{border-bottom:0}
.s35-jq-name{color:#4a3728;font-weight:600;min-width:60px}
.s35-jq-days{color:#888}
.s35-jq-days b{color:#8b4513;font-size:.85rem}
.s35-jq-date{color:#aaa;font-size:.7rem}

/* ===== 十二时辰 ===== */
.s35-sc{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;padding:12px}
.s35-sc h3{font-size:.88rem;color:#8b4513;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #f0e8d8}
.s35-sc-row{display:flex;align-items:center;gap:6px;padding:5px 6px;font-size:.7rem;border-bottom:1px solid #faf8f5;flex-wrap:wrap}
.s35-sc-row:last-child{border-bottom:0}
.s35-sc-now{background:#fdf6ec;border-radius:2px}
.s35-sc-name{font-weight:600;color:#4a3728;min-width:30px}
.s35-sc-range{color:#999;min-width:42px}
.s35-sc-tag{font-size:.6rem;padding:1px 5px;border-radius:8px;font-weight:700}
.s35-sc-ji{background:#e8f5e9;color:#2e7d32}
.s35-sc-xiong{background:#fce4ec;color:#c62828}
.s35-sc-info{color:#888;flex:1;font-size:.68rem}
.s35-sc-chong{color:#aaa;font-size:.65rem}

/* ===== 黄道吉日 ===== */
.s35-hd{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;padding:12px}
.s35-hd h3{font-size:.88rem;color:#8b4513;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid #f0e8d8}
.s35-hd-list{display:flex;flex-direction:column;gap:4px}
.s35-hd-card{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#fdfcfa;border-radius:4px;position:relative;border:1px solid #f5f0eb}
.s35-hd-today{background:linear-gradient(135deg,#fef5f0,#fdf8f4);border:1px solid #e8d0b8}
.s35-hd-left{text-align:center;min-width:36px}
.s35-hd-left b{display:block;font-size:1.1rem;font-weight:700;color:#8b4513;font-family:Georgia,serif}
.s35-hd-left span{font-size:.65rem;color:#a09080}
.s35-hd-today .s35-hd-left b{color:#c0392b;font-size:1.2rem}
.s35-hd-right{flex:1}
.s35-hd-right em{font-style:normal;font-size:.72rem;color:#8b7355;display:block}
.s35-hd-right p{font-size:.68rem;color:#6b8a4a;line-height:1.5;margin-top:2px}
.s35-hd-card i{position:absolute;top:-3px;right:-3px;width:20px;height:20px;background:#c0392b;color:#fff;font-style:normal;font-size:.6rem;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center}

/* ===== 热门测算 ===== */
.s35-tools{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;padding:12px}
.s35-tools h3{font-size:.88rem;color:#8b4513;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid #f0e8d8}
.s35-tools-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.s35-tools-grid a{display:block;text-align:center;padding:10px 4px;background:#fdfcfa;border:1px solid #f0e8d8;border-radius:4px;text-decoration:none;font-size:.74rem;color:#6b4a3a;transition:all .15s}
.s35-tools-grid a:hover{background:#fdf6ec;color:#8b4513;border-color:#e8d0b8}

/* ===== Q&A ===== */
.s35-qa{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;padding:14px}
.s35-qa h3{font-size:.9rem;color:#8b4513;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid #f0e8d8}
.s35-qa-row{padding:7px 0;border-bottom:1px dotted #f5f0eb}
.s35-qa-row:last-child{border-bottom:0}
.s35-qa-row p:first-child{font-size:.76rem;color:#a09080;margin:0}
.s35-qa-row p:last-child{font-size:.8rem;color:#4a3728;margin:3px 0 0;font-weight:500}

/* ===== SEO ===== */
.s35-seo{padding:10px 0;font-size:.72rem;color:#bbb;line-height:2;border-top:1px solid #eee;margin-top:6px}

/* ===== 推荐文章 ===== */
.s35-articles{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;padding:12px}
.s35-articles h3{font-size:.88rem;color:#8b4513;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #f0e8d8}
.s35-articles-list{display:flex;flex-direction:column}
.s35-article-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #faf8f5;text-decoration:none;color:#555;transition:color .15s}
.s35-article-item:last-child{border-bottom:0}
.s35-article-item:hover{color:#8b4513}
.s35-article-title{font-size:.78rem;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s35-article-date{font-size:.68rem;color:#bbb;margin-left:8px;white-space:nowrap}

/* ===== 相关推荐 ===== */
.s35-links{margin:10px 0;background:#fff;border:1px solid #e8e0d0;border-radius:4px;padding:14px}
.s35-links-title{font-size:.85rem;color:#8b4513;font-weight:700;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #f0e8d8;display:flex;align-items:center;gap:6px}
.s35-links-bar{display:inline-block;width:3px;height:16px;background:#8b4513;border-radius:2px}
.s35-links-list{display:flex;flex-direction:column;gap:0}
.s35-links-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f5f0eb}
.s35-links-item:last-child{border-bottom:0}
.s35-links-pic{width:80px;height:54px;flex-shrink:0;border-radius:4px;overflow:hidden;background:#f5f0e8}
.s35-links-pic img{width:100%;height:100%;object-fit:cover;display:block}
.s35-links-info{flex:1;min-width:0}
.s35-links-name{font-size:.78rem;line-height:1.4;margin-bottom:4px}
.s35-links-name a{color:#4a3728;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.s35-links-time{font-size:.64rem;color:#bbb}

/* ===== 底部 ===== */
.s35-footer{text-align:center;padding:16px 0;margin-top:8px;border-top:1px solid #e8e0d0;font-size:.68rem;color:#bbb;line-height:2.4}
.s35-footer a{color:#bbb}

@media(min-width:640px){
    .s35-hero-day{font-size:5.5rem}
    .s35-tools-grid{grid-template-columns:repeat(4,1fr)}
    .s35-ad-icons{grid-template-columns:repeat(4,1fr)}
}