/* Paramètres du joueur : bouton discret qui n'augmente pas la hauteur du tableau de bord. */
.dash-toprow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.dash-toprow .dash-eyebrow{margin:0;min-width:0}
.dash-player-open{border:1px solid #c5dbe8;border-radius:30px;background:#f1fbfb;color:#177b79;font-weight:800;font-size:10px;padding:4px 9px;max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;flex-shrink:0}
.dash-player-open:focus-visible{outline:2px solid #159e91;outline-offset:2px}
.dash-player-backdrop[hidden]{display:none!important}
.dash-player-backdrop{position:fixed;inset:0;z-index:10001;display:grid;place-items:center;background:rgba(10,24,44,.67);padding:14px}
.dash-player-dialog{width:min(390px,100%);max-height:calc(100dvh - 28px);overflow-y:auto;padding:19px;background:#fff;color:#172b45;border-radius:19px;box-shadow:0 24px 70px #0514264d;display:flex;flex-direction:column;gap:10px}
.dash-player-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dash-player-head h2{font-size:21px;margin:0}
.dash-player-head button{background:#edf3fa;border:0;border-radius:9px;padding:5px 11px;font-size:24px;cursor:pointer}
.dash-player-dialog>label:not(.dash-player-checkbox){font-size:12px;font-weight:800;margin:4px 0 0}
.dash-player-dialog>input{font:inherit;font-size:16px;border:1px solid #bdccdd;border-radius:10px;padding:10px;min-width:0}
.dash-player-checkbox{display:flex;align-items:flex-start;gap:9px;font-size:13px;font-weight:750;line-height:1.4;background:#ecf9f4;border:1px solid #c0e7dc;border-radius:12px;padding:11px}
.dash-player-checkbox input{accent-color:#0c9a85;flex:0 0 auto;margin-top:3px;width:17px;height:17px}
.dash-player-info{color:#6b7d91;font-size:11px;line-height:1.4;margin:0}
.dash-player-error{color:#b91c1c;font-size:12px;margin:0}
.dash-player-save{border:0;border-radius:11px;background:#2563eb;color:white;font-size:14px;font-weight:850;padding:12px;cursor:pointer}
.daily-lb-autosave{display:flex!important;align-items:center;gap:7px;background:#edf9f5;border-radius:8px;padding:8px;margin:8px 0 0!important;font-size:11px!important;color:#176d5d}
.daily-lb-autosave input{accent-color:#0c9a85;width:16px;height:16px;flex:0 0 auto}
@media (max-width:340px) and (max-height:600px){
  .dash-toprow{margin-bottom:0}
  .dash-player-open{font-size:9px;line-height:1;padding:2px 7px}
  .dash-heading{margin-bottom:5px}
}

/* Accueil nouveau joueur et rappel lorsqu'aucun pseudo n'est choisi. */
.dash-player-modal-open{overflow:hidden}
.dash-player-open.needs-pseudo{background:#fff2df;border-color:#edbf74;color:#985b15}
.dash-player-reminder[hidden],.dash-player-welcome-text[hidden],.dash-player-skip[hidden]{display:none!important}
.dash-player-reminder{margin-top:6px}
.dash-player-reminder button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:38px;border:1px solid #f2c67b;border-radius:10px;background:linear-gradient(100deg,#fff7e6,#fff0d3);color:#754c1d;font-weight:850;font-size:12px;line-height:1.25;padding:8px 11px;text-align:left;cursor:pointer}
.dash-player-reminder button:hover{border-color:#d9a953}
.dash-player-reminder button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.dash-player-reminder button span:last-child{flex:0 0 auto}
.dash-heading:has(.dash-player-reminder:not([hidden])) #dashSubtitle{display:none}
.dash-player-welcome-text{font-size:14px;line-height:1.45;color:#516a83;margin:0 0 5px}
.dash-player-skip{background:transparent;border:0;color:#526b85;text-decoration:underline;font-size:12px;font-weight:750;padding:7px;cursor:pointer}
.dash-player-skip:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
@media(max-width:650px) and (max-height:650px){
  .dash-player-reminder{margin-top:4px}
  .dash-player-reminder button{min-height:29px;padding:5px 9px;font-size:10px}
}
@media(max-width:340px) and (max-height:600px){
  .dash-player-reminder button{font-size:9px;min-height:27px;padding:4px 8px}
}
