/* GRISHKA_FIGHTER_V14 — экран «Мой боец». Только CSS-переменные тем, поэтому выглядит своим в любой теме. */
.fx-entry, .fx-pub { margin-bottom: 12px; cursor: pointer; border: 1px solid var(--stroke); }
.fx-pub { margin: 10px 0 0; cursor: default; text-align: left; }
.fx-eico { background: var(--accent-soft); font-size: 24px; }
.fx-chev { font-size: 26px; color: var(--muted); line-height: 1; padding-right: 4px; }
#prof-career + .fx-entry { margin-top: 10px; margin-bottom: 0; }

.fx-hero { display: grid; grid-template-columns: 64px 1fr 64px; gap: 8px; align-items: center; margin: 4px 0 12px; }
.fx-col { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fx-slot { position: relative; width: 60px; height: 60px; border-radius: 18px; border: 2px solid var(--stroke-2); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; padding: 0; color: var(--text); transition: transform .18s var(--spring); box-shadow: var(--shadow-sm); }
.fx-slot:active { transform: scale(.92); }
.fx-slot span { font-size: 28px; line-height: 1; }
.fx-slot i { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--muted);
  background: var(--bg); padding: 0 4px; border-radius: 6px; white-space: nowrap; }
.fx-slot.empty span { opacity: .22; filter: grayscale(1); }
.fx-slot.empty { border-style: dashed; }
.fx-doll { position: relative; height: 250px; display: flex; align-items: flex-end; justify-content: center; }
.fx-doll img { position: relative; max-height: 240px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .25)); }
.fx-glow { position: absolute; left: 10%; right: 10%; bottom: 0; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-soft), transparent); }
.fx-lvl { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); padding: 4px 11px; border-radius: 99px; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 13px; box-shadow: var(--shadow-sm); }
.fx-power { margin-top: 6px; text-align: center; line-height: 1.1; }
.fx-power small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.fx-power b { font-size: 18px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

.r-common { --rc: #9aa0ab; } .r-rare { --rc: #4c8dff; } .r-epic { --rc: #a463ff; } .r-legendary { --rc: #f0b43c; }
.fx-slot.r-common, .fx-slot.r-rare, .fx-slot.r-epic, .fx-slot.r-legendary { border-color: var(--rc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc) 18%, transparent); }
.fx-slot.r-legendary { animation: fxShine 2.6s ease-in-out infinite; }
@keyframes fxShine { 50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc) 30%, transparent), 0 0 18px color-mix(in srgb, var(--rc) 45%, transparent); } }

.fx-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.fx-stat { padding: 9px 4px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); text-align: center; display: flex; flex-direction: column; gap: 2px; }
.fx-stat span { font-size: 17px; line-height: 1; }
.fx-stat b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fx-stat small { font-size: 10px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.fx-stat em { font-style: normal; color: var(--good); }
.fx-up { min-height: 52px; font-size: 16px; }
.fx-up .coin { margin: 0 4px 0 6px; }
.fx-gain { text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 600; margin: 6px 0 12px; }
.fx-seg { margin-top: 4px; }
.fx-chips { display: flex; gap: 6px; overflow-x: auto; margin: -4px 0 10px; padding-bottom: 2px; scrollbar-width: none; }
.fx-chips::-webkit-scrollbar { display: none; }
.fx-chip { flex: none; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--stroke); background: var(--surface); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fx-chip.on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.fx-item { border: 1px solid var(--stroke); cursor: pointer; }
.fx-item.on { border-color: var(--rc); }
.fx-it { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--surface-2);
  box-shadow: inset 0 0 0 2px var(--rc); }
.fx-r { color: var(--rc); font-weight: 700; }
.fx-act { flex: none; }
.fx-act .btn-sm { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.fx-tag { display: inline-block; padding: 5px 9px; border-radius: 9px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.fx-tag.lock { opacity: .85; }
.fx-note { margin: 14px 2px 0; font-size: 12px; text-align: center; }

.fx-sheet { text-align: center; }
.fx-big { width: 96px; height: 96px; margin: 2px auto 10px; border-radius: 28px; display: grid; place-items: center; font-size: 54px; background: var(--surface-2);
  box-shadow: inset 0 0 0 3px var(--rc), 0 8px 26px color-mix(in srgb, var(--rc) 30%, transparent); }
.fx-sheet.r-legendary .fx-big { animation: fxShine 2.6s ease-in-out infinite; }
.fx-st { font-size: 22px; font-weight: 800; }
.fx-sheet .fx-r { font-size: 13.5px; margin-top: 2px; }
.fx-lines { margin: 14px 0 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.fx-lines div { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; font-weight: 600; }
.fx-lines b { color: var(--good); }
.fx-cmp { margin-top: 10px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.fx-sheet .btn + .btn { margin-top: 8px; }
.fx-sell.danger { color: var(--bad); border-color: var(--bad); }
body[data-theme="comic"] .fx-power b, body[data-theme="notebook"] .fx-power b { color: var(--text); }
