.horse-rush-entry .fast-click-art{background:#d9b985;color:#25261f}#hr-dialog{background:#171c19;color:#f9f3e3;padding:0;width:min(1100px,100vw);max-width:100vw;max-height:100dvh;border:1px solid #667164;border-radius:20px}#hr-dialog::backdrop{background:#090e0bea}.hr-wrap{padding:26px}.hr-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #465142;padding-bottom:18px}.hr-head small{color:#c9d9a3;letter-spacing:3px}.hr-head h2{font-size:clamp(26px,5vw,48px);margin:3px 0;letter-spacing:-2px}.hr-head button{font-size:30px;background:none;color:inherit;border:0;cursor:pointer}.hr-menu{padding:28px 0}.hr-menu h3{font-size:30px;margin:0 0 12px}.hr-options{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:25px}.hr-option{border:1px solid #55614d;border-radius:14px;padding:22px;background:#242c24}#hr-dialog button,#hr-dialog select,#hr-dialog input{font:inherit}#hr-dialog select,#hr-dialog input{background:#121813;color:#fff;padding:12px;border:1px solid #74806b;border-radius:8px;max-width:100%}#hr-dialog button{cursor:pointer}#hr-dialog button:disabled{opacity:.45;cursor:default}.hr-option button{margin:12px 5px 0 0}.hr-option form{margin-top:16px}.hr-option input{width:100px}.hr-seats{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.hr-seat{padding:16px;background:#303c2b;border-radius:12px}.hr-code{font-size:44px;letter-spacing:10px;color:#fbd266}.hr-track{margin:22px 0;background:#66814f;border:3px solid #aab590;border-radius:12px;overflow:hidden}.hr-lane{height:108px;position:relative;border-bottom:2px dashed #afbd89;background:repeating-linear-gradient(90deg,transparent 0 80px,#ffffff05 80px 82px)}.hr-lane:last-child{border:0}.hr-lane::after{content:'';position:absolute;right:35px;top:0;bottom:0;width:18px;background:repeating-conic-gradient(#e9eddf 0% 25%,#263124 0% 50%) 0/18px 18px}.hr-lane.mine{background-color:#c5d87926}.hr-lane span{position:absolute;left:12px;top:7px;font-size:12px;font-weight:bold;z-index:2}.hr-runway{position:absolute;left:6px;right:42px;bottom:0;height:80px}.hr-horse{position:absolute;width:110px;left:calc(var(--progress)* (100% - 110px));bottom:0;transition:left .18s linear;z-index:3}.hr-horse svg{width:100%;display:block}.hr-running .hr-horse svg{animation:hr-bounce .22s infinite alternate}.hr-running .hr-leg-a{animation:hr-legs .22s infinite alternate;transform-origin:80px 75px}.hr-running .hr-leg-b{animation:hr-legs .22s infinite alternate-reverse;transform-origin:80px 75px}@keyframes hr-bounce{to{transform:translateY(-4px) rotate(-2deg)}}@keyframes hr-legs{to{transform:rotate(12deg)}}.hr-race-head{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.hr-race-head h3{font-size:24px;margin:0}.hr-race-head strong{font-variant-numeric:tabular-nums;color:#d6eaa2}.hr-controls{text-align:center}.hr-tap{width:min(100%,470px);min-height:80px;background:#d9ef9c;color:#192019;border:0;border-bottom:6px solid #88a34d;border-radius:16px;font-weight:900!important;font-size:26px!important;touch-action:manipulation;user-select:none}.hr-tap:active{transform:translateY(3px);border-bottom-width:3px}.hr-controls small{display:block;color:#aeb7a7;margin-top:10px}.hr-footer{display:flex;gap:15px;flex-wrap:wrap;margin-top:28px}.hr-footer button{background:none;color:#d3dfbd;border:1px solid #667458;border-radius:7px;padding:9px 14px}#hr-error{background:#602f29;padding:12px;border-radius:8px}#hr-result{font-size:25px;color:#fbd266;font-weight:bold;text-align:center}#hr-dialog [hidden]{display:none!important}@media(max-width:600px){.hr-wrap{padding:16px}.hr-options{grid-template-columns:1fr}.hr-lane{height:91px}.hr-horse{width:90px;left:calc(var(--progress)* (100% - 90px))}.hr-runway{height:65px}.hr-race-head h3{font-size:19px}}
/* Horse Rush illustrated, sectioned lobby. */
#hr-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;overflow:auto;background:#1e3027}.hr-wrap{max-width:1220px;margin:auto;padding:24px 32px}.hr-head{border-bottom:2px solid #95a78355;padding-bottom:16px}.hr-head h2{font-size:30px;letter-spacing:-1px}.hr-head small{font-size:10px;font-weight:900;letter-spacing:2px}#hr-close{display:grid;place-items:center;width:44px;height:44px;border:3px solid #15251e;border-radius:11px;background:#efb49d;color:#15251e;font-size:29px!important;font-weight:900;flex-shrink:0}.hr-menu{padding:24px 0}.hr-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:20px;padding:32px 36px;background:#d9b985;color:#202a23;border:3px solid #15251e;border-radius:20px;box-shadow:6px 6px 0 #13251e;overflow:hidden}.hr-eyebrow{font-size:10px;font-weight:900;letter-spacing:1.6px}.hr-hero h3{font-size:clamp(36px,4.6vw,59px);line-height:1.03;letter-spacing:-2px;margin:17px 0}.hr-hero p{font-size:14px;line-height:1.65;color:#3b4536}.hr-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.hr-tags span{border:1px solid #202a2340;border-radius:25px;padding:7px 10px;font-size:10px;font-weight:800}.hr-home-art{position:relative;padding:12px 0 28px}.hr-preview-track{height:238px;position:relative;overflow:hidden;background:linear-gradient(#a7bd8b 0 33%,#65814f 33% 100%);border:3px solid #202a23;border-radius:100px 20px 20px 100px;transform:rotate(-4deg)}.hr-preview-track:after{content:'';position:absolute;left:0;right:0;top:58%;border-top:2px dashed #dfebc58a}.hr-preview-horse{display:block;position:relative;width:180px;z-index:1}.hr-preview-horse svg{width:100%;display:block;animation:hr-lobby-gallop .65s ease-in-out infinite alternate}.hr-preview-back{position:absolute;width:165px;left:6%;top:12%;opacity:.85}.hr-preview-front{position:absolute;width:210px;left:30%;bottom:4px}.hr-preview-back svg{animation-delay:-.3s}.hr-finish-flag{position:absolute;right:12px;top:33%;bottom:0;width:20px;background:repeating-conic-gradient(#f8f0d7 0% 25%,#253329 0% 50%) 0/20px 20px}.hr-race-stamp{position:absolute;bottom:6px;left:15%;font-size:10px;letter-spacing:1px;font-weight:950;background:#fff1cf;padding:9px 15px;border:2px solid #202a23;border-radius:20px;transform:rotate(-4deg)}.hr-account-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#14261e;border:1px solid #80916f55;border-radius:12px;padding:12px 16px;margin:20px 0 26px}.hr-account-strip p{font-size:12px;line-height:1.6;margin:0;color:#cfdbc5}.hr-account-strip button{flex-shrink:0}.hr-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.hr-section-title h3{font-size:23px;letter-spacing:-.6px;margin:0}.hr-section-title>span{font-size:10px;letter-spacing:1.5px;color:#bacaa9}.hr-options{margin-top:16px;gap:22px}.hr-option{display:flex;flex-direction:column;border:3px solid #15251e;border-radius:17px;padding:24px;background:#fff2d9;color:#202a23;box-shadow:5px 6px 0 #13251e;overflow:hidden;transition:transform .2s}.hr-option:hover{transform:translateY(-3px)}.hr-mode-art{position:relative;display:flex;justify-content:center;align-items:center;height:152px;gap:0;background:#bbd49c;margin:-24px -24px 22px;border-bottom:3px solid #15251e;overflow:hidden}.hr-friends-option .hr-mode-art{background:#b4d1d5}.hr-mode-art .hr-preview-horse{width:160px;transform:translateY(-7px)}.hr-mode-art .hr-preview-horse:nth-child(2){margin-left:-10px;transform:translateY(9px)}.hr-mode-art .hr-preview-horse:nth-child(2) svg{animation-delay:-.3s}.hr-art-label{position:absolute;bottom:8px;font-size:9px;letter-spacing:2px;font-weight:900;background:#fff2d9d9;padding:5px 10px;border-radius:20px;z-index:2}.hr-option h4{font-size:27px;letter-spacing:-.8px;margin:12px 0}.hr-option p{font-size:13px;line-height:1.65;max-width:420px;margin:0 0 20px;color:#4c5748}.hr-option label{font-size:12px;font-weight:850;display:block;margin-bottom:7px}#hr-dialog .hr-option select,#hr-dialog .hr-option input{background:#fffdf5;color:#202a23;border:2px solid #202a23;width:100%;min-width:0;min-height:47px}.hr-bot-choice{margin-top:auto}.hr-option .game-button,.hr-account-strip .game-button,#hr-lobby .game-button{background:#fbd266;color:#202a23;border:3px solid #202a23;border-radius:9px;box-shadow:0 3px 0 #202a23;padding:12px 16px;min-height:47px;font-weight:900;letter-spacing:0;margin:12px 0 0}.hr-option .game-button:not(:disabled):hover{background:#ffe49a}.hr-option .game-button:not(:disabled):active{transform:translateY(2px);box-shadow:none}.hr-account-strip .game-button{margin:0;min-height:40px;padding:7px 16px}#hr-create{margin-top:auto}.hr-option form{border-top:1px solid #202a2330;padding-top:15px;margin-top:18px}.hr-join-row{display:flex;gap:10px}.hr-join-row .game-button{margin:0;flex-shrink:0}#hr-code-input{text-align:center;font-size:22px;letter-spacing:7px;font-weight:900}.hr-quick-guide{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;margin:24px 0 0;color:#bacaa9;font-size:12px}.hr-quick-guide b{color:#fbd266;margin-right:5px}.hr-footer{border-top:1px solid #80916f55;padding-top:20px;margin-top:5px}.hr-footer+p{font-size:12px;color:#9faf9e;line-height:1.6}#hr-dialog button:focus-visible,#hr-dialog input:focus-visible,#hr-dialog select:focus-visible{outline:3px solid #fbd266;outline-offset:4px}#hr-lobby{max-width:780px;margin:24px auto;padding:30px;border:3px solid #13251e;border-radius:18px;background:#2a4234;text-align:center}#hr-lobby .hr-seats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hr-seat{border:2px solid #8fa47755;overflow-wrap:anywhere}.hr-code{display:inline-block;background:#16291f;border:1px dashed #c9d9a3;border-radius:12px;padding:10px 25px;margin:10px 0}.hr-seat button{border:1px solid #c9d9a3;border-radius:6px;background:#16291f;color:#fff2d9;padding:4px 9px}@keyframes hr-lobby-gallop{to{transform:translateY(-4px) rotate(-1deg)}}@media(max-width:760px){.hr-wrap{padding:18px}.hr-hero{padding:24px;grid-template-columns:1fr}.hr-home-art{max-width:430px;width:100%;margin:auto}.hr-preview-track{height:210px}.hr-section-title>span{display:none}.hr-hero h3{font-size:43px}.hr-options{gap:15px}.hr-option{padding:18px}.hr-mode-art{margin:-18px -18px 18px}.hr-option h4{font-size:24px}.hr-mode-art .hr-preview-horse{width:135px}.hr-tags{margin-top:12px}}@media(max-width:600px){.hr-account-strip{align-items:flex-start;flex-direction:column}.hr-options{grid-template-columns:1fr}.hr-mode-art .hr-preview-horse{width:160px}.hr-quick-guide{gap:12px;font-size:10px}#hr-lobby{padding:20px 14px}.hr-head h2{font-size:27px}.hr-preview-front{width:185px;left:28%}.hr-preview-back{width:145px}.hr-hero h3{font-size:38px}}@media(prefers-reduced-motion:reduce){.hr-preview-horse svg{animation:none}.hr-option{transition:none}}
