/* Scoped account controls: do not change any game layout or colour-coded board. */
.bf-nickname-dialog {width:min(32rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;box-sizing:border-box;padding:1.4rem;border:2px solid #9271ff;border-radius:20px;background:#111735;color:#f7f6ff;box-shadow:0 0 28px #4528a755;font-family:inherit;}
.bf-nickname-dialog::backdrop{background:#050816cc;}
.bf-nickname-dialog form{display:flex;flex-direction:column;gap:.7rem;}
.bf-nickname-dialog h3{margin-top:0;}
.bf-nickname-dialog input{min-height:46px;border:1px solid #9271ff;border-radius:8px;padding:.6rem;color:#f7f6ff;background:#090f27;font:inherit;}
.bf-nickname-dialog button{min-height:44px;}
.recovery-page{margin:0;background:#0a0e29;color:#f6f6ff;font:1rem/1.55 system-ui,sans-serif;min-height:100dvh;box-sizing:border-box;padding:clamp(1rem,4vw,3rem);color-scheme:dark;}
.recovery-page main{max-width:42rem;margin:3rem auto 1.5rem;border:1px solid #9271ff;border-radius:22px;background:#121b3b;padding:clamp(1rem,4vw,2rem);box-shadow:0 0 30px #6534ca33;}
.recovery-page h1{line-height:1.2;font-size:clamp(1.6rem,5vw,2.25rem);}
.recovery-page footer{max-width:42rem;margin:auto;}
.recovery-page a{color:#82edff;}
.recovery-page form{display:flex;flex-direction:column;gap:.7rem;}
.recovery-page input,.recovery-page button{font:inherit;min-height:46px;border-radius:10px;box-sizing:border-box;padding:.65rem 1rem;}
.recovery-page input{border:1px solid #b4a1ff;background:#08112d;color:#fff;}
.recovery-page button{border:1px solid #73edff;background:#3ddcff;color:#071126;font-weight:700;cursor:pointer;}
.recovery-page button:disabled{opacity:.55;cursor:wait;}
.recovery-page :focus-visible,.bf-nickname-dialog :focus-visible{outline:3px solid #7deaff;outline-offset:3px;}
.bozoko-identity-note{box-sizing:border-box;max-width:72rem;margin:1rem auto;padding:1rem 1.2rem;border:1px solid #9271ff;border-radius:12px;background:#121b3b;color:#f6f6ff;font:inherit;line-height:1.5;}
.bozoko-identity-note a{color:#82edff;}
/* Operator-only directory: plain, readable and consistent with the ultraviolet shell. */
.account-directory-page{margin:0;background:#080b28;color:#edf1ff;font:16px/1.5 system-ui,sans-serif;color-scheme:dark}
.account-directory-page [hidden]{display:none!important}
.account-directory{max-width:1240px;margin:0 auto;padding:28px 20px 56px}
.account-directory h1{font-size:clamp(1.8rem,4vw,2.65rem);line-height:1.12;margin:8px 0 16px}
.account-directory h2{font-size:1.15rem}.account-directory a,.account-directory .kicker{color:#69e8ff}
.account-directory label{display:grid;gap:6px}.account-directory input,.account-directory select{box-sizing:border-box;background:#121538;color:#edf1ff;border:1px solid #9380da;border-radius:10px;padding:10px 12px;min-height:44px;font:inherit;max-width:100%}
.account-directory button{min-height:44px;border:1px solid #73e8ff;border-radius:10px;background:#4cdaff;color:#061435;font:700 15px system-ui;padding:10px 16px;cursor:pointer}
.account-directory button.directory-secondary{background:#192047;color:#eef1ff;border-color:#9380da}.account-directory button:disabled{opacity:.55;cursor:default}
.account-directory :focus-visible{outline:3px solid #ffe17a;outline-offset:3px}
.directory-panel{background:linear-gradient(135deg,#15163b,#0d193a);border:1px solid #8a67da;border-radius:16px;padding:20px;margin:16px 0}
#directory-lock{max-width:580px}#directory-login{display:grid;gap:10px}#directory-error{color:#ffd0d9}
.directory-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.directory-totals .directory-panel{display:flex;flex-direction:column;gap:3px}.directory-totals strong{font-size:2rem;color:#7beaff}
.directory-note{color:#b8c4e9;font-size:.9rem}.directory-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0}.directory-toolbar h2{margin-right:auto}.directory-toolbar label:first-child{flex:1;min-width:200px}
.directory-table-wrap{overflow:auto;border:1px solid #655b9a;border-radius:12px}.account-directory table{border-collapse:collapse;width:100%;font-size:.9rem}.account-directory th,.account-directory td{text-align:left;padding:13px 14px;border-bottom:1px solid #282f55;white-space:nowrap}.account-directory thead{background:#182249;color:#8beeff}.account-directory tbody th{color:#e9f1ff}
.bozoko-admin-directory-link{background:#111738;padding:12px 20px;border-bottom:1px solid #755bbb;color:#d9e8ff}.bozoko-admin-directory-link a{color:#79e9ff}
@media(max-width:600px){.account-directory{padding:16px 14px}.directory-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.directory-panel{padding:14px}.directory-totals .directory-panel{margin:0}.directory-toolbar label{width:100%}}
