.settings-page { min-height: 100dvh; margin: 0; background: radial-gradient(circle at 80% 12%, #36222f, #100c11 38%, #090809 76%); color: #eee7e3; font: 16px/1.6 'DM Sans', Arial, sans-serif; }
.settings-skip { position: absolute; top: -100px; left: 20px; z-index: 200; padding: 10px; background: #fff; color: #111; }
.settings-skip:focus { top: 6px; }
.aa-settings {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 100px;
  color: #eee7e3;
  font: 16px/1.6 'DM Sans', Arial, sans-serif;
}
.aa-settings-heading { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid #775463; }
.aa-settings-heading p { margin: 0 0 10px; color: #efb6c7; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.aa-settings-heading h1 { margin: 0 0 10px; font: 700 clamp(56px, 9vw, 104px)/.95 'DM Sans', Arial, sans-serif; letter-spacing: -.07em; }
.aa-settings-heading span { color: #c3b2bb; font: 400 clamp(23px, 3vw, 30px)/1.2 'Cormorant Garamond', Georgia, serif; }
.aa-settings-note { color: #c3b2bb; font-size: 16px; }
.aa-settings-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: start; gap: 22px; }
.aa-settings-side { display: grid; gap: 22px; }
.aa-settings-section { padding: clamp(24px, 3vw, 36px); border: 1px solid #775463; border-radius: 18px; background: #211820; }
.aa-settings-section h2 { margin: 0 0 24px; font: 700 clamp(25px, 3vw, 34px)/1.05 'DM Sans', Arial, sans-serif; letter-spacing: -.04em; }
#aaProfileForm { display: grid; gap: 8px; }
#aaProfileForm[hidden], .aa-settings [hidden] { display: none !important; }
#aaProfileForm label { margin-top: 9px; font-size: 13px; font-weight: 600; }
#aaProfileForm label span { color: #a995a1; font-weight: 400; }
#aaProfileForm input:not([type=file]) { box-sizing: border-box; width: 100%; min-height: 45px; padding: 10px 13px; border: 1px solid #775463; border-radius: 9px; background: #241b22; color: #fff; font: inherit; }
#aaProfileForm input:focus-visible { outline: 2px solid #efb6c7; outline-offset: 2px; }
.aa-avatar-row { display: flex; align-items: center; gap: 17px; margin-bottom: 11px; }
.aa-avatar-row img, #aaAvatarFallback { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 1px solid #775463; object-fit: cover; }
#aaAvatarFallback { display: grid; place-items: center; background: #382632; color: #efb6c7; font-size: 35px; }
.aa-avatar-row>div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.aa-avatar-row small { flex-basis: 100%; color: #a995a1; font-size: 11px; }
#aaAvatarInput { position: absolute; width: 1px; height: 1px; opacity: 0; }
#aaProfileForm .aa-upload-button { margin: 0; padding: 8px 12px; border: 1px solid #efb6c7; border-radius: 8px; color: #efb6c7; cursor: pointer; }
.aa-text-button { padding: 8px 0; border: 0; background: none; color: #c3b2bb; font: inherit; cursor: pointer; }
.aa-form-actions { display: flex; align-items: center; gap: 16px; margin-top: 15px; }
#aaProfileSave { min-height: 44px; padding: 9px 18px; border: 0; border-radius: 9px; background: #efb6c7; color: #21131a; font: 700 14px 'DM Sans', Arial, sans-serif; cursor: pointer; }
#aaProfileSave:disabled { opacity: .55; cursor: wait; }
#aaProfileStatus { margin: 0; color: #efb6c7; font-size: 13px; }
.aa-cursor-setting { display: flex; align-items: center; gap: 20px; }
.aa-cursor-setting label { font-weight: 600; }
.aa-cursor-setting p { margin: 6px 0 0; color: #c3b2bb; font: 13px/1.6 'DM Sans', Arial, sans-serif; letter-spacing: normal; }
.aa-music-setting { display: grid; gap: 8px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #775463; }
.aa-music-setting label { font-weight: 600; }
.aa-music-setting p { margin: 0; color: #c3b2bb; font-size: 13px; line-height: 1.6; }
.aa-music-setting select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #775463; border-radius: 9px; background: #241b22; color: #fff; font: inherit; }
.aa-music-setting select:focus-visible { outline: 2px solid #efb6c7; outline-offset: 3px; }
.aa-volume-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; }
.aa-volume-heading output { color: #efb6c7; font-size: 14px; font-variant-numeric: tabular-nums; }
.aa-volume-controls { display: flex; align-items: center; gap: 14px; }
.aa-volume-controls input { flex: 1; min-width: 0; min-height: 44px; accent-color: #efb6c7; cursor: pointer; }
.aa-volume-controls button { flex: none; min-width: 112px; min-height: 44px; padding: 8px 12px; border: 1px solid #efb6c7; border-radius: 9px; background: transparent; color: #efb6c7; font: 600 13px 'DM Sans', Arial, sans-serif; cursor: pointer; }
.aa-volume-controls button[aria-pressed="true"] { background: #efb6c7; color: #21131a; }
.aa-volume-controls input:focus-visible { outline: 2px solid #efb6c7; outline-offset: 3px; }
#aaCursorToggle { flex-shrink: 0; position: relative; width: 52px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; }
#aaCursorToggle::before { content: ''; position: absolute; inset: 7px 0; border-radius: 20px; background: #67545e; }
#aaCursorToggle span { position: absolute; top: 11px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 150ms ease; }
#aaCursorToggle[aria-checked="true"]::before { background: #edb2c6; }
#aaCursorToggle[aria-checked="true"] span { transform: translateX(22px); background: #28171f; }
.aa-settings button:focus-visible { outline: 2px solid #f4a6b8; outline-offset: 4px; }
.aa-age-setting h2 { margin-bottom: 14px; }
.aa-age-setting p { margin: 8px 0 18px; color: #c3b2bb; font-size: 15px; line-height: 1.6; }
.aa-age-consent { display: flex; align-items: flex-start; gap: 10px; margin: 15px 0; color: #d8cad1; font-size: 13px; line-height: 1.5; }
.aa-age-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #efb6c7; }
.aa-age-consent a { color: #efb6c7; text-underline-offset: 2px; }
#aaAgeStart { min-height: 44px; padding: 9px 16px; border: 1px solid #efb6c7; border-radius: 9px; background: #efb6c7; color: #21131a; font: 600 14px 'DM Sans', Arial, sans-serif; cursor: pointer; }
#aaAgeStart:disabled { opacity: .55; cursor: not-allowed; }
.aa-profile { position: relative; flex: none; }
.aa-profile-trigger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #775463; border-radius: 50%; background: #211820; color: #f4a6b8; cursor: pointer; }
.aa-profile-trigger:hover, .aa-profile-trigger[aria-expanded="true"] { border-color: #f4a6b8; background: #35232d; }
.aa-profile-initial { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #edb2c6; color: #21131a; font: 600 17px 'DM Sans', Arial, sans-serif; }
.aa-profile-initial.has-photo { background-position: center; background-size: cover; color: transparent; }
.aa-profile-menu { position: absolute; z-index: 120; top: calc(100% + 10px); right: 0; box-sizing: border-box; width: min(260px, calc(100vw - 24px)); padding: 8px; overflow: hidden; border: 1px solid #775463; border-radius: 14px; background: #171216; box-shadow: 0 18px 42px #0009; color: #eee7e3; font: 14px/1.4 'DM Sans', Arial, sans-serif; }
.aa-profile-heading { display: grid; gap: 4px; padding: 8px 8px 16px; border-bottom: 1px solid #775463; }
.aa-profile-heading strong { font-weight: 600; }
.aa-profile-email { overflow-wrap: anywhere; color: #c3b2bb; font-size: 12px; }
.aa-profile-item { display: block; width: 100%; min-height: 44px; padding: 12px 8px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.aa-profile-item:hover { background: #35232d; }
.aa-profile-trigger:focus-visible, .aa-profile-item:focus-visible { outline: 2px solid #f4a6b8; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { #aaCursorToggle span { transition: none; } }
@media (max-width: 760px) {
  .aa-settings { padding-top: 32px; }
  .aa-settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .aa-settings-section { padding: 22px; }
  .aa-avatar-row { align-items: flex-start; flex-direction: column; }
  .aa-form-actions { align-items: flex-start; flex-direction: column; }
  .aa-volume-controls { align-items: stretch; flex-direction: column; gap: 4px; }
  .aa-volume-controls button { width: 100%; }
}
/* Native CSS cursors keep the hotspot responsive without a mouse-following overlay. */
@media (any-hover: hover) and (any-pointer: fine) {
  html.aa-custom-cursor, .aa-custom-cursor body, .aa-custom-cursor body * {
    cursor: url('/assets/cursors/arrow.svg?v=pink-1') 2 2, auto;
  }
  .aa-custom-cursor :is(a[href], button, select, summary, [role="button"], input[type="range"], input[type="checkbox"], input[type="radio"]),
  .aa-custom-cursor :is(a[href], button, [role="button"]) * {
    cursor: url('/assets/cursors/lips.svg?v=pink-1') 2 2, pointer;
  }
  .aa-custom-cursor :is(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), textarea, [contenteditable="true"]) { cursor: text; }
  .aa-custom-cursor :is(:disabled, [aria-disabled="true"]), .aa-custom-cursor :is(:disabled, [aria-disabled="true"]) * { cursor: not-allowed; }
}
