/* Origin Plugs member profiles */
.pf { position: relative; margin: 0 calc(var(--gutter) * -1); animation: fade .5s var(--ease) both; }
.pf__cover {
  position: relative; height: 168px; overflow: hidden;
  background:
    radial-gradient(70% 140% at 18% 0%, rgba(232,196,126,.34), transparent 60%),
    radial-gradient(60% 120% at 90% 10%, rgba(18,40,80,.7), transparent 65%),
    linear-gradient(rgba(232,196,126,.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(232,196,126,.05) 1px, transparent 1px) 0 0 / 28px 28px,
    #05070d;
  border-bottom: 1px solid var(--line-2);
}
.pf__cover span { position: absolute; right: -18px; bottom: -64px; font: 200 220px/1 var(--f-head); color: rgba(232,196,126,.08); user-select: none; }
.pf__head { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: end; padding: 0 var(--gutter); margin-top: -56px; }
.pf__avatar {
  grid-row: span 2; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: #0b0d14; border: 3px solid var(--gold); box-shadow: 0 0 0 5px var(--bg), 0 18px 40px -16px rgba(232,196,126,.55);
}
.pf__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf__avatar--lg { width: 128px; height: 128px; margin: -64px auto 16px; }
.px { image-rendering: pixelated; }
.pf__ph { font: 300 48px/1 var(--f-head); color: var(--gold); }
.pf__id { min-width: 0; padding-top: 64px; }
.pf__id h1 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; font: 300 clamp(28px, 7vw, 38px)/1.1 var(--f-head); overflow-wrap: anywhere; }
.pf__tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #000; font: 700 12px/1 var(--f-body); flex: none; }
.pf__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pf__chip { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer; font: 500 12.5px/1 var(--f-mono); color: var(--ink-2); background: rgba(255,255,255,.06); }
.pf__chip b { font: 600 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.pf__chip i { font: 400 11px/1 var(--f-body); font-style: normal; color: var(--ink-3); }
.pf__chip:hover { color: var(--ink); background: rgba(255,255,255,.1); }
.pf__chip.is-copied::after { content: "Copied"; font: 500 11px/1 var(--f-body); color: var(--yes); }
.pf__chip--add { font-family: var(--f-body); color: var(--gold-hi); background: rgba(232,196,126,.12); }
.pf__bio { margin: 12px 0 0; max-width: 560px; font-size: 15px; color: var(--ink-2); }
.pf__bio--ph { color: var(--ink-3); font-style: italic; }
.pf__act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (min-width: 760px) {
  .pf__head { grid-template-columns: auto 1fr auto; }
  .pf__act { grid-column: auto; align-self: start; margin-top: 66px; }
}

.pf__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px var(--gutter) 0; border-radius: 18px; background: rgba(255,255,255,.03); }
.pf__stats div { padding: 16px 10px; text-align: center; }
.pf__stats div + div { border-left: 1px solid var(--line-2); }
.pf__stats dt { order: 2; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pf__stats dd { margin: 0 0 4px; font: 300 clamp(22px, 6vw, 30px)/1 var(--f-head); color: var(--gold-hi); }
.pf__stats div { display: flex; flex-direction: column-reverse; }

.pf__tabs { display: flex; gap: 2px; margin: 28px var(--gutter) 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); }
.pf__tabs::-webkit-scrollbar { display: none; }
.pf__tabs button { position: relative; flex: none; display: flex; align-items: center; gap: 7px; padding: 12px 14px; border: 0; background: none; cursor: pointer; font: 500 14.5px/1 var(--f-body); color: var(--ink-3); }
.pf__tabs button span { font-size: 11.5px; color: var(--ink-3); }
.pf__tabs button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transition: width .45s var(--ease); }
.pf__tabs button:hover::after { width: 100%; opacity: .5; }
.pf__tabs button[aria-selected="true"] { color: var(--gold-hi); }
.pf__tabs button[aria-selected="true"]::after { width: 100%; opacity: 1; }
.pf__tabs button:focus { outline: none; }

