/* 보드게임 공용 트럼프 카드 (public/js/boardgame/trump-cards.js) — 5:7, 크기는 --hb-card-w 하나
 * 바탕·눈·그림 카드·뒷면은 그림(public/img/trump/art/). 눈 그림 색이 고정이라 귀퉁이 숫자색도 같은 값으로 고정(게임별 --hb-card-red/-ink는 카드에 안 먹음).
 * 조상에서 바꿀 수 있는 것: --hb-card-edge(테두리), --hb-card-face(그림 불러오기 전 종이색) */
.hb-card {
    --hb-card-w: 64px;
    display: inline-block;
    width: var(--hb-card-w);
    aspect-ratio: 5 / 7;
    line-height: 0;
    flex: none;
}
.hb-card .hbc { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.35)); }
.hbc-bg { fill: var(--hb-card-face, #fbf6ea); }
.hbc-edge { fill: none; stroke: var(--hb-card-edge, #d8d0bf); stroke-width: 0.8; }
.hbc.back .hbc-edge { stroke: rgba(0, 0, 0, 0.35); }
.hbc.red text, .hbc-suit.red { fill: #b8222b; }
.hbc.ink text, .hbc-suit.ink { fill: #17181c; }
.hbc-idx { font: 700 8px/1 system-ui, sans-serif; }
.hbc .hbc-frame { fill: none; stroke-width: 0.6; }
.hbc.red .hbc-frame { stroke: #b8222b; }
.hbc.ink .hbc-frame { stroke: #17181c; }
.hbc .hbc-jk { fill: #17181c; }
.hbc .hbc-j1 { fill: #b8222b; }
.hbc-jtxt { font: 700 7px/1 system-ui, sans-serif; }
.hbc .hbc-jname { font: 700 5.5px/1 system-ui, sans-serif; fill: #17181c; }
.hbc-suit { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }
