body[data-game=cribbage] .sp-opponents{grid-template-columns:1fr}body[data-game=cribbage] .sp-hand{grid-template-columns:repeat(6,minmax(0,76px));justify-content:center}.sp-hand .card:disabled{opacity:1;filter:none}.sp-hand .card.unavailable{box-shadow:inset 0 0 0 80px #10152322}.sp-hand .card{min-width:0}#bid-amount{width:90px;padding:8px}#peg-board:empty{display:none}#peg-board svg{width:100%;height:85px;display:block;border-radius:18px;background:repeating-linear-gradient(2deg,#654023 0 3px,#704a2b 5px,#614326 9px);box-shadow:inset 0 2px 8px #211309,inset 0 0 0 2px #c6a06b;margin:8px 0}#peg-board .peg{filter:drop-shadow(0 2px 2px #150b03);transition:cx .5s,cy .5s}#peg-board text{font:9px Georgia;fill:#ffe5ad}#counting{max-height:180px;overflow:auto;padding:6px;background:#0002;border-radius:10px}#counting h3,#counting p{font-size:.85rem;margin:4px}#counting .reveal-row{display:flex;gap:4px;align-items:center;margin:5px 0}#counting .card{position:relative;width:46px;height:65px;--rank-size:11px;flex:none;opacity:1}#counting .pip{font-size:15px}#review{background:#b58a48;color:#171224}body[data-game=pinochle] .sp-hand{grid-template-columns:repeat(12,minmax(0,1fr))}.classic-host-layer{position:relative}.sp-host img{mask-image:radial-gradient(ellipse at 50% 50%,black 58%,transparent 78%)}
@media(max-width:600px){.sp-layout{margin:6px auto}.sp-center{height:100px}.sp-trick{min-height:90px;gap:5px}.sp-trick .card{width:46px;height:65px;--rank-size:12px}.sp-trick figure{width:46px}.sp-opponents{margin:5px 0}.sp-fan{height:18px;margin:3px 0}.sp-fan i{width:13px;height:18px}.sp-seat{padding:3px;font-size:.66rem}.sp-table{padding:8px}.sp-hand{margin:6px 0}.sp-actionbar{position:sticky;bottom:0;background:#123338;z-index:5;padding:7px 3px;flex-wrap:wrap;gap:5px;border-radius:10px}.sp-actionbar span{width:100%;text-align:center}.sp-actionbar button{padding:6px 10px;min-height:42px}.sp-status{font-size:.78rem;min-height:24px}.sp-score{font-size:.72rem;padding-bottom:5px}#peg-board svg{height:62px;margin:4px 0}body[data-game=pinochle] .sp-hand{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}body[data-game=cribbage] .sp-hand{grid-template-columns:repeat(6,minmax(0,1fr))}.sp-hand .card{height:67px;--rank-size:12px}.sp-hand .pip{font-size:18px}#counting{max-height:110px}.sp-footer{margin-top:4px}.sp-heading{padding-right:66px}.sp-host{top:-72px}.sp-host img{height:68px}.sp-bidding{font-size:.8rem;min-height:42px}.sp-bidding button{min-height:40px}.sp-reading{margin-top:25px}}
@media(prefers-reduced-motion:reduce){#peg-board .peg{transition:none}}
body[data-game=cribbage] .sp-center:has(#upcard:not([hidden])) .sp-trick{display:flex;padding-left:55px}body[data-game=cribbage] #upcard{position:absolute;left:0;top:15px}body[data-game=cribbage] #upcard:after{content:'Starter'}body[data-game=cribbage] #upcard .card{width:48px;height:67px;--rank-size:12px}body[data-game=cribbage] .sp-trick{gap:3px;flex-wrap:wrap}body[data-game=cribbage] .sp-trick figure{width:45px}body[data-game=cribbage] .sp-trick .card{width:45px;height:64px;--rank-size:12px}
.classic-host-rig{display:block;position:relative;height:360px;animation:corin-breathe 6s ease-in-out infinite;transform-origin:50% 80%}.sp-host .classic-host-rig img{position:absolute;inset:0;width:100%;height:100%;animation:none;object-fit:contain}.sp-host .classic-host-body{clip-path:inset(27% 0 0 0)}.sp-host .classic-host-head{clip-path:inset(0 0 71% 0);transform-origin:50% 25%;animation:classic-head 8s ease-in-out infinite!important}.sp-host.cheer .classic-host-rig{animation:corin-cheer .8s ease-in-out 2}@keyframes classic-head{50%{transform:rotate(.5deg) translateY(-.4px)}}@media(max-width:1050px){.classic-host-rig{height:85px}}@media(max-width:600px){.classic-host-rig{height:68px}}@media(prefers-reduced-motion:reduce){.classic-host-rig,.sp-host .classic-host-head{animation:none!important}}html[data-motion=reduced] .classic-host-rig,html[data-motion=reduced] .sp-host .classic-host-head{animation:none!important}