.pf__panel { padding: 20px var(--gutter) 8px; }
.pf__grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 620px) { .pf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .pf__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pf__nft { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.03); transition: background-color .2s ease; }
.pf__nft:hover { background: rgba(255,255,255,.055); }
.pf__nft.is-pfp { box-shadow: inset 0 0 0 2px var(--gold); }
.pf__art { aspect-ratio: 1; display: grid; place-items: center; background: #000; overflow: hidden; }
.pf__art img { width: 100%; height: 100%; object-fit: cover; }
.pf__mime { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gold); }
.pf__mime svg { width: 34px; height: 34px; }
.pf__mime em { font: 400 11.5px var(--f-mono); color: var(--ink-3); font-style: normal; }
.pf__nft figcaption { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.pf__nft figcaption b { font: 400 14px/1.3 var(--f-head); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf__nft figcaption span { font: 11.5px var(--f-mono); color: var(--ink-3); }
.pf__set { margin: 0 12px 12px; width: calc(100% - 24px); }

.pf__coins { display: grid; gap: 8px; }
.pf__coin { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); }
.pf__cico { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: rgba(232,196,126,.1); }
.pf__cico svg { width: 20px; height: 20px; }
.pf__coin b { font: 500 16px/1.2 var(--f-head); color: var(--ink); }
.pf__bal { grid-row: span 2; font: 300 22px/1 var(--f-head); color: var(--gold-hi); }
.pf__sub { font-size: 12.5px; color: var(--ink-3); }

.pf__badges { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .pf__badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pf__medal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px 14px; border-radius: 18px; background: radial-gradient(100% 80% at 50% 0%, rgba(232,196,126,.1), rgba(255,255,255,.02)); }
.pf__mico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); background: rgba(232,196,126,.12); border: 2px solid rgba(232,196,126,.55); margin-bottom: 6px; }
.pf__mico svg { width: 26px; height: 26px; }
.pf__medal b { font: 400 15.5px/1.25 var(--f-head); color: var(--ink); }
.pf__medal span { font-size: 12.5px; color: var(--ink-3); }

.pf__empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 16px; text-align: center; border-radius: 18px; background: rgba(255,255,255,.025); }
.pf__eico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 300 26px/1 var(--f-head); color: var(--gold); background: rgba(232,196,126,.1); }
.pf__empty p { margin: 0; max-width: 360px; color: var(--ink-2); font-size: 14.5px; }
.pf__note { margin: 18px var(--gutter) 0; font-size: 12.5px; color: var(--ink-3); }

/* connect prompt */
.pf--empty .pf__cover { height: 200px; }
.pf__welcome { padding: 0 var(--gutter) 20px; text-align: center; max-width: 560px; margin: 0 auto; }
.pf__welcome h1 { margin: 4px 0 10px; font: 300 clamp(30px, 7vw, 44px)/1.1 var(--f-head); }
.pf__lede { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; }
.pf__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pf__look { margin: 26px auto 0; max-width: 460px; }
.pf__err { min-height: 0; margin: 8px 0 0; font-size: 13.5px; color: var(--no); }
.pf__err:empty { display: none; }

/* loading */
.pf--loading .pf__sk { display: block; height: 14px; width: 40%; margin-top: 10px; border-radius: 7px; background: rgba(255,255,255,.06); }
.pf--loading .pf__sk--l { height: 26px; width: 60%; }

/* edit sheet */
.pf-sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); animation: fade .25s ease both; }
@media (min-width: 640px) { .pf-sheet { place-items: center; } }
.pf-sheet__card { width: min(100%, 480px); padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: #0b0e16; border: 1px solid var(--line-2); }
@media (min-width: 640px) { .pf-sheet__card { border-radius: 22px; } }
.pf-sheet__card h2 { margin: 0 0 8px; font: 300 26px/1.2 var(--f-head); }
.pf-sheet__go { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.pf__welcome, .pf__avatar { position: relative; z-index: 1; }
