.player-profile table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.player-profile th, .player-profile td { border: 1px solid #b5aa8d; padding: .55rem; text-align: left; vertical-align: top; }
.profile-overview > tbody > tr { display: grid; grid-template-columns: minmax(250px, 2fr) minmax(240px, 3fr); }
.profile-overview > tbody > tr > td { min-height: 16rem; }
.profile-description { white-space: normal; overflow-wrap: anywhere; }
.profile-medal { display: inline-block; vertical-align: middle; margin: .15rem; }
.profile-medal.registration { display: block; max-width: 100%; height: auto; margin: .35rem auto; }
.profile-medal:not(img):not(.medal-art) { padding: .2rem .45rem; border: 1px solid #917a3e; border-radius: 999px; background: #e7d69d; font-size: .85rem; }
.profile-medal.medal-art img { display: block; width: 35px; height: 48px; object-fit: contain; }
.profile-edit table label { margin: 0; }
.profile-edit .birth { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.profile-edit .gend { display: flex; gap: 1rem; }
.profile-edit .gend label { display: flex; align-items: center; }
.profile-edit textarea { width: 100%; font: inherit; padding: .6rem; }
.profile-menu .selected { font-weight: bold; }
.preferences-form .sel, .preferences-form .nr { width: 4rem; text-align: center; }
.preferences-form .nam { width: 35%; }
.preferences-form input[type="text"], .preferences-form select { width: 100%; }
.preferences-form input[type="checkbox"], .preferences-form input[type="radio"] { width: auto; }
.preferences-form #time label { display: block; margin-bottom: .35rem; }
.link-delete { padding: .35rem .55rem; }
.account-form input[type="text"], .account-form input[type="password"] { width: 100%; }
.account-form input[type="checkbox"], .account-form input[type="radio"] { width: auto; }
.account-page .sitterCard { margin: 0 0 .65rem; padding: .6rem; border: 1px solid #dedbd4; border-radius: 4px; background: #fbfaf8; }
.account-page .sitterHead { padding-bottom: .45rem; margin-bottom: .45rem; border-bottom: 1px solid #e8e5df; }
.account-page .sitterHead .name { font-weight: bold; }
.account-page .permGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1rem; margin: 0; padding: 0; list-style: none; }
.account-page .permItem label { display: flex; align-items: flex-start; gap: .35rem; margin: 0; font-weight: normal; }
.account-page .permItem.isOff { color: #8b877e; }
.account-page .permMark { display: inline-block; width: 1.25rem; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 650px) {
  .profile-overview > tbody > tr { grid-template-columns: 1fr; }
  .profile-edit .birth { grid-template-columns: 1fr; }
  .account-page .permGrid { grid-template-columns: 1fr; }
}
