.admin-shell{max-width:1220px;margin:0 auto;padding:6px 0 50px}.admin-heading,.admin-account,.admin-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.admin-heading{margin-bottom:28px}.admin-heading h1{font-size:32px;margin:10px 0}.admin-heading p,.admin-id,.admin-card small{color:var(--muted)}.admin-account{padding:16px 0}.admin-account span{margin-right:auto}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:12px 0 24px}.admin-stats>div{padding:22px;background:#131d30;border:1px solid #2c4163;border-radius:16px}.admin-stats strong{display:block;font-size:34px;color:#6cb7ff}.admin-stats span{color:#b4c7e2;font-size:14px}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}.admin-tabs button{border:1px solid var(--line);border-radius:10px;padding:12px 16px;background:#111c2d;color:#c9d6e9;cursor:pointer}.admin-tabs [aria-current]{background:#167cf0;border-color:#4b9efa;color:#fff}.admin-card{padding:22px;border:1px solid #2a3a55;border-radius:16px;background:#121a2b;margin:16px 0}.admin-card summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer}.admin-card small{display:block;margin-top:8px;font-size:13px}.admin-badge{padding:7px 12px;border-radius:8px;background:#193963;color:#a8d4ff;white-space:nowrap;font-size:13px}.admin-card label{display:block;margin:16px 0;color:#bacee8}.admin-card input:not([type=checkbox]),.admin-card select,.admin-card textarea,[data-admin-search]{width:100%;box-sizing:border-box;background:#091221;border:1px solid #344a69;border-radius:8px;color:#f1f5fb;padding:11px;font:inherit;line-height:1.5}.admin-check{display:flex!important;gap:10px;align-items:center}.admin-check input{width:18px;height:18px;flex:none}.admin-card textarea{resize:vertical;min-height:90px}.admin-actions{justify-content:flex-start;margin:16px 0}.admin-actions button,.admin-actions a{font-size:14px}.admin-card [data-feedback],#admin-status{color:#9accff;line-height:1.6}.admin-error{color:#ffb0a5;overflow-wrap:anywhere}.admin-meta{display:grid;grid-template-columns:105px 1fr;gap:10px 20px;line-height:1.65}.admin-meta dt{color:#93a9c8}.admin-meta dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.admin-cover{object-fit:contain;max-width:100%;background:#080d18;border-radius:10px}.admin-card [data-preview] iframe{width:100%;height:900px;background:#040911;border:1px solid #30496a;border-radius:10px}.admin-files{max-height:260px;overflow:auto;font:13px/1.8 monospace}.admin-card code{overflow-wrap:anywhere}.admin-audit{padding-left:22px}.admin-audit li{padding:14px;border-bottom:1px solid var(--line);line-height:1.6}.admin-audit p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.admin-guide li{margin:20px 0;line-height:1.8}.admin-empty{padding:16px;color:var(--muted)}.admin-card button:disabled{opacity:.55;cursor:wait}.admin-card[hidden]{display:none}@media(max-width:680px){.admin-stats{grid-template-columns:repeat(2,1fr)}.admin-card{padding:16px}.admin-meta{grid-template-columns:1fr;gap:4px}.admin-meta dd{margin-bottom:10px}.admin-card summary{align-items:flex-start}.admin-tabs button{padding:10px 12px}.admin-heading h1{font-size:27px}}
/* Submission finder: shared by the reviewed prototype and production. */
.finder-heading,.finder-footer,.finder-options,.finder-pagination{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.finder-heading{justify-content:space-between}.finder-heading h2{font-size:25px;margin:4px 0}.finder-heading p,.finder-hint{color:#8fa4c0;font-size:13px}.finder-views{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.finder-views button{background:#121e31;color:#bfd0e8;border:1px solid #30435e;border-radius:9px;padding:11px 15px;cursor:pointer}.finder-views span{margin-left:12px;color:#92acd0}.finder-views [aria-pressed=true]{background:#143b68;border-color:#369bff;color:white}.admin-finder label{display:block;color:#aabeD8;font-size:13px}.admin-finder input:not([type=checkbox]),.admin-finder select{display:block;width:100%;background:#0b1423;border:1px solid #344760;border-radius:8px;color:#edf5ff;font:inherit;padding:11px;margin-top:7px;box-sizing:border-box;min-width:0}.finder-search{margin:22px 0 14px}.finder-search input{font-size:15px!important;padding:14px!important}.finder-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.finder-options{margin:18px 0;border-bottom:1px solid #263750;padding-bottom:18px}.finder-check{display:flex!important;align-items:center;gap:8px}.finder-options>span{font-size:12px;color:#8399b6}.finder-clear{margin-left:auto;background:none;border:0;color:#6cb7ff;cursor:pointer}.finder-footer{margin:15px 0}.finder-footer>p{margin-right:auto;color:#a9c2df}.finder-footer label{display:flex;align-items:center;gap:8px;white-space:nowrap}.finder-footer select{margin:0;width:auto}.finder-table-wrap{border:1px solid #293d59;border-radius:12px;overflow:hidden}.finder-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;table-layout:fixed}.finder-table th{background:#18243a;color:#90a8c7;font-weight:500;padding:13px 12px}.finder-table td{background:#111b2c;border-bottom:1px solid #23324a;padding:17px 12px;overflow-wrap:anywhere;line-height:1.5}.finder-table tr:hover td{background:#182840}.finder-table th:first-child{width:22%}.finder-table th:nth-child(4){width:7%}.finder-table small{display:block;color:#829ab9;font-size:12px;margin-top:4px}.finder-table strong{color:#edf5ff}.finder-table .admin-badge{display:inline-block;font-size:12px;padding:5px 8px;white-space:normal}.state-in_review{background:#473b19;color:#f5d783}.state-published{background:#143e38;color:#82dcc1}.state-changes_requested,.state-publish_failed,.state-checks_failed{background:#492830;color:#ffa5aa}.finder-stage{color:#a8bfe0}.finder-open{border:0;background:none;color:#73bfff;cursor:pointer;padding:8px 0;font:inherit;text-align:left}.finder-pagination{justify-content:flex-end;margin:20px 0}.finder-pagination>span{margin-right:auto;color:#8ea8c8;font-size:13px}.finder-pagination button{font-size:13px}.finder-pagination button:disabled{opacity:.35;cursor:default}.finder-empty{padding:55px 20px;text-align:center;background:#111b2b;border:1px dashed #30435f;border-radius:12px;color:#9bb0cb}[data-find-results][aria-busy=true]{opacity:.5;pointer-events:none}.admin-detail{position:fixed;inset:0 0 0 auto;margin:0;width:min(820px,100%);max-width:100%;height:100dvh;max-height:100dvh;box-sizing:border-box;background:#0c1422;color:#edf5ff;border:0;border-left:1px solid #344760;padding:24px;overflow-y:auto}.admin-detail::backdrop{background:#030711b8}.admin-detail-head{position:sticky;top:-24px;z-index:2;background:#0c1422;display:flex;align-items:center;justify-content:space-between;padding:15px 0;gap:14px}.admin-detail-head h2{font-size:21px;margin:0}.admin-detail .admin-card{margin-top:8px}.admin-detail [data-detail-note]{color:#90b7df;font-size:13px}.admin-finder button:focus-visible,.admin-detail button:focus-visible{outline:2px solid #8acbff;outline-offset:3px}@media(max-width:760px){.finder-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.finder-table,.finder-table tbody,.finder-table tr,.finder-table td{display:block;width:auto}.finder-table thead{display:none}.finder-table tr{padding:12px;border-bottom:1px solid #344760;background:#111b2c}.finder-table td{padding:6px 0;border:0;display:flex;justify-content:space-between;gap:14px;background:none}.finder-table td:before{content:attr(data-label);color:#8fa6c4;flex:none}.finder-table td:first-child{display:block}.finder-table td:first-child:before{display:none}.finder-table td small{margin:0}.finder-table td:last-child{justify-content:flex-end}.finder-options>span{width:100%}.finder-footer label{flex:1}.admin-detail{padding:16px}.admin-detail-head{top:-16px}}@media(max-width:420px){.finder-filters{grid-template-columns:1fr}.finder-footer label{font-size:12px}.finder-views button{padding:9px 11px}}

.finder-advanced{margin-top:14px}.finder-advanced summary{cursor:pointer;color:#8fb5df;font-size:13px}.finder-advanced[open] summary{margin-bottom:14px}.admin-shell.finder-mode>.admin-heading{margin-bottom:8px}.finder-mode .admin-stats{display:none}

.admin-next{padding:14px 16px;border-left:3px solid #3299ff;background:#10263d;color:#c4dff8;line-height:1.7;border-radius:6px}.admin-live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:18px}.admin-live-grid>.admin-card{margin:0}.admin-live-grid h4{margin-top:24px}.admin-live-grid .admin-actions{margin:16px 0}
/* Admin is a staff workspace. Player discovery remains on the public website. */
body:has(.admin-shell) .sidebar,body:has(.admin-shell) .menu-toggle,body:has(.admin-shell) .topbar .search,body:has(.admin-shell) .header-actions [data-action=my-games]{display:none}
body:has(.admin-shell) #main{margin-left:0;padding:28px 36px;min-height:calc(100vh - var(--header))}
body:has(.admin-shell) .topbar{justify-content:space-between}
body:has(.admin-shell) .admin-shell{max-width:1440px}
.admin-shell .admin-tabs{position:sticky;top:var(--header);z-index:4;background:#0b101b;padding-top:12px}
.admin-shell .admin-heading p{max-width:760px;line-height:1.7}
@media(max-width:680px){body:has(.admin-shell) #main{padding:18px 14px}.admin-shell .admin-tabs{flex-wrap:nowrap;overflow:auto;white-space:nowrap}.admin-heading{margin-bottom:12px}}

body:has(.admin-shell) .topbar .header-actions{display:none}
