/* Card frame, copied from nickname-cards/template.html by data/build_cards.py: don't edit by hand. */
/* ---------- the card (from the drafts) ---------- */
.xc { --rc: #A3ACBB; --rc2: #59616F; width: var(--w, 100%); aspect-ratio: 5 / 7; container-type: inline-size; position: relative; border-radius: 5.2cqw; padding: 2.4cqw; background: linear-gradient(160deg, var(--rc), var(--rc2)); box-shadow: 2.6cqw 2.6cqw 0 #000; flex: none; }
.xc.rC { --rc: #A3ACBB; --rc2: #59616F; }
.xc.rR { --rc: #4F93FF; --rc2: #1F4FA8; }
.xc.rE { --rc: #B98BFF; --rc2: #5B2FB0; }
.xc.rL { --rc: #FFC94D; --rc2: #B87400; }
.xc .in { height: 100%; border-radius: 3.6cqw; background: var(--ink1); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.xc .hd { display: flex; justify-content: space-between; gap: 3cqw; padding: 2.6cqw 4cqw; background: var(--ink0); font: 700 4.6cqw/1.2 var(--pixel); color: var(--rc); }
.xc .hd .no { color: var(--white); }
.xc .art { height: 54%; flex: none; position: relative; overflow: hidden; }
.xc .art svg { display: block; width: 100%; height: 100%; }
.xc .nm { padding: 1.8cqw 4cqw 1.4cqw; background: var(--rc); color: var(--ink0); font: 400 7cqw/1.1 var(--arcade); display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.xc .nm span { min-width: 0; overflow-wrap: anywhere; }
.xc .nm .gem { flex: none; width: 5cqw; height: 5cqw; background: var(--ink0); transform: rotate(45deg); box-shadow: inset 0 0 0 1.2cqw var(--rc); }
.xc .msg { flex: 1; min-height: 0; padding: 3cqw 4cqw 0; display: flex; align-items: center; overflow: hidden; }
.xc .bub { background: var(--white); color: var(--ink0); border-radius: 4.5cqw 4.5cqw 4.5cqw 1.2cqw; padding: 2.4cqw 3.6cqw; font: 700 5.4cqw/1.28 var(--body); overflow-wrap: anywhere; }
.xc .bub i { font-style: normal; display: block; font: 400 3.8cqw/1.3 var(--pixel); color: #59616F; margin-top: 1cqw; }
.xc .bub.sys { width: 100%; background: transparent; color: var(--white); border: .5cqw dashed var(--line); border-radius: 3cqw; text-align: center; font-weight: 600; }
.xc .bub.sys i { color: var(--rc); }
.xc .ft { display: flex; justify-content: space-between; gap: 2cqw; padding: 2cqw 4cqw 3cqw; font: 400 4.2cqw/1.2 var(--pixel); color: var(--muted); white-space: nowrap; }
