.id-header { background: #080808; height: 76px; }
.id-header>div { height: 100%; }
.id-brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; color: #eee; }
.id-brand b { color: #999; font-weight: 400; }
.id-notice { position: relative; margin: 18px 24px 0; font-size: 13px; z-index: 2000; }
.auth-shell { max-width: 455px; margin: 65px auto; padding: 0 18px; }
.auth-heading { text-align: center; margin-bottom: 28px; }
.auth-heading>i { display: block; font-size: 30px; color: #bbb; margin-bottom: 18px; }
.auth-heading h1 { font-size: 29px; letter-spacing: -.7px; }
.auth-heading p { font-size: 13px; line-height: 1.8; color: #999; }
.id-card { padding: 27px; border: 1px solid #2a2a2a; border-radius: 7px; background: #0b0b0b; }
.form-control,.form-select { background-color: #111; border-color: #383838; font-size: 13px; color: #ddd; min-height: 42px; }
.form-control:focus,.form-select:focus { background-color: #171717; color: #fff; border-color: #999; box-shadow: 0 0 0 .2rem #ffffff15; }
.form-label { font-size: 12px; color: #ccc; }
.form-text { font-size: 12px; color: #999; line-height: 1.8; }
.form-check-input:checked { background-color: #777; border-color: #999; }
.qr-image { display: block; margin: 20px auto; max-width: 100%; height: auto; border-radius: 5px; }
#enrollment-secret { color: #ddd; }
#recovery-codes { font-size: 12px; padding: 18px; background: #000; border: 1px solid #333; line-height: 2; }
.id-layout { display: grid; grid-template-columns: 232px minmax(0,1fr); min-height: calc(100dvh - 76px); }
.id-sidebar { border-right: 1px solid #252525; background: #070707; padding: 32px 16px; display: flex; flex-direction: column; }
.sidebar-label { padding-left: 14px; font-size: 10px; color: #777; letter-spacing: 1.8px; }
#workspace-nav { display: flex; flex-direction: column; gap: 5px; }
#workspace-nav button { border: 1px solid transparent; background: transparent; color: #a5a5a5; padding: 12px 14px; text-align: left; font-size: 13px; border-radius: 5px; }
#workspace-nav button:hover { background: #151515; color: #fff; }
#workspace-nav button[aria-current="page"] { color: #eee; background: #1b1b1b; border-color: #303030; }
#workspace-nav i { margin-right: 12px; }
.sidebar-footer { padding: 40px 14px 0; margin-top: auto; color: #aaa; font-size: 11px; line-height: 1.9; }
.sidebar-footer span { color: #666; }
.id-content { padding: 42px; max-width: 1500px; width: 100%; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.page-heading h1 { font-size: 29px; font-weight: 600; letter-spacing: -.6px; }
.page-heading p { font-size: 13px; color: #999; margin-bottom: 0; line-height: 1.8; }
.id-badge { display: inline-block; border: 1px solid #3a3a3a; background: #171717; border-radius: 5px; padding: 5px 9px; color: #c7c7c7; font-size: 11px; white-space: nowrap; }
.id-badge[data-status="approved"],.id-badge[data-status="active"] { color: #bdd8c3; border-color: #375441; }
.id-badge[data-status="rejected"],.id-badge[data-status="disabled"] { color: #dcb8b8; border-color: #593d3d; }
.id-details { font-size: 13px; margin: 18px 0 0; }
.id-details>div { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid #242424; }
.id-details dt { color: #888; font-weight: 400; }
.id-details dd { margin: 0; overflow-wrap: anywhere; color: #ddd; }
.id-details>div:last-child { border-bottom: 0; }
.table-shell { border: 1px solid #292929; border-radius: 6px; overflow-x: auto; }
.table { --bs-table-bg: #0a0a0a; --bs-table-color: #ccc; --bs-table-border-color: #252525; margin: 0; font-size: 12px; min-width: 620px; }
.table th { background: #111; color: #888; font-weight: 500; white-space: nowrap; }
.table td,.table th { padding: 16px; vertical-align: middle; }
.table .btn { font-size: 11px; padding: 6px 10px; }
.compact-select { max-width: 190px; }
.empty-state { padding: 55px 25px; text-align: center; border: 1px dashed #333; color: #888; font-size: 13px; border-radius: 6px; }
.id-dialog { width: min(690px,94vw); max-height: 90dvh; border: 1px solid #444; border-radius: 8px; padding: 28px; color: #eee; background: #0b0b0b; }
.id-dialog::backdrop { background: #000d; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.dialog-heading h2 { font-size: 21px; margin-bottom: 10px; }
.long-answer { white-space: pre-wrap; overflow-wrap: anywhere; color: #bbb; font-size: 13px; line-height: 1.85; }
.permission-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; font-size: 12px; }
.permission-options label { display: flex; align-items: center; gap: 9px; }
.release-card { margin-bottom: 20px; }
.release-card .hash { font-size: 10px; color: #777; overflow-wrap: anywhere; }
@media(max-width: 1000px) { .id-layout { grid-template-columns: 190px minmax(0,1fr); } .id-sidebar { padding-inline: 10px; } .id-content { padding: 28px; } }
@media(max-width: 767px) { .id-layout { display: block; } .id-sidebar { padding: 10px; border-right: 0; border-bottom: 1px solid #252525; } .sidebar-label,.sidebar-footer { display: none; } #workspace-nav { flex-direction: row; overflow-x: auto; } #workspace-nav button { white-space: nowrap; padding: 10px; font-size: 12px; } #workspace-nav i { margin-right: 6px; } .id-content { padding: 25px 16px; } .page-heading { flex-wrap: wrap; gap: 15px; } .page-heading h1 { font-size: 25px; } .id-header .container-fluid { padding-inline: 16px!important; } #header-user { display: none; } .id-brand { font-size: 18px; } .id-brand img { width: 32px; height: 32px; } .id-header a.small { font-size: 10px; } .id-dialog { padding: 20px; } .id-details>div { grid-template-columns: 110px minmax(0,1fr); gap: 10px; } .permission-options { grid-template-columns: 1fr; } }

/* Players (community accounts) */
.player-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:22px}
.player-stat{border:1px solid #262626;background:#090909;border-radius:8px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.player-stat span{font-size:11px;color:#888}
.player-stat strong{font-size:22px;font-weight:600;color:#eee;font-variant-numeric:tabular-nums}
.players-table td,.players-table th{vertical-align:middle;white-space:nowrap}
.players-table .num{text-align:right;font-variant-numeric:tabular-nums}
.player-cell{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.player-cell:hover strong{text-decoration:underline}
.player-pic{position:relative;display:inline-flex}
.player-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#1d1d1d;display:inline-grid;place-items:center;font-size:13px;color:#aaa}
.player-online{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;background:#3ccf74;box-shadow:0 0 0 2px #0b0b0b}
.player-name{display:block;font-size:12px;color:#888}
.player-email{max-width:220px;overflow:hidden;text-overflow:ellipsis}
.player-live{color:#7fe0a3}
@media(max-width:900px){.player-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
