.highscores-behind{visibility:hidden!important;pointer-events:none!important}
.highscore-screen{position:fixed;inset:0;z-index:50;overflow:auto;background:#050a43;color:#ffeb64;font-family:Trebuchet MS,Arial,sans-serif;isolation:isolate}
.hs-demo{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.hs-shell{max-width:1260px;margin:auto;padding:22px 34px 0;min-height:100svh;display:flex;flex-direction:column;box-sizing:border-box}
.highscore-screen button{font:700 16px Trebuchet MS,Arial,sans-serif;color:#ffed78;border:1px solid #83b9ff88;border-radius:30px;background:linear-gradient(#264ee5,#0b1769);padding:11px 22px;cursor:pointer;box-shadow:inset 0 1px #ffffff44,0 4px 12px #0005}
.highscore-screen button:hover:not(:disabled){background:linear-gradient(#4278ff,#1633a4);border-color:#fff2a6}
.highscore-screen button:focus-visible{outline:3px solid #fff19b;outline-offset:4px}
.highscore-screen button:disabled{opacity:.35;cursor:default}
.hs-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.hs-top>span{font-size:11px;letter-spacing:3px;color:#b0c7ff}
.hs-heading{text-align:center;margin:24px 0 28px}.hs-heading p{font-size:11px;letter-spacing:5px;color:#bed6ff;margin:0 0 10px}
.hs-heading h1{font-size:clamp(42px,6.9vw,91px);line-height:1.3;margin:0;font-weight:1000;font-family:Arial Black,Trebuchet MS,sans-serif;letter-spacing:2px;white-space:nowrap;filter:drop-shadow(0 10px 12px #0008)}
.hs-letters{display:inline-flex}.hs-letters>span{display:inline-block;color:#ffe94d;-webkit-text-stroke:1px #fff7a1;text-shadow:0 2px #ffc532,0 4px #ec8a12,0 6px #c24c0a,0 8px #7c2409;will-change:transform}
.hs-subtitle{margin-top:16px;letter-spacing:4px;font-size:11px;color:#aacaff}
.hs-stage{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:36px;align-items:center;width:100%;margin:auto 0}
.hs-board{background:linear-gradient(125deg,#162cb6ed,#07104cee);border:1px solid #8eb8ff;box-shadow:inset 0 2px 1px #ecf9ffa6,inset 0 -5px 13px #90cbff66,0 20px 60px #0006;border-radius:28px;padding:22px 28px 14px;position:relative;overflow:hidden}
.hs-board:before{content:'';position:absolute;width:120%;height:65px;top:-40px;left:-10%;border-radius:50%;background:#c9e6ff55;pointer-events:none}
.hs-tabs{display:flex;justify-content:center;gap:10px}.hs-tabs button{min-width:145px}.hs-tabs button[aria-pressed=true]{background:linear-gradient(#ffed89,#e7a32a);color:#241b56;border-color:#fff8bc}
.hs-ranking-rule{text-align:center;font-size:13px;color:#b8d1ff;margin:17px 0}
.hs-board table{width:100%;border-collapse:collapse;font-size:23px;font-weight:bold;font-variant-numeric:tabular-nums;text-shadow:0 2px 3px #0008}
.hs-board thead{color:#b3d3ff;font-size:12px;letter-spacing:2px;text-transform:uppercase}.hs-board th,.hs-board td{text-align:right;padding:15px 10px;border-bottom:1px solid #a2bdff25}.hs-board th:nth-child(2){text-align:left}.hs-board tbody th{font-weight:bold;text-align:left;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hs-board tbody tr{animation:hs-row-in .65s both;animation-delay:calc(var(--row)*.09s)}
.hs-board tbody td:first-child,.hs-board thead th:first-child{text-align:center;width:70px}.hs-rank{font-size:20px}.rank-1{color:#ffdf58;text-shadow:0 0 14px #ffcf5599}.rank-2{color:#e3edff}.rank-3{color:#ffb572}
.hs-board-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;color:#a9c6ff;font-size:10px;letter-spacing:1px}.hs-board-footer>div{display:flex;align-items:center;gap:12px}.hs-board-footer button{padding:4px 14px;font-size:22px}.hs-page{font-size:12px;min-width:70px;text-align:center}
.hs-show{position:relative;text-align:center;align-self:end;margin-bottom:25px}.hs-looky{height:210px;position:relative;z-index:2}.hs-looky .frame-monkey{width:180px;height:210px;right:15px;bottom:0;filter:drop-shadow(0 8px 8px #0007)}
.hs-podium{height:60px;border-radius:50%;background:linear-gradient(#b6eaff,#3a78e5 40%,#132379 45%,#0a1547 80%,#4c9bed);border:2px solid #a2d4ff;box-shadow:0 0 45px #367fff77;margin-top:-15px;position:relative;z-index:1}.hs-podium span{display:block;padding-top:28px;font-size:10px;letter-spacing:4px;color:#cfecff}.hs-show p{font-size:22px;line-height:1.4;color:#fff1a3;transform:rotate(-5deg)}
.hs-ticker{height:70px;position:relative;overflow:hidden;margin:28px -34px 0;background:linear-gradient(transparent,#0a126ecc);border-top:1px solid #a1bfff44;flex-shrink:0}.hs-scroll{position:absolute;top:21px;white-space:nowrap;font-size:24px;font-weight:bold;color:#ffe965;text-shadow:0 2px #be601b,0 4px 7px #000}.hs-scroll span{display:inline-block}
.hs-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@keyframes hs-row-in{from{opacity:0;transform:translateX(50px)}to{opacity:1;transform:none}}

@media(max-width:900px){.hs-stage{grid-template-columns:minmax(0,1fr) 130px;gap:18px}.hs-looky{height:147px}.hs-looky .frame-monkey{width:126px;height:147px;right:2px}.hs-show p{font-size:17px}.hs-board{padding:20px 15px 12px}.hs-board table{font-size:19px}.hs-shell{padding:16px 20px 0}.hs-ticker{margin-left:-20px;margin-right:-20px}.hs-top>span{display:none}}
@media(max-width:620px){.hs-shell{padding:12px 12px 0}.hs-top button{font-size:13px;padding:9px 15px}.hs-heading{margin:22px 0 20px}.hs-heading p{font-size:9px;letter-spacing:2px}.hs-heading h1{font-size:clamp(30px,8.3vw,50px);letter-spacing:0}.hs-subtitle{font-size:8px;letter-spacing:2px}.hs-stage{display:block;position:relative;margin:0}.hs-board{border-radius:21px;padding:16px 10px 12px}.hs-board table{font-size:16px}.hs-board th,.hs-board td{padding:15px 5px}.hs-board thead{font-size:9px;letter-spacing:1px}.hs-board tbody td:first-child{width:42px}.hs-rank{font-size:16px}.hs-tabs button{min-width:110px;padding:10px 14px;font-size:15px}.hs-ranking-rule{font-size:10px}.hs-board tbody th{max-width:120px}.hs-board-footer{font-size:8px;letter-spacing:0}.hs-board-footer>div{gap:5px}.hs-page{font-size:10px;min-width:58px}.hs-show{width:140px;margin:24px auto 0}.hs-looky{height:126px}.hs-looky .frame-monkey{width:108px;height:126px;right:16px}.hs-podium{height:40px}.hs-podium span{padding-top:18px;font-size:8px}.hs-show p{display:none}.hs-ticker{margin:20px -12px 0;height:65px}.hs-scroll{font-size:20px}}
@media(max-height:720px) and (min-width:621px){.hs-heading{margin:12px 0 15px}.hs-heading h1{font-size:60px}.hs-board th,.hs-board td{padding-top:10px;padding-bottom:10px}.hs-ticker{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.hs-board tbody tr{animation:none}.hs-scroll{position:relative;white-space:normal;text-align:center;font-size:17px;top:13px;padding:0 14px}.hs-letters>span{will-change:auto}}
/* Keep incoming letters inside the demo viewport without a horizontal scrollbar. */
.highscore-screen{overflow-x:hidden}
.hs-challenge .hs-board tbody th{max-width:320px}.hs-challenge tbody th small{display:block;font:normal 12px Trebuchet MS,Arial,sans-serif;color:#bdd5ff;margin-top:9px;white-space:normal}.hs-own{background:#4673dc55}.hs-challenge .hs-subtitle{letter-spacing:1px;font-size:17px;text-transform:none}.hs-challenge .hs-stage{margin-top:auto;margin-bottom:auto}.hs-challenge .hs-board table{font-size:21px}@media(max-width:620px){.hs-challenge .hs-board table{font-size:15px}.hs-challenge .hs-board tbody th{max-width:140px}.hs-challenge tbody th small{font-size:10px}.hs-challenge .hs-subtitle{font-size:13px}.hs-challenge .hs-heading h1{font-size:clamp(27px,7.4vw,45px)}}

.hs-overview-actions{display:flex;justify-content:center;margin:24px 0 0;flex-shrink:0}.highscore-screen .hs-overview{background:linear-gradient(#fff095,#f4bc39);color:#17215d;border-color:#fff6ba;padding:14px 36px;font-size:19px;min-width:220px}.highscore-screen .hs-overview:hover:not(:disabled){background:linear-gradient(#fff5b4,#ffd44f);color:#17215d}.hs-pending{color:#bfd5ff}.hs-pending th small{color:#e4d797}.hs-challenge .hs-board tbody th{white-space:normal;overflow-wrap:anywhere}.hs-challenge .hs-stage{margin-bottom:0}@media(max-width:620px){.hs-overview-actions{margin-top:18px}.highscore-screen .hs-overview{font-size:17px;padding:13px 30px}}

/* Wind-blown fireworks stars stay behind the readable ranking and controls. */
.hs-shell{position:relative;z-index:1}
.hs-star-wind{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.hs-wind-star{position:absolute;left:0;top:0;display:block;will-change:transform;filter:drop-shadow(0 3px 3px #0005)}
.hs-wind-star[hidden]{display:none}.hs-wind-star svg{display:block;width:100%;height:100%;overflow:visible}
@media(prefers-reduced-motion:reduce){.hs-wind-star{will-change:auto}}

.hs-result-status{border:1px solid #ffdf7888;border-radius:18px;padding:18px 22px;margin:16px 0 22px;background:linear-gradient(125deg,#244bc5b8,#101d70dd);box-shadow:inset 0 1px #fff5;text-align:center}
.hs-result-status h2{margin:0 0 10px;font:900 26px/1.25 "Comic Sans MS","Comic Neue",cursive;color:#fff08b;text-shadow:0 2px #6b3a0a}
.hs-result-status p{margin:8px 0;color:#edf3ff;font-size:17px;line-height:1.5}
.hs-result-status .hs-result-counts{font-size:15px;color:#ffe77d;font-weight:bold}.hs-result-status .hs-result-mail{font-size:17px;color:#fff4b3}.hs-result-status .hs-result-deadline{font-size:13px;color:#c7dbff}
@media(max-width:620px){.hs-result-status{padding:15px 12px;margin:14px 0 18px}.hs-result-status h2{font-size:22px}.hs-result-status p,.hs-result-status .hs-result-mail{font-size:15px}.hs-result-status .hs-result-counts{font-size:13px}}

/* Keep the results board on the viewport centreline, with Looky beside it. */
.hs-challenge .hs-shell{padding-top:16px}
.hs-challenge .hs-heading{margin:14px 0 18px}
.hs-challenge .hs-heading h1{font-size:clamp(30px,5.4vw,72px)}
.hs-challenge .hs-subtitle{margin-top:8px;font-size:15px}
.hs-challenge .hs-stage{grid-template-columns:150px minmax(0,1fr) 150px;gap:18px;margin:auto 0}
.hs-challenge .hs-board{grid-column:2;padding:18px 22px 14px}
.hs-challenge .hs-show{grid-column:3;margin-bottom:20px}
.hs-challenge .hs-looky{height:175px}
.hs-challenge .hs-looky .frame-monkey{width:150px;height:175px;right:0}
.hs-challenge .hs-podium{height:48px}
.hs-challenge .hs-podium span{padding-top:22px;font-size:8px;letter-spacing:3px}
.hs-challenge .hs-show p{font-size:17px;margin:14px 0 0}
.hs-challenge .hs-result-status{border:0;border-radius:0;box-shadow:none;background:none;padding:0 0 12px;margin:0 0 8px;border-bottom:1px solid #a2bdff25}
.hs-challenge .hs-result-status h2{font-size:23px;margin-bottom:6px}
.hs-challenge .hs-result-status p{font-size:15px;line-height:1.4;margin:5px 0}
.hs-challenge .hs-result-status .hs-result-mail{font-size:14px}
.hs-challenge .hs-board th,.hs-challenge .hs-board td{padding:10px 8px}
.hs-challenge .hs-board table{font-size:19px}
.hs-challenge tbody th small{margin-top:5px;font-size:11px}
.hs-result-deadline{display:block;font-size:11px;letter-spacing:0;text-transform:none;margin:5px 0 0;color:#bed4ff}
.hs-challenge .hs-board-footer{margin-top:10px}
.hs-challenge .hs-overview-actions{margin-top:14px}
.hs-challenge .hs-overview{padding:10px 28px;font-size:18px}
.hs-challenge .hs-ticker{margin-top:18px;height:64px}
@media(min-width:621px) and (max-width:1050px){.hs-challenge .hs-stage{grid-template-columns:100px minmax(0,1fr) 100px;gap:12px}.hs-challenge .hs-looky{height:126px}.hs-challenge .hs-looky .frame-monkey{width:108px;height:126px;right:-4px}.hs-challenge .hs-show p{font-size:14px}}
@media(min-width:621px) and (max-height:780px){.hs-challenge .hs-heading{margin:8px 0 12px}.hs-challenge .hs-heading h1{font-size:clamp(30px,4.6vw,58px)}.hs-challenge .hs-heading p{margin-bottom:4px}.hs-challenge .hs-subtitle{margin-top:4px}.hs-challenge .hs-result-status{padding-bottom:8px;margin-bottom:4px}.hs-challenge .hs-result-status h2{font-size:21px}.hs-challenge .hs-board th,.hs-challenge .hs-board td{padding-top:7px;padding-bottom:7px}.hs-challenge .hs-ticker{margin-top:12px;height:60px}}
@media(max-width:620px){.hs-challenge .hs-shell{padding-top:12px}.hs-challenge .hs-heading{margin:18px 0}.hs-challenge .hs-heading h1{font-size:clamp(23px,6.1vw,38px)}.hs-challenge .hs-stage{display:block;margin:0}.hs-challenge .hs-board{padding:16px 12px 12px}.hs-challenge .hs-board table{font-size:15px}.hs-challenge .hs-board th,.hs-challenge .hs-board td{padding:10px 5px}.hs-challenge .hs-result-status h2{font-size:21px}.hs-challenge .hs-result-status p{font-size:14px}.hs-challenge .hs-result-status .hs-result-mail{font-size:13px}.hs-challenge .hs-show{display:none}.hs-challenge .hs-board-footer{flex-wrap:wrap}.hs-challenge .hs-ticker{margin-top:18px}}
/* Short desktop windows must also fit a full five-person page. */
@media(min-width:621px) and (max-height:780px){.hs-challenge .hs-shell{padding-top:10px}.hs-challenge .hs-heading h1{font-size:44px}.hs-challenge .hs-heading{margin:6px 0 10px}.hs-challenge .hs-heading p{font-size:9px}.hs-challenge .hs-subtitle{font-size:13px}.hs-challenge .hs-board{padding:14px 20px 12px}.hs-challenge .hs-board table{font-size:17px}.hs-challenge .hs-board th,.hs-challenge .hs-board td{padding-top:5px;padding-bottom:5px}.hs-challenge tbody th small{margin-top:3px;font-size:10px}.hs-challenge .hs-result-status h2{font-size:19px;margin-bottom:4px}.hs-challenge .hs-result-status p,.hs-challenge .hs-result-status .hs-result-mail{font-size:13px;margin:4px 0}.hs-challenge .hs-overview-actions{margin-top:10px}.hs-challenge .hs-overview{padding:8px 24px;font-size:17px}.hs-challenge .hs-board-footer{margin-top:8px}}

/* Celebrate confirmed winners directly beneath the results title. */
.hs-challenge .hs-heading .hs-winner{margin:10px auto 6px;max-width:1000px;font:900 clamp(21px,2.5vw,34px)/1.25 "Comic Sans MS","Comic Neue",cursive;letter-spacing:0;text-transform:none;color:#fff08b;text-shadow:0 2px #b46513,0 4px 12px #0006;overflow-wrap:anywhere}
@media(min-width:621px) and (max-height:780px){.hs-challenge .hs-heading .hs-winner{font-size:24px;margin:6px auto 4px}}
@media(max-width:620px){.hs-challenge .hs-heading .hs-winner{font-size:22px;margin:10px auto 5px}}

.hs-picture-wins{font-weight:800;color:#ffe573}.hs-result-status .hs-challenge-rule{font-size:12px;color:#c7d8ff;margin:5px 0}.hs-challenge .hs-board table{width:100%;table-layout:auto}
@media(max-width:620px){.hs-challenge .hs-board thead{font-size:9px;letter-spacing:.3px}.hs-challenge .hs-board tbody th{max-width:32vw;white-space:normal;overflow-wrap:anywhere}.hs-challenge .hs-board td:last-child{white-space:nowrap;font-size:12px}.hs-challenge .hs-board td.hs-picture-wins{font-size:18px}.hs-challenge .hs-board tbody th small{font-size:10px}}

.highscore-screen:not(.hs-challenge) tbody th small{display:block;font:normal 11px/1.5 Arial,sans-serif;color:#bed6ff;white-space:normal}.highscore-screen tr[data-seed="true"]{color:#c4d0ee}.highscore-screen tr[data-seed="false"]{background:#4673dc35}

.hs-board tbody tr[data-rank="1"]{color:#ffdf58}.hs-board tbody tr[data-rank="2"]{color:#e3edff}.hs-board tbody tr[data-rank="3"]{color:#dca16a}.hs-board tbody tr:is([data-rank="1"],[data-rank="2"],[data-rank="3"])>th,.hs-board tbody tr:is([data-rank="1"],[data-rank="2"],[data-rank="3"])>td{color:inherit}.hs-board .rank-3{color:#dca16a}

.hs-board-footer>div[hidden]{display:none}

/* Keep the sine scroller visible independently of the table height. */
.highscore-screen .hs-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
.highscore-screen .hs-ticker{position:fixed;left:0;right:0;bottom:0;height:calc(76px + env(safe-area-inset-bottom));margin:0;z-index:4;pointer-events:none;box-sizing:border-box;background:linear-gradient(#080e55f5,#050a43);padding-bottom:env(safe-area-inset-bottom)}
@media(min-width:621px) and (max-height:780px){
 .highscore-screen:not(.hs-challenge) .hs-shell{padding-top:10px}
 .highscore-screen:not(.hs-challenge) .hs-heading{margin:10px 0}
 .highscore-screen:not(.hs-challenge) .hs-heading h1{font-size:52px}
 .highscore-screen:not(.hs-challenge) .hs-heading p{margin-bottom:6px}
 .highscore-screen:not(.hs-challenge) .hs-subtitle{font-size:10px;margin-top:6px}
 .highscore-screen:not(.hs-challenge) .hs-board{padding:14px 20px}
 .highscore-screen:not(.hs-challenge) .hs-board table{font-size:18px}
 .highscore-screen:not(.hs-challenge) .hs-board th,.highscore-screen:not(.hs-challenge) .hs-board td{padding:7px 8px}
 .highscore-screen:not(.hs-challenge) tbody th small{font-size:10px;line-height:1.3}
 .highscore-screen:not(.hs-challenge) .hs-tabs button{padding:8px 15px;font-size:14px}
 .highscore-screen:not(.hs-challenge) .hs-ranking-rule{font-size:12px;margin:9px 0}
 .highscore-screen:not(.hs-challenge) .hs-board-footer{margin-top:8px}
}

.hs-board tr.hs-new-score{background:#6878dc55;box-shadow:inset 3px 0 #ffe67b,inset -3px 0 #ffe67b}
