/* Open Play menu is portalled to the body to avoid card/table clipping. */
body .op-player-menu{display:none!important;position:fixed!important;inset:auto!important;transform:none!important;margin:0!important;width:240px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;box-sizing:border-box;padding:10px;border:1px solid #d9e5e8;border-radius:13px;background:#fff;color:#172525;box-shadow:0 8px 28px #17252518;z-index:10000;font-family:inherit}
body .op-player-menu.is-open{display:block!important}
body .op-player-menu .player-menu-heading{display:flex;flex-direction:column;gap:3px;padding:6px 8px 12px;overflow-wrap:anywhere}
body .op-player-menu .player-menu-heading strong{font-size:16px}
body .op-player-menu .player-menu-heading span{font-size:13px;color:#64758b}
body .op-player-menu .player-menu-action{display:flex!important;align-items:center;gap:12px;min-height:44px;width:100%;padding:10px;border:0;border-radius:8px;background:#fff;color:#172525;text-align:left;font:inherit;font-size:14px;cursor:pointer;box-shadow:none}
body .op-player-menu .player-menu-action[hidden]{display:none!important}
body .op-player-menu .player-menu-action>span:first-child{display:grid;place-items:center;width:21px;flex:0 0 21px;font-size:22px}
body .op-player-menu svg{width:20px;height:20px}
body .op-player-menu .menu-checkin,body .op-player-menu .player-menu-action:hover{background:#eaf5f4;color:#075056}
body .op-player-menu .menu-edit,body .op-player-menu .menu-delete{border-top:1px solid #e0e8eb;border-radius:0;margin-top:6px;padding-top:12px}
body .op-player-menu .menu-delete{color:#c1353e}
body .op-player-menu button:focus-visible{outline:2px solid #075056;outline-offset:-2px}
.openplay-app #playersCard #players .player-menu-trigger{background:#eaf5f4!important;border-radius:9px!important}
.openplay-app #playersCard #players .player-menu-dots{display:block!important;font-size:24px;line-height:1}
#mobilePlayerEditor{position:fixed!important;inset:0!important;box-sizing:border-box;width:min(500px,calc(100vw - 24px))!important;max-width:500px!important;height:auto!important;max-height:calc(100dvh - 24px)!important;margin:auto!important;padding:24px!important;border:0!important;border-radius:15px!important;background:#fff!important;color:#172525;overflow:auto!important;box-shadow:0 16px 50px #17252526;font-family:inherit}
#mobilePlayerEditor::backdrop{background:#17252580}
#mobilePlayerEditor header{display:flex;align-items:flex-start;gap:14px;margin-bottom:24px}
#mobilePlayerEditor .player-editor-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:10px;background:#eaf5f4;color:#075056;font-size:27px}
#mobilePlayerEditor h2{margin:0 0 5px;font-size:23px;font-weight:750;line-height:1.25}
#mobilePlayerEditor header p{margin:0;font-size:14px;color:#64758b;line-height:1.4}
#mobilePlayerEditor header button{margin-left:auto;flex:0 0 36px;min-height:36px;border:0;background:transparent;color:#64758b;font-size:25px;cursor:pointer}
#mobilePlayerEditor .player-sheet-fields{display:flex;flex-direction:column;gap:18px;padding:0}
#mobilePlayerEditor .sheet-name{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;color:#465773}
#mobilePlayerEditor #sheetPlayerName{box-sizing:border-box;width:100%;min-width:0;height:46px;padding:10px 12px;border:1px solid #cbd9de;border-radius:9px;background:#fff;color:#172525;font:inherit;font-weight:400;font-size:16px}
#mobilePlayerEditor #sheetPlayerName:focus{outline:0;border-color:#075056;box-shadow:0 0 0 3px #07505618}
#mobilePlayerEditor fieldset{margin:0;padding:0;border:0;min-width:0}
#mobilePlayerEditor legend{margin-bottom:8px;font-size:14px;font-weight:600;color:#465773}
#mobilePlayerEditor .player-edit-levels{display:flex;border:1px solid #d5e0e6;border-radius:9px;overflow:hidden}
#mobilePlayerEditor .player-edit-levels label{position:relative;flex:1;min-width:0;cursor:pointer}
#mobilePlayerEditor .player-edit-levels input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;margin:0;border:0}
#mobilePlayerEditor .player-edit-levels span{display:block;padding:12px 4px;text-align:center;font-size:14px;color:#172525}
#mobilePlayerEditor .player-edit-levels input:checked+span{background:#eaf5f4;color:#075056;font-weight:650}
#mobilePlayerEditor .player-edit-levels input:focus-visible+span{outline:2px solid #075056;outline-offset:-3px}
#mobilePlayerEditor .player-edit-help{margin:18px 0;color:#64758b;font-size:13px;line-height:1.5}
#mobilePlayerEditor [role=alert]{color:#b94049;font-size:13px}
#mobilePlayerEditor [role=alert]:empty{display:none}
#mobilePlayerEditor footer{display:flex!important;flex-direction:row!important;justify-content:flex-end;gap:12px;padding:18px 0 0!important;margin-top:20px;border-top:1px solid #dfe7eb;background:#fff!important;position:static!important}
#mobilePlayerEditor footer button{flex:0 0 auto;width:auto!important;min-height:44px;padding:10px 18px;border:1px solid #a9bac5;border-radius:9px;background:#fff;color:#172525;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
#mobilePlayerEditor footer .sheet-save{background:#075056;color:#fff;border-color:#075056}
@media(max-width:480px){#mobilePlayerEditor{padding:20px!important}#mobilePlayerEditor footer button{flex:1;padding:10px 8px}#mobilePlayerEditor h2{font-size:21px}}

#mobilePlayerEditor .player-editor-icon svg{width:23px;height:23px}
