/* Measured from huangli.com /huangli/ and /wannianli/ on 2026-10-23. */
.hl-scope{font-family:var(--sans);color:#222;font-size:16px;line-height:1.5}.hl-scope *{box-sizing:border-box}.hl-scope [hidden]{display:none!important}.hl-scope button,.hl-scope input,.hl-scope select,.hl-scope a{font-family:inherit}.hl-scope button,.hl-scope input,.hl-scope select{border-radius:0}.hl-scope a{color:inherit;text-decoration:none}.hl-scope a:hover{color:#bc2f3f}.hl-scope h2,.hl-scope h3,.hl-scope h5,.hl-scope p,.hl-scope dl,.hl-scope dd{margin:0}.hl-scope button{cursor:pointer}.hl-date-toolbar{display:flex;align-items:center;gap:10px;background:#fcf9f3;padding:12px 20px;margin:0 0 15px}.hl-nav-button{display:inline-block;border:1px solid #e2d8c7;background:#fcf9f3;padding:6px 14px;font-size:14px;color:#555;cursor:pointer}.hl-date-toolbar input{height:34px;background:#fff;color:#222;border:1px solid #d8d3c8;padding:4px 8px}.hl-calendar-info{padding:20px;background:#fcf9f3;display:grid;grid-template-columns:minmax(0,490px) minmax(0,490px);gap:20px;align-items:stretch;margin-bottom:20px}.hl-lunar-sheet{border:2px solid #cb7a43;border-top:0;position:relative;min-width:0;background:#fcf9f3}.hl-lunar-top{height:99px;background:#cb7a43;color:#fff;text-align:center;display:flex;flex-direction:column;justify-content:center;padding:15px 7px 4px;position:relative}.hl-lunar-top:before{content:"";height:19px;position:absolute;inset:0 0 auto;background:radial-gradient(ellipse at 50% 0,#fcf9f3 0 8px,transparent 9px) 10px 0/66px 20px repeat-x}.hl-lunar-top h3{font-weight:700;font-size:24px;line-height:1.3;color:#fff}.hl-lunar-top p{font-size:15px;line-height:1.3;padding-top:8px;color:#fff}.hl-yi-ji{display:grid;grid-template-columns:1fr 1.04fr 1fr;min-height:290px}.hl-yi{min-width:0;padding-bottom:10px}.hl-yi>h3{width:60px;height:60px;background:#bc2f3f;border-radius:50%;color:#fff;text-align:center;line-height:60px;font-size:36px;margin:20px auto}.hl-ji>h3{background:#278338}.hl-day-terms{display:flex;flex-wrap:wrap;justify-content:flex-start;align-content:start;gap:0;min-height:75px;padding:0 4px}.hl-day-terms .term{font:400 15px/25px var(--sans);min-width:calc(100% / 3);padding:0;border:0;background:transparent;color:#222;text-align:center}.hl-day-terms .term[aria-expanded=true]{color:#bc2f3f;background:#f2e9d8}.hl-yi h5{text-align:center;font-size:15px;padding:10px 0;font-weight:700}.hl-yi>p{font-size:14px;line-height:23px;padding:0 8px;text-align:center}.hl-lunar-date{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 0 20px}.hl-lunar-date-box h2{font-size:60px;line-height:72px;font-weight:700;color:#222;white-space:nowrap}.hl-lunar-title{font-size:22px;background:#bc2f3f;color:#fff!important;margin-top:30px;line-height:1.4;padding:6px 16px;outline:1px solid #bc2f3f;outline-offset:4px}.hl-lunar-bottom{margin-top:20px;border-top:1px solid #cb7a43;display:grid;grid-template-columns:80px minmax(0,1fr) 130px;min-height:150px}.hl-bottom-labels>div{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-bottom:1px solid #cb7a43;min-height:50px;padding:5px 3px;font-size:12px;line-height:20px}.hl-bottom-labels>div:last-child{border-bottom:0}.hl-bottom-labels dt{font-weight:700}.hl-god-positions{border-inline:1px solid #cb7a43;padding:18px 9px 10px}.hl-god-positions>div{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.hl-god{display:flex;align-items:center;gap:4px;font-size:10px}.hl-god b{width:25px;height:25px;color:#fff;font-size:13px;font-weight:400;line-height:25px;text-align:center;border-radius:50%;background:#dcb263}.hl-god-1 b{background:#a466b9}.hl-god-2 b{background:#e9797d}.hl-god small{display:block;font-size:9px}.hl-god-positions>p{font-size:11px;line-height:20px;margin-top:20px}.hl-day-ganzhi{text-align:center;font-size:12px;padding:8px;border-top:1px solid #cb7a43}.hl-side-calendar{border:2px solid #f18a91;min-width:0;background:#fcf9f3}.hl-month-toolbar{display:flex;align-items:center;justify-content:space-evenly;gap:0;min-height:80px;padding:0 10px;margin:0;background:#bc2f3f}.hl-month-toolbar select{background:#fff;color:#222;border:0;padding:5px;height:40px;width:104px;min-width:0;font-size:16px;margin:0 5px}.hl-month-arrow{background:transparent;border:0;text-align:center;color:#fff!important;font-size:35px;font-weight:400;line-height:1;padding:0 5px}.hl-scope .hl-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;border:0;background:#fcf9f3;margin:0;min-width:0}.hl-scope .hl-weekday{text-align:center;background:#f9e1df;color:#555;min-height:33px;line-height:33px;padding:0;font-size:16px;border:0}.hl-scope .hl-date-cell{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-width:0;min-height:80px;gap:2px;background:transparent;padding:4px 0;border:0;border-radius:0;color:#222;outline:0}.hl-scope .hl-date-cell:hover{background:#f0ece4}.hl-scope .hl-date-cell.out{background:transparent}.hl-scope .hl-date-cell .hl-solar-number{font:400 28px/1.1 var(--sans);color:inherit}.hl-scope .hl-date-cell .hl-lunar-label{font:400 12px/1.4 var(--sans);color:#888;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hl-scope .hl-date-cell .hl-festival,.hl-scope .hl-date-cell.red .hl-lunar-label{color:#c40000}.hl-scope .hl-date-cell.red .hl-solar-number{color:#bc2f3f}.hl-scope .hl-date-cell.today{box-shadow:inset 0 0 0 2px #f18a91;background:transparent;color:#bc2f3f}.hl-scope .hl-date-cell.ev{background:#e9f0dc}.hl-scope .hl-date-cell .evdot{width:4px;height:4px;right:7px;top:7px;background:#5cb85c}.hl-scope .hl-work-mark{top:0;right:0;background:#d9534f;color:#fff;width:17px;line-height:17px;font-size:10px;padding:0}.hl-daily-controls{padding:12px 20px 20px;background:#fcf9f3;margin-bottom:20px}.hl-daily-controls .explain{font-size:14px;min-height:30px;color:#666}.hl-daily-controls .times{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0}.hl-daily-controls .time{background:#f1eadb;padding:4px 7px;font-size:13px;border-radius:0;color:#555}.hl-daily-controls .time.now{color:#bc2f3f}.hl-daily-controls .zgrid{max-width:600px;display:grid;grid-template-columns:repeat(12,1fr);gap:7px;padding:8px 0}.hl-daily-controls .zgrid button{background:#ebebeb;color:#555;border:0;padding:6px;font-size:14px;border-radius:0}.hl-daily-controls .zgrid button[aria-pressed=true]{background:#bc2f3f;color:#fff}.hl-daily-controls .zmsg{font-size:14px;color:#666;padding:8px 0}.hl-time-almanac{padding:20px;background:#fcf9f3;margin-bottom:20px}.hl-time-almanac>h2{font-size:24px;line-height:50px;font-weight:700;color:#222}.hl-hour-tabs{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:15px;margin:0 0 30px}.hl-hour-tabs button{height:33px;min-height:0;width:100%;font-size:16px;font-weight:400;line-height:33px;color:#555;background:#ebebeb;padding:0;border:0;border-radius:0}.hl-hour-tabs button[aria-selected=true]{background:#bc2f3f;color:#fff}.hl-hour-detail{display:grid;grid-template-columns:266px minmax(0,1fr);gap:20px;align-items:start}.hl-hour-image{height:300px;position:relative;margin:0;overflow:hidden}.hl-hour-image svg{display:block;width:100%;height:100%}.hl-hour-image figcaption{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;gap:10px}.hl-hour-image figcaption b{font-size:48px;font-weight:700;color:#fff;border:1px solid #fff;padding:0 5px}.hl-hour-info>p{font-size:16px;line-height:30px;margin-bottom:15px}.hl-time-info strong{font-weight:400;color:#bc2f3f}.hl-hour-key{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:20px;font-size:14px}.hl-hour-key b{color:#bc2f3f}.hl-hour-yiji{display:grid;grid-template-columns:1fr 1fr;gap:24px}.hl-hour-yiji>div{display:flex;align-items:start;gap:10px}.hl-hour-yiji>div>b{width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#bc2f3f;color:#fff;text-align:center;font-size:24px;line-height:42px;font-weight:400}.hl-hour-yiji>div+div>b{background:#278338}.hl-hour-yiji p{font-size:15px;line-height:27px}.hl-small-note{font-size:12px;color:#888;margin-top:15px!important}.hl-data-section{background:#fcf9f3;padding:20px;margin:0 0 20px;min-width:0}.hl-data-section>h2{font-size:24px;font-weight:700;line-height:50px;padding:0;color:#222;border:0;margin:0 0 10px}.hl-data-section>p{font-size:16px;line-height:28px}.hl-scope .hl-table{border-collapse:collapse;background:#fcf9f3;width:100%;font-size:14px;border:1px solid #d5bd7e}.hl-scope .hl-table th,.hl-scope .hl-table td{border:1px solid #d5bd7e;text-align:center;padding:8px 6px;vertical-align:middle;background:#fcf9f3;color:#666;font-size:14px;line-height:22px}.hl-scope .hl-table th{font-weight:700;color:#222}.hl-scope .hl-table tbody tr:nth-child(even)>*{background:#fcf9f3}.hl-scope .hl-table .luck.good,.hl-scope .hl-table .ok{color:#278338}.hl-scope .hl-table .luck.bad,.hl-scope .hl-table .chongme{color:#bc2f3f}.hl-direction-info{display:grid;grid-template-columns:266px 1fr;gap:20px;align-items:center}.hl-direction-info .compass{width:266px;height:266px;background:#f9e9aa}.hl-direction-info dl>div{display:flex;gap:16px;font-size:15px;line-height:30px}.hl-direction-info dt{color:#bc2f3f;font-weight:700;min-width:80px}.hl-direction-info dd{margin:0}.hl-month-page,.hl-year-page{background:#fcf9f3;padding:20px}.hl-month-intro>h2,.hl-year-title{font-size:36px;text-align:center;font-weight:700;margin:20px 0!important;line-height:1.4;color:#222}.hl-month-intro>p,.hl-year-description{font-size:16px;line-height:30px;margin-bottom:10px!important}.hl-month-sheet{border:2px solid #f18a91}.hl-month-sheet .hl-date-cell{min-height:100px}.hl-calendar-utilities{display:flex;align-items:center;gap:25px;padding:16px 0}.hl-calendar-utilities .seg button{border:0;background:#ebebeb;color:#666;border-radius:0}.hl-calendar-utilities .seg button[aria-pressed=true]{background:#bc2f3f;color:#fff}.hl-text-link{color:#bc2f3f!important;font-size:14px}.hl-event-filters{margin:0;padding:0 0 10px;gap:10px 20px;font-size:14px}.hl-event-filters button{font-size:14px;background:#b1a283;color:#fff;padding:5px 12px;border:0;border-radius:0}.hl-event-filters button[aria-pressed=true]{background:#bc2f3f;color:#fff}.hl-calendar-legend{font-size:13px;color:#777;margin:0 0 20px!important}.hl-month-lists{gap:20px;margin:0}.hl-month-lists>.hl-data-section{padding:0}.hl-month-lists .mlist,.hl-month-lists .good-list{font-size:14px;color:#666}.hl-calendar-search{display:flex;justify-content:center;margin:10px 0 0}.hl-calendar-search input{background:#fff;border:0;border-radius:0;font-size:16px;height:50px;line-height:40px;padding:5px 12px;width:580px;max-width:80%;color:#222}.hl-calendar-search button{border:0;border-radius:0;background:#bc2f3f;color:#fff;font-size:18px;width:120px;height:50px;line-height:50px;padding:0}.hl-hot-dates{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;padding:10px 0 25px;font-size:16px;color:#666}.hl-hot-dates a:hover{color:#bc2f3f}.hl-year-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 5px;margin:10px 0 20px}.hl-year-month{background:#fff;min-width:0;margin-bottom:20px}.hl-year-month>h3{font-weight:700;font-size:16px;line-height:40px;height:40px;text-align:center;color:#fff;background:#bc2f3f;margin:0}.hl-year-month>h3 a{color:#fff;display:block}.hl-year-months .hl-month-grid{background:#fff;min-height:280px;align-content:start}.hl-year-months .hl-weekday{background:#fff;color:#555;font-size:16px;height:40px;line-height:40px}.hl-year-months .hl-date-cell{min-height:40px;height:40px;padding:0;gap:0}.hl-year-months .hl-date-cell .hl-solar-number{font-size:16px;line-height:20px;color:#222}.hl-year-months .hl-date-cell .hl-lunar-label{font-size:9px;line-height:12px}.hl-year-months .hl-date-cell.today{box-shadow:none;background:#f6e3de}.hl-year-months .hl-date-cell.ev{background:#fff}.hl-year-page>.hl-data-section{padding:20px 0}


.hl-scope .hl-date-cell.red .hl-solar-number{color:#222}.hl-scope .hl-date-cell.red .hl-lunar-label:not(.hl-festival){color:#888}.hl-scope .hl-date-cell.today .hl-solar-number{color:#bc2f3f}.hl-side-calendar .hl-date-cell.ev{background:transparent}.hl-direction-info .compass .ring{fill:none;stroke:#d4b96f;stroke-width:2}.hl-direction-info .compass .lab{fill:#685c42;font-size:11px}.hl-direction-info .compass .m-xi{fill:#bc2f3f}.hl-direction-info .compass .m-fu{fill:#278338}.hl-direction-info .compass .m-cai{fill:#bc9250}.hl-direction-info .compass .mt{fill:#fff;font-size:10px}.hl-data-section .nine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:300px;max-width:100%;gap:0;border:1px solid #d5bd7e}.hl-data-section .palace-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:85px;border:1px solid #d5bd7e;border-radius:0;background:#fcf9f3;padding:7px}.hl-data-section .palace-cell>b{font-size:28px;color:#bc2f3f}.hl-data-section .palace-cell>span,.hl-data-section .palace-cell>strong{font-size:12px;color:#555}.hl-data-section .palace-cell>small{font-size:10px;color:#777}
/* The reference keeps both 490px sheets and a 594px calendar at desktop geometry. */
.hl-date-toolbar{display:none}.reference-shell .breadcrumb{min-height:29px;height:29px;padding:4px 20px}.hl-yi-ji{height:310px;min-height:310px;overflow:hidden}.hl-day-terms{height:75px;min-height:75px;overflow:auto}.hl-yi>p{max-height:78px;overflow:auto}.hl-lunar-date{justify-content:flex-start;padding-top:20px}.hl-lunar-bottom{height:183px;min-height:183px;margin-top:0}.hl-bottom-labels>div{height:61px;min-height:61px}.hl-day-ganzhi{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);padding:0;border:0}.hl-calendar-info{min-height:634px}.hl-lunar-sheet{height:594px}.hl-scope .hl-date-cell .evdot{display:none}.hl-year-month{margin-bottom:0}.hl-year-months{gap:10px 5px}
.hl-lunar-top{background:#cb7a43;padding:30px 7px 0}.hl-lunar-top:before{display:none}
