/* Профиль — как экран «Профиль» в приложении: плоские бежевые карточки,
   поля с тонкой рамкой, кнопки-пилюли. */
#profile-screen.pf { padding-top: 40px; }
.pf-title { font: 800 34px/1.1 "Onest", system-ui, sans-serif; letter-spacing: -.01em; color: var(--ink); }
.pf-frog { display: block; width: 116px; margin: 22px auto 24px; animation: pcFloat 3.6s ease-in-out infinite; }
.pf-card { background: #f3ecda; border-radius: 24px; padding: 20px 20px 22px; margin-bottom: 14px; animation: pfIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.pf-card:nth-of-type(2) { animation-delay: .04s; } .pf-card:nth-of-type(3) { animation-delay: .08s; } .pf-card:nth-of-type(4) { animation-delay: .12s; }
@keyframes pfIn { from { opacity: 0; transform: translateY(10px); } }
.pf-card h3 { font: 700 20px/1.2 "Onest", system-ui, sans-serif; color: #4b5a46; margin-bottom: 12px; }
.pf-text { font-size: 16px; line-height: 1.6; color: #4b5a46; }
.pf-small { font-size: 14px; margin: -4px 0 14px; }
.pf-field { width: 100%; height: 56px; padding: 0 16px; margin-bottom: 12px; font: 400 16px "Onest", system-ui, sans-serif; color: var(--ink); background: transparent; border: 1.5px solid var(--ink); border-radius: 6px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.pf-field:focus { border-color: var(--green-600); box-shadow: 0 0 0 1px var(--green-600); }
.pf-field::placeholder { color: rgba(17, 36, 15, .55); }
.pf-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border: 0; border-radius: 999px; background: var(--green-600); color: #fff; font: 600 16px "Onest", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: filter .15s ease, transform .12s ease; }
.pf-btn:hover { filter: brightness(.95); text-decoration: none; }
.pf-btn:active { transform: scale(.98); }
.pf-btn:disabled { opacity: .6; cursor: default; }
.pf-wide { height: 56px; border-radius: 24px; margin-bottom: 12px; }
.pf-danger { background: #e0472f; }
.pf-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pf-row { display: flex; gap: 10px; }
.pf-row .pf-btn { flex: 1; }
.pf-modal-back { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(17, 36, 15, .4); animation: pfFade .15s ease both; }
@keyframes pfFade { from { opacity: 0; } }
.pf-modal { width: 100%; max-width: 420px; background: var(--bg); border-radius: 28px; padding: 24px; animation: pfIn .25s cubic-bezier(.2, .8, .2, 1) both; }
.pf-modal h3 { font: 700 22px "Onest", system-ui, sans-serif; margin-bottom: 16px; }
.pf-error { color: #e0472f; font-size: 14px; margin: -2px 0 12px; }
@media (prefers-reduced-motion: reduce) { .pf-card, .pf-frog, .pf-modal { animation: none; } }

/* Друзья — как в приложении: заголовок с «Обновить», разделы без плашек. */
.pf-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pf-head .pf-title { margin: 0; }
.pf-link { border: 0; background: none; color: var(--green-600); font: 500 17px "Onest", system-ui, sans-serif; cursor: pointer; padding: 6px 0; }
.pf-section { font: 700 20px/1.2 "Onest", system-ui, sans-serif; color: var(--ink); margin: 20px 0 10px; }
.pf-friends .empty { border: 0 !important; background: none !important; box-shadow: none !important; text-align: left; padding: 0 !important; color: #5b6b55; font-size: 16px; line-height: 1.5; }
.pf-friends #friends-search { margin-top: 2px; }
.pf-results { margin-top: 14px; }
.pf-friends .conversation-list { border: 0; box-shadow: none; background: none; padding: 0; }
.pf-friends .pf-section:has(+ #friends-requests .empty), .pf-friends #friends-requests:has(.empty) { display: none; }

/* Задания — жёлтая карточка «Лексика» и тихий пустой текст, как в приложении. */
.pf-sticker { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; margin: 4px 0 22px; text-align: left; cursor: pointer;
  background: var(--sun); border: var(--stroke); border-radius: 26px; box-shadow: var(--shadow-lg); font-family: inherit; color: var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.pf-sticker:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.pf-sticker-ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; font-size: 26px; background: #fff; border: var(--stroke); border-radius: 16px; }
.pf-sticker-txt { flex: 1; min-width: 0; }
.pf-sticker-txt b { display: block; font-size: 17px; font-weight: 700; }
.pf-sticker-txt span { display: block; font-size: 14px; color: #5b6b55; margin-top: 2px; }
.pf-sticker-arrow { font-size: 22px; }
.pf-empty { color: #5b6b55; font-size: 16px; line-height: 1.5; padding: 0 4px; }
.pf-assign.empty { border: 0; background: none; box-shadow: none; padding: 0; }
