.world-top-ten{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;color:#fff8df;background:radial-gradient(ellipse at 50% 35%,#66532688 0,#182436 40%,#080e1d 76%);overflow:auto;overscroll-behavior:contain;font-family:GameText,system-ui;text-align:center}
.world-top-ten::backdrop{background:#080e1d}
.top-ten-card{box-sizing:border-box;position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;width:min(100%,480px);margin:auto;padding:calc(22px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom));gap:14px}
.top-ten-kicker{font-size:10px;letter-spacing:2px;color:#ffe6a6;font-weight:800}
.top-ten-medal{position:relative;width:min(70vw,290px);height:min(70vw,290px);flex-shrink:0;border:5px solid #ffd978;border-radius:50%;background:radial-gradient(circle at 45% 35%,#fff0b8 0,#cca147 35%,#58401d 70%,#271b12 100%);box-shadow:0 0 0 6px #5b431c,0 0 0 8px #ffe6a377,0 0 55px #f3ba4333,inset 0 0 28px #ffeeb777;margin:13px 0 12px}
.top-ten-orbit{position:absolute;inset:-17px;border:1px solid #cda65070;border-radius:50%}
.top-ten-medal:before,.top-ten-medal:after{content:'';position:absolute;width:22px;height:96px;border:3px solid #edc06a;border-left:0;border-right:0;top:20%;transform:rotate(-24deg);left:-33px;border-radius:50%}
.top-ten-medal:after{left:auto;right:-33px;transform:rotate(24deg)}
.top-ten-medal canvas{position:absolute;left:-6%;top:-11%;width:112%;height:118%;object-fit:contain;filter:drop-shadow(0 6px 6px #1d16097a)}
.top-ten-seal{position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:5px 18px;border:1px solid #fff0b1;border-radius:30px;background:linear-gradient(#ffde85,#b88227);color:#35230b;font-size:11px;letter-spacing:1px;font-weight:900;box-shadow:0 5px 18px #0006}.top-ten-seal b{font-size:23px}
.top-ten-crown{position:absolute;top:-46px;left:40%;font-size:44px;color:#ffdf7a;text-shadow:0 0 20px #ffdf7a66;z-index:2}
.top-ten-heading{position:relative;width:100%}.top-ten-star{color:#ffe8a4;font-size:20px;display:block;margin-bottom:6px}.top-ten-heading h1{font-family:GameText,system-ui;font-size:clamp(20px,6.6vw,30px);font-weight:950;letter-spacing:-.6px;margin:0 0 7px;color:#ffe49a;text-shadow:0 2px #6d421f,0 4px 14px #0009}.top-ten-heading h2{font-size:clamp(11px,3.2vw,14px);font-weight:800;letter-spacing:.9px;color:#fff8e7;margin:0}
.top-ten-result{width:100%;margin:0}.top-ten-result p{font-size:15px;letter-spacing:1.5px;margin:0 0 4px;font-weight:800}.top-ten-result p strong{font-size:38px;color:#ffdb7b;letter-spacing:-1px}.top-ten-score{font-size:29px;font-weight:900;letter-spacing:.2px}.top-ten-score small{font-size:11px;letter-spacing:2px}.top-ten-character{font-size:11px;letter-spacing:1.4px;font-weight:900;margin-top:9px;color:#ffe3a2}.top-ten-difficulty{display:block;font-size:9px;letter-spacing:1px;color:#cabf9f;margin-top:5px}
.top-ten-actions{width:100%;display:grid;gap:6px;margin-top:5px}.top-ten-actions button{min-height:46px;width:100%;border-radius:12px;font:850 13px GameText,system-ui;letter-spacing:.8px}.top-ten-view{background:linear-gradient(#ffe5a1,#ddb04d);border:1px solid #fff0bd;color:#211b14;box-shadow:0 4px 0 #735323,0 8px 20px #0005}.top-ten-view span{margin-left:8px}.top-ten-skip{background:none;border:0;color:#ded8c7}
.top-ten-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;contain:strict}.top-ten-confetti i{position:absolute;left:var(--x);top:-15px;width:5px;height:12px;border-radius:1px;background:#ffe48b;opacity:0;transform:rotate(var(--turn))}.top-ten-confetti i:nth-child(3n){width:3px;height:26px;background:#bb862f}.top-ten-confetti i:nth-child(4n){border-radius:50%;width:3px;height:3px;background:#fff1bf}
.top-ten-playing{animation:top-ten-fade .5s ease both}.top-ten-playing .top-ten-medal{animation:top-ten-ring .8s .5s cubic-bezier(.2,.7,.25,1) both}.top-ten-playing canvas{animation:top-ten-enter .7s 1.3s ease both}.top-ten-playing .top-ten-heading{animation:top-ten-enter .8s 2s ease both}.top-ten-playing .top-ten-result{animation:top-ten-enter .7s 2.8s ease both}.top-ten-playing .top-ten-view{animation:top-ten-enter .7s 3.8s ease both}.top-ten-playing .top-ten-confetti i{animation:top-ten-fall 4.5s calc(1s + var(--delay)) ease-out both}
@keyframes top-ten-fade{from{opacity:0}to{opacity:1}}@keyframes top-ten-ring{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes top-ten-enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes top-ten-fall{0%{opacity:0;translate:0 -20px}15%{opacity:.85}85%{opacity:.7}100%{opacity:0;translate:20px 85vh;rotate:240deg}}
@media(max-height:700px){.top-ten-card{gap:9px;padding-top:calc(12px + env(safe-area-inset-top))}.top-ten-medal{width:190px;height:190px;margin:10px 0}.top-ten-heading h1{font-size:22px}.top-ten-result p strong{font-size:31px}.top-ten-score{font-size:25px}.top-ten-star{display:none}}
@media(prefers-reduced-motion:reduce){.world-top-ten,.top-ten-playing *{animation:none!important}.top-ten-confetti{display:none}}
.world-row .unknown{font-size:8px!important;line-height:1.2!important}

/* Visible only in an explicitly authorized internal build. */
#menu-front #qa-menu:not([hidden]){position:absolute;z-index:8;top:calc(env(safe-area-inset-top,0px) + 12px);left:12px;width:auto;min-height:44px;padding:8px 14px;border-radius:12px;font-size:12px;box-shadow:0 3px 12px #0009}

.top-ten-player{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.3;font-weight:800;color:#ffe49a;margin:0 0 7px;unicode-bidi:plaintext}
