/* Carta TCG — medidas do molde CardA (238 × 333 px = 63 × 88 mm a 96 dpi). */
.cd {
  --face: #121418; --line: #2E333C; --text: #F2F3F5; --muted: #A9AFB9;
  width: 238px; height: 333px; box-sizing: border-box; padding: 7px; border-radius: 12px;
  background: var(--frame); color: var(--text);
  font-family: 'Chakra Petch', system-ui, sans-serif; text-align: left;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.cd *, .cd *::before, .cd *::after { box-sizing: border-box; }
.cd-face {
  height: 100%; border-radius: 7px; background: var(--face); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}

/* ---------- frente ---------- */
.cd-stage {
  position: relative; height: 188px; flex-shrink: 0;
  background: radial-gradient(120% 90% at 62% 28%, var(--stage) 0%, #121418 62%);
}
.cd-photo {
  position: absolute; left: 0; top: 4px; width: 100%; height: 182px;
  object-fit: contain; object-position: 72% 0%;
}
.cd-ini {
  position: absolute; left: 70px; right: 10px; top: 20px; height: 130px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--accent);
}
.cd-ini span { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 60px; line-height: 1; }
.cd-ini small { font-size: 9px; font-weight: 600; letter-spacing: 1.2px; }
.cd-ovr {
  position: absolute; left: 9px; top: 9px; width: 58px; padding: 6px 0;
  border-radius: 7px; background: var(--face); border: 1px solid var(--frame);
  display: flex; flex-direction: column; align-items: center;
}
.cd-ovr b { font-family: Teko, sans-serif; font-weight: 600; font-size: 50px; line-height: .8; padding-top: 5px; color: var(--accent); }
.cd-pos { font-family: Teko, sans-serif; font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: 1px; }
.cd-ovr small { margin-top: 3px; font-size: 8px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.cd-name {
  position: absolute; left: 10px; right: 10px; bottom: 0;
  border-radius: 6px; background: #0E1013; border: 1px solid var(--accent); color: var(--accent);
  padding: 3px 8px 2px; text-align: center; white-space: nowrap; overflow: hidden;
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 25px; line-height: 1.1;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.cd-frase {
  padding: 4px 10px 0; text-align: center; font-size: 11px; font-style: italic; font-weight: 600;
  line-height: 1.25; color: var(--muted);
}
/* frase longa: 2 linhas menores, palco da foto 10 px mais baixo para o rodapé caber */
.cd--frase2 .cd-stage { height: 178px; }
.cd--frase2 .cd-photo { height: 172px; }
.cd--frase2 .cd-frase { font-size: 10px; line-height: 1.15; padding-top: 3px; }
.cd-attrs {
  margin: 4px 10px 0; border-radius: 7px; border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1px; padding: 3px 4px;
}
.cd-attr { display: flex; flex-direction: column; align-items: center; }
.cd-attr b { font-family: Teko, sans-serif; font-weight: 600; font-size: 25px; line-height: .95; padding-top: 3px; color: var(--accent); }
.cd-attr span { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.cd-foot {
  margin-top: auto; padding: 0 10px 5px; display: flex; align-items: center; justify-content: center; gap: 7px;
}
.cd-foot > span:last-child { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
.cd-logo {
  width: 18px; height: 18px; border-radius: 50%; border: 1px dashed var(--muted); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 700; flex-shrink: 0;
}
.cd-logo.cd-logo--img { border: 0; border-radius: 0; object-fit: contain; }

/* ---------- verso ---------- */
.cd-bhead { padding: 11px 14px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.cd-bhead small { display: block; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; color: var(--muted); margin-bottom: 1px; }
.cd-bname {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 27px; line-height: 1;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
}
.cd-bside { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cd-bside > span {
  font-family: Teko, sans-serif; font-weight: 600; font-size: 19px; line-height: 1; letter-spacing: 1px;
  color: var(--muted); white-space: nowrap;
}
.cd-bar { margin: 7px 10px 0; height: 3px; background: var(--accent); border-radius: 2px; }
.cd-rows { display: flex; flex-direction: column; padding: 4px 14px 0; }
.cd-row { display: flex; justify-content: space-between; align-items: center; height: 19px; border-bottom: 1px solid var(--line); }
.cd-row span { font-size: 11px; font-weight: 600; color: var(--muted); }
.cd-row b { font-family: Teko, sans-serif; font-weight: 600; font-size: 19px; line-height: 1; color: var(--accent); }
.cd-band {
  margin-top: auto; background: var(--accent); color: #121418; padding: 4px 10px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.cd-band > span:last-child { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 14px; letter-spacing: 3px; }
.cd-logo--band { border-color: #121418; color: #121418; }
