@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@600;700;800&family=Inter:wght@500;600;700;800&display=swap");

.card {
  --W: 1200px;
  --H: 1500px;
  --accent: #0f766e;
  --accent2: #0b5f58;
  --text: #0b1220;
  --muted: #667085;
  --line: rgba(11, 18, 32, 0.1);
  --head: "League Spartan", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 44px;
  --panel-r: 30px;
  --shadow: 0 30px 90px rgba(11, 18, 32, 0.18);
  width: var(--W);
  height: var(--H);
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(11, 18, 32, 0.1);
  font-family: var(--ui);
  color: var(--text);
}

.top-composition {
  height: 40%;
  padding: 32px 32px 20px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #ddd;
  border-radius: var(--panel-r);
  border: 1px solid rgba(11, 18, 32, 0.1);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 450px at 20% 75%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  opacity: 0.55;
}

.band {
  position: relative;
  padding: 24px 24px 20px;
  border-radius: var(--panel-r);
  background: linear-gradient(135deg, var(--band-start, #0f766e), var(--band-end, #0b5f58));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 70px var(--band-shadow, rgba(15, 118, 110, 0.26));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  backdrop-filter: blur(6px);
}

.brandline {
  font-family: var(--ui);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--panel-text-muted, rgba(255, 255, 255, 0.92));
  text-shadow: var(--panel-text-shadow, none);
}

.name {
  font-family: var(--head);
  font-weight: 800;
  font-size: var(--name-size, 96px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--panel-text, #fff);
  margin-top: 10px;
  text-transform: uppercase;
  text-shadow: var(--panel-text-shadow, none);
  max-width: 100%;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.chip {
  font-family: var(--ui);
  font-weight: 800;
  font-size: 19px;
  color: var(--chip-text, #fff);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--chip-bg, rgba(255, 255, 255, 0.14));
  border: 1px solid var(--chip-border, rgba(255, 255, 255, 0.22));
  letter-spacing: -0.01em;
  text-shadow: var(--panel-text-shadow, none);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-align {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.panel-align-title {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panel-text-muted, rgba(255, 255, 255, 0.82));
  text-shadow: var(--panel-text-shadow, none);
}

.panel-align-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--panel-text, #ffffff);
  text-shadow: var(--panel-text-shadow, none);
  overflow-wrap: anywhere;
}

.panel-align-list div:first-child {
  font-weight: 900;
}

.panel-align-list div {
  font-weight: 760;
}

.panel-align-note {
  font-size: 12px;
  color: var(--panel-note, rgba(255, 255, 255, 0.78));
  line-height: 1.3;
  text-shadow: var(--panel-text-shadow, none);
}

.body {
  height: 60%;
  padding: 18px 44px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scores {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.totalBlock .label {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.totalBlock .value {
  font-family: var(--head);
  font-weight: 800;
  font-size: 104px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}

.match {
  text-align: right;
  padding: 12px 14px 10px;
  border-radius: 22px;
  border: 1px solid var(--match-border, rgba(15, 118, 110, 0.28));
  background: var(--match-bg, rgba(15, 118, 110, 0.06));
  min-width: 300px;
}

.match .top {
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.match .sub {
  margin-top: 2px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.match .hint {
  margin-top: 2px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(102, 112, 133, 0.92);
  overflow-wrap: anywhere;
}

.traits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trait {
  display: grid;
  gap: 5px;
}

.traitHead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.traitName {
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.traitVal {
  font-weight: 900;
  font-size: 21px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.bar {
  height: 13px;
  background: rgba(11, 18, 32, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.fill {
  height: 100%;
  width: 70%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fill-start, var(--accent)), var(--fill-end, rgba(255, 255, 255, 0.24)));
  box-shadow: 0 18px 40px var(--fill-shadow, rgba(15, 118, 110, 0.22));
}

.micro {
  font-size: 18px;
  line-height: 1.26;
  color: rgba(11, 18, 32, 0.82);
  letter-spacing: -0.01em;
}

.micro b {
  font-weight: 900;
  color: var(--text);
}

.micro q {
  quotes: '"' '"' "'" "'";
  color: rgba(11, 18, 32, 0.74);
  font-weight: 650;
}

.otherTraitsLine {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 760;
  color: rgba(11, 18, 32, 0.66);
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.5em;
  overflow: hidden;
}

.footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(11, 18, 32, 0.1);
  color: rgba(11, 18, 32, 0.68);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
}

.footer .tag {
  letter-spacing: 0.14em;
  font-weight: 900;
  color: rgba(11, 18, 32, 0.72);
}

.card,
.card * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
