.pf { --pill: #f2f4f7; position: relative; display: flex; flex-direction: column; gap: 24px; }
html[data-theme="dark"] .pf { --pill: #282933; }
.pf-head { position: relative; display: flex; align-items: center; gap: 20px; height: 64px; }
.pf-burger { display: grid; place-items: center; flex: none; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; }
.pf-burger svg { width: 24px; height: 24px; flex-shrink: 0; stroke: none; fill: none; }
.pf-head h1 { font-size: 18px; line-height: 28px; font-weight: 700; }
.pf-wallet { display: flex; align-items: center; gap: 16px; width: min(100%, 507px); height: 68px; padding: 0 24px; border: 0; border-radius: 16px; background: var(--pill); color: var(--text); font: 700 20px/28px var(--font); text-align: left; cursor: pointer; transition: filter .18s; }
.pf-wallet:hover { filter: brightness(1.06); }
.pf-wallet svg { flex-shrink: 0; width: 32px; height: 32px; stroke: none; }
.pf-wallet b { flex: 1; font-weight: 700; }
.pf-wallet svg:last-child { width: 24px; height: 24px; fill: none; }
.pf-user { display: flex; align-items: center; gap: 20px; min-width: 0; }
.pf-ava { position: relative; display: grid; place-items: center; flex: none; width: 80px; height: 80px; padding: 0; overflow: hidden; border: 0; border-radius: 50%; background: var(--pill); color: #8593ab; cursor: pointer; }
.pf-ava img { width: 100%; height: 100%; object-fit: cover; }
.pf-ava svg { width: 48px; height: 48px; fill: currentColor; stroke: none; }
.pf-ava-s { width: 64px; height: 64px; cursor: default; }
.pf-info { display: flex; flex-direction: column; min-width: 0; }
.pf-nick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 24px; line-height: 32px; font-weight: 700; overflow-wrap: anywhere; }
.pf-role { padding: 2px 8px; border-radius: 8px; background: var(--tu-pink-bg); color: var(--tu-pink-fg); font-size: 12px; font-style: normal; font-weight: 500; line-height: 18px; }
.pf-rate { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; color: var(--muted); }
.pf-stars { display: inline-flex; color: var(--muted); opacity: .7; }
.pf-stars svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: none; }
.pf-since { font-size: 14px; line-height: 24px; color: var(--muted); }
.pf-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-pill { height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--pill); color: var(--text); font: 400 18px/28px var(--font); cursor: pointer; transition: background-color .18s, color .18s; }
.pf-pill:hover { filter: brightness(1.06); }
.pf-pill[aria-pressed="true"] { background: var(--tu-radio-on); color: #fff; font-weight: 700; }
.pf-pills-s .pf-pill { height: 44px; padding: 0 20px; font-size: 16px; line-height: 24px; }
.pf-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 16px 24px; text-align: center; color: var(--muted); }
.pf-emoji { font-size: 56px; line-height: 64px; }
.pf-empty b { color: var(--text); font-size: 24px; line-height: 32px; font-weight: 700; }
.pf-cta { display: flex; align-items: center; justify-content: center; width: min(100%, 449px); height: 52px; margin-top: 24px; padding: 11px 20px 13px; border: 0; border-radius: 8px; background: var(--tu-radio-on); color: #fff; font: 700 18px/28px var(--font); cursor: pointer; transition: filter .18s; }
.pf-cta:hover { filter: brightness(1.1); }
.pf-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--tu-radio-on); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .22); color: #fff; font: 700 18px/28px var(--font); cursor: pointer; }
.pf-btn-s { height: 44px; padding: 0 16px; background: var(--pill); box-shadow: none; color: var(--text); font: 500 16px/24px var(--font); }
.pf-edit { display: flex; flex-direction: column; gap: 16px; width: min(100%, 507px); padding: 24px; border-radius: 24px; background: var(--pill); }
.pf-edit h2 { font-size: 20px; line-height: 28px; font-weight: 700; }
.pf-edit-row { display: flex; align-items: center; gap: 16px; }
.pf-file { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--bg); color: var(--text); font: 500 15px/20px var(--font); cursor: pointer; transition: color .18s; }
.pf-file:hover { color: var(--blue); }
.pf-edit-act { display: flex; gap: 12px; }
.pf-hint { font-size: 14px; line-height: 20px; color: var(--muted); }
.pf-grid { display: grid; gap: 20px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pf-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pf-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--pill); }
.pf-pic img { width: 100%; height: 100%; object-fit: cover; }
.pf-item b { font-size: 18px; line-height: 28px; font-weight: 700; color: #22bd65; }
html[data-theme="light"] .pf-item b { color: #00a849; }
.pf-item > span:last-child { overflow: hidden; font-size: 16px; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.pf-auth { display: flex; flex-direction: column; gap: 16px; width: min(100%, 420px); padding: 24px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.pf-f { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.pf-f input { height: 56px; padding: 0 16px; border: 0; border-radius: 16px; outline: 0; background: var(--field); color: var(--text); font: 400 18px/28px var(--font); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.pf-edit .pf-f input { background: var(--bg); }
.pf-f input:hover:not(:disabled), .pf-f input:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.pf-f input:disabled { opacity: .6; }
.pf-err { min-height: 20px; color: var(--red); font-size: 14px; line-height: 20px; }
@media (max-width: 1279px) { .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .pf { gap: 20px; }
  .pf-head { height: 56px; }
  .pf-wallet { height: 60px; padding: 0 16px; }
  .pf-ava { width: 64px; height: 64px; }
  .pf-nick { font-size: 20px; line-height: 28px; }
  .pf-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pf-pills::-webkit-scrollbar { display: none; }
  .pf-pill { flex: none; height: 44px; padding: 0 20px; font-size: 16px; line-height: 24px; }
  .pf-pills-s .pf-pill { height: 40px; padding: 0 16px; font-size: 14px; }
  .pf-cta { width: 100%; }
  .pf-empty b { font-size: 20px; line-height: 28px; }
  .pf-grid { gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pf-via { display: flex; gap: 16px; }
.pf-via button, .pf-link { padding: 0; border: 0; background: none; color: var(--muted); font: 400 14px/20px var(--font); cursor: pointer; transition: color .18s; }
.pf-via button[aria-pressed="true"] { color: var(--blue); font-weight: 600; }
.pf-via button:hover, .pf-link:hover { color: var(--blue); }
.pf-link { align-self: center; }

.pf-via { display: flex; gap: 16px; }
.pf-phone { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-radius: 16px; background: var(--field); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.pf-phone:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.pf-phone i { flex: none; font-style: normal; font-size: 24px; line-height: 1; }
.pf-f .pf-phone input { flex: 1; min-width: 0; height: 100%; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pf-phone-ro { padding: 14px 16px; border-radius: 16px; background: var(--bg); color: var(--text); font-size: 18px; }
.pf-wait { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; padding: 8px 0; }
.pf-wait span { color: var(--muted); font-size: 15px; line-height: 22px; }
.pf-open { display: grid; place-items: center; width: 100%; text-decoration: none; }
.pf-link { padding: 0; border: 0; background: none; color: var(--blue); font: 400 15px var(--font); cursor: pointer; }
.pf-edit + .pf-edit { margin-top: 12px; }

.pf-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.pf-login-art { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: 420px; padding: 40px; border-radius: 24px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #5b8cff 0%, transparent 60%), linear-gradient(150deg, #1453ff 0%, #2a1a6e 100%); }
.pf-login-art::before { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%); }
.pf-login-art::after { content: ""; position: absolute; left: -120px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .45), transparent 70%); }
.pf-login-art > * { position: relative; z-index: 1; }
.pf-login-art b { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.pf-login-art h2 { max-width: 420px; font-size: 32px; line-height: 38px; font-weight: 800; letter-spacing: -.6px; }
.pf-login-art ul { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.pf-login-art li { position: relative; padding-left: 30px; font-size: 16px; line-height: 22px; opacity: .92; }
.pf-login-art li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pf-login .pf-auth { width: 100%; padding: 32px; gap: 18px; justify-content: center; }
.pf-auth-t h2 { font-size: 26px; line-height: 32px; font-weight: 800; letter-spacing: -.4px; }
.pf-auth-t p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 20px; }
.pf-auth .pf-btn { width: 100%; }
.pf-via { padding: 4px; border-radius: 14px; background: var(--field); gap: 4px; }
.pf-via button { flex: 1; height: 40px; border-radius: 10px; }
.pf-via button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pf-phone { position: relative; display: flex; align-items: center; gap: 0; height: 56px; border-radius: 16px; background: var(--field); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.pf-phone:focus-within, .pf-phone:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.pf-phone input, .pf-f .pf-phone input { flex: 1; min-width: 0; height: 56px; padding: 0 16px 0 8px; background: none; box-shadow: none !important; border: 0; outline: 0; }
.pf-cc { display: inline-flex; align-items: center; gap: 4px; height: 40px; margin-left: 8px; padding: 0 8px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; transition: background .2s; }
.pf-cc:hover, .pf-cc[aria-expanded="true"] { background: color-mix(in srgb, var(--text) 8%, transparent); }
.pf-cc-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.flag { display: block; width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.flag-globe { fill: none; stroke: currentColor; stroke-width: 1.8; box-shadow: none; width: 20px; height: 20px; }
.pf-cc-menu { position: absolute; z-index: 20; left: 0; top: calc(100% + 6px); width: min(320px, 100%); max-height: 280px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; border-radius: 16px; background: var(--card); box-shadow: 0 16px 40px rgba(0, 0, 0, .22), 0 0 0 1px var(--line); animation: fade-up .18s var(--ease-out) both; }
.pf-cc-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text); font-size: 15px; cursor: pointer; }
.pf-cc-menu li:hover { background: var(--field); }
.pf-cc-menu li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-cc-menu li b { color: var(--muted); font-weight: 500; }
.pf-phone-ro { display: flex; align-items: center; gap: 8px; }
.deal-guest { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--blue) 10%, transparent); font-size: 14px; line-height: 20px; }
.deal-guest span { color: var(--muted); }
.deal-guest .btn { align-self: flex-start; }
.wl-col { width: 100%; }
@media (min-width: 1024px) {
  .wl-col:not(.pay-col) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 48px; align-items: start; }
  .wl-col:not(.pay-col) > * { grid-column: 1; }
  .wl-col:not(.pay-col) > .wl-hist { grid-column: 2; grid-row: 1 / span 12; margin-top: 0; }
  .pay-col { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 48px; align-items: start; }
  .pay-col > * { grid-column: 2; }
  .pay-col > .pay-card { grid-column: 1; grid-row: 1 / span 12; }
}
@media (max-width: 1023px) {
  .pf-login { grid-template-columns: minmax(0, 1fr); }
  .pf-login-art { min-height: 0; padding: 24px; }
  .pf-login-art h2 { font-size: 24px; line-height: 30px; }
}
@media (max-width: 719px) {
  .pf-login-art { display: none; }
  .pf-login .pf-auth { padding: 20px; }
}

.pf { gap: 0; }
.pf-head { margin-bottom: 20px; }
.pf .notice { margin-bottom: 20px; }
.pf-admin { margin-bottom: 16px; }
.pf-wallet { height: 68px; padding: 0 20px; border-radius: 8px; font-size: 18px; }
.pf-user { width: min(100%, 507px); margin-top: 28px; }
.pf-user + .pf-edit, .pf-user ~ .pf-edit { margin-top: 28px; }
.pf-user ~ .pf-pills { margin-top: 32px; }
.pf-pills + .pf-pills-s { margin-top: 20px; }
.pf-pill { padding: 0 28px; border-radius: 80px; }
.pf-pill[aria-pressed="true"] { font-weight: 600; }
.pf-pills-s .pf-pill { height: 44px; padding: 0 28px; font-size: 18px; line-height: 28px; }
.pf-body { margin-top: 32px; }
.pf-edit + .pf-pills, .pf-edit ~ .pf-pills:not(.pf-pills-s) { margin-top: 32px; }

.pfm-card { width: min(600px, 100%); padding: 0; border-radius: 16px; }
.pfm { display: flex; flex-direction: column; padding-bottom: 24px; }
.pfm-title { padding: 32px 32px 0; text-align: center; font-size: 18px; line-height: 28px; font-weight: 700; }
.pfm-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 32px 16px; }
.pfm-ava { position: relative; display: grid; place-items: center; width: 120px; height: 120px; padding: 0; overflow: hidden; border: 0; border-radius: 50%; background: var(--pill, #f2f4f7); color: #8593ab; cursor: pointer; }
.pfm-ava img { width: 100%; height: 100%; object-fit: cover; }
.pfm-ava .avatar-ph { width: 72px; height: 72px; }
.pfm-link { border: 0; background: none; color: var(--blue); font: 400 14px/20px var(--font); cursor: pointer; }
.pfm-sec { display: flex; flex-direction: column; padding: 4px 0; border-top: 8px solid var(--bg-soft); }
.pfm-row { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 64px; padding: 10px 32px; border: 0; background: none; color: var(--text); text-align: left; text-decoration: none; font: inherit; cursor: pointer; transition: background .2s; }
.pfm-row:hover { background: var(--bg-soft); }
.pfm-static { cursor: default; }
.pfm-static:hover { background: none; }
.pfm-row > img, .pfm-row > svg:first-child { flex: none; width: 32px; height: 32px; }
.pfm-row > svg:last-child:not(:first-child) { flex: none; width: 24px; height: 24px; color: var(--muted); }
.pfm-txt { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.pfm-txt b { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 28px; font-weight: 400; }
.pfm-txt small { color: var(--muted); font-size: 14px; line-height: 24px; }
.pfm-new { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 8px; background: #11b55a; color: #fff; font: 700 14px/24px var(--font); font-style: normal; }
.pfm-state { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 80px; background: var(--bg-soft); color: var(--text); font-size: 16px; }
.pfm-state.on { height: 36px; padding: 0 14px; background: var(--blue); color: #fff; }
.pfm-blue, .pfm-blue .pfm-txt b { color: var(--blue); }
.pfm-red, .pfm-red .pfm-txt b { color: #ff1a4f; }
.pfm-soc { display: flex; flex-direction: column; gap: 12px; padding: 16px 32px 0; border-top: 1px solid var(--line); }
.pfm-soc small { color: var(--muted); font-size: 14px; line-height: 24px; }
.pfm-soc div { display: flex; gap: 12px; }
.pfm-soc img { display: block; width: 40px; height: 40px; }
.pfp-card { width: min(460px, 100%); }
.pfp { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 8px 0; text-align: center; }
.pfp h2 { font-size: 22px; line-height: 28px; font-weight: 700; }
.pfp p { color: var(--muted); font-size: 14px; line-height: 20px; }
.pfp .pf-btn { width: 100%; margin-top: 12px; }
@media (max-width: 719px) {
  .pfm-row, .pfm-soc { padding-left: 20px; padding-right: 20px; }
}
.pf-login-art { justify-content: center; }
.pf-login-logo { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
