/* Huit américain — cartes classiques, table verte, choix de la couleur. Le socle commun est dans famitable.css. */
.fx.th-huit{background:radial-gradient(120% 70% at 50% 0%,#1d4a3a 0%,#0d2a20 58%,#07150f 100%)}
.th-huit .fx-table{background:radial-gradient(ellipse at 50% 38%,#33a566 0%,#21804d 36%,#165e3b 70%,#0e4129 100%)}
.th-huit .fx-title{color:#ffe9a8}
.fx-card.pc .in{background:linear-gradient(160deg,#fffdf6,#efe8d6);color:#1e1e24}
.fx-card.pc .in:before{display:none}
.fx-card.pc.red .in{color:#d12c2c}
.fx-card.pc .cn{display:flex;flex-direction:column;align-items:flex-start;gap:.01em;font:900 .28em/1 'Nunito',sans-serif;text-shadow:none;letter-spacing:-.07em;white-space:nowrap}
.fx-card.pc .cn i{display:block;width:.23em;height:.23em;font-style:normal}
.fx-card.pc .cn i svg{width:100%;height:100%;display:block;fill:currentColor}
.fx-card.pc .cn.tl{left:.06em;top:.06em}
.fx-card.pc .cn.br{right:.06em;bottom:.06em;transform:rotate(180deg)}
.fx-card.pc .mid{position:absolute;left:50%;top:50%;width:.5em;height:.5em;transform:translate(-50%,-50%)}
.fx-card.pc .mid svg{width:100%;height:100%;display:block;fill:currentColor}
.fx-card.pc .mid.f{width:.62em;height:.8em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.03em}
.fx-card.pc .mid.f b{font:900 .46em/1 'Nunito',sans-serif}
.fx-card.pc .mid.f svg{width:.3em;height:.3em;flex:none}
.fx-card.pc.eight .in{box-shadow:inset 0 0 0 .028em #e0a91c}
.fx-card.pc .eb{position:absolute;left:50%;top:.05em;transform:translateX(-50%);font-size:.12em;line-height:1;color:#e0a91c}
.th-huit .fx-card.back .in{background:radial-gradient(circle at 50% 50%,#3d66c4 0%,#25448b 62%,#162a55 100%)}
.th-huit .fx-card.back .logo b{font:900 .42em/1 'Nunito',sans-serif;color:#5a3a00}
.fx-suits{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:8px}
.fx-suitbtn{border:3px solid #fff;border-radius:16px;min-height:70px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#1e1e24;background:linear-gradient(180deg,#fffdf6,#e6dfcb);font:900 13px/1 'Nunito',sans-serif;box-shadow:0 4px 0 #8a8472,0 6px 12px #0006}
.fx-suitbtn.red{color:#d12c2c}
.fx-suitbtn svg{width:30px;height:30px;fill:currentColor}
.fx-suitbtn:active{transform:translateY(3px);box-shadow:0 1px 0 #8a8472}
