[data-report-bug]{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:8px 14px;font:600 14px/1.3 system-ui,sans-serif;text-transform:none;letter-spacing:normal}
[data-report-bug][hidden],.bug-report-dialog [hidden],#report-load-failure[hidden]{display:none!important}
#report-load-failure{position:absolute;z-index:8;inset:0 0 auto;padding:12px;background:#263045;color:#fff}
.game-display-active:not(.game-display-menu) #report-load-failure{display:none}
.bug-report-dialog{box-sizing:border-box;position:fixed;inset:var(--report-top,0) 0 auto;width:min(640px,calc(100% - 16px));height:auto;max-height:calc(var(--report-height,100dvh) - 16px);margin:8px auto;padding:0;border:1px solid #637796;border-radius:14px;background:#141e30;color:#f8f4e7;font:16px/1.5 system-ui,sans-serif;overflow:hidden;transform:none!important}
.bug-report-dialog::backdrop{background:rgb(3 7 15 / .85)}
.bug-report-dialog[open]{display:flex;flex-direction:column}
.bug-report-head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:12px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));border-bottom:1px solid #3b4d67;background:#141e30}
.bug-report-head h2{font:700 22px/1.2 system-ui,sans-serif;margin:0;color:#fff;letter-spacing:normal;text-transform:none}
.bug-report-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:0 max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.bug-report-dialog p{font-size:14px;line-height:1.5;margin:12px 0;max-width:none}
.bug-report-dialog label{display:block;margin:14px 0;color:#f8f4e7;font:600 16px/1.4 system-ui,sans-serif;letter-spacing:normal;text-transform:none}
.bug-report-dialog small{font-size:13px;font-weight:400;color:#bac7df}
.bug-report-dialog input,.bug-report-dialog select,.bug-report-dialog textarea{box-sizing:border-box;width:100%;max-width:100%;display:block;margin-top:6px;min-height:44px;padding:10px;border:1px solid #687b99;border-radius:7px;background:#080f1e;color:#fff;font:400 16px/1.5 system-ui,sans-serif;letter-spacing:normal;touch-action:auto;user-select:text}
.bug-report-dialog textarea{resize:vertical}
.bug-report-dialog button{min-height:44px;padding:10px 16px;border:1px solid #7589a5;border-radius:7px;background:#23334e;color:#fff;font:600 15px/1.4 system-ui,sans-serif;letter-spacing:normal;text-transform:none;touch-action:manipulation}
.bug-report-dialog button.primary{background:#70e3e6;color:#0c1727;border-color:#70e3e6}
.bug-report-dialog button:disabled{opacity:.6}
.bug-report-dialog :focus-visible{outline:3px solid #ffd376;outline-offset:3px}
.bug-report-actions{display:flex;flex-wrap:wrap;gap:10px}
.bug-report-dialog dl{margin:12px 0;padding:12px;background:#080f1e;border-radius:8px;user-select:text}
.bug-report-dialog dt{font-size:13px;font-weight:600;color:#a8bad5;margin-top:12px}.bug-report-dialog dt:first-child{margin-top:0}
.bug-report-dialog dd{margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}
.bug-report-dialog summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline}
.bug-report-local{color:#ffc77e}.bug-report-dialog #bug-report-status{overflow-wrap:anywhere;font-weight:600}
.report-page{margin:auto;max-width:640px;padding:24px;background:#080e1b;color:#fff;font:16px/1.6 system-ui,sans-serif}.report-page a{color:#70e3e6}
@media(max-height:450px){.bug-report-head{padding-top:4px;padding-bottom:4px}.bug-report-head h2{font-size:19px}.bug-report-dialog{max-height:calc(var(--report-height,100dvh) - 8px);margin-top:4px}}
