#debugWindow{position:fixed;z-index:240;left:20px;top:70px;width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 82px);box-sizing:border-box;background:#101e2fee;color:#ecf6ff;border:1px solid #6989a9;border-radius:16px;box-shadow:0 16px 50px #0008;overflow:hidden;font-family:Fredoka,sans-serif;pointer-events:auto}#debugWindow[hidden],#debugWindow [hidden]{display:none!important}#debugDrag{display:flex;align-items:center;justify-content:space-between;background:#223a52;padding:10px 14px;cursor:move;touch-action:none;user-select:none}#debugDrag strong{font-size:19px}#debugClose{min-width:36px;min-height:36px}#debugAuth{padding:16px;overflow:auto;max-height:calc(100dvh - 120px)}#debugWindow h2{margin:0 0 12px;font-size:20px}#debugWindow p{font-size:14px;color:#b5cce1;line-height:1.4}#debugWindow input,#debugWindow select{display:block;width:100%;box-sizing:border-box;margin:6px 0 12px;padding:10px;background:#0a1422;color:white;border:1px solid #6788a5;border-radius:8px;font:inherit}#debugWindow label{display:block;font-size:14px}#debugWindow button{background:#263f59;color:white;border:1px solid #668bac;border-radius:8px;padding:9px 12px;font:inherit;cursor:pointer}#debugWindow button:disabled{opacity:.45;cursor:wait}#debugContent{display:flex;min-height:280px}#debugContent nav{display:flex;flex-direction:column;gap:8px;width:142px;flex-shrink:0;padding:12px 8px;background:#14263a;box-sizing:border-box}#debugContent nav button{font-size:14px;text-align:left}#debugContent nav button[aria-pressed=true]{background:#3274a2;border-color:#7dc8ff}#debugContent main{padding:16px;min-width:0;flex:1;max-height:calc(100dvh - 140px);overflow:auto}#debugWindow pre,#debugLogs{font:12px/1.6 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}#debugLogs{background:#091421;border-radius:8px;padding:10px;max-height:180px;overflow:auto;margin-bottom:12px;color:#d6e9fa}#debugAuthStatus,#debugCommandStatus{min-height:20px;color:#8fd6ff!important}.debugActions{display:flex;gap:8px;margin-top:12px}#debugWindow summary{cursor:pointer;color:#8fd6ff;margin-top:12px}@media(max-width:520px){#debugContent nav{width:112px}#debugContent main{padding:10px}#debugWindow{left:12px;top:55px}#debugContent nav button{font-size:12px;padding:9px 6px}}

#debugWindow{display:flex;flex-direction:column;padding-bottom:24px}#debugDrag{flex-shrink:0}#debugAuth{flex:1;min-height:0;box-sizing:border-box}#debugContent{flex:1;min-height:0;overflow:hidden}#debugContent main{max-height:none;min-height:0;overflow:auto}#debugResize{position:absolute;right:2px;bottom:2px;min-width:24px;min-height:24px;padding:0!important;border:0!important;background:transparent!important;color:#9ed8ff!important;cursor:nwse-resize;touch-action:none;line-height:22px;font-size:19px!important}

@media(max-width:520px){#debugWindow{max-height:calc(100dvh - 67px)}}

#debugInner{display:flex;flex-direction:column;min-height:0;flex:1;transform-origin:top left}#debugInner #debugAuth{max-height:none}#debugInner #debugContent{flex:1}#debugInner #debugDrag{width:100%;box-sizing:border-box}#debugInner nav{flex-shrink:0}

#debugInner{flex:none}

#debugWindow textarea{display:block;width:100%;box-sizing:border-box;margin:6px 0 12px;padding:8px;background:#081624;color:#eff8ff;border:1px solid #6788a5;border-radius:8px;font:12px/1.4 monospace;resize:vertical}#debugWindow img{width:42px;height:42px;object-fit:cover;border-radius:50%}#debugWindow .debugAccountRow button{display:block;margin-top:8px}#debugWindow .debugReportRow{padding:12px;border:1px solid #6788a5;border-radius:10px;margin:10px 0;overflow-wrap:anywhere}#debugWindow .debugReportRow button{margin:4px;font-size:12px}#debugWindow blockquote{margin:8px 0;padding:10px;background:#081624;border-left:3px solid #8aceff;font-size:13px;overflow-wrap:anywhere}#debugAccountIdentity p,#debugAccountHistory p{overflow-wrap:anywhere}#debugAccountActionStatus{color:#a9dfff}#debugAccountEditFields small{display:block;font-size:11px;color:#a5c7e3}#debugWindow #debugReportsFilter{margin:0}
/* Match the blue game menus, including authentication and all management pages. */
body.referenceHUD #debugWindow{background:linear-gradient(140deg,#3297ce,#176e9f);border:2px solid #d5f3ff;border-radius:12px;box-shadow:0 10px 32px #10547b66;color:white}#debugWindow #debugDrag{background:#237fac;border-bottom:1px solid #bceaff99;padding:10px 12px}#debugWindow #debugContent nav{background:#1e73a0;border-right:1px solid #bceaff88;gap:8px}#debugWindow :is(p,small,label,span,h2,h3){color:white}#debugWindow :is(input,select,textarea,pre,#debugLogs,.debugAccountRow){background:#247ca7;color:white;border-color:#c2edff}#debugWindow button{background:#2a86b3;border:1px solid #c9efff;border-radius:6px}#debugWindow nav button[aria-pressed=true]{background:#53a8d0;border-color:white}#debugWindow main{padding:14px}#debugWindow :is(input,select){height:32px;padding:5px 8px;margin:6px 0 12px}#debugWindow textarea{padding:8px;border-radius:6px}#debugWindow .debugAccountRow{margin-bottom:8px;padding:10px}

#debugWindow .reportScreenshot{display:block;width:auto!important;height:auto!important;max-width:100%;max-height:260px;border-radius:7px;margin:10px 0;object-fit:contain}
