/* Профіль гравця (player.html) і кабінет (me.html), 23.10 — та сама візуальна мова, що й екран лобі: фон-арт (зала
   трофеїв, art.css: --art-profile / --art-profile-m), темні панелі з золотими заголовками, усе кнопками.
   Статичний каркас: шапка, плитки й картки графіків мають розмір наперед (однаковий у гравця з історією й у новачка),
   дані лише заповнюють місця — нічого не стрибає, поки вантажиться. Графіки — public/profile.js (власний SVG). */
html.pf-page, html.pf-page body { background: #0b0805; }
/* тепла палітра замість холодної старої теми сайту (style.css) — для редактора персонажа, полів, кнопок */
html.pf-page { --muted: #a89c84; --line: rgba(255, 209, 102, .2); --text: #eadfc8; --panel: rgba(23, 16, 9, .92); }
.pf-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(180deg, rgba(11, 8, 5, .45) 0%, rgba(11, 8, 5, .72) 40%, rgba(11, 8, 5, .9) 100%),
    var(--art-profile, none), radial-gradient(ellipse at 50% -10%, #4a3112 0%, #1a1009 45%, #0b0805 80%);
  background-size: cover; background-position: center top; background-repeat: no-repeat; }
.pf-wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 26px 20px 48px; color: #eadfc8; }
.pf-panel { border-radius: 18px; background: rgba(23, 16, 9, .92); border: 1px solid rgba(255, 209, 102, .18); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }

/* ---------- шапка: персонаж, нік, бейджі, історія ніків, кнопки ---------- */
/* 24.10: замість повного зросту — кругле обличчя (голова з шоломом), як аватари в меню й кімнаті, і рамка аватара (.fr.fr-l,
   public/art/frames.css) навколо. Місце під рамку є завжди (margin) — з рамкою й без шапка однакова. */
.pf-head { display: grid; grid-template-columns: 194px minmax(0, 1fr) auto; gap: 22px; align-items: center; min-height: 206px; padding: 18px 22px; margin-bottom: 16px; }
.pf-ava { width: 128px; height: 128px; margin: 33px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(255, 209, 102, .22), transparent 70%), linear-gradient(#2a1d10, #120c06);
  border: 2px solid rgba(255, 209, 102, .45); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.pf-ava canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 50%; }
.pf-ava.fr { border-color: transparent; }
/* 24.10 вечір (Саша): на сторінці гравця — персонаж на ПОВНИЙ зріст. 25.10 (Саша): за ним — нічого: ні жовтого кола, ні
   рамки аватара кільцем («порталу»); рамка — лише навколо облич (кабінет, меню, кімната, таблиця рейтингу). */
.pf-ava.pf-full { width: 194px; height: 206px; margin: -10px 0 -10px; border: 0; border-radius: 0; box-shadow: none; background: none; }
.pf-ava.pf-full canvas { z-index: 4; border-radius: 0; }
.pf-ava.guest { background-image: var(--art-classic, none), linear-gradient(#2a1d10, #120c06); background-size: 360%, cover; background-position: 47% 30%, center; }
.pf-who { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pf-nick { margin: 0; font: 400 40px/1.08 var(--display); color: #fff3da; text-shadow: 0 2px 0 #000; /* без світіння: overflow його обрізав би прямокутником */
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 1.08em; }
.pf-badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; min-height: 22px; }
.pf-bdg { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font: 800 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.pf-bdg.vip { background: linear-gradient(180deg, #ffe39a, #ffb43f); color: #2b1800; }
.pf-bdg.adm { background: rgba(255, 107, 107, .18); color: #ffb3b3; border: 1px solid rgba(255, 107, 107, .5); }
.pf-bdg.me { background: rgba(255, 255, 255, .08); color: #e8dcc2; border: 1px solid rgba(255, 255, 255, .16); }
/* чемпіон тижня / сезону (24.10) */
.pf-bdg.champ { text-transform: none; letter-spacing: .02em; font-size: 12px; }
.pf-bdg.champ.week { background: rgba(200, 214, 235, .14); color: #e6eefb; border: 1px solid rgba(200, 214, 235, .5); }
.pf-bdg.champ.season { background: linear-gradient(180deg, rgba(255, 209, 102, .3), rgba(183, 122, 18, .3)); color: #ffe7a8; border: 1px solid rgba(255, 209, 102, .7); }
.pf-since { margin: 0; color: #c9bc9f; font-size: 15px; min-height: 1.4em; }
.pf-nicks { margin: 0; color: #a89c84; font-size: 14px; min-height: 1.4em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-nicks .nick { color: #e8dcc2; font-size: 14px; }
.pf-act { display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
.pf-act .btn { height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; line-height: 1; }

/* ---------- плитки: тиждень, сезон, рік, перемоги, ігри, відсоток ---------- */
.pf-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.pf-tile { height: 116px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.pf-tile .k { color: #c9bc9f; font: 700 12px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-tile .v { font: 800 30px/1 var(--font); color: #fff3da; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-tile .v small { font-size: 14px; font-weight: 600; color: #c9bc9f; margin-left: 5px; }
.pf-tile .d { color: #a89c84; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

/* ---------- графіки: картка = заголовок + місце під графік фіксованої висоти ---------- */
.pf-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.pf-card { padding: 16px 18px 14px; min-width: 0; }
.pf-card.wide { grid-column: 1 / -1; }
.pf-ch { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; height: 26px; margin-bottom: 8px; }
.pf-ch h2 { margin: 0; font: 800 17px/1.2 var(--font); color: #ffe7a8; white-space: nowrap; }
.pf-ch small { color: #a89c84; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pf-legend { display: flex; gap: 14px; align-items: center; font-size: 13px; color: #e8dcc2; white-space: nowrap; }
.pf-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pf-plot { position: relative; height: 240px; }
.pf-card.wide .pf-plot { height: 220px; }
.pf-plot svg { display: block; width: 100%; height: 100%; overflow: visible; font-family: var(--font); }
.pf-plot .hit { cursor: crosshair; touch-action: pan-y; }
.pf-tip { position: absolute; z-index: 3; pointer-events: none; min-width: 120px; padding: 8px 10px; border-radius: 10px; background: #1e150b; border: 1px solid rgba(255, 209, 102, .3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-size: 13px; line-height: 1.45; color: #eadfc8; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); }
.pf-tip .t { color: #a89c84; }
.pf-tip b { color: #fff3da; }
.pf-tip i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }
/* порожній стан — на місці графіка, тієї ж висоти: без порожніх осей */
.pf-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px;
  border-radius: 14px; border: 1.5px dashed rgba(255, 209, 102, .18); background: radial-gradient(ellipse at 50% 40%, rgba(255, 209, 102, .07), transparent 70%); }
.pf-empty .ico { font-size: 30px; line-height: 1; filter: saturate(.7); }
.pf-empty b { color: #fff3da; font-size: 17px; }
.pf-empty p { margin: 0; max-width: 420px; color: #c9bc9f; font-size: 14px; line-height: 1.45; }
.pf-empty .btn { margin-top: 4px; text-decoration: none; }

/* ---------- матчі ---------- */
.pf-matches { padding: 16px 18px; }
.pf-matches .tablewrap { overflow-x: auto; }
.pf-tb { width: 100%; border-collapse: collapse; font-size: 15px; }
.pf-tb th { text-align: left; color: #a89c84; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid rgba(255, 209, 102, .16); white-space: nowrap; }
.pf-tb td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-variant-numeric: tabular-nums; vertical-align: middle; }
.pf-tb .num { text-align: right; }
.pf-tb td.where { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-tb td.where span { color: #a89c84; }
.pf-tb .win { color: #ffe7a8; font-weight: 700; }
.pf-tb .pts { color: #fff3da; font-weight: 800; }
.pf-tb .zero { color: #7d705a; }
.pf-tb .up { color: #6ff0b6; font-weight: 700; }
.pf-tb .down { color: #ff9b9b; font-weight: 700; }
.pf-note { margin: 10px 2px 0; color: #8f846e; font-size: 13px; }
.pf-more { margin-top: 12px; }
.pf-none { margin: 0; padding: 26px 6px; text-align: center; color: #c9bc9f; }
.pf-err { padding: 40px 20px; text-align: center; color: #ffb3b3; font-weight: 600; }

/* ---------- кабінет ---------- */
.cab-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.cab-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cab-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
/* редактор у режимі «лише обличчя» (EDITOR_PREVIEW = 'face' у me.html) — коло */
.pf-page .hero-cv.face { aspect-ratio: 1; border-radius: 50%; max-width: 260px; margin: 0 auto; }

/* ---------- рамка аватара (24.10): плитки «Без рамки» + 7 рамок, у кожній — твоє обличчя (public/frame-pick.js) ---------- */
.frp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.frp-tile { appearance: none; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 12px 6px 10px;
  border-radius: 14px; border: 1.5px solid rgba(255, 209, 102, .14); background: rgba(0, 0, 0, .28); color: #eadfc8; cursor: pointer; font-family: var(--font); }
.frp-tile:hover { border-color: rgba(255, 209, 102, .4); background: rgba(255, 209, 102, .05); }
.frp-tile:focus-visible { outline: 2px solid #ffd166; outline-offset: 2px; }
.frp-tile.on { border-color: #ffd166; background: rgba(255, 209, 102, .12); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, .35); }
/* обличчя 56 px, рамка навколо (inset −26 % → 85 px) — місце під неї є завжди, з рамкою й без плитка однакова */
.frp-ava { position: relative; display: block; width: 56px; height: 56px; margin: 15px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 209, 102, .22), transparent 70%), linear-gradient(#2a1d10, #120c06); border: 1px solid rgba(255, 209, 102, .35); }
.frp-ava canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 50%; }
.frp-ava.fr { border-color: transparent; }
/* «Приміряти» рамку й дублі (24.10 вечір) */
.frp-tile.trying { border-color: #8fd3ff; box-shadow: inset 0 0 0 2px rgba(143, 211, 255, .35); }
.frp-dup { position: absolute; top: 6px; right: 6px; z-index: 5; padding: 0 6px; border-radius: 999px; background: linear-gradient(180deg, #ffe39a, #ffb43f); color: #2b1800; font: 800 11px/17px var(--font); }
.frp-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(18, 12, 6, .6); border: 1px solid rgba(143, 211, 255, .55); color: #fff3da; font-size: 14px; }
.frp-try[hidden] { display: none; }
.frp-try-t { flex: 1 1 220px; }
.frp-try-act { display: flex; gap: 8px; align-items: center; }
.frp-try-act [hidden] { display: none; }
.frp-tile.locked .frp-ava canvas { opacity: .7; }
.frp-name { max-width: 100%; font: 800 14px/1.2 var(--font); color: #fff3da; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frp-st { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 8px; border-radius: 999px; font: 700 12px/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.frp-st.on { background: linear-gradient(180deg, #ffe39a, #ffb43f); color: #2b1800; }
.frp-st.mine { color: #9be3b3; background: rgba(46, 204, 113, .1); }
.frp-st.lock { color: #ffe7a8; background: rgba(10, 7, 4, .8); border: 1px solid rgba(255, 209, 102, .4); }
.frp-st .coin { font-size: 12px; }
.frp-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: #c9bc9f; }
.frp-msg.ok { color: #9be3b3; }
.frp-msg.err { color: #ff9b9b; }
/* у діалозі покупки — більше */
.frp-ava.frp-big { width: 84px; height: 84px; margin: 22px; flex: none; }
.cab-card { padding: 18px 20px; min-width: 0; }
.cab-card h2 { margin: 0 0 6px; font: 800 18px/1.2 var(--font); color: #ffe7a8; }
.cab-card .sub { margin: 0 0 14px; color: #c9bc9f; font-size: 14px; line-height: 1.45; }
.cab-card .form { max-width: none; }
.cab-card .field input { width: 100%; }
.cab-card .err, .cab-card .ok { min-height: 1.4em; margin: 0; font-size: 14px; }
/* пошта й пароль (23.10) */
.pf-page [hidden] { display: none !important; }
.cab-mail { margin: 0 0 12px; color: #c9bc9f; font-size: 15px; overflow-wrap: anywhere; }
.cab-mail b { color: #fff3da; font-weight: 700; }
.cab-mail b.none { color: #ffcf7a; font-weight: 600; }
.cab-pending { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 159, 28, .1); border: 1px solid rgba(255, 159, 28, .35); }
.cab-pending p { margin: 0 0 8px; color: #f3e6c8; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.cab-pending .btn { height: 40px; }
.cab-card .muted.small { margin: 0; color: #a89c84; font-size: 13px; line-height: 1.45; }
/* м'яке «Додай пошту» для старих акаунтів — над редактором, не блокує нічого */
.cab-ask { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 16px; border-color: rgba(255, 159, 28, .45); }
.cab-ask-i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: rgba(255, 159, 28, .14); color: #ffcf7a; }
.cab-ask-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cab-ask-t b { color: #ffe7a8; font: 800 16px/1.2 var(--font); }
.cab-ask-t span { color: #c9bc9f; font-size: 14px; line-height: 1.4; }
.cab-ask .btn { flex: none; height: 42px; display: inline-flex; align-items: center; text-decoration: none; }
#email, #password, #wallet, #hero { scroll-margin-top: 80px; }

/* ---------- коіни й VIP у кабінеті (24.10) ---------- */
.cab-wal-top { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; }
.cab-wal-top .coin { font-size: 34px; }
.cab-wal-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cab-wal-n b { font: 800 26px/1 var(--font); color: #ffe7a8; font-variant-numeric: tabular-nums; }
.cab-wal-n span { color: #a89c84; font-size: 13px; }
.cab-wal-top .btn { height: 40px; display: inline-flex; align-items: center; text-decoration: none; }
.cab-wal-vip { margin: 0 0 12px; color: #8ff0bf; font-weight: 700; font-size: 14px; min-height: 20px; }
.cab-wal-vip.vip-soon { color: #ffcf7a; } /* не «.soon» — він зайнятий модом «скоро» (style.css, накладка ::before на весь блок) */
.cab-wal-sub { margin: 4px 0 6px; color: #c9bc9f; font: 700 12px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.cab-hist { margin: 0 0 10px; padding: 0; list-style: none; max-height: 260px; overflow-y: auto; }
.cab-hi { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; grid-template-areas: "d w a" "d s s"; gap: 0 10px; padding: 7px 2px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 13.5px; }
.cab-hi .d { grid-area: d; color: #8f846e; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cab-hi .w { grid-area: w; color: #e8dcc2; overflow-wrap: anywhere; }
.cab-hi .a { grid-area: a; color: #fff3da; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cab-hi .s { grid-area: s; color: #a89c84; font-size: 12px; }
.cab-hi .s:empty { display: none; }
.cab-hi.plus .a, .cab-hi.approved .a { color: #8ff0bf; }
.cab-hi.minus .a { color: #ffb3b3; }
.cab-hi.declined .s, .cab-hi.expired .s, .cab-hi.mismatch .s { color: #ffb3b3; }
.cab-hi.refunded .s { color: #ffcf7a; }
/* 28.10: у кабінеті — 3 останні покупки (без прокрутки) і посилання на всю історію /purchases */
.cab-hi.g-failed .s { color: #ffb3b3; }
.cab-hi.g-pending .s { color: #ffe7a8; }
.cab-hi.g-paid .s { color: #8ff0bf; }
.cab-wal-all { display: inline-block; margin: 0 0 12px; color: #ffd166; font: 700 14px/1.3 var(--font); text-decoration: none; }
.cab-wal-all:hover, .cab-wal-all:focus-visible { text-decoration: underline; }

/* ---------- «Підтверди пошту» й «Новий пароль» (verify.html, reset.html) ---------- */
.acc-wrap { display: flex; justify-content: center; align-items: flex-start; min-height: calc(100vh - 220px); padding-top: 48px; }
.acc-card { width: min(520px, 100%); padding: 28px 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.acc-icon { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 32px;
  background: radial-gradient(ellipse at 50% 90%, rgba(255, 209, 102, .3), transparent 65%), linear-gradient(#2a1d10, #120c06); border: 2px solid rgba(255, 209, 102, .45); }
.acc-card[data-state="ok"] .acc-icon, .acc-card[data-state="done"] .acc-icon { border-color: rgba(46, 204, 113, .7); }
.acc-card[data-state="bad"] .acc-icon { border-color: rgba(255, 107, 107, .7); }
.acc-h { margin: 4px 0 0; font: 400 30px/1.15 var(--display); color: #fff3da; }
.acc-p { margin: 0; color: #eadfc8; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; min-height: 1.5em; }
.acc-muted { margin: 0; color: #a89c84; font-size: 14px; line-height: 1.5; }
.acc-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.acc-row:empty { display: none; }
.acc-row .btn { min-width: 220px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.acc-msg { margin: 0; font-size: 14px; }
.acc-msg:empty { display: none; }
.acc-fix { width: 100%; text-align: left; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 10px; }
.acc-fix summary { cursor: pointer; color: #ffd166; font-weight: 600; font-size: 14px; text-align: center; list-style: none; }
.acc-fix summary::-webkit-details-marker { display: none; }
.acc-fix .form { margin-top: 12px; max-width: none; }
.acc-form { width: 100%; text-align: left; max-width: none; }
.acc-link { appearance: none; border: 0; background: none; color: #a89c84; font: 600 14px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px; }
.cab-acc { display: flex; flex-direction: column; gap: 10px; }
.cab-acc .line { margin: 0; color: #e8dcc2; font-size: 15px; overflow-wrap: anywhere; }
.cab-acc .btn { height: 44px; }
.cab-guest { padding: 26px 22px; text-align: center; }
.cab-guest .row { justify-content: center; }
/* редактор персонажа в теплій палітрі (базові стилі — site.css) */
.pf-page .hero-cv, .pf-page .hero-mini { background: radial-gradient(ellipse at 50% 88%, rgba(255, 209, 102, .2), transparent 62%), linear-gradient(#2a1d10, #120c06);
  border-color: rgba(255, 209, 102, .3); }
.pf-page .tile { background: rgba(255, 255, 255, .05); }
.pf-page .tile.on { border-color: #ffd166; background: rgba(255, 209, 102, .14); }
.pf-page .hero-ed .tabs { background: rgba(0, 0, 0, .3); }
.pf-page .field input { background: rgba(0, 0, 0, .35); border-color: rgba(255, 209, 102, .22); }

/* ---------- вузько й телефон ---------- */
@media (max-width: 1040px) {
  .pf-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cab-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pf-wrap { padding: 16px 12px 36px; }
  .acc-wrap { padding-top: 20px; min-height: 0; }
  .acc-card { padding: 22px 16px 18px; }
  .acc-h { font-size: 25px; }
  .acc-row .btn { min-width: 0; width: 100%; }
  .cab-ask { flex-wrap: wrap; padding: 14px; }
  .cab-ask .btn { width: 100%; justify-content: center; }
  .pf-head { grid-template-columns: 98px minmax(0, 1fr); grid-template-areas: "ava who" "act act"; gap: 12px 14px; min-height: 0; padding: 14px; }
  .pf-ava { grid-area: ava; width: 66px; height: 66px; margin: 16px; }
  .pf-ava.pf-full { width: 98px; height: 120px; margin: -6px 0; }
  .pf-who { grid-area: who; gap: 6px; }
  .pf-act { grid-area: act; flex-direction: row; min-width: 0; }
  .pf-act .btn { flex: 1; height: 42px; padding: 0 10px; font-size: 14px; }
  .pf-nick { font-size: 26px; }
  .pf-since, .pf-nicks { font-size: 13px; }
  .pf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pf-tile { height: 100px; padding: 12px; }
  .pf-tile .v { font-size: 24px; }
  .pf-charts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pf-card { padding: 14px 12px 12px; }
  .pf-plot, .pf-card.wide .pf-plot { height: 210px; }
  .pf-ch { height: auto; min-height: 26px; flex-wrap: wrap; row-gap: 4px; }
  .pf-tb { font-size: 13.5px; }
  .pf-tb th, .pf-tb td { padding: 8px 6px; }
  .pf-tb .hide-sm { display: none; }
  .pf-tb td.where { max-width: 120px; }
  .frp-grid { gap: 6px; }
  .frp-tile { padding: 6px 2px 8px; gap: 4px; }
  .frp-ava { width: 44px; height: 44px; margin: 12px; }
  .frp-name { font-size: 12.5px; }
  .frp-st { padding: 0 6px; font-size: 11px; }
}
/* телефон у портреті: фон кадровано на край із кубками (art.css: --art-profile-m) */
@media (max-width: 700px) and (orientation: portrait) {
  .pf-bg { background-image: linear-gradient(180deg, rgba(11, 8, 5, .4) 0%, rgba(11, 8, 5, .74) 30%, rgba(11, 8, 5, .92) 100%),
    var(--art-profile-m, var(--art-profile, none)), radial-gradient(ellipse at 50% -10%, #4a3112 0%, #1a1009 45%, #0b0805 80%);
    background-position: left top; }
}
