/* Full-width navigation panel is anchored to nav, never its narrow summary. */
.reference-nav>details#hall{position:static;display:block;padding:0}
.reference-nav #hall>summary{display:flex;height:100%;align-items:center;justify-content:center}
.reference-nav .hall-menu{position:absolute;left:0;right:0;top:82px;width:auto;background:#fff;border:1px solid #e7e8eb;border-top:3px solid #ef4b40;box-shadow:0 16px 32px #24304420;padding:0;max-height:min(680px,calc(100vh - 150px));overflow:auto;color:#30343a;text-align:left}
.hall-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:#fafbfc;border-bottom:1px solid #e9eaed;gap:16px}.hall-heading strong{font-size:18px;font-weight:650}.hall-heading small{margin-left:16px;color:#92969d;font-size:12px}.hall-heading .hall-all{color:#e54d42;font-size:13px;white-space:nowrap}.hall-sections{padding:0 24px}.hall-sections .hall-group{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:14px 0;margin:0;border-bottom:1px solid #eee}.hall-group h3{font-size:14px;line-height:1.6;margin:8px 0;color:#42474e}.hall-group h3 small{display:block;font-size:11px;font-weight:400;color:#a0a5ad;margin-top:3px}.hall-sections .hall-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px}.hall-sections .hall-links a{display:flex;align-items:center;gap:10px;min-width:0;min-height:52px;border:1px solid transparent;border-radius:6px;padding:5px 8px;font-size:12px}.hall-sections .hall-links a:hover{background:#fff6f4;border-color:#f6ddd9}.hall-links a>span:not(.game-icon){white-space:normal;line-height:1.4}.hall-sections .hall-links img,.hall-sections .hall-links .game-icon{width:38px;height:38px;flex-shrink:0}.hall-sections .hall-links .twb-icon>img{width:100%;height:100%}
.catalog-v2{padding:28px 30px 36px;border:1px solid #e8e9ec;border-radius:8px}.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:24px}.catalog-eyebrow{font-size:10px;letter-spacing:2px;color:#b0877e}.catalog-heading h1{font-size:25px;line-height:1.4;margin:5px 0;font-weight:650;letter-spacing:1px}.catalog-heading p{font-size:13px;color:#92969d;margin:5px 0 0}.catalog-search{display:flex;align-items:center;gap:12px;font-size:12px;color:#7f858e}.catalog-search input{width:240px;max-width:100%;border:1px solid #e0e3e8;border-radius:6px;background:#fafbfc;padding:10px 12px;color:#30343a}.catalog-search input:focus{outline:2px solid #f3b4ae;outline-offset:2px}.catalog-filters{display:flex;gap:7px;flex-wrap:wrap;padding:16px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}.catalog-filters button{padding:8px 13px;font-size:13px;border-radius:5px;background:#f5f6f8;color:#606670}.catalog-filters button.active{background:#ef4b40;color:#fff}.catalog-filters small{margin-left:4px;font-size:10px;opacity:.8}.catalog-count{font-size:11px;color:#a0a5ad;margin-top:18px}.catalog-v2 .catalog-group{margin:24px 0 0}.catalog-section-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.catalog-section-title:before{content:'';width:3px;height:16px;border-radius:2px;background:#ef4b40}.catalog-section-title h2{font-size:16px;font-weight:600;margin:0}.catalog-section-title>span{font-size:10px;letter-spacing:1px;color:#a6abb3}.catalog-section-title>small{margin-left:auto;font-size:11px;color:#9a9fa7}.catalog-v2 .catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.catalog-v2 .catalog-card{position:relative;display:flex;align-items:center;min-height:98px;padding:16px 14px;gap:12px;background:#fff;border:1px solid #e7e9ee;border-radius:7px;transition:border-color .15s,background .15s,box-shadow .15s}.catalog-v2 .catalog-card:hover{border-color:#efb9b2;background:#fffaf9;box-shadow:0 4px 14px #44302a08}.catalog-v2 .catalog-card[hidden],.catalog-v2 .catalog-group[hidden],.catalog-v2 #catalog-empty[hidden]{display:none}.catalog-v2 .catalog-card>.game-icon{width:56px;height:56px;flex-shrink:0}.catalog-v2 .catalog-card>img{width:56px;height:56px;object-fit:contain}.catalog-card-copy{min-width:0;flex:1}.catalog-card-copy strong{display:block;font-size:13px;font-weight:600;line-height:1.5}.catalog-card-copy small{font-size:9px;color:#a1a6ae;line-height:1.5}.catalog-card-copy .catalog-cadence{display:block;font-size:10px;color:#9298a1;margin-top:6px}.catalog-card-arrow{font-size:22px;color:#bfc3ca}.catalog-v2 .catalog-card:hover .catalog-card-arrow{color:#ef4b40}
@media(max-width:1100px){.catalog-v2 .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hall-sections .hall-links{grid-template-columns:repeat(3,minmax(0,1fr))}.hall-sections .hall-group{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:760px){.reference-nav .hall-menu{top:184px;max-height:calc(100vh - 220px)}.hall-heading{padding:14px}.hall-heading small{display:none}.hall-sections{padding:0 12px}.hall-sections .hall-group{display:block;padding:10px 0}.hall-group h3{margin:4px 0 8px}.hall-group h3 small{display:inline;margin-left:8px}.hall-sections .hall-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.hall-sections .hall-links a{font-size:11px;padding:4px;gap:6px}.hall-sections .hall-links img,.hall-sections .hall-links .game-icon{width:32px;height:32px}.catalog-v2{padding:20px 14px}.catalog-heading{align-items:stretch;flex-direction:column;gap:18px}.catalog-heading h1{font-size:22px}.catalog-search input{flex:1;width:auto}.catalog-filters{gap:6px}.catalog-filters button{font-size:12px;padding:7px 9px}.catalog-v2 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.catalog-v2 .catalog-card{padding:12px 8px;gap:8px;min-height:90px}.catalog-v2 .catalog-card>.game-icon,.catalog-v2 .catalog-card>img{width:42px;height:42px}.catalog-card-copy strong{font-size:12px}.catalog-card-arrow{display:none}.catalog-card-copy .catalog-cadence{font-size:9px}.catalog-section-title>span{display:none}}

.reference-nav #hall.hall-current>summary{color:#176eae;background:#f2f7fc;box-shadow:none}
.official-directory{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:14px 16px;margin-bottom:18px;border:1px solid #eceef1;background:#fafbfc;border-radius:6px;font-size:12px}.official-directory>strong{font-weight:600;color:#555d68;margin-right:4px}.official-directory a{color:#747d89}.official-directory a:hover{color:#ef4b40}.official-game-link{display:block;font-size:12px;color:#7c8593;margin-top:7px}.official-game-link:hover{color:#ef4b40}@media(max-width:760px){.official-directory{gap:10px 16px}.official-directory>strong{flex-basis:100%}.official-game-link{font-size:11px;margin-top:0}}

/* Reference-style text directory: five columns, with official sites in row one. */
.reference-nav .hall-menu{padding:18px 22px 0;border-top:1px solid #e4e5e8;max-height:calc(100vh - 150px)}
.hall-column-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));row-gap:30px;padding:0 0 20px}
.hall-column{padding:0 20px;border-right:1px solid #e9e9eb;min-width:0}.hall-column:nth-child(5n){border-right:0}
.hall-column h3{position:relative;font-size:14px;line-height:20px;color:#23364d;font-weight:600;letter-spacing:.65px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;padding-left:12px;margin:0 0 9px}
.hall-column h3:before{content:'';position:absolute;left:0;top:2px;height:14px;width:3px;background:#f3454b}
.hall-column-3min h3:before{background:#fa9c1c}.hall-column-1min h3:before{background:#00afd1}.hall-column-tw_bingo h3:before{background:#56348d}.hall-official-column h3:before{background:#169cdb}.hall-column-hk h3:before{background:#db35ce}.hall-column-macao h3:before{background:#9cc700}.hall-column-daily h3:before{background:#8d414b}
.hall-column a{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;min-height:30px;padding:3px 0;color:#222;line-height:1.5}
.hall-column a:hover{color:#ed4c43}.hall-column a>span{min-width:0}.hall-official-column a{color:#009ce5}.hall-tag{position:relative;flex-shrink:0;background:#ff4048;color:#fff;font:bold 10px/16px Arial,sans-serif;border-radius:2px;padding:0 4px;letter-spacing:0}.hall-tag:before{content:'';position:absolute;left:-4px;top:4px;border-right:4px solid #ff4048;border-top:4px solid transparent;border-bottom:4px solid transparent}
.hall-column-footer{display:flex;justify-content:space-between;gap:16px;padding:12px 18px;border-top:1px solid #eee;color:#a0a4aa;font-size:11px}.hall-column-footer>a{color:#e95147}
@media(max-width:1100px) and (min-width:761px){.hall-column{padding:0 12px}.hall-column a{font-size:12px}.hall-tag{font-size:9px}}
@media(max-width:760px){.reference-nav .hall-menu{padding:16px 10px 0;max-height:calc(100vh - 225px)}.hall-column-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}.hall-column{padding:0 12px}.hall-column:nth-child(5n){border-right:1px solid #e9e9eb}.hall-column:nth-child(2n){border-right:0}.hall-column h3{font-size:13px}.hall-column a{font-size:12px}.hall-column-footer{padding:12px 4px}.hall-column-footer>span{display:none}.hall-column-footer>a{margin-left:auto}}

/* Compact game identity in the five-column directory. */
.hall-text-links .hall-game-label{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.hall-text-links a{min-height:36px}
.hall-text-links .hall-game-label>.game-icon{width:28px;height:28px;min-width:28px;flex:0 0 28px;object-fit:contain;margin:0}
.hall-text-links .hall-game-label>span:last-child{min-width:0;line-height:1.35}
.hall-text-links .twb-icon .twb-group{right:-1px;bottom:-1px;min-width:11px;height:11px;padding:0 2px;border-width:1px;font-size:8px;line-height:1;box-shadow:0 1px 2px #0003}
@media(max-width:760px){.hall-text-links .hall-game-label{gap:6px}.hall-text-links .hall-game-label>.game-icon{width:25px;height:25px;min-width:25px;flex-basis:25px}}

.hall-official-column .official-link-label{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.hall-official-column .official-link-flag{display:block;width:20px;height:14px;flex:0 0 20px;object-fit:contain;border-radius:1px;box-shadow:0 0 0 1px #0000000d}

/* Compact branded links in the catalog official-site directory. */
.catalog-v2 .official-directory{display:flex;align-items:center;gap:16px;padding:12px 14px;margin-bottom:20px;border:1px solid #e6e9ef;border-radius:8px;background:#f8f9fb}
.catalog-v2 .official-directory>strong{flex:0 0 auto;margin:0;color:#4d5664;font-size:13px;font-weight:600;white-space:nowrap}
.official-directory-links{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;flex:1;min-width:0}
.catalog-v2 .official-directory-link{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;padding:7px 8px;border:1px solid #e9ecf1;border-radius:6px;background:#fff;color:#596372;text-decoration:none;transition:border-color .15s,background .15s,color .15s}
.catalog-v2 .official-directory-link:hover{border-color:#efb9b2;background:#fffaf9;color:#ef4b40}
.official-directory-logo{display:flex;align-items:center;justify-content:center;width:32px;height:30px;flex:0 0 32px}
.official-directory-logo img{display:block;width:100%;height:100%;object-fit:contain}
.official-directory-name{font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap}
@media(max-width:1150px){.official-directory-links{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-v2 .official-directory{align-items:flex-start}.catalog-v2 .official-directory>strong{padding-top:15px}}
@media(max-width:760px){.catalog-v2 .official-directory{display:block;padding:12px}.catalog-v2 .official-directory>strong{display:block;padding:0;margin-bottom:10px}.official-directory-links{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-v2 .official-directory-link{justify-content:flex-start;padding:8px 10px}}

.hall-text-links .hall-draw-day{flex:none;margin-left:1px;color:#969da7;font-size:11px;font-weight:400;line-height:1.35;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:0}.hall-column a:hover .hall-draw-day{color:#969da7}@media(max-width:1100px){.hall-text-links .hall-draw-day{font-size:10px}.hall-column-welfare .hall-game-label,.hall-column-sports .hall-game-label{gap:5px}}

.hall-column-footer{align-items:center}.hall-column-footer>a{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;background:#f1f7fc;border:1px solid #d2e3f2;border-radius:4px;color:#246da8;font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.3px;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.hall-column-footer>a:hover{background:#e5f0fa;border-color:#97bddc;color:#175e96}.hall-entry-arrow{display:block;flex:none}@media(max-width:760px){.hall-column-footer>a{font-size:12px;padding:7px 12px}}

/* 彩票大厅分类筛选 */
.catalog-v2 .catalog-filters{gap:8px;padding:18px 0;border-color:#e8edf3}
.catalog-v2 .catalog-filters button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 14px;border:1px solid #e5eaf0;border-radius:6px;background:#f7f9fc;color:#405168;font-size:14px;font-weight:500;line-height:20px;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.catalog-v2 .catalog-filters button:hover{background:#edf5fc;border-color:#b9d6ed;color:#126fb1}
.catalog-v2 .catalog-filters button.active{background:#1678bd;border-color:#1678bd;color:#fff;font-weight:600;box-shadow:0 2px 5px #1678bd18}
.catalog-v2 .catalog-filters small{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 5px;margin:0;border-radius:4px;background:#e9eef5;color:#63768d;font-size:11px;font-weight:600;opacity:1;font-variant-numeric:tabular-nums}
.catalog-v2 .catalog-filters button.active small{background:#ffffff26;color:#fff}
.catalog-v2 .catalog-filters button:focus-visible{outline:2px solid #1678bd;outline-offset:3px}
@media(max-width:760px){.catalog-v2 .catalog-filters{gap:7px;padding:14px 0}.catalog-v2 .catalog-filters button{min-height:36px;padding:7px 10px;font-size:12px}}


.hall-taiwan-subgroup{margin-top:24px}.hall-taiwan-subgroup h3:before{background:#25a6ad}

/* 横向标志在菜单中保留可读尺寸。 */
.hall-taiwan-subgroup .hall-game-label>.game-icon{width:36px;height:28px;min-width:36px;flex-basis:36px;object-fit:contain}

.hall-daily-subgroup{margin-top:24px}.hall-daily-subgroup h3:before{background:#8d414b}.hall-column-horse h3:before{background:#246da8}

.hall-horse-link{margin-top:0}

/* Consistent secondary metadata across all menu categories. */
.hall-text-links .hall-draw-day{margin-left:4px;color:#708095;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:11px;font-weight:400;line-height:1.5;letter-spacing:.2px;font-variant-numeric:tabular-nums}.hall-column a:hover .hall-draw-day{color:#596f87}@media(max-width:1100px){.hall-text-links .hall-draw-day{font-size:10px;letter-spacing:0;margin-left:2px}}

/* Directory typography and generous, consistent game identities. */
.catalog-v2{border:0;border-radius:0;padding:30px;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#263547}
.catalog-v2 .catalog-eyebrow{display:none}
.catalog-v2 .catalog-heading h1{font-size:28px;font-weight:600;letter-spacing:0;color:#1d3049;margin:0 0 7px}
.catalog-v2 .catalog-heading p{font-size:14px;color:#667485}
.catalog-v2 .catalog-search{font-size:13px;color:#566779}
.catalog-v2 .catalog-search input{font-size:14px;border-radius:3px;background:#fff;padding:11px 14px}
.catalog-v2 .catalog-filters{gap:6px 16px;padding:12px 0;border-top:1px solid #dce2e8;border-bottom:1px solid #dce2e8}
.catalog-v2 .catalog-filters button{border:0;border-radius:2px;background:transparent;min-height:42px;padding:9px 12px;color:#47596e;font-size:15px;font-weight:500;box-shadow:none}
.catalog-v2 .catalog-filters button.active{background:#193b67;color:#fff;box-shadow:none}
.catalog-v2 .catalog-filters button:hover{background:#edf2f7;color:#193b67}
.catalog-v2 .catalog-filters button.active:hover{background:#193b67;color:#fff}
.catalog-v2 .catalog-count{font-size:13px;color:#667485;margin-top:20px}
.catalog-v2 .catalog-group{margin-top:30px}
.catalog-v2 .catalog-section-title{margin-bottom:14px;gap:12px}
.catalog-v2 .catalog-section-title:before{height:20px;width:3px;background:#1d4875;border-radius:0}
.catalog-v2 .catalog-section-title h2{font-size:20px;color:#213b58;font-weight:600;letter-spacing:0}
.catalog-v2 .catalog-section-title>span{display:none}
.catalog-v2 .catalog-section-title>small{font-size:13px;color:#708093}
.catalog-v2 .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}
.catalog-v2 .catalog-card{min-height:126px;padding:22px 20px;gap:20px;border:1px solid #dce2e8;border-radius:3px;box-shadow:none;background:#fff}
.catalog-v2 .catalog-card:hover{border-color:#90aac3;background:#f7f9fc;box-shadow:none}
.catalog-v2 .catalog-card>.game-icon,.catalog-v2 .catalog-card>img{width:76px;height:76px;flex:0 0 76px;object-fit:contain}
.catalog-v2 .catalog-card-copy strong{font-size:18px;font-weight:600;line-height:1.5;letter-spacing:.1px;color:#223a56}
.catalog-v2 .catalog-card-copy small{display:block;font-family:Arial,sans-serif;font-size:11px;line-height:1.5;color:#667789;margin-top:2px;letter-spacing:.2px}
.catalog-v2 .catalog-card-copy .catalog-cadence{font-size:13px;line-height:1.6;color:#627184;margin-top:7px}
.catalog-v2 .catalog-card-arrow{font-size:24px;font-weight:400;color:#899aac}
.catalog-v2 .catalog-card:hover .catalog-card-arrow{color:#193b67}
@media(max-width:1050px){.catalog-v2 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.catalog-v2{padding:22px 16px}.catalog-v2 .catalog-grid{grid-template-columns:1fr;gap:10px}.catalog-v2 .catalog-card{min-height:112px;padding:16px 20px;gap:20px}.catalog-v2 .catalog-card>.game-icon,.catalog-v2 .catalog-card>img{width:68px;height:68px;flex-basis:68px}.catalog-v2 .catalog-card-copy strong{font-size:18px}.catalog-v2 .catalog-filters{gap:4px}.catalog-v2 .catalog-filters button{font-size:14px;padding:8px 10px}.catalog-v2 .catalog-section-title h2{font-size:19px}.catalog-v2 .catalog-card-arrow{display:block}}

/* Scale directory cards to 70% of the generous desktop treatment. */
.catalog-v2 .catalog-card{min-height:88px;padding:15px 14px;gap:14px}
.catalog-v2 .catalog-card>.game-icon,.catalog-v2 .catalog-card>img{width:53px;height:53px;flex-basis:53px}
.catalog-v2 .catalog-card-copy strong{font-size:13px}
.catalog-v2 .catalog-card-copy small{font-size:10px;margin-top:1px}
.catalog-v2 .catalog-card-copy .catalog-cadence{font-size:10px;margin-top:5px}
.catalog-v2 .catalog-card-arrow{font-size:17px}
.catalog-v2 .catalog-grid{gap:10px 13px}
@media(max-width:760px){.catalog-v2 .catalog-card{min-height:79px;padding:11px 14px;gap:14px}.catalog-v2 .catalog-card>.game-icon,.catalog-v2 .catalog-card>img{width:48px;height:48px;flex-basis:48px}}

/* Increase the compact card treatment by 15%. */
.catalog-v2 .catalog-card{min-height:101px;padding:17px 16px;gap:16px}
.catalog-v2 .catalog-card>.game-icon,.catalog-v2 .catalog-card>img{width:61px;height:61px;flex-basis:61px}
.catalog-v2 .catalog-card-copy strong{font-size:15px}
.catalog-v2 .catalog-card-copy small{font-size:11.5px}
.catalog-v2 .catalog-card-copy .catalog-cadence{font-size:11.5px;margin-top:6px}
.catalog-v2 .catalog-card-arrow{font-size:20px}
.catalog-v2 .catalog-grid{gap:12px 15px}
@media(max-width:760px){.catalog-v2 .catalog-card{min-height:91px;padding:13px 16px;gap:16px}.catalog-v2 .catalog-card>.game-icon,.catalog-v2 .catalog-card>img{width:55px;height:55px;flex-basis:55px}}
.regional-rolling-ball{display:inline-block;position:relative;overflow:hidden;width:32px;height:32px;border:1px solid #7891a8;border-radius:50%;background:#edf2f6;color:#526b83;vertical-align:middle;font:600 18px/32px Arial,sans-serif;text-align:center}
.regional-reel{display:block;animation:regional-reel .65s linear infinite}.regional-reel>span{display:block;height:32px;line-height:32px}
@keyframes regional-reel{to{transform:translateY(-256px)}}
.regional-drawing .marksix-summary{visibility:hidden}
@media(prefers-reduced-motion:reduce){.regional-reel{animation-duration:2s}}
.hall-column h3 .rng-badge{display:inline-block;margin-left:5px;padding:0 4px;border:1px solid #d4af37;border-radius:3px;background:linear-gradient(180deg,#fff9e0,#f7e4a0);color:#8a6508;font:600 9px/14px -apple-system,BlinkMacSystemFont,Arial,"PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:0;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 1px #8a650914}
@media(max-width:1240px){.hall-column h3 .rng-badge{display:table;margin:3px 0 0}}

/* Preserve existing hash result UI. */
.hash-result{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;max-width:100%}
.hash-ball-row{display:flex;gap:5px;align-items:center;flex-wrap:nowrap}
.hash-proof{display:flex;flex-direction:column;gap:3px;max-width:440px;text-align:left;font-size:11px;line-height:1.6;white-space:normal}
.hash-proof-label{color:#87919d;font-size:10px}
.hash-proof a{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#66788b;overflow-wrap:anywhere;word-break:break-all;text-decoration:none}
.hash-proof a b{color:#e43543;font-weight:650}.hash-proof a:hover{text-decoration:underline}.hash-proof a:focus-visible{outline:2px solid #1678bd;outline-offset:3px}
.history-table .hash-result{width:345px;align-items:center}.history-table .hash-proof{width:100%;max-width:345px}
.history-table.ssc-history-table .hash-result{width:230px}.history-table.ssc-history-table .hash-proof{max-width:230px}
@media(max-width:760px){.hash-proof{max-width:100%;font-size:10px}.hash-ball-row{gap:4px}}


.hall-horse-link{margin-top:0}
.hall-macao-subgroup{margin-top:22px}.hall-macao-subgroup h3:before{background:#9cc700}

/* Menu schedule labels match the shared navy metadata; preserve type sizes. */
.hall-menu .hall-draw-day,.hall-menu .hall-column a:hover .hall-draw-day{color:#142e73}
/* Lottery directory uses the racing tabs' navy, green marker and steady geometry. */
.catalog-v2 .catalog-heading p,.catalog-v2 .catalog-search,
.catalog-v2 .catalog-search input,.catalog-v2 .catalog-search input::placeholder,
.catalog-v2 .catalog-count,.catalog-v2 .catalog-section-title>span,
.catalog-v2 .catalog-section-title>small,.catalog-v2 .catalog-card-copy small,
.catalog-v2 .catalog-card-copy .catalog-cadence,.catalog-v2 .catalog-card-arrow,
.catalog-v2 #catalog-empty{color:#142e73}
.catalog-v2 .catalog-search input::placeholder{opacity:1}
.catalog-v2 .catalog-filters button.active:disabled{opacity:1;cursor:default}
/* Compact directory navigation: quiet background and one selection marker. */
.catalog-v2 .catalog-filters{gap:4px 8px;padding:3px 0;background:#fff;border:0;border-bottom:1px solid #e3e9f0}
.catalog-v2 .catalog-filters button{min-height:40px;padding:9px 13px;border:0;border-bottom:2px solid transparent;background:transparent;color:#405570;font-size:14px;font-weight:400;line-height:20px;border-radius:0}
.catalog-v2 .catalog-filters button:hover{background:#f4f7fb;color:#142e73}
.catalog-v2 .catalog-filters button.active,.catalog-v2 .catalog-filters button.active:hover{background:transparent;color:#142e73;border-bottom:2px solid #2879b8;font-weight:500}
.catalog-v2 .catalog-filters button.active:after{display:none}
.catalog-v2 .catalog-filters small{margin-left:5px;padding:1px 4px;border-radius:3px;background:#f0f3f7;color:#566b83;font-size:10px;font-weight:400;opacity:1}
@media(max-width:760px){.catalog-v2 .catalog-filters{gap:2px 4px}.catalog-v2 .catalog-filters button{font-size:13px;min-height:38px;padding:8px 10px}}
