
/* PRD v0.24.8 - practice mode: full game isolation and accessible preparation */
#startModal .practice-menu-btn{position:absolute;top:16px;right:216px;z-index:14;display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 16px;border:1px solid #a4eed5;background:#163b42e8;color:#e6fff5;border-radius:11px;font-weight:900;letter-spacing:.01em;cursor:pointer;box-shadow:0 4px 14px #0018}
#startModal .practice-menu-btn:hover{background:#215e5c;transform:translateY(-1px)}
.practice-backdrop{z-index:11000!important;align-items:center;justify-content:center;padding:12px;background:#061921e8!important;overflow:auto}
.practice-dialog{color:#e2f9f1;background:#122b35;border:1px solid #71bcb5;border-radius:15px;width:min(1040px,96vw);max-height:95dvh;overflow:auto;padding:17px 20px;box-shadow:0 30px 80px #000b}
.practice-dialog button,.practice-dialog input,.practice-dialog select{font:inherit}
.practice-heading{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:13px}
.practice-heading h2{font-size:23px;margin:0 0 4px}.practice-heading p{margin:0;color:#b0ced2;font-size:12px}
#practiceCloseBtn{background:#224753;border:1px solid #50717b;color:white;border-radius:9px;min-width:36px;min-height:36px;cursor:pointer}
.practice-settings{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-bottom:15px}
.practice-settings label{font-size:11px;color:#bfe4e2;display:flex;flex-direction:column;gap:5px;min-width:0}
.practice-settings input,.practice-settings select,.practice-roster input{width:100%;min-width:0;border:1px solid #496e79;background:#0b212d;color:#e5fff6;border-radius:8px;padding:9px 7px;min-height:39px}
.practice-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.85fr);gap:15px}
.practice-section-title{display:flex;justify-content:space-between;align-items:center;margin:2px 0 9px;color:#d4f5e8;font-size:13px}
.practice-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;background:#0a2630;border:1px solid #355865;border-radius:12px;padding:8px}
.practice-slot{height:73px;min-width:0;position:relative;border:1px solid #426b70;border-radius:9px;background:#1f3d47;color:#c1e7e2;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px;gap:1px}
.practice-slot.active{outline:2px solid #7df0cf;outline-offset:-1px;background:#254f52}.practice-slot small{position:absolute;left:4px;top:3px;font-size:9px;color:#7eabae}.practice-slot img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}.practice-slot span{font-size:10px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.practice-slot b{font-size:23px;color:#5e9394}
.practice-cell-actions{display:flex;gap:7px;margin:8px 0}.practice-cell-actions button{padding:8px 12px;border:1px solid #5c8590;background:#1b4050;color:#d8f6ed;border-radius:7px;cursor:pointer;font-size:11px}
.practice-helper{font-size:11px;line-height:1.5;color:#9dc9cc;margin:6px 0 0}
.practice-roster-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:5px;max-height:348px;overflow:auto;margin-top:8px;padding-right:3px}
.practice-species{display:flex;align-items:center;gap:5px;min-width:0;min-height:46px;padding:3px 6px;border:1px solid #355b64;color:#d7f3e9;background:#1a3743;border-radius:8px;cursor:pointer}
.practice-species.active{border-color:#7febc9;background:#26514d}.practice-species img{width:34px;height:34px;image-rendering:pixelated;object-fit:contain}.practice-species span{font-size:11px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.practice-species small{font-size:9px;color:#9bbcc6}
.practice-footer{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:14px}.practice-footer #practiceError{color:#ffb3aa;font-size:12px;margin-right:auto}.practice-footer button{border:1px solid #527d83;background:#22505b;color:#fff;border-radius:9px;min-height:40px;padding:9px 16px;cursor:pointer}.practice-footer #practiceLaunchBtn{background:#78e7c0;color:#123930;font-weight:900;border-color:#b9ffe2}.practice-footer button:disabled{opacity:.55}
@media(max-width:760px){#startModal .practice-menu-btn{top:54px;right:9px;padding:7px 10px;font-size:11px}.practice-dialog{padding:11px;max-height:96dvh}.practice-settings{grid-template-columns:repeat(4,minmax(0,1fr))}.practice-layout{grid-template-columns:1fr;gap:10px}.practice-slot{height:55px}.practice-slot img{width:30px;height:30px}.practice-slot span{font-size:8px}.practice-roster-results{max-height:170px;grid-template-columns:repeat(3,minmax(0,1fr))}.practice-heading h2{font-size:17px}.practice-heading p{font-size:10px}}
@media(max-height:660px) and (min-width:761px){.practice-dialog{padding:12px}.practice-slot{height:52px}.practice-slot img{width:30px;height:30px}.practice-roster-results{max-height:250px}}
