/* Ebony piano lacquer, champagne metal inlays, and clear playable card faces. */
.board.panel,.own.panel,.opponent.panel{
  border:1px solid #a89969;
  background:linear-gradient(117deg,transparent 0 28%,#ffffff09 28.3%,#ffffff03 41%,transparent 41.4%),linear-gradient(172deg,#333b3c 0,#171c1e 8%,#080c0f 28%,#11181c 66%,#06090b 100%);
  box-shadow:inset 0 1px 1px #fff8,inset 0 0 0 4px #111617,inset 0 0 0 5px #d5bc7c38,inset 0 -14px 24px #0009,0 7px 0 #030605,0 8px 0 #ad96544d,0 18px 35px #0005;
}
.board.panel{padding:22px 28px 28px;margin-top:20px;border-radius:20px}
.board h2{color:#dfcfaa;letter-spacing:3px;text-shadow:0 1px #000;margin-bottom:22px}
.board h2:before,.board h2:after{background:linear-gradient(90deg,transparent,#dcc385a6,transparent)}
.builds{max-width:760px;gap:22px}
.pile{position:relative;min-width:0;padding:18px 12px 13px;border:1px solid #99885c;border-radius:13px;background:linear-gradient(155deg,#ffffff16,transparent 32%,#ffffff03 66%,#0006),#090f12;box-shadow:inset 0 2px 5px #000b,inset 0 0 0 3px #05090b,inset 0 0 0 4px #dac0831e,0 1px 0 #fff2}
.pile:before,.pile:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#f4e2b1,#b39657 50%,#574621);top:7px;pointer-events:none}.pile:before{left:7px}.pile:after{right:7px}
.pile small{color:#d1c6aa;line-height:1.5;margin-top:13px;font-size:11px}
.builds .playing-card{width:90px;height:126px;box-shadow:0 2px 0 #afbab1,0 4px 0 #4e5b55,0 12px 18px #000b}
.builds .playing-card.empty{border-color:#a89055;color:#e2d4b0;background:linear-gradient(155deg,#354041,#151f22 40%,#0c1215 70%,#202c30);box-shadow:inset 0 1px #fff2,inset 0 -10px 16px #0005,0 4px 14px #0009}
.builds .playing-card.target{outline-color:#b4fc41;box-shadow:0 0 24px #b4fc4144,0 9px 18px #0008}
.own.panel{padding:27px 26px;margin-top:6px;margin-bottom:9px}
.hand-area,.discards-area{border-left-color:#d2b77455}
.own h2,.mini-label{color:#d9c69c}
.own #stock,.own #hand,.own #discards{border:1px solid #ac915c55;border-radius:12px;padding:12px 9px;background:linear-gradient(150deg,#ffffff08,transparent 40%,#030608aa);box-shadow:inset 0 3px 12px #0009,inset 0 -1px #f9e5b51f}
.own #stock{display:inline-block;padding:12px 9px}.own #hand{gap:7px}.own #discards{gap:8px}
.own .discards-area .playing-card{width:calc((100% - 24px)/4)}
.opponent.panel{border-radius:18px}.opponent .who h2{color:#e8dcc0}
.opponent-stacks>div{padding:9px 10px;border:1px solid #b59c603d;border-radius:10px;background:#0004;box-shadow:inset 0 2px 8px #0005}
.turn-status{padding-top:23px}.turn-status h2{text-shadow:0 2px 12px #b4fc4122}
@media(max-width:1150px){.discards-area{border-top-color:#d2b77444}.own .discards-area .playing-card{width:62px;height:85px}}
@media(max-width:650px){
  .board.panel{padding:20px 10px 19px;border-radius:16px;margin-top:17px}.board h2{font-size:9px;letter-spacing:1.1px;margin-bottom:18px;gap:7px}
  .builds{gap:8px}.pile{padding:15px 5px 10px;border-radius:9px}.pile:before,.pile:after{width:4px;height:4px;top:5px}.pile:before{left:5px}.pile:after{right:5px}
  .builds .playing-card{width:100%;height:auto;aspect-ratio:.71;max-height:110px}.builds .playing-card span{font-size:32px}.builds .playing-card.empty span{font-size:23px}.pile small{font-size:9px;margin-top:10px;min-height:27px}
  .own.panel{padding:21px 12px;gap:12px;grid-template-columns:65px minmax(0,1fr);border-radius:16px}.own #hand{padding:10px 6px;gap:11px 6px}.own #stock{padding:10px 5px}.own #stock .playing-card{width:52px;height:75px}.own #discards{padding:10px 6px;gap:6px}.own .discards-area .playing-card{width:calc((100% - 18px)/4);height:auto;min-height:50px}.own .playing-card span{font-size:27px}.hand-area,.discards-area{padding-left:10px}
  .opponent.panel{padding:16px 12px}.opponent-stacks>div{padding:7px 6px}.opponent-stacks{gap:7px}.opponent-stacks .row{gap:3px}.opponent-stacks .small.playing-card{width:26px;height:37px}
}
