/* s46hl - Magazine card, celadon green + amber gold */
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:16px;-webkit-text-size-adjust:100%}
body{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;background:#f4f0ea;color:#3d3a35;line-height:1.75}

/* === Layout === */
.s46{max-width:640px;margin:0 auto;padding:0 0 24px}

/* === Header === */
.s46-header{background:linear-gradient(135deg,#5B8C5A 0%,#4A7A4A 100%);color:#fff;text-align:center;padding:22px 16px 18px;margin-bottom:10px;border-radius:0 0 16px 16px}
.s46-header h1{font-size:1.38rem;font-weight:700;letter-spacing:2px;margin-bottom:4px}
.s46-header p{font-size:.82rem;opacity:.8}

/* === Card base === */
.s46-card{background:#fff;margin:10px 12px;border-radius:12px;padding:16px;box-shadow:0 2px 10px rgba(91,140,90,.08)}
.s46-card h3{font-size:.96rem;font-weight:700;color:#5B8C5A;margin-bottom:14px}

/* === Calendar === */
.s46-cal{padding:14px}
.s46-cal-nav{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:10px}
.s46-cal-nav span{font-size:.96rem;font-weight:700;color:#5B8C5A}
.s46-nav-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#f0ebe4;color:#5B8C5A;text-decoration:none;font-size:.8rem;transition:background .2s}
.s46-nav-btn:active{background:#e0d8cc}
.s46-cal table{width:100%;border-collapse:collapse}
.s46-cal th{font-size:.72rem;color:#a09888;padding:6px 0;text-align:center;font-weight:400}
.s46-cal td{text-align:center;padding:5px 1px;font-size:.72rem;vertical-align:top}
.s46-cal td b{display:block;font-size:.88rem;font-weight:600;color:#3d3a35}
.s46-cal td i{display:block;font-size:.62rem;color:#a09888;font-style:normal;margin-top:1px}
.s46-empty{background:transparent!important}
.s46-we{color:#C8A45C!important}
.s46-today{background:#f0f7ef;border-radius:6px}
.s46-today b{color:#5B8C5A!important;font-weight:700}
.s46-fest td i,.s46-cal td.s46-fest i{color:#C8A45C!important}
.s46-jq td i,.s46-cal td.s46-jq i{color:#5B8C5A!important;font-weight:600}
.s46-hd{position:relative}
.s46-hd::after{content:'';position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:4px;height:4px;border-radius:50%;background:#C8A45C}

/* === Hero (today detail) === */
.s46-hero{display:flex;align-items:flex-start;gap:16px;padding:18px}
.s46-hero-l{display:flex;align-items:baseline;flex-shrink:0}
.s46-hero-num{font-size:3.8rem;font-weight:900;color:#5B8C5A;line-height:1}
.s46-hero-unit{font-size:1.1rem;color:#a09888;margin-left:2px}
.s46-hero-r{flex:1;min-width:0}
.s46-hero-nl{font-size:.9rem;font-weight:600;color:#3d3a35;margin-bottom:4px}
.s46-hero-gz{font-size:.82rem;color:#7a7570;margin-bottom:8px}
.s46-hero-tags{display:flex;flex-wrap:wrap;gap:6px}
.s46-tag{display:inline-block;padding:3px 10px;border-radius:10px;font-size:.72rem;font-weight:500}
.s46-tag-sx{background:#f0f7ef;color:#5B8C5A}
.s46-tag-xz{background:#fdf6e8;color:#C8A45C}
.s46-tag-shen{background:#f5f0fa;color:#7B68AE}
.s46-tag-fest{background:#fff0f0;color:#D4654A}

/* === Yiji === */
.s46-yiji{display:flex;gap:8px;margin:10px 12px}
.s46-yi,.s46-ji{flex:1;background:#fff;border-radius:12px;padding:14px;box-shadow:0 2px 10px rgba(91,140,90,.08)}
.s46-yi h3,.s46-ji h3{font-size:.92rem;font-weight:700;margin-bottom:8px;padding-bottom:6px}
.s46-yi h3{color:#5B8C5A;border-bottom:2px solid #5B8C5A}
.s46-ji h3{color:#D4654A;border-bottom:2px solid #D4654A}
.s46-yi p,.s46-ji p{font-size:.82rem;color:#5a5650;line-height:2}

/* === Tip === */
.s46-tip{display:flex;align-items:flex-start;gap:10px;background:#fdf6e8!important}
.s46-tip-icon{font-size:1.3rem;flex-shrink:0}
.s46-tip p{font-size:.84rem;color:#8a7a5a}

/* === Ad === */
.s46-ad-title{color:#5B8C5A;font-size:.9rem;font-weight:600;text-align:center;margin-bottom:12px}
.s46-ad-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.s46-ad-icons a{display:flex;flex-direction:column;align-items:center;text-decoration:none;background:#f9f6f1;padding:10px 4px;border-radius:10px;transition:background .2s}
.s46-ad-icons a:active{background:#f0ebe4}
.s46-ad-icons img{width:48px;height:48px}
.s46-ad-icons span{font-size:.72rem;color:#5B8C5A;margin-top:4px}
.s46-ad-wrap{margin:10px 12px;overflow:hidden;border-radius:12px}

/* === Jieqi countdown === */
.s46-jieqi-list{display:flex;flex-direction:column;gap:6px}
.s46-jieqi-item{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f9f6f1;border-radius:8px}
.s46-jq-emoji{font-size:1.1rem;flex-shrink:0}
.s46-jq-name{font-size:.86rem;font-weight:600;color:#3d3a35;width:52px;flex-shrink:0}
.s46-jq-date{font-size:.76rem;color:#a09888;flex:1}
.s46-jq-days{font-size:.78rem;color:#5B8C5A;font-weight:600;flex-shrink:0}
.s46-jq-days em{font-style:normal;color:#C8A45C}
.s46-jq-now{background:#f0f7ef;border:1px solid #5B8C5A}

/* === Huangdao days === */
.s46-hd-list{display:flex;flex-direction:column;gap:6px}
.s46-hd-item{display:flex;align-items:flex-start;gap:10px;padding:10px;background:#f9f6f1;border-radius:8px;position:relative}
.s46-hd-now{background:#f0f7ef;border:1px solid #5B8C5A}
.s46-hd-left{display:flex;flex-direction:column;align-items:center;flex-shrink:0;width:40px}
.s46-hd-left b{font-size:1.2rem;font-weight:700;color:#5B8C5A}
.s46-hd-left span{font-size:.62rem;color:#a09888}
.s46-hd-right{flex:1;min-width:0;display:flex;align-items:flex-start;gap:6px}
.s46-hd-yi{display:inline-block;padding:2px 8px;background:#5B8C5A;color:#fff;border-radius:4px;font-size:.64rem;flex-shrink:0;margin-top:2px}
.s46-hd-right p{font-size:.76rem;color:#5a5650;line-height:1.8}
.s46-hd-tag{position:absolute;top:6px;right:8px;font-size:.6rem;font-style:normal;background:#C8A45C;color:#fff;padding:1px 5px;border-radius:4px}

/* === Info grid (chongsha, lichen) === */
.s46-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.s46-info-grid div{padding:8px 10px;background:#f9f6f1;border-radius:6px}
.s46-info-grid b{display:block;font-size:.7rem;color:#5B8C5A;margin-bottom:2px}
.s46-info-grid span{font-size:.78rem;color:#5a5650}

/* === Jishen === */
.s46-js-grid{display:flex;flex-direction:column;gap:8px}
.s46-js-ji,.s46-js-xiong{padding:12px;border-radius:8px}
.s46-js-ji{background:#f0f7ef}.s46-js-xiong{background:#fef5f3}
.s46-js-ji h4{font-size:.82rem;color:#5B8C5A;margin-bottom:4px}
.s46-js-xiong h4{font-size:.82rem;color:#D4654A;margin-bottom:4px}
.s46-js-ji p,.s46-js-xiong p{font-size:.78rem;color:#5a5650;line-height:1.9}

/* === Tags cloud === */
.s46-tags-cloud{display:flex;flex-wrap:wrap;gap:6px}
.s46-tags-cloud a{display:inline-block;padding:6px 12px;background:#f9f6f1;border-radius:16px;font-size:.74rem;color:#5a5650;text-decoration:none;transition:all .2s}
.s46-tags-cloud a:active{background:#e8e2d8}
.s46-tag-active{background:#5B8C5A!important;color:#fff!important}

/* === Holiday === */
.s46-holiday-list{display:flex;flex-direction:column;gap:6px}
.s46-holiday-item{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f9f6f1;border-radius:8px}
.s46-hol-name{font-size:.86rem;font-weight:600;color:#3d3a35;width:60px;flex-shrink:0}
.s46-hol-date{font-size:.76rem;color:#a09888;flex:1}
.s46-hol-cd{font-size:.78rem;color:#C8A45C;font-weight:600;flex-shrink:0}
.s46-hol-cd em{font-style:normal;font-size:1rem}

/* === Shichen === */
.s46-sc-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.s46-sc-item{padding:10px;background:#f9f6f1;border-radius:8px}
.s46-sc-now{background:#f0f7ef}
.s46-sc-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.s46-sc-top b{font-size:.82rem;color:#3d3a35}
.s46-sc-top span{font-size:.68rem;color:#a09888}
.s46-sc-mid span{font-size:.72rem;color:#7a7570}
.s46-sc-bot{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.s46-sc-bot span{font-size:.7rem;color:#a09888}
.s46-sc-bot i{font-style:normal;font-size:.68rem;font-weight:600;padding:2px 8px;border-radius:4px}
.s46-sc-ji{background:#f0f7ef;color:#5B8C5A}
.s46-sc-xiong{background:#fef5f3;color:#D4654A}

/* === Gua === */
.s46-gua-head{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.s46-gua-head b{font-size:1rem;color:#5B8C5A}
.s46-gua-head em{font-style:normal;padding:3px 10px;background:#fdf6e8;color:#C8A45C;border-radius:6px;font-size:.72rem}
.s46-gua-head span{font-size:.76rem;color:#a09888}
.s46-gua-body p{font-size:.8rem;color:#5a5650;margin-bottom:6px;line-height:1.9}
.s46-gua-body b{color:#5B8C5A}

/* === QA === */
.s46-qa-list{display:flex;flex-direction:column;gap:8px}
.s46-qa-item{padding:10px 12px;background:#f9f6f1;border-radius:8px}
.s46-qa-q{font-size:.8rem;font-weight:600;color:#3d3a35;margin-bottom:4px}
.s46-qa-a{font-size:.78rem;color:#5a5650;line-height:1.8}

/* === SEO === */
.s46-seo{margin:10px 12px}
.s46-seo-block{padding:14px;background:#fff;border-radius:12px;margin-bottom:8px;box-shadow:0 1px 6px rgba(91,140,90,.06)}
.s46-seo-block h4{font-size:.86rem;color:#5B8C5A;margin-bottom:6px}
.s46-seo-block p{font-size:.76rem;color:#a09888;line-height:2;margin-bottom:4px}

/* === Articles === */
.s46-art-list{display:flex;flex-direction:column;gap:4px}
.s46-art-list a{display:block;padding:10px 12px;background:#f9f6f1;border-radius:8px;font-size:.8rem;color:#3d3a35;text-decoration:none;transition:background .2s}
.s46-art-list a:active{background:#e8e2d8}

/* === Links === */
.s46-links-list{display:flex;flex-wrap:wrap;gap:6px}
.s46-links-list a{display:inline-block;padding:6px 12px;background:#f9f6f1;border-radius:16px;font-size:.74rem;color:#5a5650;text-decoration:none}

/* === Footer === */
.s46-footer{text-align:center;padding:20px 16px;font-size:.72rem;color:#a09888;line-height:2.4}
.s46-footer a{color:#a09888}
