.hk-page { margin:0; color:#1a1817; background:#fff; font:clamp(15px,2.8vw,21px)/1.5 "Microsoft YaHei","PingFang SC",Arial,sans-serif; }
.hk-paper, [data-draw-edition="14"] .hk-paper { box-sizing:border-box; max-width:800px; width:100%; margin:0 auto; background:white; border-inline:3px solid #237575; }
.hk-home .hk-paper { border-block-start:3px solid #237575; }
.hk-home .hk-masthead { margin-bottom:4px; background:white; }
.hk-reader .hk-paper { border:0; }
.hk-paper *, .hk-paper *::before, .hk-paper *::after { box-sizing:border-box; }
.hk-masthead { display:block; background:#f9f5e7; }
.hk-masthead img { display:block; width:100%; height:auto; }
/* Place the native link under the artwork's green button so its text also works without the image. */
.hk-app-banner { position:relative; isolation:isolate; display:grid; aspect-ratio:3; grid-template:53% minmax(44px,23%) 1fr / 1fr 23.6% 1%; }
.hk-app-banner a { grid-area:2 / 2; display:grid; place-items:center; border-radius:6px; background:#006457; color:white; font-weight:700; }
.hk-app-banner img { position:absolute; inset:0; pointer-events:none; }
.hk-app-banner a:focus-visible img { z-index:-1; }
.hk-paper a { text-decoration:none; }
.hk-paper a:hover { text-decoration:underline; }
.hk-paper :is(a,button,input,select):focus-visible { outline:3px solid #c87305; outline-offset:-3px; }
.hk-navigation { position:sticky; top:0; z-index:8; background:white; }
.hk-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; padding:8px; }
.hk-nav a { border-radius:18px; padding:4px 0; background:#237575; color:white; text-align:center; font-size:16px; line-height:1.5; white-space:nowrap; }
.hk-nav a:hover { background:#cd1c3e; text-decoration:none; }
.hk-section { --hk-nav-offset:129px; margin:4px 2px; border:1px solid #b8c4c2; text-align:center; scroll-margin-top:var(--hk-nav-offset); }
.hk-heading,.hk-section h3 { margin:0; padding:4px 3px; text-align:center; font-size:clamp(17px,4.3vw,23px); line-height:1.4; font-weight:700; }
.hk-heading { background:#237575; color:#fff; }
.hk-heading span { color:#ffff00; }
.hk-section > .hk-heading { padding:9px 3px; font-family:KaiTi,"Kaiti SC",serif; }
.hk-section h3 { background:#e5f0ef; color:#24453e; font-size:.92em; }
.hk-row { border-bottom:1px solid #c3c3c3; padding:4px 5px; overflow-wrap:anywhere; line-height:1.55; }
.hk-row:last-child { border-bottom:0; }
.hk-row strong { color:#252525; }
.hk-pick { display:inline; color:#263487; }
.hk-row mark,.hk-paper .ink, .hk-result .hit { color:#c31612; font-weight:700; }
.hk-row mark { background:#fff146; }
.hk-result { font-size:.9em; color:#202220; }
.hk-result .miss { color:#676767; }
.hk-pending,.hk-empty { font-size:.9em; color:#666; }
.hk-body { white-space:pre-line; overflow-wrap:anywhere; color:#402c26; }
.hk-legend { display:grid; justify-content:center; border-bottom:1px solid #909090; padding:3px; color:#595959; font:700 clamp(16px,3.6vw,21px)/1.3 KaiTi,"Kaiti SC",serif; }
.hk-legend-pairs { grid-template-columns:repeat(2,max-content); column-gap:1em; }
.hk-pick-line { display:block; color:#182c87; font-weight:600; }
.hk-sx8m .hk-row,.hk-sanxiaoliuma .hk-row,.hk-yin8 .hk-row { padding:4px 3px; color:#800000; font-weight:700; line-height:1.38; }
.hk-sx8m .hk-row strong,.hk-sanxiaoliuma .hk-row strong,.hk-yin8 .hk-row strong { color:inherit; }
.hk-sx8m .hk-pick-line,.hk-sanxiaoliuma .hk-pick-line,.hk-yin8 .hk-pick-line { display:block; padding:1px 0; overflow-wrap:anywhere; }
.hk-sanxiaoliuma .hk-pick-line,.hk-yin8 .hk-pick-line { font-size:clamp(17px,4.3vw,21px); line-height:1.42; color:#101987; }
.hk-sx8m .hk-legend { font-size:21px; line-height:27px; padding:1px 3px; }
.hk-sx8m .hk-row { font-size:18px; line-height:24px; padding:0 2px; }
.hk-sx8m .hk-pick-line { font:700 21px/27px "Kaiti SC",KaiTi,serif; color:#101987; }
.hk-layers { text-align:left; }
.hk-layers .hk-pick-line { padding:2px 5px; }
.hk-djgs .hk-row { padding:1px 3px; font-size:clamp(13px,3.2vw,17px); }
.hk-db1x .hk-row { background:white; text-align:left; padding:0; font-size:clamp(15px,3.8vw,22px); }
.hk-db1x .hk-row div { padding:3px 6px; border-top:1px solid #9a9a90; }
.hk-db1x .hk-row h2 { margin:0; padding:3px; background:#ffffcc; text-align:center; font-size:clamp(17px,3.7vw,21px); }
.hk-db1x .hk-row b { color:#222; font-weight:500; }
.hk-db1x .hk-row div > span,.hk-db1x .hk-row div > strong { color:#c61a21; }
.hk-wave-line { display:block; }
.hk-posts,.hk-directory { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.hk-posts a,.hk-directory a { display:flex; align-items:center; gap:8px; padding:8px 5px; border-bottom:1px solid #ddd; background:white; min-width:0; color:#222; }
.hk-posts a { text-align:left; font-size:17px; line-height:1.4; }
.hk-posts b { color:#c21818; }
.hk-posts img { width:40px; height:40px; border-radius:50%; flex:none; }
.hk-gslist .hk-posts a,.hk-jslist .hk-posts a { padding:10px; font-size:16px; line-height:1.6; }
.hk-gslist .hk-posts b,.hk-jslist .hk-posts b { color:#c40000; font-size:21px; font-weight:500; }
.hk-gslist > .hk-heading,.hk-jslist > .hk-heading { font-size:22px; min-height:53px; border:3px double white; padding:6px 3px; }
.hk-posts small { display:block; color:#666; font-size:12px; }
.hk-zbxj .hk-posts { grid-template-columns:1fr; }
.hk-zbxj .hk-posts small { color:white; background:#087d9e; border-radius:5px; padding:2px 5px; }
.hk-index-strip,.hk-sqjsh::before { display:grid; place-items:center; padding-left:28%; min-height:clamp(44px,10vw,88px); background:#e22e46 url(expert.webp) left center/auto 100% no-repeat; color:#fff; font-weight:800; font-size:clamp(22px,4.5vw,40px); }
.hk-strip-jslist { background:#eaf0e6 url(kill.webp) left center/auto 100% no-repeat; color:#9d251b; }
.hk-sqjsh::before { content:"三期计划"; }
.hk-directory { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:8px; }
.hk-directory a { justify-content:center; border:1px solid #ddd; border-radius:5px; padding:7px 0; font-size:clamp(14px,3vw,18px); }
.hk-liuhetuku .hk-heading { font:700 clamp(18px,4.4vw,26px)/1.4 "PingFang SC","Microsoft YaHei",sans-serif; padding:7px 3px; border-bottom:2px solid #287835; }
.hk-liuhetuku .hk-directory { gap:8px; padding:10px 8px; }
.hk-liuhetuku .hk-directory a { font-size:clamp(16px,4.6vw,18px); line-height:25px; }
.hk-themes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; padding:4px; background:#fff6dc; }
.hk-themes a { display:block; color:#5d2210; font-weight:bold; }
.hk-themes img { width:100%; height:auto; aspect-ratio:60/47; object-fit:contain; display:block; background:#fffdf6; }
.hk-detail-head { display:flex; align-items:center; min-height:45px; background:#237575; padding:7px 12px; gap:14px; font-size:18px; color:white; }
.hk-detail-head a { color:white; font-weight:bold; }
.hk-reader .hk-paper footer { color:#555; background:white; padding:20px 0; }
.hk-article { padding:0 10px 30px; }
.hk-article h1 { font-size:20px; line-height:1.35; margin:16px -8px 25px; }
.hk-article .hk-row { border:0; text-align:left; padding:0; font-size:14px; line-height:20px; }
.hk-article .hk-row strong { font-weight:400; }
.hk-article .hk-pick { color:#198b53; font-weight:600; }
.hk-article .hk-result { font-size:inherit; }
.hk-annual-head { position:relative; justify-content:center; min-height:48px; color:white; background:#165b56; }
.hk-annual-head a { position:absolute; left:10px; }
.hk-annual-head span { color:#fff36b; font-weight:700; }
.hk-annual-text { padding:0 5px; font-size:14px; line-height:1.75; }
.hk-annual-text h1 { color:#b91c1c; background:white; font-size:17px; margin:8px 0; }
.hk-annual-text p { margin:0; white-space:pre-line; overflow-wrap:anywhere; }
.hk-plate { display:block; max-width:100%; height:auto; margin:auto; }
.hk-plates { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.hk-gallery-copy { margin:8px 0; border-block:1px solid #b8c4c2; background:#fffdf6; }
.hk-gallery-copy .hk-heading { font-size:1em; }
.hk-gallery-copy .hk-row { padding:9px 12px; }
.hk-gallery-copy .hk-pick { margin-inline-end:.5em; }
.hk-gallery-copy .hk-body { margin-top:4px; }
.hk-gallery-copy .hk-reading { margin:.45em 0 0; color:#28463e; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; }
.hk-gallery-copy a { color:#205c56; text-decoration:underline; }
.hk-gallery-links { display:flex; gap:16px; justify-content:flex-end; padding:6px 12px; }
.hk-paper .issue-picker { display:flex; justify-content:center; align-items:center; padding:8px; gap:6px; }
.hk-paper select,.hk-paper button,.hk-paper input { font:inherit; }
.hk-annual-text input[type=number] { width:5em; }
.hk-paper footer { color:#44675f; background:#e5eeeb; text-align:center; padding:10px; font-size:14px; }
.hk-top { position:fixed; bottom:18px; right:max(8px,calc((100vw - 790px) / 2)); background:#286a64; color:white; border:1px solid white; border-radius:4px; display:grid; place-items:center; width:40px; line-height:1.1; padding:4px; font-size:20px; }
.hk-top small { font-size:11px; }
.hk-paper .headline-lookup { font-size:clamp(12px,2.5vw,19px); }
.hk-paper .headline-lookup table { width:100%; table-layout:fixed; overflow-wrap:anywhere; }
.hk-paper .platform-list { gap:2px; padding:1px 0 0; background:#c8c8c8; }
.hk-paper .platform-list button { display:grid; place-content:center; width:100%; height:clamp(42px,8vw,60px); border:0; border-radius:0; background:#f2f3f0; color:#363634; }
.hk-paper .platform-list button[aria-pressed="true"] { background:#348076; color:white; }
.hk-paper .draw-title b { font-size:clamp(15px,3.6vw,23px); }
.hk-paper .time,.hk-paper #nextLotteryTime { font-size:clamp(11px,2.7vw,16px); line-height:1.3; margin:0; }
.hk-paper .draw-panel { margin:0; padding:8px 5px 5px; border:1px solid #bfcac4; border-radius:0; }
.hk-paper .draw-status { font-size:clamp(12px,3vw,19px); gap:4px; }
.hk-paper .draw-status strong { color:#aa1b1b; font-weight:bold; }
.hk-paper #numberList { align-items:center; min-height:60px; margin:6px 0 3px; text-align:center; }
.hk-paper #numberList .tp { width:13%; }
.hk-paper #numberList .tc { width:5%; padding:0; }
.hk-paper .icon-text { width:90%; margin:auto; background:#dedede; border-radius:2px; }
.hk-paper .bg-amage-1 { background:#dc313b; }
.hk-paper .bg-amage-2 { background:#226fbd; }
.hk-paper .bg-amage-3 { background:#228b51; }
.hk-paper #numberList .slot-icon { border:0; border-radius:0; background:none; color:white; font-size:clamp(19px,4.9vw,32px); height:auto; width:auto; aspect-ratio:auto; line-height:1.24; padding:2px 0; }
.hk-paper #numberList .bg-amage-0 .slot-icon { color:#35473e; }
.hk-paper #numberList .slot-text { font-size:clamp(11px,2.8vw,17px); padding:2px 0; margin:0; color:#222; background:white; }
.hk-paper .draw-actions { gap:4px; margin:3px 0 0; }
.hk-paper .draw-actions a { flex:1; padding:4px 1px; border:1px solid #aac2b9; border-radius:2px; background:#f0f7f2; color:#27584c; font-size:clamp(13px,3vw,18px); text-align:center; }
.hk-paper .hk-permanent-domains { --address-line:#b8c4c2; --address-heading:#236458; --address-heading-ink:#fff; --address-paper:#f0f7f2; --address-ink:#27584c; margin-inline:2px; }
@media(max-width:799px) {
  .hk-nav { gap:4px; padding:4px; }
  .hk-nav a { font-size:13px; padding:3px 0; line-height:18px; }
  .hk-section { --hk-nav-offset:94px; }
  .hk-tabzzhla .hk-posts { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .hk-gslist .hk-posts,.hk-jslist .hk-posts { grid-template-columns:1fr; }
}
@media(max-width:500px) {
  .hk-section { margin-inline:0; }
  .hk-row { padding:4px 2px; }
  .hk-directory { gap:6px; }
}
@media(max-width:600px) {
  .hk-section.hk-annual .hk-directory { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:360px) {
  .hk-nav a[href="#gd5xd"] { font-size:11px; }
  .hk-section.hk-annual .hk-directory { grid-template-columns:1fr; }
}
