/* Keep the counter anchored above the account and currency panel. */
#hud .wallet{position:relative;margin-top:20px}
#mapBox{margin-top:20px}
#fpsCounter{position:absolute;bottom:calc(100% + 4px);right:0;z-index:25;font:600 10px/12px ui-monospace,SFMono-Regular,Consolas,monospace;color:#d8e8f2;background:#081727b8;border:1px solid #a4c9df20;border-radius:4px;padding:2px 5px;pointer-events:none;font-variant-numeric:tabular-nums;min-width:54px;text-align:right}
.player-feedback-form{display:grid;gap:15px;margin-top:20px}.player-feedback-form label{display:grid;gap:7px;font-size:14px;color:#dce9f3}.player-feedback-form label small{color:#9eb7ca;font-size:12px}.player-feedback-form input,.player-feedback-form textarea,.player-feedback-form select{width:100%;min-width:0;min-height:44px;padding:11px 12px;border:1px solid #abcde439;border-radius:9px;background:#081a2ad9;color:#f1f6fa;font:inherit;line-height:1.5}.player-feedback-form textarea{resize:vertical;max-height:35vh}.player-feedback-form :is(input,textarea,select):focus-visible{outline:2px solid #f4d28b;outline-offset:2px}.player-feedback-form ::placeholder{color:#8aa5b9}.feedback-context{font:12px/1.7 ui-monospace,monospace;color:#aec6d9;padding:10px 12px;border:1px solid #abcde423;border-radius:8px;background:#07162570}.player-feedback-form #feedbackStatus{margin:0;color:#f4d28b;line-height:1.5}.player-feedback-form #feedbackStatus:empty{display:none}.player-feedback-form .feedback-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.player-feedback-form .actions{margin-top:0}.damage-number.blocked{font-size:18px;color:#a4cee8}.damage-number.heavy{font-size:28px}
@media(pointer:coarse){#fpsCounter{font-size:9px;line-height:10px}}
@media(max-width:540px){.player-feedback-form{gap:12px}.player-feedback-form .actions>button{flex:1;min-height:44px}}

dialog:has(.player-feedback-form){width:min(560px,calc(100vw - 24px));padding:24px}.player-feedback-form p{margin:0}.player-feedback-form .feedback-steps{margin:0;padding:0;border:0}.feedback-steps summary{cursor:pointer;font-size:13px;color:#bfd5e6;padding:4px 0}.feedback-steps[open] label{margin-top:10px}.player-feedback-form .actions{position:sticky;bottom:-24px;padding:12px 0 4px;background:#0b2237;border-top:1px solid #b3d1e726;z-index:1}

#swordDropNotice{position:fixed;left:max(14px,env(safe-area-inset-left));bottom:max(18px,env(safe-area-inset-bottom));z-index:25;max-width:min(240px,42vw);padding:9px 12px;border:1px solid #e6c57b70;border-radius:8px;background:#0b2034ed;color:#ffe4a2;font:600 13px/1.4 Trebuchet MS,Arial,sans-serif;pointer-events:none;overflow-wrap:anywhere}
@media(pointer:coarse),(max-width:700px){#swordDropNotice{bottom:calc(120px + env(safe-area-inset-bottom));max-width:min(190px,40vw);font-size:12px}}
.in-cinema #swordDropNotice{visibility:hidden}
