.game-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;min-height:40px}
.game-return{font-size:13px;font-weight:750;color:#b72b43;min-height:40px;padding:8px 0;text-align:left}
.game-return:hover{color:#8b1c30}.game-context>span{font-size:12px;color:#647d93;text-align:right}
.game-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.j-supplies>.j-potion-access{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:7px;border:1px solid #d1e0ec;background:#f1f7fb;border-radius:9px;padding:9px 6px;min-height:68px}
.j-supplies>.j-potion-access:hover{background:#e4f1f6;border-color:#92bdca}
.j-potion-access>small{display:block;width:100%;text-align:center;font-size:11px;color:#506c85}
.j-potion-count{border:1px solid #cedde9;background:#f1f6fa;border-radius:8px;padding:9px 12px;min-height:42px}
.j-potion-count:hover:not(:disabled){border-color:#8bafc6;background:#e5f1f6}.j-potion-count:disabled{opacity:.5}
.healing-dialog{max-width:570px;width:calc(100% - 28px)}
.healing-body{padding:28px 24px 22px!important}
.healing-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:7px 0 20px}
.healing-heading h2{font-size:28px;margin:0!important;line-height:1.3}
.healing-heading>span{display:flex;align-items:center;gap:8px;background:#ecf5f8;border:1px solid #cee2e8;border-radius:8px;padding:9px 13px;font-size:19px;font-weight:800;color:#3f6f81}
.healing-heading .icon{width:20px;height:20px}
.healing-list{max-height:min(56vh,540px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:1px 5px 5px 1px}
.healing-group+ .healing-group{margin-top:20px}
.healing-group>h3{display:flex;justify-content:space-between;color:#526e86;font-size:12px;margin:0 0 9px;line-height:1.5}
.healing-group>h3>span{color:#7b90a3;font-size:11px}
.healing-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#f7fbfe;border:1px solid #d1e0ec;border-radius:10px;padding:10px 12px;margin-bottom:8px;min-height:76px}
.healing-row:hover:not(:disabled){background:#edf7f6;border-color:#84b7b0}
.healing-row>.sprite{width:52px;height:52px;flex-shrink:0;object-fit:contain}
.healing-pokemon{flex:1;min-width:0}.healing-pokemon>strong{display:block;font-size:14px;line-height:1.5;color:#34536c;overflow-wrap:anywhere}
.healing-pokemon>small{display:block;font-size:11px;color:#627e96;line-height:1.6;margin:3px 0 6px}
.healing-pokemon .hp-track{height:6px;border:0;padding:0;border-radius:4px;overflow:hidden;background:#dce8ee}.healing-pokemon .hp-track>span{display:block;height:100%}
.healing-effect{min-width:66px;display:flex;flex-direction:column;align-items:flex-end;gap:6px}.healing-effect>strong{font-size:14px;color:#43856e;white-space:nowrap}.healing-effect>small{font-size:10px;color:#738b9f;min-height:12px}
.healing-row:disabled{opacity:.48;cursor:default}.healing-row:disabled .healing-effect>strong{font-size:11px;color:#7d91a2}
.healing-empty{font-size:12px!important;background:#fff4e4;border:1px solid #ecd8af;border-radius:7px;padding:11px 13px;color:#926c2d!important;margin:0 0 18px!important}
.healing-body>.button{margin-top:18px}
.game-modal-back{display:block;position:relative;margin:14px 64px 0 20px;min-height:36px;padding:6px 4px;font-size:12px;font-weight:750;color:#57768e}
.game-modal-back:hover{color:#b72b43}
.game-modal-back+.modal-close{top:13px}
.team-order-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-3px -2px 8px;padding-bottom:7px;border-bottom:1px solid #e2eaf0}
.team-order-tools>span{font-size:20px;color:#889fb2;cursor:grab;display:flex;gap:8px;align-items:center}.team-order-tools b{font-size:10px;letter-spacing:1px;font-weight:750}
.team-order-tools>div{display:flex;gap:4px}
.team-order-tools button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #d5e0ea;background:#fff;border-radius:6px;font-size:15px;color:#5c778f}
.team-order-tools button:hover:not(:disabled){border-color:#8cabc3;background:#eaf3fa}.team-order-tools button:disabled{opacity:.25;cursor:default}
.j-roster-card[draggable="true"]{cursor:grab;isolation:isolate}
.j-roster-card[draggable="true"] .j-roster-face{cursor:grab}
.j-roster-card.is-dragging{opacity:.32;border-style:dashed}
.j-roster-card.drop-before{border-top:4px solid #d93650;padding-top:13px;box-shadow:0 -4px 0 #f4bec9}
.j-roster-card.drop-after{border-bottom:4px solid #d93650;padding-bottom:13px;box-shadow:0 4px 0 #f4bec9}
.j-party-row{display:flex;gap:5px;position:relative;min-width:0;border-radius:7px}
.j-party-row>.j-party-member{flex:1;min-width:0;width:100%}
.j-party-row[draggable="true"],.j-party-row[draggable="true"]>.j-party-member{cursor:grab}
.pk-party-face[draggable="true"]{cursor:grab}
.j-party-list:has(.is-dragging) .j-party-member,.pk-party-grid:has(.is-dragging) .pk-party-face{pointer-events:none}
.j-party-order{display:grid;grid-template-columns:28px;align-content:center;gap:3px;flex-shrink:0}
.j-party-order>span{text-align:center;color:#879eb3;font-size:17px;line-height:12px;cursor:grab}
.j-party-order>button{display:grid;place-items:center;width:28px;min-height:28px;border:1px solid #d5e0ea;border-radius:5px;background:#f6faff;color:#55748e;font-size:15px}
.j-party-order>button:hover:not(:disabled){background:#e5f1fa;border-color:#8cabc3}
.j-party-order>button:disabled{opacity:.25;cursor:default}
.j-party-order>button:focus-visible{outline:3px solid #3895d6;outline-offset:2px}
.j-party-row.is-dragging{opacity:.35}
.j-party-row.drop-before:before,.j-party-row.drop-after:after{content:"";position:absolute;height:3px;left:0;right:0;border-radius:2px;background:#d93650;box-shadow:0 0 0 2px #fce7eb;pointer-events:none}
.j-party-row.drop-before:before{top:-5px}.j-party-row.drop-after:after{bottom:-5px}
.healing-dialog button:focus-visible,.game-modal-back:focus-visible{outline:3px solid #3895d6;outline-offset:3px}
@media(max-width:600px){.j-party-list{grid-template-columns:minmax(0,1fr)}.j-party-order{grid-template-columns:36px}.j-party-order>button{width:36px;min-height:34px}.j-party-row>.j-party-member{gap:10px;padding:8px}.j-party-row .j-party-member>.sprite{width:44px;height:47px}.j-party-row .j-party-member strong{font-size:12px}.j-party-row .j-party-member strong>small{font-size:10px}}
@media(max-width:600px){.game-context{margin-bottom:13px;gap:10px}.game-return{font-size:12px}.game-context>span{font-size:10px;max-width:120px}.healing-body{padding:25px 17px 18px!important}.healing-heading h2{font-size:25px}.healing-list{max-height:55vh}.healing-row{padding:9px;gap:9px;min-height:72px}.healing-row>.sprite{width:44px;height:44px}.healing-pokemon>strong{font-size:13px}.healing-pokemon>small{font-size:10px}.healing-effect{min-width:60px}.healing-effect>strong{font-size:12px}.healing-effect>small{font-size:9px}.j-potion-count{padding:8px 10px}.team-order-tools button{width:34px;height:36px}.team-order-tools{margin-bottom:9px}.j-roster-card.drop-before{padding-top:9px}.j-roster-card.drop-after{padding-bottom:9px}}
