.player-profile-button {
  position:fixed;
  z-index:100002;
  top:17px;
  left:260px;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:6px 12px 6px 7px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(8,13,21,.8);
  color:#eaf1f7;
  box-shadow:0 8px 28px rgba(0,0,0,.28);
  backdrop-filter:blur(14px);
  cursor:pointer;
}
.player-profile-button i { display:grid;place-items:center;width:26px;height:26px;border:1px solid rgba(121,214,208,.42);border-radius:50%;color:#8be4de;font-style:normal;font-size:.7rem; }
.player-profile-button span { max-width:120px;overflow:hidden;font:800 .63rem/1 system-ui,sans-serif;letter-spacing:.05em;white-space:nowrap;text-overflow:ellipsis; }
.ah-arcade-shell .player-profile-button { top:14px;left:330px;right:auto;min-height:38px;padding-block:5px; }
.player-profile-dialog {
  box-sizing:border-box;
  width:min(650px,calc(100vw - 32px));
  max-height:min(760px,calc(100vh - 32px));
  padding:32px;
  overflow:auto;
  border:1px solid rgba(255,209,112,.3);
  border-radius:22px;
  background:linear-gradient(150deg,#121923,#080d14);
  color:#f2ede3;
  box-shadow:0 42px 130px rgba(0,0,0,.78);
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
}
.player-profile-dialog::backdrop { background:rgba(1,5,10,.86);backdrop-filter:blur(12px); }
.profile-close { position:absolute;top:13px;right:15px;border:0;background:transparent;color:#b9c5d1;font-size:1.7rem;cursor:pointer; }
.profile-kicker { margin:0;color:#79d6d0;font-size:.62rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase; }
.player-profile-dialog h2 { margin:8px 0 7px;font-family:Georgia,serif;font-size:clamp(2rem,6vw,3rem);font-weight:400; }
.profile-intro { margin:0 0 22px;color:#9eabb9;font-size:.78rem;line-height:1.6; }
.profile-list { display:grid;gap:9px; }
.profile-card { position:relative;border:1px solid #2b3542;border-radius:13px;background:rgba(255,255,255,.025); }
.profile-card.is-active { border-color:rgba(121,214,208,.5);background:rgba(121,214,208,.06); }
.profile-select { display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;width:100%;padding:11px 43px 11px 11px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer; }
.profile-select:disabled { cursor:default; }
.profile-select > i { display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,209,112,.3);border-radius:50%;color:#ffd170;font-style:normal; }
.profile-select span { min-width:0; }
.profile-select strong,.profile-select small { display:block; }
.profile-select strong { font-size:.82rem; }
.profile-select small { margin-top:4px;color:#8e9baa;font-size:.6rem; }
.profile-select b { color:#79d6d0;font-size:.56rem;letter-spacing:.1em;text-transform:uppercase; }
.profile-delete { position:absolute;top:50%;right:10px;width:28px;height:28px;border:1px solid rgba(255,115,115,.2);border-radius:50%;background:transparent;color:#bf7c7c;transform:translateY(-50%);cursor:pointer; }
.profile-create { margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.09); }
.profile-create > div { display:grid;gap:6px; }
.profile-create label,.profile-create legend { color:#aeb9c5;font-size:.6rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase; }
.profile-create input[type="text"],.profile-create input:not([type]) { box-sizing:border-box;width:100%;padding:12px;border:1px solid #364150;border-radius:10px;background:#090e15;color:#fff;font:inherit; }
.profile-create fieldset { display:flex;gap:8px;margin:14px 0;padding:0;border:0; }
.profile-create legend { margin-bottom:8px; }
.profile-create fieldset label input { position:absolute;opacity:0; }
.profile-create fieldset span { display:grid;place-items:center;width:38px;height:38px;border:1px solid #35404c;border-radius:50%;color:#aab5c1;cursor:pointer; }
.profile-create fieldset input:checked + span { border-color:#ffd170;color:#ffd170;background:rgba(255,209,112,.09);box-shadow:0 0 16px rgba(255,209,112,.12); }
.profile-create-button { padding:12px 16px;border:0;border-radius:10px;background:linear-gradient(100deg,#25b6d7,#6855ef);color:white;font-weight:850;cursor:pointer; }
.profile-create-button:disabled { opacity:.4;cursor:not-allowed; }
.profile-limit { margin-left:10px;color:#748190;font-size:.58rem; }
@media(max-width:900px){
  .player-profile-button { top:12px;left:92px;padding-right:8px; }
  .player-profile-button span { display:none; }
  .ah-arcade-shell .player-profile-button { top:auto;right:auto;bottom:28px;left:14px; }
}
@media(max-width:520px){
  .player-profile-dialog { padding:28px 18px 20px; }
  .profile-select { grid-template-columns:38px 1fr;padding-left:8px; }
  .profile-select > i { width:38px;height:38px; }
  .profile-select > b { display:none; }
  .profile-create fieldset { flex-wrap:wrap; }
}
