/* Jiri's own portal composition: the warm palette is retained, imagery and ordering are original. */
.reference-shell .brand-home{font-family:inherit;color:#392d23}.reference-shell .brand-home h2,.reference-shell .brand-home h3,.reference-shell .brand-home h5,.reference-shell .brand-home button{font-family:inherit}.brand-home .brand-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:14px}.brand-home .brand-section-heading h2{margin:0;font-size:23px;font-weight:700;line-height:1.45}.brand-home .brand-section-heading>a{font-size:14px;color:#a54e2a;white-space:nowrap}.reference-shell .brand-home .brand-season-strip{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:92px;padding:13px 20px;background:#fbf2dd;border-bottom:3px solid #d5a069}.brand-strip-date{display:flex;flex-direction:column;gap:5px;min-width:240px}.brand-strip-date b{font-size:22px;letter-spacing:.5px;color:#8f3d24}.brand-strip-date span{font-size:14px;color:#705a45}.brand-strip-terms{display:flex;gap:32px}.brand-strip-terms>div{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:1px 12px}.brand-strip-terms>div>span{font-size:12px;color:#806a51}.brand-strip-terms b{font-size:23px;color:#9b4227}.brand-strip-terms small{grid-column:1/-1;font-size:13px;letter-spacing:.2px;color:#705a45}.brand-strip-action{display:flex;align-items:center;gap:8px;white-space:nowrap}.brand-strip-action img{width:54px;height:54px}.brand-strip-action a{font-size:14px;color:#8d3e26}.reference-shell .brand-home .brand-tool-index{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0 4px;padding:9px 15px;margin:0 auto 20px;background:#fffaf0;font-size:15px}.reference-shell .brand-home .brand-tool-index a.item{display:flex;align-items:center;justify-content:flex-start;gap:7px;width:auto;max-width:none;height:49px;margin:0;padding:0 4px;border:0;border-radius:0;background:none;font-size:15px;line-height:1.35;color:#5e3b28;white-space:normal}.brand-tool-index img{width:34px;height:34px;flex-shrink:0}.brand-tool-index a:hover span{text-decoration:underline}.reference-shell .brand-home .brand-zodiac-section{padding:18px 20px 15px;background:#fcf9f3}.reference-shell .brand-home .brand-zodiac-section .imgs{height:98px;align-items:center;margin:0 0 10px}.reference-shell .brand-home .brand-zodiac-section .imgs button.item{width:83px;height:94px;margin:0;padding:5px 0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:0;border-right:0;border-bottom:3px solid transparent;border-radius:0;background:none;box-shadow:none}.reference-shell .brand-home .brand-zodiac-section .imgs .item img{width:48px;height:52px;object-fit:contain;margin:0;display:block}.reference-shell .brand-home .brand-zodiac-section .imgs .item span{color:#5b392b;font-size:16px;line-height:20px}.reference-shell .brand-home .brand-zodiac-section .imgs .item.active{background:#f8ecd2;border-bottom-color:#bc2f3f}.reference-shell .brand-home .brand-zodiac-section .articles{height:auto;min-height:120px}.reference-shell .brand-home .brand-zodiac-section .articles .item{width:31.8%;display:flex;gap:8px;line-height:36px}.reference-shell .brand-home .brand-zodiac-section .articles .item>a{flex:1;min-width:0;width:auto;max-width:none}.reference-shell .brand-home .brand-zodiac-section .articles .item>span{width:44px;font-size:12px;color:#998571}.reference-shell .brand-home .brand-personal{padding:18px 20px;background:#fcf9f3;margin:20px auto}.reference-shell .brand-home .brand-personal .jr_cont_bg,.reference-shell .brand-home .brand-personal .jr_cont_jj,.reference-shell .brand-home .brand-personal .reference-profile{width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;background:none!important;box-shadow:none}.reference-shell .brand-home .brand-personal::before,.reference-shell .brand-home .brand-personal::after,.reference-shell .brand-home .brand-personal .jr_cont_bg::before,.reference-shell .brand-home .brand-personal .jr_cont_bg::after,.reference-shell .brand-home .brand-personal .jr_cont_jj::before,.reference-shell .brand-home .brand-personal .jr_cont_jj::after{content:none!important;background:none!important}.reference-shell .brand-home .brand-birth-intro{display:grid;grid-template-columns:360px minmax(0,1fr);gap:32px;align-items:center;padding:0;min-height:230px;background:none}.brand-birth-intro figure{margin:0}.reference-shell .brand-home .brand-birth-intro figure img{display:block;width:360px;height:210px;object-fit:contain;background:#fff2c6}.brand-birth-intro figcaption{font-size:12px;color:#8a7158;line-height:24px}.brand-birth-intro h3{font-size:25px;font-weight:700;line-height:1.5;margin:0 0 10px;color:#7b3925}.brand-birth-intro p{font-size:16px;line-height:1.8;margin:0 0 13px;color:#65503c}.reference-shell .brand-home .brand-personal #hit_w{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;margin:0;padding:10px 24px;border:1px solid #b76636;border-radius:2px;background:#b94e2e!important;color:#fff;font-size:17px;line-height:1.4;box-shadow:none}.brand-birth-intro .brand-birth-links{display:flex;gap:25px;margin:15px 0 0;font-size:14px}.brand-birth-links a{color:#99562f}.reference-shell .brand-home .reference-profile .bazi-form{font-size:15px}.reference-shell .brand-home .brand-life{height:auto;padding:18px 20px 20px;margin-bottom:20px;background:#fcf9f3}.reference-shell .brand-home .brand-life>.info{display:grid;grid-template-columns:260px minmax(0,1fr) 220px;gap:22px;height:auto;min-height:0;background:none}.reference-shell .brand-home .brand-life .info>.r,.reference-shell .brand-home .brand-life .info>.c,.reference-shell .brand-home .brand-life .info>.l{width:auto;max-width:none;min-width:0;height:auto;position:static;float:none;margin:0;padding:0;background:none}.reference-shell .brand-home .brand-life-taxonomy .lists{margin:0 0 14px}.reference-shell .brand-home .brand-life-taxonomy .lists h5{font-size:16px;line-height:28px;margin:0 0 6px;color:#6e422b}.reference-shell .brand-home .brand-life-taxonomy .list-item{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.reference-shell .brand-home .brand-life-taxonomy .list-item a{width:auto;margin:0;line-height:30px;font-size:14px;background:#945d3b;border-radius:0;color:#fff}.reference-shell .brand-home .brand-life-taxonomy .lists:nth-of-type(2) .list-item a{background:#806137}.reference-shell .brand-home .brand-life-taxonomy .lists:nth-of-type(3) .list-item a{background:#975247}.reference-shell .brand-home .brand-life .info>.c .item{display:flex;align-items:baseline;gap:8px;width:100%;height:auto;min-height:36px;margin:0;border-bottom:1px dotted #e4d5c3;line-height:36px}.reference-shell .brand-home .brand-life .info>.c .item a{width:auto;flex:1;min-width:0;font-size:15px;line-height:36px}.reference-shell .brand-home .brand-life .info>.c .item span{width:42px;font-size:12px;line-height:36px;color:#9a826c}.reference-shell .brand-home .brand-life-figures{display:flex;flex-direction:column;gap:12px}.reference-shell .brand-home .brand-life-figures .item{display:block;width:220px;height:124px;position:relative;margin:0;background:#f7eacb}.reference-shell .brand-home .brand-life-figures .item img{display:block;width:220px;height:124px;object-fit:contain}.reference-shell .brand-home .brand-life-figures .item h5{position:absolute;bottom:0;left:0;width:100%;height:auto;margin:0;padding:4px 8px;text-align:center;writing-mode:horizontal-tb;font-size:15px;line-height:22px;background:#fbefd5ed;color:#863e28;letter-spacing:0}.reference-shell .brand-home .brand-life .ref-feature-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;height:auto;margin-top:20px;padding:0}.reference-shell .brand-home .brand-life .ref-feature-links>a{height:130px;width:auto;background:#faedce}.reference-shell .brand-home .brand-life .ref-feature-links img{width:100%;height:130px;object-fit:contain}.reference-shell .brand-home .brand-life .ref-feature-links span{font-family:inherit;font-size:16px;padding:2px 0;background:#fff5dce6}.reference-shell .brand-home .brand-geomancy{padding:18px 20px;margin-bottom:20px;background:#fcf9f3}.brand-geomancy>.title{align-items:baseline;margin-bottom:14px}.brand-geomancy>.title h2{font-size:23px;font-weight:700;margin:0;line-height:1.5}.reference-shell .brand-home .brand-geomancy .munu a{font-size:14px;color:#93603b}.brand-space-layout{display:grid;grid-template-columns:410px minmax(0,1fr);gap:25px}.reference-shell .brand-home .brand-geomancy .articles{display:block;width:100%;height:auto;padding:0;margin:0}.reference-shell .brand-home .brand-geomancy .articles .item{width:100%;display:flex;gap:10px;line-height:40px}.reference-shell .brand-home .brand-geomancy .articles .item>a{width:auto;flex:1;min-width:0;line-height:40px}.reference-shell .brand-home .brand-geomancy .articles .item>span{width:44px;font-size:12px;line-height:40px;color:#9b836a}.reference-shell .brand-home .brand-geomancy .imgs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:auto;gap:14px;align-content:start}.reference-shell .brand-home .brand-geomancy .imgs .item{position:relative;width:auto;max-width:none;height:122px;display:block;border:0;background:#f8ecd3}.reference-shell .brand-home .brand-geomancy .imgs .item img{width:100%;height:122px;object-fit:contain}.brand-geomancy .imgs .item span{position:absolute;bottom:0;left:0;width:100%;padding:3px 5px;background:#fff3dfe8;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;font-size:12px;line-height:19px;color:#7b4c2c}.reference-shell .brand-home .brand-recommend{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start;margin-bottom:20px}.reference-shell .brand-home .brand-recommend>.r,.reference-shell .brand-home .brand-recommend>.l{width:auto;min-width:0;max-width:none;float:none;margin:0;background:#fcf9f3}.reference-shell .brand-home .brand-recommend>.r h2{margin:0;background:#a95830;color:#fff;padding:10px 15px;font-size:19px;font-weight:700;line-height:28px}.reference-shell .brand-home .brand-recommend>.r>.lists{display:grid;grid-template-columns:1fr;gap:0;padding:7px 14px}.reference-shell .brand-home .brand-recommend>.r>.lists>a.list-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;justify-items:start;width:auto;height:58px;margin:0;padding:5px 0;border-bottom:1px solid #ecdfcd;text-align:left}.reference-shell .brand-home .brand-recommend>.r>.lists>a.list-item:last-child{border-bottom:0}.reference-shell .brand-home .brand-recommend>.r img{width:42px;height:42px;object-fit:contain}.reference-shell .brand-home .brand-recommend>.r span{margin:0;font-size:15px;color:#67412b;line-height:22px}.reference-shell .brand-home .brand-recommend>.l{padding:0 18px 10px}.reference-shell .brand-home .brand-recommend .tab{justify-content:space-between;gap:10px}.reference-shell .brand-home .brand-recommend .tab-menu{height:52px;margin:0;padding:0;font:inherit;font-size:16px;line-height:52px}.reference-shell .brand-home .brand-recommend .tab-menu.active{color:#a43c27}.reference-shell .brand-home .brand-recommend .content{padding-top:8px}.reference-shell .brand-home .brand-recommend .tab-item>.item{display:grid;grid-template-columns:145px minmax(0,1fr);gap:18px;margin-bottom:18px;align-items:start}.reference-shell .brand-home .brand-recommend .tab-item img{width:145px;height:110px;object-fit:contain;background:#f8ecd0}.reference-shell .brand-home .brand-recommend .tab-item .info{width:auto;min-width:0;max-width:none;padding:0}.reference-shell .brand-home .brand-recommend .tab-item .title{font-size:19px;font-weight:700;line-height:1.45;white-space:normal;margin:0 0 7px;color:#4b3423}.reference-shell .brand-home .brand-recommend .tab-item p{font-size:14px;line-height:1.7;height:auto;max-height:48px;overflow:hidden;margin:0 0 8px}.reference-shell .brand-home .brand-recommend .tab-item .info>div{display:flex;justify-content:space-between;font-size:12px;line-height:18px;color:#9a7b5c}.reference-shell .brand-home .brand-recommend .ref-load-more .btn{font-family:inherit;background:#f7ecd5;color:#8f4c2b;border-color:#dec29b;padding:5px 18px}
@media(max-width:760px){.reference-shell .brand-home .brand-season-strip{gap:14px;flex-wrap:wrap;padding:12px 15px}.brand-strip-date{min-width:180px}.brand-strip-date b{font-size:18px}.brand-strip-terms{gap:16px}.brand-strip-action{display:none}.reference-shell .brand-home .brand-tool-index{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:8px 10px}.reference-shell .brand-home .brand-tool-index a.item{font-size:13px;gap:4px;min-height:44px;height:auto}.brand-tool-index img{width:28px;height:28px}.reference-shell .brand-home .brand-zodiac-section .brand-section-heading{align-items:center}.brand-home .brand-section-heading h2{font-size:20px}.reference-shell .brand-home .brand-zodiac-section .imgs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:auto;gap:4px}.reference-shell .brand-home .brand-zodiac-section .imgs button.item{width:auto;height:79px}.reference-shell .brand-home .brand-zodiac-section .imgs .item img{width:38px;height:42px}.reference-shell .brand-home .brand-zodiac-section .articles .item{width:100%;line-height:33px}.reference-shell .brand-home .brand-personal{padding:15px}.reference-shell .brand-home .brand-birth-intro{grid-template-columns:1fr;gap:14px;min-height:0}.reference-shell .brand-home .brand-birth-intro figure img{width:100%;height:180px}.brand-birth-intro h3{font-size:21px}.brand-birth-intro p{font-size:14px}.brand-birth-intro .brand-birth-links{gap:15px;flex-wrap:wrap}.reference-shell .brand-home .brand-life{padding:15px}.reference-shell .brand-home .brand-life>.info{grid-template-columns:1fr;gap:20px}.reference-shell .brand-home .brand-life-taxonomy{display:grid;grid-template-columns:1fr;gap:0}.reference-shell .brand-home .brand-life-taxonomy .lists{margin-bottom:12px}.reference-shell .brand-home .brand-life .info>.c .item a{font-size:14px}.reference-shell .brand-home .brand-life-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.reference-shell .brand-home .brand-life-figures .item{width:auto;height:105px}.reference-shell .brand-home .brand-life-figures .item img{width:100%;height:105px}.reference-shell .brand-home .brand-life-figures .item h5{font-size:12px;padding:1px 2px;line-height:19px}.reference-shell .brand-home .brand-life .ref-feature-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reference-shell .brand-home .brand-life .ref-feature-links>a,.reference-shell .brand-home .brand-life .ref-feature-links img{height:110px}.reference-shell .brand-home .brand-life .ref-feature-links span{font-size:14px}.reference-shell .brand-home .brand-geomancy{padding:15px}.brand-geomancy>.title{display:block}.brand-geomancy>.title h2{font-size:20px}.reference-shell .brand-home .brand-geomancy .munu{margin-top:8px;flex-wrap:wrap;justify-content:flex-start;gap:12px}.reference-shell .brand-home .brand-geomancy .munu a{font-size:12px;padding:0}.brand-space-layout{grid-template-columns:1fr;gap:18px}.reference-shell .brand-home .brand-geomancy .imgs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.reference-shell .brand-home .brand-geomancy .imgs .item,.reference-shell .brand-home .brand-geomancy .imgs .item img{height:100px}.reference-shell .brand-home .brand-recommend{grid-template-columns:1fr;gap:15px}.reference-shell .brand-home .brand-recommend>.r>.lists{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.reference-shell .brand-home .brand-recommend>.r h2{font-size:18px;padding:7px 15px}.reference-shell .brand-home .brand-recommend>.r>.lists>a.list-item{height:51px;grid-template-columns:32px minmax(0,1fr);gap:7px}.reference-shell .brand-home .brand-recommend>.r img{width:32px;height:32px}.reference-shell .brand-home .brand-recommend>.r span{font-size:13px}.reference-shell .brand-home .brand-recommend>.l{padding:0 12px 12px}.reference-shell .brand-home .brand-recommend .tab{gap:8px;overflow:auto}.reference-shell .brand-home .brand-recommend .tab-menu{font-size:14px;flex-shrink:0}.reference-shell .brand-home .brand-recommend .tab-item>.item{grid-template-columns:100px minmax(0,1fr);gap:10px}.reference-shell .brand-home .brand-recommend .tab-item img{width:100px;height:100px}.reference-shell .brand-home .brand-recommend .tab-item .title{font-size:16px}.reference-shell .brand-home .brand-recommend .tab-item p{font-size:13px;max-height:44px}.reference-shell .brand-home .brand-recommend .tab-item .info>div{font-size:11px}.brand-home .brand-section-heading{gap:8px}.brand-home .brand-section-heading>a{font-size:12px;white-space:normal}}
/* Complete homepage layout, independent of the former reference CSS. */
.reference-shell .brand-home .brand-tool-index a.item{text-decoration:none;overflow:hidden}.reference-shell .brand-home .brand-tool-index a.item:hover{color:#962b1b;background:#f8eed9}.reference-shell .brand-home .brand-zodiac-section .imgs{display:flex;justify-content:space-between}.reference-shell .brand-home .brand-zodiac-section .imgs button.item{font:inherit;cursor:pointer}.reference-shell .brand-home .brand-zodiac-section .articles.active{display:flex;flex-wrap:wrap;justify-content:space-between}.reference-shell .brand-home .brand-zodiac-section .articles .item>a,.reference-shell .brand-home .brand-life .info>.c .item>a,.reference-shell .brand-home .brand-geomancy .articles .item>a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4e3a2a;text-decoration:none}.reference-shell .brand-home .articles .item>a:hover,.reference-shell .brand-home .brand-life .info>.c .item>a:hover{color:#a94226;text-decoration:underline}.reference-shell .brand-home .brand-zodiac-section,.reference-shell .brand-home .brand-personal,.reference-shell .brand-home .brand-life,.reference-shell .brand-home .brand-geomancy{box-sizing:border-box;margin:0 auto 20px}.reference-shell .brand-home .brand-personal{font-size:16px}.reference-shell .brand-home .brand-personal .jr_cont_bg,.reference-shell .brand-home .brand-personal .jr_cont_jj{display:block;float:none}.reference-shell .brand-home .brand-personal .reference-profile .form-row{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:15px;align-items:end;margin:0 0 12px}.reference-shell .brand-home .brand-personal .reference-profile label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:14px;color:#65442b}.reference-shell .brand-home .brand-personal .reference-profile input,.reference-shell .brand-home .brand-personal .reference-profile select{width:100%;min-width:0;height:39px;padding:6px 8px;color:#3e2a1c;background:#fff9eb;border:1px solid #d8bb96;border-radius:2px;font:inherit;font-size:15px}.reference-shell .brand-home .brand-personal .reference-profile button.primary{height:39px;background:#af4a2c;color:#fff;border:0;padding:7px 20px;font-size:15px;cursor:pointer}.reference-shell .brand-home .brand-personal .reference-profile .form-hint{font-size:13px;line-height:1.7;color:#8b7056;margin:0 0 12px}.reference-shell .brand-home .brand-personal [data-bazi-output]{font-size:15px;line-height:1.7}.reference-shell .brand-home .brand-life-taxonomy .lists{display:block}.reference-shell .brand-home .brand-life-taxonomy .list-item a{display:block;text-align:center;text-decoration:none}.reference-shell .brand-home .brand-life-figures .item{display:block;text-decoration:none;overflow:hidden}.reference-shell .brand-home .brand-life .ref-feature-links>a{display:block;position:relative;overflow:hidden;text-decoration:none}.reference-shell .brand-home .brand-life .ref-feature-links span{position:absolute;bottom:0;left:0;right:0;text-align:center;line-height:25px;color:#89432b}.reference-shell .brand-home .brand-geomancy>.title{display:flex;justify-content:space-between;gap:20px}.reference-shell .brand-home .brand-geomancy .munu{display:flex;justify-content:space-between;gap:20px}.reference-shell .brand-home .brand-geomancy .munu a{text-decoration:none;white-space:nowrap}.reference-shell .brand-home .brand-recommend .tab{display:flex;align-items:center}.reference-shell .brand-home .brand-recommend .tab-menu{border:0;border-radius:0;background:none;color:#745c44;cursor:pointer;white-space:nowrap}.reference-shell .brand-home .brand-recommend .tab-menu.active{font-weight:700;border-bottom:3px solid #a94c2d}.reference-shell .brand-home .brand-recommend .content.active{display:flex;flex-direction:column}.reference-shell .brand-home .brand-recommend .tab-item{position:relative}.reference-shell .brand-home .brand-recommend .tab-item>.item{text-decoration:none;color:#4b3423}.reference-shell .brand-home .brand-recommend .ref-load-more{text-align:center;margin:0 0 10px}.reference-shell .brand-home .brand-recommend .ref-load-more .btn{display:inline-block;border:1px solid #dec29b;font-size:14px;line-height:24px;text-decoration:none}.reference-shell .brand-home .brand-recommend>.r>.lists>a.list-item{text-decoration:none}.reference-shell .brand-home .reference-about{padding:18px 20px;margin:0 auto 20px;background:#fcf9f3;font-size:14px;line-height:1.8;color:#796047}.reference-shell .brand-home .reference-about h2{font-size:20px;margin:14px 0 8px}.reference-shell .brand-home .reference-about p{margin:0 0 10px}.reference-shell .brand-home [hidden]{display:none!important}
@media(max-width:760px){.reference-shell .brand-home .brand-zodiac-section .imgs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.reference-shell .brand-home .brand-zodiac-section .articles.active{display:block}.reference-shell .brand-home .brand-zodiac-section .articles .item{width:100%}.reference-shell .brand-home .brand-personal .reference-profile .form-row{grid-template-columns:1fr 1fr}.reference-shell .brand-home .brand-personal .reference-profile button.primary{width:100%;grid-column:1/-1}.reference-shell .brand-home .brand-geomancy>.title{display:block}.reference-shell .brand-home .brand-geomancy .munu{justify-content:flex-start;gap:12px;flex-wrap:wrap}.reference-shell .brand-home .brand-recommend .tab{justify-content:flex-start;gap:18px}.reference-shell .brand-home .brand-recommend .tab-menu{height:47px;line-height:47px}.reference-shell .brand-home .reference-about{padding:15px}}
.reference-shell .brand-home .reference-about{display:none}

/* Site-wide responsive rules, loaded after the desktop portal styles. */
@media(max-width:1179px){
 body.reference-shell{min-width:0}
 .reference-shell .w{width:calc(100% - 32px);max-width:1040px}
 .reference-shell .reference-main.wrap{width:100%;max-width:1072px;padding:0 16px;margin:auto}
 .reference-shell .reference-main .w{width:100%;max-width:none}
 .reference-shell .site-masthead{height:auto;min-height:132px;display:grid;grid-template-columns:244px minmax(0,1fr);gap:14px 24px;padding:18px 0}
 .reference-shell .site-brand{grid-column:1;grid-row:1;width:auto}
 .reference-shell .site-lookup{grid-column:2;grid-row:1;width:100%;min-width:0}
 .reference-shell .site-quick-tools{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-around;width:100%}
 .reference-shell .site-quick-tools a{min-width:82px;min-height:62px}
 .reference-shell .site-nav>.w{width:100%}
 .reference-shell .site-nav a{font-size:15px;letter-spacing:0}
 .reference-shell .content-layout.reading-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}
 .reference-shell .brand-almanac .lunars-b{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}
 .reference-shell .brand-almanac .lunars-b .c .top{padding-inline:12px}
 .reference-shell .brand-almanac .days-info .list{width:78px;min-width:0}
 .reference-shell .brand-almanac .horoscope .zodiac{white-space:normal;overflow-wrap:anywhere}
 .reference-shell .brand-almanac .brand-top-signals .horoscope{gap:4px;padding-inline:7px}
 .reference-shell .brand-almanac .brand-top-signals .horoscope .gz{width:60px;font-size:13px}
 .reference-shell .brand-almanac .brand-top-signals .horoscope .zodiac{font-size:13px}
 .reference-shell .brand-almanac .lunars-b .c .bottom .brand-almanac-panel{height:auto;min-height:184px;padding:12px}
 .reference-shell .brand-almanac .lunars-info .item .text{white-space:normal;overflow-wrap:anywhere}
 .reference-shell .brand-home .brand-life>.info{grid-template-columns:210px minmax(0,1fr) 190px;gap:16px}
 .reference-shell .brand-home .brand-recommend{grid-template-columns:220px minmax(0,1fr);gap:16px}
 .reference-shell .brand-home .brand-recommend>.l,.reference-shell .brand-home .brand-recommend>.r{width:auto;min-width:0}
 .reference-shell .hl-calendar-info{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:16px}
 .reference-shell .brand-calendar-pair>.hl-lunar-sheet,.reference-shell .brand-calendar-pair>.hl-side-calendar{min-width:0;width:100%}
 .reference-shell .hl-year-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .reference-shell .site-utility{display:none}
 .reference-shell .scroll,.reference-shell .bazi-table-wrap,.reference-shell .dayun-strip,.reference-shell .period-timeline{max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .reference-shell .page-body,.reference-shell .page-body>*,.reference-shell .form-row>*{min-width:0}
}
@media(max-width:760px){
 .reference-shell .w{width:calc(100% - 24px)}
 .reference-shell .reference-main.wrap{padding:0 12px}
 .reference-shell .reference-main .w{width:100%}
 .reference-shell .site-masthead{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0}
 .reference-shell .site-brand{grid-column:1;grid-row:1;gap:8px}
 .reference-shell .site-brand img{width:40px;height:46px}
 .reference-shell .site-brand strong{font-size:29px;letter-spacing:2px;line-height:1.25}
 .reference-shell .site-brand small{font-size:10px;letter-spacing:.4px}
 .reference-shell .site-lookup{display:contents}
 .reference-shell .site-lookup form{grid-column:1/-1;grid-row:3;height:44px}
 .reference-shell .site-lookup input{font-size:16px;padding:8px 10px}
 .reference-shell .site-lookup button{min-width:64px;font-size:15px}
 .reference-shell .site-header-meta{grid-column:2;grid-row:1;margin:0;font-size:12px}
 .reference-shell .site-header-meta>[data-local-clock]{display:none}
 .reference-shell .site-settings summary{min-height:44px;display:flex;align-items:center;font-size:12px}
 .reference-shell .site-settings>div{width:min(300px,calc(100vw - 24px));right:0;padding:14px}
 .reference-shell .site-settings select{height:40px;font-size:15px;max-width:185px;width:68%}
 .reference-shell .site-quick-tools{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .reference-shell .site-quick-tools a{min-width:0;min-height:58px;gap:2px;font-size:12px}
 .reference-shell .site-quick-tools img{width:36px;height:36px}
 .reference-shell .site-nav>.w{grid-template-columns:repeat(4,minmax(0,1fr))}
 .reference-shell .site-nav a{height:44px;line-height:44px;font-size:14px}
 .reference-shell .breadcrumb{height:auto;min-height:35px;font-size:12px;padding:8px 0}
 .reference-shell .breadcrumb ol{flex-wrap:wrap;gap:4px 7px}
 .reference-shell .page-heading:not(.home-heading){padding:16px 14px}
 .reference-shell .page-heading h1{font-size:25px;line-height:1.45}
 .reference-shell .content-layout.reading-layout{display:block}
 .reference-shell .prose,.reference-shell .reference-tools{padding:15px;font-size:16px;line-height:1.8}
 .reference-shell .prose h2,.reference-shell .reference-tools .panel h2{font-size:22px;line-height:1.5}
 .reference-shell .prose h3{font-size:19px}
 .reference-shell .prose a,.reference-shell .prose p{overflow-wrap:anywhere}
 .reference-shell .reading-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:15px;margin-top:18px}
 .reference-shell .reading-sidebar section{margin:0;min-width:0}
 .reference-shell .reading-sidebar nav a{font-size:14px;min-height:44px;padding:8px 0}
 .reference-shell .reading-sidebar ol a{font-size:13px;line-height:1.6}
 .reference-shell .reading-sidebar .sidebar-calendar p{font-size:21px}
 .reference-shell .brand-home .brand-season-strip{min-height:82px;padding:12px;gap:10px;flex-wrap:wrap}
 .reference-shell .brand-strip-date{min-width:125px;gap:3px}
 .reference-shell .brand-strip-date b{font-size:19px}
 .reference-shell .brand-strip-date span{font-size:11px}
 .reference-shell .brand-strip-terms{gap:12px;flex:1;justify-content:flex-end}
 .reference-shell .brand-strip-terms>div{display:flex;flex-direction:column;gap:1px}
 .reference-shell .brand-strip-terms>div>span{font-size:10px}
 .reference-shell .brand-strip-terms b{font-size:18px}
 .reference-shell .brand-strip-terms small{font-size:11px}
 .reference-shell .brand-strip-action{display:none}
 .reference-shell .brand-almanac{width:100%;margin-bottom:16px}
 .reference-shell .brand-almanac .lunars-b{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 .reference-shell .brand-almanac .brand-almanac-center{display:contents}
 .reference-shell .brand-almanac .brand-almanac-center>.top{grid-column:1/-1;grid-row:1;width:100%;height:auto;min-height:286px;padding:14px 12px 16px;background:#fcf7ed;border-bottom:1px solid #dfc5a1}
 .reference-shell .brand-almanac .brand-almanac-left{grid-column:1;grid-row:2;width:auto;min-width:0;border-right:1px solid #dfc5a1}
 .reference-shell .brand-almanac .brand-almanac-right{grid-column:2;grid-row:2;width:auto;min-width:0;border:0}
 .reference-shell .brand-almanac .brand-almanac-center>.bottom{grid-column:1/-1;grid-row:3;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #dfc5a1;background:#fcf7ed}
 .reference-shell .brand-almanac .brand-date-control{width:min(280px,100%);height:44px}
 .reference-shell .brand-almanac .brand-date-control .form-control{width:100%;height:44px;font-size:15px;line-height:42px;padding:0 28px 0 38px}
 .reference-shell .brand-almanac .ref-date-picker{width:100%;height:44px}
 .reference-shell .brand-almanac .brand-date-control:after{top:19px}
 .reference-shell .brand-almanac .brand-date-control>.brand-almanac-mark{top:12px}
 .reference-shell .brand-almanac .slt{height:44px}
 .reference-shell .brand-almanac .lunars-b .c .top .days-info{margin-top:9px;min-height:106px;gap:4px}
 .reference-shell .brand-almanac .lunars-b .c .top .days-info h5{font-size:88px;line-height:106px;width:108px;letter-spacing:-3px}
 .reference-shell .brand-almanac .days-info .list{width:78px;min-width:0}
 .reference-shell .brand-almanac .days-info .list .text{font-size:14px;line-height:1.4}
 .reference-shell .brand-almanac .days-info .list .title{font-size:11px;line-height:1.5}
 .reference-shell .brand-almanac .brand-date-arrow{width:26px!important;min-height:44px}
 .reference-shell .brand-almanac .days-info .brand-date-arrow.prev{left:0}
 .reference-shell .brand-almanac .days-info .brand-date-arrow.next{right:0}
 .reference-shell .brand-almanac .lunars-b .c .top>h4{font-size:16px;line-height:25px;margin-top:2px}
 .reference-shell .brand-almanac .lunars-b .c .down{display:grid;grid-template-columns:1fr 1fr;gap:10px;height:auto;margin:14px 0 12px}
 .reference-shell .brand-almanac .brand-almanac-cta{width:100%;height:44px;font-size:15px;gap:7px}
 .reference-shell .brand-almanac .brand-almanac-cta>.brand-almanac-mark{width:20px;height:20px}
 .reference-shell .brand-almanac .lunars-b .c .top .note{font-size:11px;line-height:19px;align-items:flex-start;text-align:center;gap:4px}
 .reference-shell .brand-almanac .note>.brand-almanac-mark{width:15px;height:17px;flex-shrink:0}
 .reference-shell .brand-almanac .horoscope{min-height:42px;height:auto;padding:7px 6px;gap:4px}
 .reference-shell .brand-almanac .horoscope .hit{width:20px;height:20px;line-height:20px;font-size:12px}
 .reference-shell .brand-almanac .brand-top-signals .horoscope .gz{width:56px;font-size:12px;line-height:19px}
 .reference-shell .brand-almanac .brand-top-signals .horoscope .zodiac{font-size:12px;line-height:19px;white-space:normal;flex:1;min-width:0}
 .reference-shell .brand-almanac .brand-top-pillars .horoscope{grid-template-columns:20px 28px 25px minmax(0,1fr);gap:4px}
 .reference-shell .brand-almanac .brand-top-pillars .horoscope .gz{font-size:13px;line-height:19px}
 .reference-shell .brand-almanac .brand-top-pillars .horoscope .zodiac,.reference-shell .brand-almanac .brand-top-pillars .horoscope .nayin{font-size:12px;line-height:19px;white-space:normal;text-align:left}
 .reference-shell .brand-almanac .lunars-b .brand-activity-heading{padding:0 10px;height:42px;gap:7px}
 .reference-shell .brand-almanac .lunars-b .brand-activity-heading h3{font-size:24px}
 .reference-shell .brand-almanac .lunars-b .yi-ji{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 3px;padding:8px;min-height:0;height:auto;align-content:start}
 .reference-shell .brand-almanac .lunars-b .yi-ji a{font-size:14px;line-height:25px;padding:2px;white-space:normal;min-width:0;text-align:center}
 .reference-shell .brand-almanac .lunars-b .shen-sha{min-height:0;height:auto;padding:10px}
 .reference-shell .brand-almanac .lunars-b .shen-sha .title{font-size:13px;gap:5px;white-space:normal;height:auto}
 .reference-shell .brand-almanac .lunars-b .shen-sha p{font-size:13px;line-height:22px}
 .reference-shell .brand-almanac .lunars-b .pz-chong{padding:10px;min-height:0;height:auto}
 .reference-shell .brand-almanac .lunars-b .pz-chong>div{display:block;margin-bottom:7px}
 .reference-shell .brand-almanac .lunars-b .pz-chong .title{display:block;width:auto;font-size:13px;margin:0 0 2px}
 .reference-shell .brand-almanac .lunars-b .pz-chong .text{font-size:13px;line-height:21px;overflow-wrap:anywhere}
 .reference-shell .brand-almanac .lunars-b .brand-season-facts{min-height:0;padding:10px}
 .reference-shell .brand-almanac .brand-season-facts>div{padding:6px 0;gap:5px;align-items:flex-start;flex-wrap:wrap}
 .reference-shell .brand-almanac .brand-season-facts .title,.reference-shell .brand-almanac .brand-season-facts .text{font-size:12px;line-height:20px;margin:0}
 .reference-shell .brand-almanac .brand-fact-tick{width:6px;height:6px;margin-top:6px}
 .reference-shell .brand-almanac .lunars-b .c .bottom .brand-almanac-panel{height:auto;min-height:156px;padding:10px}
 .reference-shell .brand-almanac .brand-panel-title{font-size:15px;line-height:23px;gap:6px;margin-bottom:7px;white-space:normal}
 .reference-shell .brand-almanac .lunars-info .item{font-size:13px;line-height:22px;gap:6px}
 .reference-shell .brand-almanac .lunars-info .item .title{font-size:13px;line-height:22px;width:48px}
 .reference-shell .brand-almanac .lunars-info .item .text{font-size:13px;line-height:22px;white-space:normal;overflow-wrap:anywhere}
 .reference-shell .brand-home .brand-tool-index{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px;gap:4px}
 .reference-shell .brand-home .brand-tool-index a.item{font-size:12px;min-height:48px;height:auto;padding:4px 2px;gap:4px}
 .reference-shell .brand-home .brand-tool-index img{width:27px;height:27px}
 .reference-shell .brand-home .brand-section-heading{align-items:center;gap:10px}
 .reference-shell .brand-home .brand-section-heading h2{font-size:21px}
 .reference-shell .brand-home .brand-section-heading>a{font-size:12px;max-width:42%;text-align:right;white-space:normal}
 .reference-shell .brand-home .brand-zodiac-section,.reference-shell .brand-home .brand-personal,.reference-shell .brand-home .brand-life,.reference-shell .brand-home .brand-geomancy{padding:14px;margin-bottom:16px}
 .reference-shell .brand-home .brand-zodiac-section .imgs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:auto;gap:3px}
 .reference-shell .brand-home .brand-zodiac-section .imgs button.item{width:100%;height:74px;padding:5px 0;gap:3px}
 .reference-shell .brand-home .brand-zodiac-section .imgs .item img{width:37px;height:40px}
 .reference-shell .brand-home .brand-zodiac-section .articles.active{display:block}
 .reference-shell .brand-home .brand-zodiac-section .articles .item{width:100%;line-height:37px}
 .reference-shell .brand-home .brand-zodiac-section .articles .item>a{font-size:14px;min-width:0;flex:1}
 .reference-shell .brand-home .brand-zodiac-section .articles .item>span{font-size:11px;flex-shrink:0}
 .reference-shell .brand-home .brand-birth-intro{grid-template-columns:1fr;gap:15px;min-height:0}
 .reference-shell .brand-home .brand-birth-intro figure img{width:100%;height:auto;max-height:250px;object-fit:contain}
 .reference-shell .brand-home .brand-birth-intro h3{font-size:21px}
 .reference-shell .brand-home .brand-birth-intro p{font-size:14px;line-height:1.8}
 .reference-shell .brand-home #hit_w{min-height:44px;width:100%;font-size:16px}
 .reference-shell .brand-home .brand-personal .reference-profile{padding:0}
 .reference-shell .brand-home .brand-personal .reference-profile .form-row{grid-template-columns:1fr 1fr;gap:12px}
 .reference-shell .brand-home .brand-personal .reference-profile input,.reference-shell .brand-home .brand-personal .reference-profile select{height:44px;font-size:16px;min-width:0}
 .reference-shell .brand-home .brand-personal .reference-profile button.primary{grid-column:1/-1;width:100%;height:44px;font-size:16px}
 .reference-shell .brand-home .brand-life>.info{display:grid;grid-template-columns:1fr;gap:18px}
 .reference-shell .brand-home .brand-life-taxonomy{grid-template-columns:1fr;display:grid;gap:0}
 .reference-shell .brand-home .brand-life-taxonomy .list-item{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px}
 .reference-shell .brand-home .brand-life-taxonomy .list-item a{min-height:38px;min-width:64px;line-height:24px;padding:7px 9px;font-size:14px;margin:0}
 .reference-shell .brand-home .brand-life .info>.c{width:100%;padding:0}
 .reference-shell .brand-home .brand-life .info>.c .item a{font-size:14px;min-width:0}
 .reference-shell .brand-home .brand-life-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .reference-shell .brand-home .brand-life-figures .item,.reference-shell .brand-home .brand-life-figures .item img{width:100%;height:110px}
 .reference-shell .brand-home .brand-life-figures .item h5{font-size:12px;line-height:19px;padding:2px}
 .reference-shell .brand-home .brand-life .ref-feature-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .reference-shell .brand-home .brand-life .ref-feature-links>a,.reference-shell .brand-home .brand-life .ref-feature-links img{height:112px}
 .reference-shell .brand-home .brand-life .ref-feature-links span{font-size:14px}
 .reference-shell .brand-home .brand-geomancy>.title{display:block}
 .reference-shell .brand-home .brand-geomancy .munu{justify-content:flex-start;gap:10px;flex-wrap:wrap;margin-top:8px}
 .reference-shell .brand-home .brand-geomancy .munu a{font-size:13px;padding:4px 0}
 .reference-shell .brand-home .brand-space-layout{grid-template-columns:1fr;gap:14px}
 .reference-shell .brand-home .brand-geomancy .articles .item{width:100%;font-size:14px;min-width:0}
 .reference-shell .brand-home .brand-geomancy .imgs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .reference-shell .brand-home .brand-geomancy .imgs .item,.reference-shell .brand-home .brand-geomancy .imgs .item img{width:100%;height:118px}
 .reference-shell .brand-home .brand-recommend{grid-template-columns:1fr;gap:16px}
 .reference-shell .brand-home .brand-recommend>.r>.lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
 .reference-shell .brand-home .brand-recommend>.r>.lists>a.list-item{height:55px;grid-template-columns:32px minmax(0,1fr);gap:7px}
 .reference-shell .brand-home .brand-recommend>.r img{width:32px;height:32px}
 .reference-shell .brand-home .brand-recommend>.r span{font-size:14px}
 .reference-shell .brand-home .brand-recommend>.l{width:100%;padding:0 12px 12px}
 .reference-shell .brand-home .brand-recommend .tab{overflow-x:auto;gap:18px;justify-content:flex-start}
 .reference-shell .brand-home .brand-recommend .tab-menu{height:47px;line-height:47px;flex-shrink:0;font-size:14px}
 .reference-shell .brand-home .brand-recommend .tab-item>.item{grid-template-columns:96px minmax(0,1fr);gap:10px}
 .reference-shell .brand-home .brand-recommend .tab-item img{width:96px;height:100px;object-fit:cover}
 .reference-shell .brand-home .brand-recommend .tab-item .title{font-size:16px;line-height:1.55}
 .reference-shell .brand-home .brand-recommend .tab-item p{font-size:13px;line-height:22px;max-height:44px}
 .reference-shell .brand-home .brand-recommend .tab-item .info>div{font-size:11px}
 .reference-shell .calendar-tools{grid-template-columns:1fr;gap:4px;padding:12px}
 .reference-shell .calendar-tools>a{min-height:80px;gap:10px}
 .reference-shell .calendar-tools>a+a{border-left:0;border-top:1px solid #e3cba8;padding:10px 0 0}
 .reference-shell .calendar-tools img{width:44px;height:44px}
 .reference-shell .calendar-tools span{flex:1;min-width:0;gap:4px}
 .reference-shell .calendar-tools strong{font-size:16px;line-height:1.5}
 .reference-shell .calendar-tools small{font-size:11px}
 .reference-shell .calendar-tools b{font-size:12px;flex-shrink:0}
 .reference-shell .reference-calendar-search{width:100%;height:44px}
 .reference-shell .reference-calendar-search input{font-size:15px;min-width:0}
 .reference-shell .reference-calendar-search button{width:76px;flex-shrink:0;font-size:16px}
 .reference-shell .reference-hot-dates{font-size:13px;gap:8px 14px;flex-wrap:wrap;padding:12px}
 .reference-shell .hl-scope{font-size:15px}
 .reference-shell .hl-date-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px;margin-bottom:12px}
 .reference-shell .hl-date-toolbar input,.reference-shell .hl-date-toolbar .hl-nav-button{height:42px;font-size:14px}
 .reference-shell .hl-calendar-info,.reference-shell .brand-calendar-pair{grid-template-columns:minmax(0,1fr);gap:16px;padding:12px;min-height:0}
 .reference-shell .brand-calendar-pair>.hl-side-calendar{grid-column:1;grid-row:2;width:100%}
 .reference-shell .brand-calendar-pair>.hl-lunar-sheet{grid-column:1;grid-row:1;width:100%;height:auto}
 .reference-shell .hl-lunar-top{height:90px;padding:20px 5px 0}
 .reference-shell .hl-lunar-top h3{font-size:17px}
 .reference-shell .hl-lunar-top p{font-size:12px}
 .reference-shell .hl-yi-ji{grid-template-columns:1fr 1.04fr 1fr;height:auto;min-height:310px;overflow:visible}
 .reference-shell .hl-yi>h3{height:44px;width:44px;line-height:44px;font-size:28px;margin:15px auto}
 .reference-shell .hl-day-terms{height:132px;min-height:132px;padding:0 3px;overflow:auto;scrollbar-width:thin}
 .reference-shell .hl-day-terms .term{min-width:50%;max-width:50%;font-size:13px;line-height:22px;padding:1px;white-space:normal}
 .reference-shell .hl-yi h5{font-size:13px;padding:8px 0}
 .reference-shell .hl-yi>p{font-size:12px;line-height:21px;padding:0 5px;max-height:none;overflow:visible}
 .reference-shell .hl-lunar-date{justify-content:center;padding:12px 0}
 .reference-shell .hl-lunar-date-box h2{font-size:clamp(29px,8.3vw,38px);line-height:1.35}
 .reference-shell .hl-lunar-title{font-size:16px;padding:5px 10px;margin-top:24px;outline-offset:3px}
 .reference-shell .hl-lunar-bottom{grid-template-columns:27% minmax(0,46%) 27%;height:auto;min-height:183px}
 .reference-shell .hl-bottom-labels>div{height:auto;min-height:61px;font-size:11px;line-height:19px;padding:6px 3px}
 .reference-shell .hl-god-positions{padding:13px 5px 8px}
 .reference-shell .hl-god-positions>div{gap:8px;justify-content:flex-start}
 .reference-shell .hl-god-positions>p{font-size:11px;line-height:20px;margin-top:13px}
 .reference-shell .hl-month-toolbar{min-height:64px;padding:8px 4px;gap:4px;justify-content:space-between}
 .reference-shell .hl-month-toolbar select{width:84px;height:40px;font-size:13px;margin:0;padding:4px}
 .reference-shell .hl-month-toolbar select#m-month{width:66px}
 .reference-shell .hl-month-arrow{font-size:25px;width:22px;padding:0;flex-shrink:0}
 .reference-shell .hl-scope .hl-weekday{font-size:13px;line-height:30px;min-height:30px}
 .reference-shell .hl-scope .hl-date-cell{min-height:68px}
 .reference-shell .hl-scope .hl-date-cell .hl-solar-number{font-size:25px}
 .reference-shell .hl-scope .hl-date-cell .hl-lunar-label{font-size:11px}
 .reference-shell .hl-daily-controls,.reference-shell .hl-time-almanac,.reference-shell .hl-data-section{padding:14px;margin-bottom:16px}
 .reference-shell .hl-time-almanac>h2,.reference-shell .hl-data-section>h2{font-size:22px;line-height:1.5;margin-bottom:14px}
 .reference-shell .hl-hour-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:18px}
 .reference-shell .hl-hour-tabs button{height:42px;min-height:42px;line-height:42px;font-size:14px}
 .reference-shell .hl-hour-detail{grid-template-columns:minmax(0,1fr);gap:15px}
 .reference-shell .hl-hour-image{width:100%;max-width:266px;height:150px;margin:0 auto}
 .reference-shell .hl-hour-image svg{width:100%;height:100%;object-fit:cover}
 .reference-shell .hl-hour-image figcaption b{font-size:35px}
 .reference-shell .hl-hour-info>p{font-size:14px;line-height:25px;margin-bottom:10px}
 .reference-shell .hl-hour-key{font-size:13px;gap:10px 20px}
 .reference-shell .hl-hour-yiji{grid-template-columns:1fr;gap:13px}
 .reference-shell .hl-hour-yiji p{font-size:14px;line-height:25px}
 .reference-shell .hl-hour-yiji>div>b{width:33px;height:33px;line-height:33px;font-size:20px}
 .reference-shell .hl-daily-controls .times{gap:6px}
 .reference-shell .hl-daily-controls .time{font-size:12px}
 .reference-shell .hl-daily-controls .zgrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;max-width:100%}
 .reference-shell .hl-daily-controls .zgrid button{min-height:40px;font-size:14px}
 .reference-shell .hl-direction-info{grid-template-columns:1fr;gap:14px}
 .reference-shell .hl-direction-info .compass{width:230px;height:230px;margin:auto;max-width:100%}
 .reference-shell .hl-direction-info dl>div{font-size:14px;line-height:25px;gap:12px}
 .reference-shell .hl-direction-info dt{min-width:70px}
 .reference-shell .hl-scope .hl-table :is(th,td){font-size:13px;line-height:22px;padding:8px}
 .reference-shell .hl-month-page,.reference-shell .hl-year-page{padding:12px}
 .reference-shell .hl-month-intro>h2,.reference-shell .hl-year-title{font-size:27px;margin:14px 0!important;line-height:1.45}
 .reference-shell .hl-month-intro>p,.reference-shell .hl-year-description{font-size:14px;line-height:25px}
 .reference-shell .hl-calendar-utilities{flex-wrap:wrap;gap:10px 20px}
 .reference-shell .hl-calendar-utilities button{min-height:40px;font-size:13px}
 .reference-shell .hl-event-filters{gap:8px;flex-wrap:wrap;font-size:14px}
 .reference-shell .hl-event-filters button{font-size:13px;min-height:38px;padding:5px 9px}
 .reference-shell .hl-calendar-search{width:100%;margin-top:12px}
 .reference-shell .hl-calendar-search input{width:auto;flex:1;min-width:0;max-width:none;height:44px;font-size:14px}
 .reference-shell .hl-calendar-search button{width:76px;height:44px;line-height:44px;flex-shrink:0;font-size:16px}
 .reference-shell .hl-hot-dates{font-size:13px;padding:10px 0 18px;gap:8px 14px}
 .reference-shell .hl-year-months .hl-date-cell{min-height:44px;height:44px}
 .reference-shell .hl-year-months .hl-date-cell .hl-solar-number{font-size:17px}
 .reference-shell .hl-year-months .hl-date-cell .hl-lunar-label{font-size:11px}
 .reference-shell .hl-year-months .hl-weekday{font-size:14px;height:35px;line-height:35px}
 .reference-shell .hl-data-section .nine-grid{width:100%;max-width:330px;margin:auto}
 .reference-shell .reference-tools .birth-form>.form-row,.reference-shell .reference-tools .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 0}
 .reference-shell .reference-tools .form-row label{min-width:0;width:100%;font-size:14px}
 .reference-shell .reference-tools .form-row :is(input,select,textarea){width:100%;max-width:100%;min-width:0;height:44px;font-size:16px}
 .reference-shell .reference-tools .form-row .btn{grid-column:1/-1;width:100%;min-height:44px;font-size:16px}
 .reference-shell .reference-tools .form-row .question-label{grid-column:1/-1}
 .reference-shell .reference-tools .form-row textarea{height:auto;min-height:90px}
 .reference-shell .reference-tools .location-details{grid-column:1/-1}
 .reference-shell .reference-tools .section-visual{grid-template-columns:1fr;gap:0}
 .reference-shell .reference-tools .section-visual>div{padding:15px 0}
 .reference-shell .reference-tools .section-visual .lead,.reference-shell .reference-tools .tool-intro .lead{font-size:24px;line-height:1.55}
 .reference-shell .reference-tools .section-visual img{width:100%;height:auto;max-height:270px;object-fit:contain}
 .reference-shell .reference-tools .tool-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:0;max-width:100%}
 .reference-shell .reference-tools .tool-tabs a{font-size:14px;white-space:nowrap;min-height:44px;flex-shrink:0;padding:10px}
 .reference-shell .chart-caption{align-items:flex-start;gap:12px}
 .reference-shell .chart-caption>div{min-width:0;flex:1}
 .reference-shell .chart-caption h2{font-size:23px;line-height:1.45}
 .reference-shell .chart-caption p{font-size:13px;line-height:1.65;overflow-wrap:anywhere}
 .reference-shell .chart-caption .text-button{font-size:12px;min-height:44px}
 .reference-shell .bazi-table-wrap{padding-bottom:8px}
 .reference-shell .bazi-table{min-width:560px}
 .reference-shell .bazi-table :is(th,td){font-size:14px;line-height:1.6;padding:10px 8px}
 .reference-shell .bazi-table .pillar-gan,.reference-shell .bazi-table .pillar-zhi{font-size:31px}
 .reference-shell .chart-explainer{grid-template-columns:1fr;gap:18px}
 .reference-shell .chart-explainer p{font-size:15px;line-height:1.8}
 .reference-shell .dayun-strip{grid-template-columns:repeat(10,92px);scroll-snap-type:x proximity;padding-bottom:8px}
 .reference-shell .dayun-strip button{scroll-snap-align:start;min-width:92px;min-height:112px;padding:12px 6px}
 .reference-shell .dayun-strip small{font-size:11px}
 .reference-shell .dayun-strip b{font-size:25px}
 .reference-shell .dayun-strip span{font-size:13px}
 .reference-shell .flow-heading h3{font-size:20px}
 .reference-shell .dayun-section .scroll table{min-width:540px}
 .reference-shell .reference-tools .natal-layout,.reference-shell .reference-tools .flying-layout,.reference-shell .reference-tools .house-result{grid-template-columns:1fr;gap:18px}
 .reference-shell .natal-layout figure svg,.reference-shell .direction-wheel{width:100%;height:auto;max-width:520px}
 .reference-shell .planet-list{padding:0}
 .reference-shell .planet-list table{min-width:460px}
 .reference-shell .astro-summary{gap:8px}
 .reference-shell .astro-summary b{font-size:21px}
 .reference-shell .astro-summary small,.reference-shell .astro-summary span{font-size:11px}
 .reference-shell .astro-reading{grid-template-columns:1fr;gap:18px}
 .reference-shell .reference-tools .nine-grid{width:100%;max-width:420px;margin:auto}
 .reference-shell .reference-tools .palace-cell{min-height:112px;padding:9px 4px;gap:4px}
 .reference-shell .reference-tools .palace-cell>b{font-size:34px}
 .reference-shell .reference-tools .palace-cell>span,.reference-shell .reference-tools .palace-cell>strong{font-size:12px;line-height:1.4}
 .reference-shell .reference-tools .palace-cell>small{font-size:11px;line-height:1.4}
 .reference-shell .star-reading{margin-top:5px;padding:15px 0}
 .reference-shell .star-reading p{font-size:15px;line-height:1.8}
 .reference-shell .star-definitions{grid-template-columns:1fr}
 .reference-shell .period-timeline{grid-template-columns:repeat(9,92px)}
 .reference-shell .period-timeline>div{min-width:92px}
 .reference-shell .house-index{grid-template-columns:repeat(2,minmax(0,1fr))}
 .reference-shell .house-index p{font-size:13px;line-height:1.7}
 .reference-shell .reference-tools .feature-tools,.reference-shell .reading-steps{grid-template-columns:1fr}
 .reference-shell .ten-god-table table{min-width:420px}
 .reference-shell .tarot-intro{grid-template-columns:1fr;gap:14px}
 .reference-shell .tarot-fan{max-width:300px;width:100%;height:300px;margin:auto}
 .reference-shell .tarot-spread{width:100%;max-width:100%;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
 .reference-shell .tarot-spread.celtic{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}
 .reference-shell .draw-card{width:100%;min-width:0}
 .reference-shell .draw-position{min-width:0}
 .reference-shell .draw-position>small{font-size:11px;line-height:1.6}
 .reference-shell .draw-result-label{font-size:13px;line-height:1.6}
 .reference-shell .draw-interpretations{grid-template-columns:1fr}
 .reference-shell .draw-interpretations p{font-size:15px;line-height:1.8}
 .reference-shell .library-controls{display:block}
 .reference-shell .library-controls>div{display:flex;flex-wrap:wrap;gap:4px 14px}
 .reference-shell .library-controls button{font-size:13px;min-height:40px}
 .reference-shell .library-controls input{width:100%;min-width:0;height:44px;font-size:16px}
 .reference-shell .tarot-library{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}
 .reference-shell .tarot-figure figcaption b{font-size:14px}
 .reference-shell .tarot-figure figcaption span{font-size:11px}
 .reference-shell .card-reading{grid-template-columns:1fr;gap:18px}
 .reference-shell .card-portrait{width:245px;max-width:100%;margin:auto}
 .reference-shell .site-footer>.w{display:block;min-height:0;padding:22px 0}
 .reference-shell .site-footer .footer-brand{display:flex;min-width:0;gap:12px;margin-bottom:18px}
 .reference-shell .footer-brand strong{font-size:28px}
 .reference-shell .footer-links nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px;margin-bottom:14px}
 .reference-shell .footer-links nav a{font-size:13px;min-height:40px;display:flex;align-items:center}
 .reference-shell .footer-links p{font-size:11px;line-height:1.8}
 .reference-shell .home-chart-expanded>details>summary{font-size:19px;line-height:1.6;gap:10px}
 .reference-shell .home-chart-expanded>details>summary>span{font-size:12px;flex-shrink:0}
}
@media(max-width:600px){
 .reference-shell .hl-year-months{grid-template-columns:1fr;gap:18px}
}
@media(max-width:359px){
 .reference-shell .reference-main.wrap{padding:0 8px}
 .reference-shell .w{width:calc(100% - 16px)}
 .reference-shell .site-brand strong{font-size:26px}
 .reference-shell .site-brand img{width:35px;height:42px}
 .reference-shell .site-nav a{font-size:13px}
 .reference-shell .brand-strip-date{min-width:110px}
 .reference-shell .brand-strip-date b{font-size:17px}
 .reference-shell .brand-strip-terms{gap:8px}
 .reference-shell .brand-strip-terms b{font-size:17px}
 .reference-shell .brand-almanac .days-info .list{width:64px}
 .reference-shell .brand-almanac .days-info .list .text{font-size:13px}
 .reference-shell .brand-almanac .lunars-b .c .top .days-info h5{font-size:80px;width:96px}
 .reference-shell .brand-home .brand-tool-index a.item{font-size:11px}
 .reference-shell .brand-home .brand-tool-index img{width:24px;height:24px}
 .reference-shell .calendar-tools b{display:none}
 .reference-shell .reading-sidebar{grid-template-columns:1fr}
}
@media(max-width:1179px){.reference-shell .brand-almanac,.reference-shell .brand-almanac .lunars-b{width:100%;max-width:100%;min-width:0}}
@media(max-width:760px){.reference-shell .site-nav a{color:#2d1c10}.reference-shell .site-nav a.active,.reference-shell .site-nav a:hover{color:#fff8ec}.reference-shell input::placeholder,.reference-shell textarea::placeholder{color:#786451;opacity:1}.reference-shell .hl-scope .hl-date-cell .hl-lunar-label{color:#675a49}.reference-shell .hl-scope .hl-date-cell .hl-festival{color:#b3312a}}
@media(max-width:1179px){.reference-shell .brand-almanac .lunars-b>.c,.reference-shell .brand-almanac .lunars-b>.l{width:auto;max-width:100%;min-width:0}}
@media(max-width:760px){.reference-shell .brand-home .brand-space-layout{grid-template-columns:minmax(0,1fr);min-width:0}.reference-shell .brand-home .brand-space-layout>*{width:100%;max-width:100%;min-width:0}}
