.home-games{margin-top:25px}
.home-games>.friends-launch{margin:0 0 22px}
.home-game-card{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:96px minmax(0,1fr) 22px;align-items:center;gap:17px;width:100%;min-height:128px;padding:18px;border:1px solid #c4ad6b48;border-radius:20px;background:radial-gradient(ellipse at 3% 0,#a39a4430,transparent 70%),linear-gradient(115deg,#214c37,#122a20);color:#eedeae;text-align:left;box-shadow:inset 0 1px #ffeec10b,0 7px 18px #0002}
.game-card-copy{position:relative;z-index:2;min-width:0}
.game-card-copy strong{display:block;font-size:23px;font-weight:600;line-height:1.8}
.game-card-copy small{display:block;margin-top:3px;font-size:12px;color:#b7bda3;line-height:1.8}
.game-card-arrow{position:relative;z-index:2;font:28px Georgia;color:#d9bd7a}
.game-card-art{position:relative;z-index:2;height:82px;perspective:300px;pointer-events:none}
.game-card-art .mini-card{position:absolute;z-index:2;width:44px;height:62px;border-radius:6px;background:#f3e7c7;border:1px solid #fff0bc;color:#244a35;font:bold 22px/1 Georgia;padding:7px;box-shadow:0 7px 12px #0004;transform:rotate(12deg);left:35px;top:10px}
.game-card-art .mini-card+.mini-card{z-index:1;left:8px;top:7px;transform:rotate(-15deg)}
.mini-card-eight .card-rank{position:absolute;left:3px;top:3px;font:bold 11px/1 Georgia}
.card-pips{position:absolute;inset:10px 5px 7px 10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));align-items:center;justify-items:center}
.card-pips i{display:block;width:7px;height:8px;font:8px/8px Georgia;font-style:normal;text-align:center}
.card-pips i:nth-child(1){grid-area:1/1}.card-pips i:nth-child(2){grid-area:1/3}
.card-pips i:nth-child(3){grid-area:2/2}.card-pips i:nth-child(4){grid-area:3/1}.card-pips i:nth-child(5){grid-area:3/3}
.card-pips i:nth-child(6){grid-area:4/2}.card-pips i:nth-child(7){grid-area:5/1}.card-pips i:nth-child(8){grid-area:5/3}
.card-pips i:nth-child(n+6){transform:rotate(180deg)}
.game-card-art .mini-card:first-child{transform-origin:bottom right}
.game-card-art .mini-card:first-child::after{content:"";position:absolute;right:-1px;bottom:-1px;width:30px;height:35px;background:linear-gradient(135deg,#b69b61,#fff5d7 58%,#c5ac77);clip-path:polygon(100% 0,100% 100%,0 100%);filter:drop-shadow(-2px -2px 2px #0004);transform:scale(0);transform-origin:bottom right}
.game-card-cash{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;border-radius:inherit}
.game-card-cash i{position:absolute;top:-26px;left:var(--note-x);width:28px;height:15px;border:1px solid #e1d498;border-radius:2px;background:linear-gradient(135deg,#a7bf85,#456e4d);box-shadow:0 2px 5px #0003;opacity:0}
.game-card-cash i::before{content:"";position:absolute;inset:2px;border:1px solid #e9dfad80;border-radius:1px}
.game-card-cash i::after{content:"";position:absolute;left:10px;top:3px;width:6px;height:7px;border:1px solid #f0e5baaa;border-radius:50%;background:#d0ce8d66}
.home-game-card.is-animating .mini-card:first-child{animation:shan-card-squeeze 7.2s ease-in-out infinite}
.home-game-card.is-animating .mini-card:first-child::after{animation:shan-card-curl 7.2s ease-in-out infinite}
.home-game-card.is-animating .mini-card+.mini-card{animation:shan-eight-reveal 7.2s ease-in-out infinite}
.home-game-card.is-animating .game-card-cash i{animation:shan-note-fall 7.2s linear var(--note-delay) infinite}
@keyframes shan-card-squeeze{0%,12%,90%,100%{transform:rotate(12deg)}22%{transform:translate(4px,-3px) rotate(8deg) rotateY(-14deg) skewY(-5deg)}30%{transform:translate(11px,-7px) rotate(17deg) rotateY(-26deg) skewY(-8deg)}42%,80%{transform:translate(14px,-3px) rotate(14deg)}}
@keyframes shan-card-curl{0%,12%,44%,100%{transform:scale(0);opacity:0}22%{transform:scale(.55);opacity:1}30%{transform:scale(1);opacity:1}39%{transform:scale(.25);opacity:.7}}
@keyframes shan-eight-reveal{0%,16%,97%,100%{transform:translate(25px,3px) rotate(12deg);opacity:0}25%{transform:translate(18px,2px) rotate(4deg);opacity:1}40%,85%{transform:translate(-8px,0) rotate(-9deg);opacity:1}}
@keyframes shan-note-fall{0%,43%{transform:translate3d(0,0,0) rotate(var(--note-tilt));opacity:0}46%{opacity:.85}56%{transform:translate3d(var(--note-drift),72px,0) rotate(calc(var(--note-tilt) + 35deg));opacity:.85}67%{opacity:.75}72%,100%{transform:translate3d(0,210px,0) rotate(calc(var(--note-tilt) + 90deg));opacity:0}}
@media(prefers-reduced-motion:reduce){.home-game-card .mini-card,.home-game-card .mini-card::after,.home-game-card .game-card-cash i{animation:none!important}}
.mini-card small{display:block;font-size:17px;margin-top:5px}
.game-lobby-heading{display:flex;align-items:center;gap:14px;margin:25px 0 20px}
.games-back{display:grid;place-items:center;width:43px;height:43px;flex:none;border:1px solid #d4bc7d40;border-radius:14px;background:#1b3427;color:#e5cb8d;font:28px Georgia}
.game-lobby-heading h2{font-size:25px;line-height:1.8;margin:0;font-weight:500}
.game-lobby-heading h2:focus{outline:none}
.game-lobby-heading p{margin:0;font-size:11px;color:#9aaf99}
@media(max-width:360px){.home-game-card{grid-template-columns:82px minmax(0,1fr) 15px;padding:13px;gap:12px;min-height:115px}.game-card-copy strong{font-size:20px}.game-card-copy small{font-size:11px}.game-card-art{transform:scale(.85);transform-origin:left center}}
