/* Profiles: the edit page (/profile), the photo uploader with its scan animation, and the
   profile card that opens from a name in a room. Mobile first; desktop only widens. */

/* ---------- edit page ---------- */
.pf-body { background: #0b0b0f; color: #fff; min-height: 100vh; margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.pf { max-width: 560px; margin: 0 auto; padding: 0 16px calc(120px + env(safe-area-inset-bottom)); }
.pf-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 0 10px; }
.pf-nav img { height: 22px; width: auto; display: block; }
.pf-skip { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 10px 4px; }
.pf-skip:hover { color: #fff; }
.pf h1 { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.5px; margin: 14px 0 6px; }
.pf-lead { color: rgba(255, 255, 255, 0.72); font-size: 15px; line-height: 1.5; margin: 0 0 20px; }
.pf-card { background: #15151b; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.pf-card h2 { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 17px; margin: 0 0 4px; }
.pf-hint { color: rgba(255, 255, 255, 0.6); font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.pf-hint a, .pf-lead a { color: #ff7ab3; text-decoration: none; }
.pf-hint a:hover, .pf-lead a:hover { text-decoration: underline; }
.pf-name { display: flex; align-items: center; gap: 10px; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 20px; overflow-wrap: anywhere; }
.pf-name span { color: #ff2d87; }

/* Choice chips. Wrap on phones (no sideways scroll), 44px tall for thumbs. */
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  background: #1c1c24; color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); }
.pf-chip:hover { border-color: #ff2d87; color: #fff; }
.pf-chip[aria-pressed="true"] { background: #ff2d87; border-color: #ff2d87; color: #fff; }
.pf-chip[aria-pressed="true"]:hover { background: #ff479a; color: #fff; }
.pf-chip:focus-visible, .pf-drop:focus-visible, .pf-btn:focus-visible { outline: 2px solid #ff7ab3; outline-offset: 2px; }

/* Save bar: fixed to the bottom on phones so it is always reachable. */
.pf-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11, 11, 15, 0) 0%, #0b0b0f 34%); }
.pf-bar-in { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.pf-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px;
  cursor: pointer; text-decoration: none; background: #ff2d87; color: #fff; border: none; }
.pf-btn:hover { background: #ff479a; color: #fff; }
.pf-btn:disabled { background: #5a2a40; color: rgba(255, 255, 255, 0.6); cursor: not-allowed; }
.pf-status { min-height: 18px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); margin: 0; }
.pf-status.ok { color: #4ade80; font-weight: 600; }
.pf-status.bad { color: #ff9db0; font-weight: 600; }
.pf-signedout { text-align: center; padding: 40px 8px; }
.pf [hidden] { display: none !important; }

/* ---------- photo uploader + scan animation (same pattern as GetNudes) ---------- */
.pf-opt { color: rgba(255, 255, 255, 0.55); font-weight: 600; }
/* The basic rules, always visible above the box. */
.pf-rules { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 12px; padding: 0; }
.pf-rules li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.pf-rules li::before { content: "✕"; color: #ff5a76; font-weight: 800; font-size: 13px; }
/* The box: a wide dashed target to tap, click, or drop a photo on. */
.pf-drop { position: relative; width: 100%; min-height: 176px; border-radius: 18px; cursor: pointer; padding: 18px 14px;
  background: #1c1c24; border: 1.6px dashed rgba(255, 255, 255, 0.28); display: flex; align-items: center; justify-content: center; text-align: center; }
.pf-drop:hover { border-color: #ff2d87; }
.pf-drop.drag { border-color: #ff2d87; background: rgba(255, 45, 135, 0.12); }
.pf-drop.off { cursor: default; opacity: 0.75; }
.pf-drop.off:hover { border-color: rgba(255, 255, 255, 0.28); }
.pf-drop-prompt { display: flex; flex-direction: column; align-items: center; gap: 5px; color: rgba(255, 255, 255, 0.65); font-size: 13px; }
.pf-drop-prompt i { font-style: normal; font-size: 30px; line-height: 1; margin-bottom: 2px; }
.pf-drop-prompt b { color: #fff; font-size: 16px; font-weight: 700; }
.pf-drop.has .pf-drop-prompt { display: none; }
/* "drag" only makes sense with a mouse; touch screens just say "Add photo". */
.pf-drag-no { display: none; }
@media (hover: none) { .pf-drag-yes { display: none; } .pf-drag-no { display: inline; } }
.pf-photo-input { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pf-scan { position: relative; width: 150px; height: 150px; border-radius: 16px; overflow: hidden; background: #0e0b16; }
.pf-scan img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-scan::after { content: ""; position: absolute; inset: 0; background: rgba(255, 45, 135, 0.08); pointer-events: none; }
.pf-scan-line { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #ff2d87;
  box-shadow: 0 0 12px 3px rgba(255, 45, 135, 0.8); animation: pfscan 1.5s ease-in-out infinite; }
@keyframes pfscan { 0% { top: 0; } 50% { top: calc(100% - 3px); } 100% { top: 0; } }
.pf-scan-label { position: absolute; bottom: 7px; left: 0; right: 0; text-align: center; color: #fff; font-size: 11.5px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); }
.pf-scan.done .pf-scan-line, .pf-scan.done .pf-scan-label, .pf-scan.done::after { display: none; }
@media (prefers-reduced-motion: reduce) { .pf-scan-line { animation: none; top: 50%; } }
.pf-remove { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 12px; border-radius: 999px;
  background: transparent; border: 1.6px solid #ff2d87; color: #ff7ab3; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.pf-remove:hover { background: rgba(255, 45, 135, 0.14); color: #fff; }
.pf-link { background: none; border: none; padding: 8px 0; font: inherit; font-size: 14px; font-weight: 600; color: #ff7ab3; cursor: pointer; }
.pf-link:hover { text-decoration: underline; color: #ff7ab3; }
.pf-photo-msg { white-space: pre-line; font-size: 13.5px; line-height: 1.5; margin: 12px 0 0; color: rgba(255, 255, 255, 0.72); }
.pf-photo-msg.ok { color: #4ade80; font-weight: 600; }
.pf-photo-msg.bad { color: #ff9db0; font-weight: 600; }

@media (min-width: 640px) {
  .pf h1 { font-size: 36px; }
}

/* ---------- profile card (opens from a name in a room) ---------- */
.pc-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, 0.66); display: flex; align-items: flex-end; justify-content: center; }
.pc-card { width: 100%; max-width: 420px; background: #15151b; color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px 22px 0 0;
  padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); position: relative; max-height: 88vh; overflow-y: auto; }
.pc-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; color: rgba(255, 255, 255, 0.8); font-size: 18px; cursor: pointer; }
.pc-x:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.pc-head { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.pc-av { flex: none; width: 88px; height: 88px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 34px; color: #fff; background: #ff2d87 center / cover no-repeat; }
.pc-name { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 22px; line-height: 1.15; overflow-wrap: anywhere; }
.pc-since { color: rgba(255, 255, 255, 0.6); font-size: 13px; margin-top: 3px; }
.pc-row { margin-top: 16px; }
.pc-label { color: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 7px; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-tag { padding: 6px 12px; border-radius: 999px; background: #22222c; border: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; font-weight: 600; }
.pc-empty { color: rgba(255, 255, 255, 0.6); font-size: 14px; margin-top: 16px; }
.has-profile { cursor: pointer; }
.pmsg-handle b.has-profile:hover, .m-name.has-profile:hover { text-decoration: underline; }
@media (min-width: 640px) {
  .pc-overlay { align-items: center; padding: 20px; }
  .pc-card { border-radius: 22px; }
}

/* ---------- account overlays on the home page (sign in, check email, menu, profile) ---------- */
.ac-overlay { position: fixed; inset: 0; z-index: 1500; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #fff; }
.ac-overlay * { box-sizing: border-box; }
.ac-overlay [hidden] { display: none !important; }
.ac-modal { background: rgba(0, 0, 0, 0.7); display: flex; align-items: flex-end; justify-content: center; }
.ac-sheet { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; background: #15151b; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px 22px 0 0; padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); }
.ac-full { background: #0b0b0f; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ac-full .pf-skip { background: none; border: none; font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; min-height: 44px; }
.ac-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; color: rgba(255, 255, 255, 0.8); font-size: 18px; cursor: pointer; }
.ac-x:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ac-title { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 26px; line-height: 1.15; margin: 0 36px 6px 0; }
.ac-lead { color: rgba(255, 255, 255, 0.75); font-size: 15px; line-height: 1.5; margin: 0 0 16px; overflow-wrap: anywhere; }
.ac-lead b { color: #fff; }
.ac-big { font-size: 40px; line-height: 1; margin-bottom: 10px; }
.ac-field { margin-bottom: 12px; }
.ac-label { display: block; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.8); margin-bottom: 6px; }
.ac-input { width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.16); background: #0e0e13; color: #fff; font: inherit; font-size: 16px; padding: 0 14px; }
.ac-input:focus { outline: none; border-color: #ff2d87; }
.ac-at { position: relative; }
.ac-at span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #ff2d87; font-weight: 700; }
.ac-at .ac-input { padding-left: 32px; }
.ac-hint { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); margin: 6px 2px 0; line-height: 1.4; }
.ac-hint.ok { color: #4ade80; } .ac-hint.bad { color: #ff9db0; }
.ac-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.8); margin: 4px 0 12px; cursor: pointer; }
.ac-consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: #ff2d87; }
.ac-msg { min-height: 18px; color: #ff9db0; font-size: 13.5px; font-weight: 600; margin: 0 0 8px; }
.ac-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border-radius: 999px; border: none; background: #ff2d87; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; margin-top: 8px; }
.ac-btn:hover { background: #ff479a; color: #fff; }
.ac-btn:disabled { background: #5a2a40; color: rgba(255, 255, 255, 0.6); cursor: not-allowed; }
.ac-btn.ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.ac-btn.ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.ac-link { display: block; width: 100%; min-height: 44px; margin-top: 8px; background: none; border: none; color: #ff7ab3; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.ac-link:hover { text-decoration: underline; color: #ff7ab3; }
.ac-fine { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; text-align: center; margin: 8px 0 0; line-height: 1.45; }
.ac-btn:focus-visible, .ac-link:focus-visible, .ac-x:focus-visible { outline: 2px solid #ff7ab3; outline-offset: 2px; }
.ac-me { display: flex; align-items: center; gap: 14px; margin: 0 36px 14px 0; }
.ac-av { flex: none; width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 26px; background: #ff2d87 center / cover no-repeat; }
.ac-name { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 20px; overflow-wrap: anywhere; }
.ac-mail { color: rgba(255, 255, 255, 0.6); font-size: 13px; overflow-wrap: anywhere; }
.ac-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1600; max-width: calc(100vw - 32px);
  background: #22222c; border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; font: 600 14.5px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; padding: 12px 18px; border-radius: 999px; }
#acctBtn { cursor: pointer; }
@media (min-width: 640px) {
  .ac-modal { align-items: center; padding: 20px; }
  .ac-sheet { border-radius: 22px; padding: 28px 24px 24px; }
}

/* ---------- header: signed out vs signed in ---------- */
[data-acct-slot] { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.ac-hdr-in, .ac-hdr-up, .ac-chip { font: inherit; cursor: pointer; white-space: nowrap; }
.ac-hdr-in { background: none; border: none; color: #fff; font-weight: 600; font-size: 14.5px; min-height: 44px; padding: 0 10px; border-radius: 999px; }
.ac-hdr-in:hover { color: #ff7ab3; }
.ac-hdr-up { background: #ff2d87; border: none; color: #fff; font-weight: 700; font-size: 14.5px; min-height: 42px; padding: 0 18px; border-radius: 999px; }
.ac-hdr-up:hover { background: #ff479a; color: #fff; }
.ac-chip { display: flex; align-items: center; gap: 8px; min-height: 44px; max-width: 46vw; padding: 4px 12px 4px 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; font-weight: 700; font-size: 14.5px; }
.ac-chip:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.ac-chip-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: "Outfit", sans-serif; font-weight: 800; font-size: 15px; color: #fff; background: #ff2d87 center / cover no-repeat; }
.ac-chip-name { overflow: hidden; text-overflow: ellipsis; }
.ac-chip-caret { font-size: 11px; opacity: 0.7; }
.ac-hdr-in:focus-visible, .ac-hdr-up:focus-visible, .ac-chip:focus-visible, .ac-item:focus-visible { outline: 2px solid #ff7ab3; outline-offset: 2px; }
.ac-slot { margin-left: 6px; }
@media (max-width: 420px) { .ac-chip-name { max-width: 24vw; } .ac-hdr-up { padding: 0 14px; } }

/* ---------- account menu, settings ---------- */
.ac-me-id { min-width: 0; }
.ac-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 0 12px; border-radius: 12px; background: none; border: none;
  color: #fff; font: inherit; font-weight: 600; font-size: 15.5px; text-align: left; cursor: pointer; }
.ac-item:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ac-item-ic { width: 24px; text-align: center; flex: none; }
.ac-pop .ac-me { margin: 0 0 10px; padding: 0 4px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ac-row { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ac-row-label { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.ac-row-value { font-size: 16px; font-weight: 600; margin-top: 3px; overflow-wrap: anywhere; }
.ac-row .ac-hint { margin: 4px 0 0; }
.ac-msg.ok { color: #4ade80; }
.ac-link.quiet { color: rgba(255, 255, 255, 0.8); margin-top: 0; }
.ac-link.quiet:hover { color: #fff; }
.ac-link.danger, .ac-link.danger:hover { color: #ff9db0; margin-top: 14px; }
.ac-btn.danger { background: #c81e3a; color: #fff; }
.ac-btn.danger:hover { background: #e02947; color: #fff; }
.pf-namebox { margin-top: 12px; }
.pf-namebox .pf-hint { margin: 6px 2px 10px; }
.pf-hint.bad { color: #ff9db0; }
.pf-namebtns { display: flex; align-items: center; gap: 14px; }
.pf-btn.small { width: auto; min-height: 44px; padding: 0 20px; font-size: 15px; }
.pf-link:disabled { color: rgba(255, 255, 255, 0.55); cursor: default; text-decoration: none; }
@media (min-width: 640px) {
  /* Desktop: the account menu is a dropdown under the header button, not a centred box. */
  .ac-pop { background: transparent; align-items: flex-start; justify-content: flex-end; padding: 0; }
  .ac-pop .ac-sheet { position: fixed; width: 300px; padding: 16px 12px 12px; border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); }
}
/* Room and party pages have a tighter top bar: on phones the account control shrinks to
   the avatar alone (signed in) or a single "Sign in" (signed out). */
@media (max-width: 639px) {
  .ac-slot { margin-left: 0; }
  .ac-slot .ac-chip-name, .ac-slot .ac-chip-caret, .ac-slot .ac-hdr-up { display: none; }
  .ac-slot .ac-chip { padding: 4px; }
  .ac-slot .ac-hdr-in { padding: 0 6px; }
  .app-topbar-right .nav-link { white-space: nowrap; }
}
@media (max-width: 359px) {
  /* Smallest phones: the "All rooms" back link below already covers Rooms. */
  .app-topbar-right .nav-link:first-child { display: none; }
}

/* ---------- pop-up versions: create-profile step and the profile editor ---------- */
.ac-sheet.ac-wide { max-width: 540px; }
.ac-step { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #ff7ab3; margin: 0 0 6px; }
.ac-group { margin: 0 0 14px; }
.ac-group .ac-hint { margin-top: 6px; }
.ac-overlay .pf-chip { min-height: 42px; padding: 0 14px; font-size: 14.5px; }
/* The profile editor inside a pop-up: no page chrome, and the Save bar sticks to the
   bottom of the pop-up (not the whole screen). */
.ac-sheet.ac-profile { padding-bottom: 0; }
.ac-profile .pf { max-width: none; margin: 0; padding: 0; }
.ac-profile .pf h1 { font-size: 26px; margin: 0 40px 6px 0; }
.ac-profile .pf-card { background: #1c1c24; }
.ac-profile .pf-bar { position: sticky; left: auto; right: auto; bottom: 0; z-index: 2; margin: 0 -18px; padding: 14px 18px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(21, 21, 27, 0) 0%, #15151b 26%); }
.ac-profile .pf-bar .ac-link { min-height: 40px; margin-top: 0; }
@media (min-width: 640px) {
  .ac-profile .pf-bar { margin: 0 -24px; padding: 14px 24px 16px; border-radius: 0 0 22px 22px; }
}
/* Step 1 is long on a phone: keep its Continue button in reach while the picks scroll. */
.ac-wide:not(.ac-profile) .ac-form > .ac-btn { position: sticky; bottom: 12px; z-index: 2; box-shadow: 0 -8px 18px 10px #15151b; }

/* ---------- notification bell (header, signed in) ---------- */
.ac-bell { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.ac-bell:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ac-bell:focus-visible { outline: 2px solid #ff7ab3; outline-offset: 2px; }
.ac-bell svg { width: 25px; height: 25px; display: block; }
.ac-bell-dot { display: none; position: absolute; top: 8px; right: 9px; width: 11px; height: 11px; border-radius: 50%; background: #ff2d87; border: 2px solid #0b0b0f; }
.ac-bell.has-new .ac-bell-dot { display: block; }
.ac-pop-title { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 19px; margin: 0 4px 10px; }
.ac-empty { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; line-height: 1.5; margin: 0 4px 8px; }
.ac-note { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 4px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ac-note-text { flex: 1; min-width: 120px; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.ac-note-acts { display: flex; gap: 8px; }
.ac-mini { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.ac-mini:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ac-mini.yes { background: #ff2d87; border-color: #ff2d87; }
.ac-mini.yes:hover { background: #ff479a; color: #fff; }
/* Avatar ring like the mockup, and on phones the chip is the avatar and caret alone. */
.ac-chip-av { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }
.ac-note .ac-chip-av { box-shadow: none; }
@media (max-width: 479px) {
  .ac-chip { background: transparent; border-color: transparent; padding: 4px 6px 4px 4px; gap: 6px; }
  .ac-chip .ac-chip-name { display: none; }
  [data-acct-slot] { gap: 4px; }
}
@media (max-width: 639px) { .ac-slot .ac-bell { display: none; } } /* room pages: no space in the tight top bar */

/* ---------- birthday picker ---------- */
.ac-bday { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 8px; }
.ac-sel { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer;
  background: #0e0e13 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff99' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; }
.ac-sel option { background: #15151b; color: #fff; }

/* ---------- sign-in code ---------- */
.ac-code { height: 64px; text-align: center; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 30px; font-weight: 700; letter-spacing: 0.45em; padding-left: 0.45em; }
.ac-code::placeholder { color: rgba(255, 255, 255, 0.25); letter-spacing: 0.45em; }
.ac-testcode { margin: 0 0 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 196, 0, 0.12); border: 1px dashed rgba(255, 196, 0, 0.5); color: #ffd666; font-size: 14px; font-weight: 700; text-align: center; }
.ac-testcode[hidden] { display: none; }

/* Info pages (About, Guidelines, Safety, Privacy, Terms): the same header as the rest of
   the site. On phones the section links hide and only the account controls stay. */
.info-nav .nav-right { display: flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .info-nav .nav-center { display: none; } }
/* Friend button on the profile card. */
.pc-friend { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 18px; border-radius: 14px; border: none;
  background: #ff2d87; color: #fff; font: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.pc-friend:hover { background: #ff479a; color: #fff; }
.pc-friend:disabled { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); cursor: default; }
/* Links inside info-page text use the brand pink, not the browser default blue. */
.prose a { color: #ff7ab3; }
.prose a:hover { color: #ff9cc7; }
