/* A creator's public page. Shared by u.html, the dashboard preview and the landing page. */
.pf {
  --page: #f4f4f2; --surface: #ffffff; --line: #e6e6e3;
  --ink: #141414; --ink-2: #5f5f5b; --ink-3: #9b9b97;
  --chip: #f1f1ef; --shadow: 0 1px 2px #0000000a, 0 8px 24px -12px #00000014;
  --head: "Instrument Serif", Georgia, serif; --head-size: 38px; --head-weight: 400;
  --radius: 16px;
  min-height: 100%;
  background: var(--page);
  background-image: radial-gradient(1200px 500px at 50% -200px, var(--surface), transparent);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  padding: 56px 20px 28px;
  text-align: center;
}
.pf[data-theme="stone"]    { --page: #ecebe6; --surface: #f8f7f4; --line: #dfddd6; --ink: #1c1b18; --ink-2: #6a675f; --ink-3: #a29f96; --chip: #e7e5df; }
.pf[data-theme="silver"]   { --page: #eceef1; --surface: #ffffff; --line: #dfe2e7; --ink: #15171a; --ink-2: #5c6169; --ink-3: #979ca4; --chip: #eef0f3; }
.pf[data-theme="graphite"] { --page: #1c1d1f; --surface: #26272a; --line: #36383c; --ink: #f2f2f0; --ink-2: #a9a9a5; --ink-3: #75767a; --chip: #2f3034; --shadow: 0 1px 2px #00000040; }
.pf[data-theme="onyx"]     { --page: #0a0a0a; --surface: #141414; --line: #262626; --ink: #fafafa; --ink-2: #a3a3a3; --ink-3: #6b6b6b; --chip: #1c1c1c; --shadow: none; }
.pf[data-font="sans"]    { --head: "Inter", sans-serif; --head-size: 26px; --head-weight: 700; }
.pf[data-font="grotesk"] { --head: "Space Grotesk", sans-serif; --head-size: 28px; --head-weight: 700; }
.pf[data-btn="pill"]   { --radius: 999px; }
.pf[data-btn="square"] { --radius: 6px; }

.pf-inner { max-width: 480px; margin: 0 auto; }
.pf-avatar {
  width: 104px; height: 104px; margin: 0 auto 18px;
  border-radius: 50%; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pf-avatar img, .pf-avatar span {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  background: var(--chip); color: var(--ink-2);
  font-family: var(--head); font-size: 36px;
}
.pf-name { font-family: var(--head); font-size: var(--head-size); font-weight: var(--head-weight); line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.pf-name.empty { color: var(--ink-3); }
.pf-handle { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.pf-bio { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 14px auto 0; max-width: 400px; white-space: pre-line; }

.pf-icons { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pf-icons a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; color: var(--ink-2); text-decoration: none; font-size: 19px;
  transition: color .15s, background .15s;
}
.pf-icons a:hover { background: var(--chip); color: var(--ink); }
.pf[data-icons="brand"] .pf-icons a { color: var(--brand); }

.pf-featured {
  display: flex; align-items: center; gap: 14px; text-align: left; text-decoration: none;
  margin-top: 24px; padding: 18px;
  border-radius: max(min(var(--radius), 22px), 6px);
  background: var(--ink); color: var(--page);
  box-shadow: var(--shadow); transition: transform .2s;
}
.pf-featured + .pf-featured { margin-top: 10px; }
.pf-featured:hover { transform: translateY(-2px); }
.pf-featured .fi { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--page) 12%, transparent); font-size: 21px; }
.pf[data-icons="brand"] .pf-featured .fi { background: var(--brand); color: #fff; }
.pf-featured .ft { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-featured b { font-family: var(--head); font-weight: var(--head-weight); font-size: calc(var(--head-size) * .5); line-height: 1.2; }.pf-featured small { font-size: 12px; opacity: .6; margin-top: 3px; }
.pf-featured .go { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: color-mix(in srgb, var(--page) 14%, transparent); transition: transform .2s; }
.pf-featured:hover .go { transform: translateX(3px); }

.pf-links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pf-featured ~ .pf-links { margin-top: 10px; }
.pf-link {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 10px 16px 10px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.pf-link:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.pf-link .ic {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: min(var(--radius), 12px); background: var(--chip); color: var(--ink-2); font-size: 17px;
}
.pf[data-btn="pill"] .pf-link .ic { border-radius: 50%; }
.pf[data-icons="brand"] .pf-link .ic { color: var(--brand); }
.pf-link .t { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; }
.pf-link .ar { color: var(--ink-3); font-size: 13px; transition: transform .2s; }
.pf-link:hover .ar { transform: translateX(3px); color: var(--ink); }

.pf-empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink-3); font-size: 13px; margin-top: 22px; }
.pf-brand {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
  color: var(--ink-3); font-size: 12px; font-weight: 500; text-decoration: none;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.pf-brand:hover { color: var(--ink); }
.pf-brand .mk { width: 16px; height: 16px; border-radius: 5px; background: var(--ink); color: var(--page); display: grid; place-items: center; font-size: 8px; }
