#renameDialog{width:min(440px,90vw);box-sizing:border-box;background:#091b23;color:#e6f4ef;border:1px solid #bfaa72;border-radius:12px;padding:26px;z-index:1000}#renameDialog::backdrop{background:#02090dea}#renameDialog h2{font-size:24px}#renameDialog p{font-size:16px;line-height:1.6}#renameDialog small{color:#d5bd80}#renameDialog input{display:block;box-sizing:border-box;width:100%;margin-top:10px;padding:12px;background:#061219;color:#fff;border:1px solid #6b999e;font:inherit}#renameDialog button,#renamePlayer{background:#153441;border:1px solid #749e9d;color:#edf8f2;border-radius:6px;padding:10px 15px;min-height:44px;font:inherit}.codex-actions{display:flex;flex-wrap:wrap;gap:10px}#renameError{color:#ffb8a6}#nameInput[readonly]{opacity:.8}.codex-status{font-size:16px;color:#a8cacb;line-height:1.6}.codex-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px;padding-bottom:80px}.codex-grid article{background:linear-gradient(#102631,#07141c);border:1px solid #3b5e68;border-radius:9px;padding:16px}.codex-grid canvas,.codex-grid img{display:block;width:100%;height:250px;object-fit:contain;margin:0 auto 12px}.codex-grid h3{font-size:18px;margin:10px 0}.codex-grid p{font-size:14px;line-height:1.6}.codex-grid small{font-size:14px;color:#d0b477}.codex-grid img{background:radial-gradient(ellipse,#203541,transparent)}@media(max-width:500px){.codex-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.codex-grid article{padding:10px}.codex-grid canvas,.codex-grid img{height:190px}.codex-grid h3{font-size:16px}}
.codex-grid select{width:100%;margin-top:12px;min-height:44px;padding:8px;background:#102e39;color:#e9f5f2;border:1px solid #678e95;border-radius:5px;font:inherit}
.codex-pages{display:flex;gap:12px;margin:14px 0}.codex-pages button{flex:1;min-height:44px;padding:12px 18px;border:1px solid #527983;border-radius:6px;background:#0b252e;color:#d4e9e8;font:inherit;cursor:pointer}.codex-pages button[aria-pressed="true"]{border-color:#e9bd64;background:#393b2c;color:#ffe2a2;box-shadow:inset 0 0 0 1px #e9bd64}.codex-pages button:focus-visible{outline:3px solid #59e8d2;outline-offset:3px}
