/* v190: compact HUD, responsive armory and a centered native result card. */
.sr-hud{position:absolute;top:max(14px,env(safe-area-inset-top));left:76px;right:16px;width:calc(100% - 92px);max-width:430px;margin:0 auto;padding:10px 14px;background:#fff4dce8;border:1px solid #c8ae81;border-radius:19px;box-shadow:0 3px 12px #223e3220;color:#385f53;font:700 13px system-ui;pointer-events:none}.sr-statline{display:flex;gap:18px;justify-content:space-between}.sr-statline b{font-size:18px}.sr-worldline{display:flex;gap:8px;justify-content:space-between;margin-top:7px;color:#6a7d60;font-size:11px}.sr-hud small:not(:empty){display:block;margin-top:6px;font-size:10px}.sr-armory{top:auto!important;bottom:calc(max(16px,env(safe-area-inset-bottom)) + 90px)!important;right:max(16px,env(safe-area-inset-right))!important;max-width:235px}.sr-armory small{max-width:165px;line-height:1.4}.sr-armory button{box-shadow:none}.hg-arena[data-game="sky-runner"] #hg-result{position:absolute!important;inset:auto!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%);width:min(510px,calc(100% - 28px));max-height:calc(100% - 32px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:24px!important;background:linear-gradient(#fff7e4,#eadab9)!important;border:2px solid #bc9b66;border-radius:27px;box-shadow:0 12px 32px #152d3d55,0 0 0 100vmax #173a46b3;text-align:center;color:#3b6255;z-index:20}.hg-arena[data-game="sky-runner"] #hg-result:before{content:"";position:fixed;inset:-100vmax;z-index:-1;pointer-events:auto}.hg-arena[data-game="sky-runner"] #hg-result h2{color:#3b6255!important;font-size:28px!important;line-height:1.15;margin:0 0 16px!important}.sr-result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}.sr-result-stats>div{background:#f4e6c9;border:1px solid #d4bd93;border-radius:15px;padding:12px 4px}.sr-result-stats b{display:block;font:900 23px system-ui;color:#44675a}.sr-result-stats small{display:block;font:700 9px system-ui;margin-top:5px;color:#8c7c5f}.hg-arena[data-game="sky-runner"] #hg-result>button{display:block;width:100%;min-height:48px;margin:10px 0;border:1px solid #c1a278!important;border-radius:14px!important;background:#5f8979!important;color:#fff4df!important;box-shadow:0 3px 0 #3c5f5180;font:700 14px system-ui}.hg-arena[data-game="sky-runner"] #hg-rematch{background:linear-gradient(#f8d486,#e1b35f)!important;color:#694f2e!important}.hg-arena[data-game="sky-runner"] #hg-win-actions>p{font-size:12px;color:#65745c;margin:14px 0}.hg-arena[data-game="sky-runner"] .hg-share-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.hg-arena[data-game="sky-runner"] .hg-share-buttons>*{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px;border:1px solid #c6b695!important;border-radius:12px!important;background:#f7edd8!important;color:#4c695b!important;font:700 12px system-ui;box-shadow:none!important;text-decoration:none}.hg-arena[data-game="sky-runner"] #hg-share{grid-column:span 2;background:#d6e2c5!important}.hg-arena[data-game="sky-runner"] #hg-win-actions label{display:block;text-align:left;font:700 11px system-ui;margin-top:14px;color:#6f7c61}.hg-arena[data-game="sky-runner"] #hg-invite-next{width:100%;min-height:44px;margin-top:6px;border:1px solid #c6b695;border-radius:12px;background:#fff8e9;color:#466153;padding:8px;font-size:13px}.hg-arena[data-game="sky-runner"] #hg-invite-win{width:100%;min-height:44px;border:1px solid #c6b695;background:#eee0bd;color:#4d6655;border-radius:12px;margin-top:10px}
@media(max-width:600px){.sr-hud{left:72px;right:12px;width:calc(100% - 84px);padding:10px 12px}.sr-statline{gap:8px}.sr-statline b{font-size:15px}.sr-armory{bottom:calc(max(16px,env(safe-area-inset-bottom)) + 82px)!important;max-width:215px;padding:6px 8px}.sr-armory small{font-size:9px}.hg-arena[data-game="sky-runner"] #hg-result{padding:20px 16px!important}.hg-arena[data-game="sky-runner"] #hg-result h2{font-size:25px!important}}
@media(max-width:360px){.sr-pad{grid-template-columns:repeat(2,48px);gap:6px}.sr-buttons button{width:48px!important;height:54px}.sr-buttons .sr-bomb{width:54px!important;height:62px}.sr-actions{gap:6px}.sr-hud{padding:9px;font-size:11px}.sr-statline b{font-size:14px}.sr-worldline{font-size:10px}}
@media(max-height:450px){.sr-hud{top:12px;max-width:380px;padding:8px 12px}.sr-worldline{margin-top:4px}.sr-armory{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 68px)!important;padding:4px 8px}.hg-arena[data-game="sky-runner"] #hg-result{padding:18px!important;max-height:calc(100% - 20px)}}

.hg-arena[data-game="sky-runner"] #hg-result #hg-rematch{background:linear-gradient(#f8d486,#e1b35f)!important;color:#694f2e!important}.hg-arena[data-game="sky-runner"] #hg-result #hg-invite-next{display:block;width:100%!important;max-width:none!important;box-sizing:border-box}.hg-arena[data-game="sky-runner"] #hg-result[hidden]{display:none!important}
