{% extends "_base.html" %}
{% from "_macros.html" import icon, avatar %}
{#- 内容对照 bf-manager 网页的 PlayerHeroBanner 与 CareerOverview,排版改成整宽纵向,方便手机看。 -#}
{% block style %}
.hero { position: relative; overflow: hidden; min-height: 400px; background: var(--panel);
clip-path: polygon(0 26px, 26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
background: linear-gradient(90deg, var(--amber-deep), rgba(245,158,11,.2) 60%, transparent); }
.hero.banned::after { background: linear-gradient(90deg, var(--red), rgba(239,68,68,.3) 60%, transparent); }
.portrait { position: absolute; right: 10px; bottom: 0; height: 400px; opacity: .95; }
.hero.banned .portrait, .hero.banned .who { filter: grayscale(1); }
.best { position: absolute; right: 28px; bottom: 22px; z-index: 1; text-align: right;
padding: 8px 14px; background: rgba(0,0,0,.65); }
.best .t { font-size: 17px; color: var(--muted); }
.best .v { font-size: 30px; font-weight: 700; }
.hero-body { position: relative; z-index: 1; padding: 28px 330px 30px 30px; }
.warn { margin-bottom: 16px; padding: 8px 16px; background: #b91c1c; font-weight: 700; font-size: 20px; }
.status { display: flex; flex-wrap: wrap; gap: 10px; font-size: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; background: rgba(255,255,255,.1); color: var(--soft); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #a1a1aa; }
.chip.on { background: rgba(16,185,129,.22); color: #a7f3d0; }
.chip.on .dot { background: #34d399; }
.ban { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; font-weight: 700; background: rgba(255,255,255,.1); }
.ban img { width: 26px; height: 26px; border-radius: 50%; }
.ban.clean .src { color: #6ee7b7; }
.ban .st { font-weight: 400; color: var(--muted); }
.ban.hit { background: rgba(185,28,28,.55); }
.ban.hit .st { color: #fecaca; font-weight: 900; }
.who { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.platoon { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--soft); }
.platoon img { width: 32px; height: 32px; object-fit: contain; }
.platoon .ok { color: var(--amber); font-size: 17px; }
h1 { margin: 0; font-family: "Oswald", "SC", "WenQuanYi Zen Hei", sans-serif; font-size: 50px; line-height: 1.15; font-weight: 700; word-break: break-all; }
h1 .tag { color: var(--muted); margin-right: 12px; }
.meta { display: flex; align-items: center; gap: 18px; margin-top: 6px; font-size: 19px; color: var(--soft); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.lv { font-family: "Oswald", sans-serif; font-size: 20px; font-weight: 700; padding: 0 8px; border: 2px solid; }
.core { display: flex; align-items: flex-end; gap: 36px; margin-top: 24px; }
.core .kd-t { font-size: 18px; color: var(--amber); letter-spacing: .1em; }
.core .kd { font-family: "Oswald", sans-serif; font-size: 104px; line-height: .95; font-weight: 700; color: var(--amber); margin-top: 4px; }
.kpis { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 36px; padding-bottom: 4px; }
.kpis .v { font-family: "Oswald", sans-serif; font-size: 36px; font-weight: 700; line-height: 1.15; }
section.panel { margin-top: 18px; }
.splits { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.split .track { display: flex; gap: 4px; height: 14px; margin-top: 10px; }
.split .track i { display: block; }
.split .ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 19px; color: var(--soft); }
.split .ends b { font-family: "Oswald", sans-serif; font-size: 22px; margin-left: 4px; }
.split .ends em { font-style: normal; color: var(--muted); margin: 0 6px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 24px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.tiles .label { display: flex; align-items: center; gap: 8px; }
.tiles .v { font-family: "Oswald", sans-serif; font-size: 36px; font-weight: 700; line-height: 1.2; }
.tiles .v.hot { color: var(--amber-soft); }
.tiles .rate { font-size: 17px; color: var(--muted); margin-left: 8px; font-family: "SC", sans-serif; font-weight: 400; }
.cls { display: grid; grid-template-columns: 60px minmax(0, 1fr) 128px 104px 70px 70px; gap: 0 16px; align-items: center; }
.cls.head { padding: 0 8px 10px; font-size: 17px; color: var(--muted); }
.cls.head span:nth-child(n+3), .cls .n { text-align: right; }
.cls.row { padding: 8px; border-top: 1px solid var(--line); }
.cls.best-row { background: rgba(245,158,11,.12); }
.cls .pic { width: 60px; height: 60px; overflow: hidden; background: rgba(255,255,255,.08); }
.cls .pic img { display: block; width: 100%; height: 180%; object-fit: cover; object-position: top; }
.cls .top { display: flex; align-items: center; gap: 10px; }
.cls .cname { font-size: 22px; font-weight: 700; }
.cls.best-row .cname { color: var(--amber-soft); }
.cls .badge { background: var(--amber); color: #000; font-size: 15px; font-weight: 700; line-height: 22px; padding: 0 6px; }
.cls .share { margin-left: auto; font-size: 18px; color: var(--muted); }
.cls .bar { margin-top: 8px; }
.cls .bar i { background: rgba(255,255,255,.55); }
.cls.best-row .bar i { background: var(--amber); }
.cls .n { font-family: "Oswald", sans-serif; font-size: 22px; color: var(--soft); }
.gear-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.gear-row .panel { margin: 0; }
.gear-item + .gear-item { margin-top: 16px; }
.gear-item .line { display: flex; align-items: center; gap: 14px; }
.gear-item .img { width: 176px; height: 78px; flex: none; display: flex; align-items: center; justify-content: center;
background: #7e7e84; }
.gear-item .img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 4px; }
.gear-item .body { flex: 1; min-width: 0; }
.gear-item .name { font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gear-item .k { font-family: "Oswald", sans-serif; font-size: 24px; font-weight: 700; color: var(--amber); }
.gear-item .k small { font-family: "SC", sans-serif; font-size: 17px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.gear-item .bar { margin-top: 6px; height: 6px; }
.empty { padding: 18px 0; text-align: center; font-size: 18px; color: var(--muted); }
{% endblock %}
{% block body %}
{{ b.source }}
{%- if b.state == "hit" %}{{ b.hit_text }}{% elif b.state == "unknown" %}无信息{% endif %}
{% endfor %}
{% endif %}
{{ platoon.name or platoon.tag }}{% if platoon.size %} · {{ platoon.size }} 人{% endif %}
{% if platoon.verified %}已认证{% endif %}
{% if platoon and platoon.tag %}[{{ platoon.tag }}]{% endif %}{{ name }}