/* horse.bet site search: overlay + /search/ results page */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html.hbs-lock{overflow:hidden}
.hbs-ov{position:fixed;inset:0;z-index:99999;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;color:#172231}
.hbs-ov[hidden]{display:none}
.hbs-scrim{position:absolute;inset:0;background:rgba(8,20,38,.62)}
.hbs-dlg{position:relative;margin:56px auto 0;width:min(880px,calc(100% - 32px));max-height:calc(100vh - 96px);background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden}
.hbs-bar{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid #ece6d8;color:#6e500a}
.hbs-bar input{flex:1;min-width:0;border:0;outline:none;font-size:20px;color:#172231;background:transparent;font-family:inherit;-webkit-appearance:none;appearance:none}
.hbs-bar input::-webkit-search-cancel-button{display:none}
.hbs-bar input::placeholder{color:#7b7f86}
.hbs-clear{border:0;background:#f3efe4;color:#424852;border-radius:8px;padding:6px 10px;font-size:13px;cursor:pointer;min-height:32px}
.hbs-x{border:1px solid #d9d3c4;background:#fff;border-radius:6px;padding:3px 8px;font-size:12px;color:#5f6670;cursor:pointer;min-height:28px}
.hbs-filters-row{display:flex;align-items:center;gap:8px;padding:0 20px;flex-wrap:wrap}
.hbs-filters-row:has(.hbs-chip){padding:12px 20px;border-bottom:1px solid #ece6d8}
.hbs-types,.hbs-eds{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.hbs-eds{margin-left:auto}.hbs-eds>span{font-size:12px;color:#5f6670;margin-right:2px}
.hbs-chip{border:1px solid #e7e1d3;background:#fff;color:#172231;border-radius:999px;padding:7px 13px;font-size:13px;font-weight:600;cursor:pointer;min-height:36px}
.hbs-chip span{opacity:.75;font-weight:500}
.hbs-chip.on{background:#081426;border-color:#081426;color:#fbfaf6}
.hbs-body{overflow-y:auto;padding:8px 10px 14px;flex:1}
.hbs-k{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#6e500a}
.hbs-empty{padding:14px 12px;display:flex;flex-direction:column;gap:12px}
.hbs-pop{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.hbs-pill{border:1px solid #e7e1d3;background:#fbfaf6;color:#172231;border-radius:999px;padding:9px 14px;font-size:14px;cursor:pointer;min-height:40px}
.hbs-pill:hover{border-color:#cba135}
.hbs-jump{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.hbs-jump a{border:1px solid #e7e1d3;border-radius:12px;padding:14px 16px;background:#fff;color:#081426;font:italic 700 17px Georgia,serif;text-decoration:none}
.hbs-jump a:hover{border-color:#cba135}
.hbs-top{margin:8px 12px 6px;border:2px solid #cba135;border-radius:14px;padding:14px 16px;display:flex;align-items:center;gap:16px;background:#fffdf6;color:#172231;text-decoration:none}
.hbs-top.sel{box-shadow:0 0 0 3px rgba(203,161,53,.35)}
.hbs-mono{width:52px;height:52px;border-radius:12px;background:#081426;color:#cba135;display:flex;align-items:center;justify-content:center;font:italic 700 18px Georgia,serif;flex-shrink:0}
.hbs-tx{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.hbs-top .hbs-t{font:italic 700 20px/1.25 Georgia,serif;color:#081426}
.hbs-s{font-size:13px;color:#5f6670;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hbs-copy,.hbs-code{font-family:ui-monospace,Menlo,monospace;font-size:12px;font-weight:700;color:#081426;border:1px dashed #b89a4c;border-radius:6px;padding:4px 8px;white-space:nowrap}
.hbs-copy{cursor:pointer;background:#fbf6e6;font-size:13px;padding:8px 12px}
.hbs-go{background:#cba135;color:#081426;font-weight:700;border-radius:10px;padding:11px 15px;font-size:14px;white-space:nowrap}
.hbs-group{padding:10px 12px 2px}
.hbs-group .hbs-k{padding:6px 0}
.hbs-row{display:flex;align-items:center;gap:14px;padding:9px 10px;border-radius:10px;color:#172231;text-decoration:none;min-height:44px}
.hbs-row:hover,.hbs-row.sel{background:#f7f3e8}
.hbs-row .hbs-t{font-size:15px;font-weight:600;color:#081426}
.hbs-row .hbs-s{-webkit-line-clamp:1}
.hbs-b{width:40px;height:32px;border-radius:8px;background:#f3efe4;color:#6e500a;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;flex-shrink:0}
.hbs-ed{font-size:11px;font-weight:700;color:#424852;background:#f3efe4;border-radius:5px;padding:2px 6px}
.hbs-none{padding:32px 22px}.hbs-none .hbs-t{font:italic 700 22px Georgia,serif;color:#081426}.hbs-none p{color:#424852;font-size:14px}
.hbs-loading{padding:30px;text-align:center;color:#5f6670}
.hbs-foot{display:flex;align-items:center;gap:18px;padding:11px 20px;border-top:1px solid #ece6d8;background:#fbfaf6;font-size:12px;color:#5f6670}
.hbs-foot b{color:#172231}.hbs-all{margin-left:auto;font-weight:700;font-size:13px;color:#1d5fa5}
@media (max-width:640px){
  .hbs-dlg{margin:0;width:100%;max-height:none;height:100%;border-radius:0}
  .hbs-bar input{font-size:17px}
  .hbs-foot>span{display:none}
  .hbs-top{flex-wrap:wrap}.hbs-go{display:none}
  .hbs-row .hbs-ed,.hbs-row .hbs-code{display:none}
  .hbs-filters-row{flex-wrap:nowrap;flex-direction:column;align-items:stretch;gap:8px}
  .hbs-types,.hbs-eds{flex-wrap:nowrap;overflow-x:auto;margin-left:0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .hbs-types::-webkit-scrollbar,.hbs-eds::-webkit-scrollbar{display:none}
  .hbs-chip{white-space:nowrap;flex-shrink:0}
}
/* results page */
.hbs-hero{background:#081426;border-top:3px solid #cba135;padding:28px 0 30px;color:#fbfaf6}
.hbs-hero h1{margin:8px 0 16px;font:italic 700 clamp(28px,4vw,38px)/1.15 Georgia,serif;color:#fbfaf6}
.hbs-hero a{color:#e2c26a}.hbs-hero .crumb{font-size:13px;color:#c9ccd3}
.hbs-form{display:flex;gap:10px;max-width:760px}
.hbs-form input{flex:1;min-width:0;height:50px;border:0;border-radius:12px;padding:0 16px;font-size:17px;font-family:inherit}
.hbs-form button{height:50px;border:0;border-radius:12px;padding:0 22px;background:#cba135;color:#081426;font-weight:700;font-size:15px;cursor:pointer}
.hbs-count{margin:12px 0 0;color:#c9ccd3;font-size:14px}
.hbs-layout{display:flex;flex-wrap:wrap;gap:32px;padding-top:28px;padding-bottom:48px;align-items:flex-start}
.hbs-filters{flex:0 1 240px;display:flex;flex-direction:column;gap:18px}
.hbs-box{background:#fff;border:1px solid #e7e1d3;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:2px}
.hbs-box .hbs-k{margin-bottom:6px}
.hbs-box a{display:flex;justify-content:space-between;padding:7px 8px;border-radius:8px;color:#172231;text-decoration:none;font-size:14px}
.hbs-box a span{color:#5f6670}
.hbs-box a.on{background:#081426;color:#fbfaf6}.hbs-box a.on span{color:#e2c26a}
.hbs-results{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:22px}
.hbs-results .hbs-top{margin:0;padding:20px 22px}
.hbs-results .hbs-top .hbs-t{font-size:24px}
.hbs-results .hbs-top .hbs-code{align-self:flex-start;margin-top:4px}
.hbs-results .hbs-group{padding:0}
.hbs-results h2{margin:0 0 8px;font:italic 700 22px Georgia,serif;color:#081426}
.hbs-results ul{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #e7e1d3;border-radius:14px}
.hbs-results li+li{border-top:1px solid #f0ece0}
.hbs-results li a{display:flex;align-items:center;gap:14px;padding:12px 16px;color:#172231;text-decoration:none}
.hbs-results li a:hover{background:#f7f3e8}
.hbs-results li .hbs-t{font-size:16px;font-weight:600;color:#081426}
.hbs-more{display:inline-block;margin-top:8px;font-weight:700;font-size:14px}
.hbs-rg{font-size:12px;color:#5f6670}
@media (max-width:640px){.hbs-results li .hbs-ed,.hbs-results li .hbs-code{display:none}.hbs-filters{flex-basis:100%}}
