/* Профиль игрока (A28). Только CSS-переменные темы: --card, --card-b, --text, --muted, --neon, --gold, --red. */
.pf-root { padding: 10px 12px 18px; color: var(--text); text-align: left; box-sizing: border-box; max-width: 100%; overflow-x: hidden; }
.pf-root *, .pf-root *::before, .pf-root *::after { box-sizing: border-box; }
.pf-sheet { padding: 0; margin: 0 -4px; }

.pf-hero { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--card-b); }
.pf-ava { position: relative; flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(255, 210, 63, .28), rgba(0, 0, 0, .25));
  border: 2px solid var(--gold); box-shadow: 0 0 18px rgba(255, 210, 63, .25); }
.pf-ava-e { font-size: 38px; line-height: 1; }
.pf-ava-coin { position: absolute; right: -6px; bottom: -6px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pf-ava-coin svg { width: 100%; height: 100%; display: block; }
.pf-who { min-width: 0; flex: 1; }
.pf-name { font-family: var(--font-head, inherit); font-size: 21px; color: var(--gold); line-height: 1.15; overflow-wrap: anywhere; }
.pf-nick { font-size: 12px; color: var(--muted); }
.pf-title { font-size: 13px; color: var(--neon); margin-top: 2px; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

.pf-chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px; font-size: 12px;
  background: var(--card); border: 1px solid var(--card-b); color: var(--text); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pf-chip.gold { border-color: rgba(255, 210, 63, .5); color: var(--gold); }
.pf-chip.hot { border-color: var(--neon); color: var(--neon); }
.pf-chip.bad { border-color: var(--red); color: var(--red); }
.pf-chip b { color: inherit; font-variant-numeric: tabular-nums; }

.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
.pf-grid > div { padding: 8px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--card-b); min-width: 0; }
.pf-grid i { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.pf-grid b { display: block; font-size: 16px; color: var(--neon); overflow-wrap: anywhere; }
.pf-grid small { font-size: 11px; color: var(--muted); font-weight: 400; }

.pf-bon { padding: 10px; border-radius: 16px; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 5px;
  background: linear-gradient(135deg, rgba(255, 210, 63, .08), var(--card)); border: 1px solid rgba(255, 210, 63, .3); }
.pf-h { width: 100%; font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 2px; }

.pf-sec { margin: 6px 0; border-radius: 14px; background: var(--card); border: 1px solid var(--card-b); overflow: hidden; }
.pf-sec > summary { list-style: none; cursor: pointer; padding: 11px 12px; font-weight: 700; font-size: 14px; display: flex; align-items: center; }
.pf-sec > summary::-webkit-details-marker { display: none; }
.pf-sec > summary::after { content: '▸'; margin-left: auto; color: var(--muted); transition: transform .2s; }
.pf-sec[open] > summary::after { transform: rotate(90deg); }
.pf-body { padding: 0 12px 10px; }
.pf-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13px; border-top: 1px dashed var(--card-b); }
.pf-row span { color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.pf-row b { color: var(--text); text-align: right; font-weight: 700; flex-shrink: 0; max-width: 60%; overflow-wrap: anywhere; }
.pf-row small { color: var(--muted); font-weight: 400; }

.pf-tiles { display: flex; flex-wrap: wrap; gap: 5px; padding: 6px 0; }
.pf-tile { position: relative; min-width: 36px; height: 36px; padding: 0 4px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  gap: 2px; font-size: 20px; background: rgba(0, 0, 0, .18); border: 1px solid var(--card-b); }
.pf-tile b { font-size: 11px; color: var(--gold); }
.pf-skin { width: 40px; height: 40px; padding: 3px; }
.pf-skin svg { width: 100%; height: 100%; }
.pf-skin.on { border-color: var(--gold); box-shadow: 0 0 8px rgba(255, 210, 63, .4); }

.pf-muted { color: var(--muted); font-size: 13px; padding: 4px 0; }
.pf-pad { padding: 8px 4px; text-align: center; }
.pf-gold { color: var(--gold) !important; }
.pf-btns { display: flex; gap: 8px; margin-top: 10px; }
.pf-btns > button { flex: 1; }

/* Лайт/Батарея — без анимаций */
.pf-lite .pf-sec > summary::after { transition: none; }
.pf-lite .pf-ava { box-shadow: none; }
