/* v12.7: bigger cards + bigger card text; Faith counters moved to a clean HUD zone beside each portrait */
:root{--cw:156px;--ch:246px}
.card{width:var(--cw);height:var(--ch)}
.card .c-in{inset:8px}
.card .c-head{height:35px;padding:0 9px}
.card .c-name{font-size:13.4px;line-height:1.06;letter-spacing:.015em}
.card .c-art{height:96px;margin:1px 2px 0}
.card .c-type{height:18px;margin-top:3px;font-size:9.6px;letter-spacing:.17em}
.card .c-type::before,.card .c-type::after{width:12px}
.card .c-type .ico{font-size:12px}
.card .c-text{font-size:12.6px;line-height:1.13;padding:3px 6px 9px;font-weight:600}
.card .c-text.dn1{font-size:12.1px!important;line-height:1.1!important}
.card .c-text.dn2{font-size:11.5px!important;line-height:1.08!important;padding-left:5px!important;padding-right:5px!important}
.card .c-text.dn1~*,.card .c-text .kws{line-height:1.1}
.card:has(.c-text.dn1) .c-art{height:84px}
.card:has(.c-text.dn2) .c-art{height:68px}
.card .kwp{font-size:9.6px;letter-spacing:.05em;margin:0 2px 2px}
.card .kwp .ico{font-size:11.5px}
.card .c-text.dn2 .kwp{font-size:9px!important;letter-spacing:.02em;margin:0 1px 1px}
.card .c-text.dn2 .kwp .ico{font-size:10.5px!important}
.card .c-cost{width:37px;height:37px;left:-11px;top:-11px;font-size:21px}
.card .c-cost::before{inset:4px}
.card .c-stats{left:-11px;right:-11px;bottom:-11px}
.card .stat{min-width:37px;height:37px;font-size:21px}
.card .co{width:24px;height:24px}
/* hand: bigger cards, resting higher so the name, art and cost read at a glance */
#hand .card{left:-78px;bottom:-98px;transform-origin:50% 130%}
#hand .card:hover{transform:translate(var(--x,0px),-86px) rotate(0deg) scale(1.05) perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
#hand .card.selected{transform:translate(var(--x,0px),-100px) rotate(0deg) scale(1.08)!important}
/* zoom preview */
#preview{width:var(--cw);left:70px!important}
#preview .card{transform:scale(1.5)!important;transform-origin:0 0;margin-bottom:132px!important}
#preview .pg{max-width:238px;font-size:13.5px;line-height:1.3;padding:7px 10px 7px 22px}
#preview .pf{max-width:238px;font-size:14.5px;line-height:1.28}
#preview.fromlog{left:392px!important;top:84px!important}
/* choose-one / discover */
.chopt .card{transform:scale(1.12);margin:14px 12px}
.chopts{gap:26px}
/* collection */
#cardgrid{gap:26px 22px}
/* board tokens: bigger names and numbers */
.tok .tname{font-size:10.6px;min-width:96px;max-width:124px;padding:3px 9px 2px;letter-spacing:.03em}
.tok .stat{width:38px;height:38px;min-width:38px;font-size:21px}
.tok .stat.atk{left:-11px}.tok .stat.hp{right:-11px}
.tok .tkw i{width:21px;height:21px}.tok .tkw i .ico{font-size:12.5px}
/* Faith: a reserved HUD zone beside each portrait, clear of every arena prop */
.hz .faith{left:0;right:auto;margin-right:0;width:196px;text-align:right}
.hz .faith .fl{font-size:12px}
.hz .faith .fn{font-size:26px}
/* props that used to reach into the deck pile / each other: a clean right-hand column */
.p-br{right:28px;bottom:10px}
.p-sc{right:40px;top:426px}
/* Faith label stays readable on bright arenas */
.hz .faith .fl{color:#f6e8bd;text-shadow:0 1px 2px #000,0 0 5px rgba(0,0,0,.95),0 0 12px rgba(0,0,0,.7)}
.hz .faith .fn{text-shadow:0 1px 2px #000,0 0 7px rgba(0,0,0,.95),0 0 14px rgba(0,0,0,.6)}
.hz .faith .pips{filter:drop-shadow(0 1px 2px #000) drop-shadow(0 0 4px rgba(0,0,0,.8))}
#openmodal .modal{max-width:940px}
#openmodal .op-cards{gap:14px}
.card .c-name.nl2{font-size:12px;letter-spacing:.005em}
.card .c-head:has(.nl2){padding:0 4px}
#cardgrid{padding-top:24px}
