/* Profile only: personal identity and settings, in the approved quiet-row layout. */
html:has(.profile-quiet) { background: #292435; }
.pd-page .pd-record-section, .pd-page [data-rewards-profile] { display: none; }
.profile-quiet .pd-shell { max-width: 840px; margin: 44px auto 100px; }
.profile-quiet .pd-heading { margin: 0 0 40px; }
.profile-quiet .pd-heading h1 { font-size: 44px; color: #ffe45d; }
.profile-quiet .pd-layout { display: flex; flex-direction: column; gap: 0; }
.profile-quiet .pd-panel { width: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.profile-quiet .pd-player { display: grid; grid-template-columns: 88px minmax(0,1fr) auto; align-items: center; gap: 24px; margin: 0; padding-bottom: 32px; }
.profile-quiet .pd-portrait { width: 88px; height: 88px; border-radius: 14px; }
.profile-quiet .pd-portrait img { width: 70px; height: 70px; }
.profile-quiet .pd-state { display: none; }
.profile-quiet .pd-player h2 { font: 30px/1.2 "Lobby B6 Display",Arial,sans-serif; margin: 0 0 8px; }
.profile-quiet .pr-edit-name, .profile-quiet .pr-change-look { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border-radius: 8px; font: 16px/1.3 "Lobby B6 Labels",Arial,sans-serif; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.profile-quiet .pr-edit-name { gap: 8px; border: 1px solid #8b72a1; background: #443351; color: #fff8df; }
.profile-quiet .pr-edit-name::before { content: '✎'; color: #ffe45d; font: 23px/1 Arial,sans-serif; }
.profile-quiet .pr-edit-name[aria-expanded="true"]::before { content: '×'; }
.profile-quiet .pr-change-look { border: 1px solid #ffe45d; background: transparent; color: #ffe45d; }
.profile-quiet .pd-form-slot { width: 100%; }
.profile-quiet .pr-name-editor { max-width: 480px; padding: 0 0 24px; }
.profile-quiet [hidden] { display: none !important; }
.profile-quiet .pr-privacy-row, .profile-quiet .pd-account-options > summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 100px; padding: 24px 0; border-top: 1px solid #665071; box-sizing: border-box; }
.profile-quiet .pr-privacy-row > div { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }
.profile-quiet .pr-row-label { font: 20px/1.3 "Lobby B6 Labels",Arial,sans-serif; color: #fff8df; }
.profile-quiet .pr-privacy-status, .profile-quiet .pr-account-status { font: 15px/1.4 Arial,sans-serif; color: #bfa8d2; }
.profile-quiet input[name="published"] { appearance: none; -webkit-appearance: none; width: 64px; height: 44px; flex: 0 0 64px; border: 0; margin: 0; border-radius: 24px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='44'%3E%3Crect y='6' width='64' height='32' rx='16' fill='%23564467'/%3E%3Ccircle cx='17' cy='22' r='12' fill='%23eee4f7'/%3E%3C/svg%3E") center/64px 44px no-repeat; }
.profile-quiet input[name="published"]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='44'%3E%3Crect y='6' width='64' height='32' rx='16' fill='%237c608e'/%3E%3Ccircle cx='47' cy='22' r='12' fill='%23fff8df'/%3E%3C/svg%3E"); }
.profile-quiet input[name="published"]:disabled { opacity: .45; cursor: not-allowed; }
.profile-quiet .pd-account-options { border: 0; margin: 0; font: 14px/1.5 Arial,sans-serif; }
.profile-quiet .pd-account-options > summary { list-style: none; cursor: pointer; }
.profile-quiet .pd-account-options > summary::-webkit-details-marker { display: none; }
.profile-quiet .pd-account-options > summary > span { display: block; margin: 0; }
.profile-quiet .pd-account-options > summary .pr-account-status { margin: 0 0 0 auto; }
.profile-quiet .pd-account-options > summary::after { content: '›'; color: #ffe45d; font: 30px/1 Arial,sans-serif; }
.profile-quiet .pd-account-options[open] > summary::after { transform: rotate(90deg); }
.profile-quiet .pd-account-options > p { color: #c8b6d5; max-width: 560px; margin: 0 0 16px; line-height: 1.6; }
.profile-quiet .pd-provider-slot { max-width: 420px; }
.profile-quiet form [data-social="save-profile"] { width: auto; min-width: 144px; font-size: 18px; margin: 0 0 24px auto; }
.profile-quiet .pd-feedback:not(:empty) { max-width: 560px; margin-bottom: 16px; }
.profile-quiet :is(a,button,input,summary):focus-visible { outline: 3px solid #fff5b4; outline-offset: 3px; }
@media (width < 960px) {
  .profile-quiet .pd-shell { margin: 22px auto 64px; max-width: 560px; }
  .profile-quiet .pd-heading { margin-bottom: 32px; }
  .profile-quiet .pd-heading h1 { font-size: 36px; }
  .profile-quiet .pd-player { grid-template-columns: 80px minmax(0,1fr); gap: 14px 18px; padding-bottom: 28px; }
  .profile-quiet .pd-portrait { width: 80px; height: 80px; }
  .profile-quiet .pd-portrait img { width: 64px; height: 64px; }
  .profile-quiet .pd-player h2 { font-size: 28px; }
  .profile-quiet .pr-change-look { grid-column: 1 / -1; justify-self: start; }
  .profile-quiet .pr-privacy-row, .profile-quiet .pd-account-options > summary { min-height: 108px; padding: 22px 0; gap: 16px; }
  .profile-quiet .pr-privacy-row > div { flex-direction: column; align-items: flex-start; gap: 8px; }
  .profile-quiet .pr-row-label { font-size: 18px; }
  .profile-quiet .pr-privacy-status, .profile-quiet .pr-account-status { font-size: 14px; }
  .profile-quiet .pd-account-options > summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 16px; }
  .profile-quiet .pd-account-options > summary .pr-account-status { grid-column: 1; margin: 0; }
  .profile-quiet .pd-account-options > summary::after { grid-column: 2; grid-row: 1 / 3; }
}
