/* Profiles (Shane 11/25-11/26): /u/<handle>, the same sections on /a/<handle>, and /me. Tokens from ltm.css only. */
.pf-head { display: flex; align-items: center; gap: 16px; }
.pf-head h1 { margin: 0; overflow-wrap: anywhere; }
.pf-who { min-width: 0; }
.pf-avatar, .pf-avatar img { display: block; width: 96px; height: 96px; border-radius: 50%; flex: none; }
.pf-kind { margin: 0 0 12px; }
.pf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.pf-stat { padding: 14px 16px; border-radius: 12px; background: var(--panel); }
.pf-stat dt { color: var(--muted); font-size: max(0.9rem, var(--fs-floor)); }
.pf-stat dd { margin: 4px 0 0; font-size: 1.6rem; font-weight: 700; overflow-wrap: anywhere; }
.pf-split { margin: 0 0 12px; }
.pf-stat dd.pf-sub { margin: 2px 0 0; font-size: max(0.9rem, var(--fs-floor)); font-weight: 400; color: var(--muted); }
.pf-earned dd:not(.pf-sub) { color: var(--ltm-amber-soft); }
.pf-pile-n { font-size: 1.3rem; font-weight: 700; }
.pf-fold { border-radius: 12px; background: var(--panel); margin: 0 0 8px; padding: 0 16px; }
.pf-fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px;
  cursor: pointer; font-weight: 700; }
.pf-fold-n { color: var(--muted); }
.pf-fold[open] { padding-bottom: 12px; }
.pf-keep { margin: 16px 0 0; }
.pf-keep a { display: inline-flex; align-items: center; min-height: 44px; }
.pf-list { margin: 0; padding-left: 1.2em; }
.pf-list li { margin: 4px 0; overflow-wrap: anywhere; }
.pf-midnight { margin: 0 0 8px; }
.pf-thief { display: inline-flex; align-items: center; min-height: 44px; color: var(--ltm-amber-soft); }
.pf-deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.pf-pick { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 2px;
  border: 2px solid transparent; border-radius: 50%; background: none; color: inherit; font: inherit; cursor: zoom-in;
  justify-self: center; }
.pf-closer { display: grid; justify-items: center; gap: 10px; margin: 4px 0 18px; text-align: center; }
.pf-closer-art, .pf-closer-art img { display: block; width: min(256px, 70vw); height: auto; aspect-ratio: 1;
  border-radius: 50%; }
.pf-closer-name { margin: 0; font-weight: 700; }
.pf-closer button { min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ltm-amber-soft);
  color: #1a0d0d; font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; }
.pf-closer button:hover, .pf-closer button:focus-visible { filter: brightness(1.1); }
.pf-closer-back { display: inline-block; padding: 10px 6px; font-size: 0.95rem; }
.pf-pick:hover, .pf-pick:focus-visible { border-color: var(--muted); }
.pf-picked { border-color: var(--ltm-amber-soft); }
.pf-pick-art, .pf-pick-art img { display: block; width: 56px; height: 56px; border-radius: 50%; }
@media (min-width: 760px) {
  .pf-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .pf-avatar, .pf-avatar img { width: 72px; height: 72px; }
}
.pf-name { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pf-name label { flex: 0 0 100%; font-weight: 700; }
.pf-name-msg { flex: 0 0 100%; order: 3; min-height: 1.4em; margin: 0; }
.pf-name-msg.ok { color: #7ee2a8; }
.pf-name-msg.no { color: var(--ltm-amber-soft); }
.pf-name input { flex: 1 1 180px; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--muted); background: transparent; color: inherit; font: inherit; }
.pf-name button, .pf-pop button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--ltm-amber-soft); color: #1a0d0d; font: inherit; font-weight: 800; cursor: pointer; }
.pf-pop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, 0.72); }
.pf-pop-box { display: grid; gap: 12px; justify-items: center; width: min(420px, 100%); padding: 24px 20px;
  border-radius: 16px; background: #160b0e; border: 1px solid var(--ltm-amber-soft); text-align: center; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); }
.pf-pop-box h2 { margin: 0; font-size: 1.3rem; overflow-wrap: anywhere; }
.pf-pop-box p { margin: 0; }
.pf-pop-box form { display: grid; gap: 12px; justify-items: center; }
.pf-pop-pin input { display: block; width: 9ch; min-height: 44px; margin: 6px auto 0; text-align: center;
  border-radius: 10px; border: 1px solid var(--muted); background: transparent; color: inherit; font: inherit; }
.pf-pop-no { display: inline-block; padding: 10px 6px; overflow-wrap: anywhere; }
.pf-name button:disabled { opacity: 0.45; cursor: default; }
