/* A regular green-felt table with people seated beyond its wooden rail. */
.hearts-playing .hearts-stage .table-center{inset:145px 205px 12px;width:auto;height:calc(100% - 157px);max-height:none;padding:14px 18px;border:9px solid #35271e;border-radius:45% / 28%;background:repeating-linear-gradient(0deg,#ffffff04 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#092e1706 0 1px,transparent 1px 3px),radial-gradient(ellipse at 48% 35%,#2b824d,#1c653a 65%,#10492a);box-shadow:0 0 0 2px #917247,0 4px 0 3px #17120e,inset 0 0 0 1px #d9c49266,inset 0 0 30px #052b1988,0 12px 22px #0008;overflow:visible}.hearts-playing .hearts-stage .table-center:after{inset:5px;border:1px dashed #e4d6b644;box-shadow:none;animation:none}.hearts-playing .hearts-stage .table-center:before{color:#d6e6c91a;border-color:#d6e6c922;text-shadow:none}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right,.hearts-playing .hearts-stage .seat.top{width:190px;max-width:190px;height:140px;padding:0}.hearts-playing .hearts-stage .seat .tonk-person,.hearts-playing .hearts-stage .seat .spades-face{width:185px;height:115px;max-width:100%;flex:none}.hearts-playing .hearts-stage .seat.top{top:0}.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right{top:62%}.hearts-playing .hearts-stage .seat strong{font-size:14px;line-height:17px}.hearts-playing .hearts-stage .seat small,.hearts-playing .hearts-stage .card-count{font-size:10px;line-height:12px}.hearts-playing .hearts-stage .trick-cards{width:min(360px,100%);height:100%;min-height:0;margin:auto}.hearts-playing .hearts-stage .played[data-table-seat="0"]{left:50%;bottom:0}.hearts-playing .hearts-stage .played[data-table-seat="2"]{left:50%;top:0}.hearts-playing .hearts-stage .played[data-table-seat="1"]{left:0}.hearts-playing .hearts-stage .played[data-table-seat="3"]{right:0}.hearts-playing .hearts-stage .table-center>.fine{display:none}.hearts-playing .game-layout>section{grid-template-rows:minmax(360px,1fr) clamp(175px,25vh,230px) auto}.hearts-playing .hearts-stage{min-height:360px}.hearts-playing .hearts-stage .seat.current:after{top:3px;right:4px}
@media(max-width:1000px) and (min-height:601px){.hearts-playing .hearts-stage .table-center{inset:120px 140px 10px;height:calc(100% - 130px);padding:10px 12px}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right,.hearts-playing .hearts-stage .seat.top{width:128px;max-width:128px;height:115px}.hearts-playing .hearts-stage .seat .tonk-person,.hearts-playing .hearts-stage .seat .spades-face{width:128px;height:85px}.hearts-playing .hearts-stage .playing-card{--cw:64px}}
@media(max-width:600px) and (orientation:portrait){.hearts-playing .game-layout>section{grid-template-rows:minmax(330px,1fr) clamp(170px,26vh,210px) auto;gap:5px}.hearts-playing .hearts-stage{min-height:330px}.hearts-playing .hearts-stage .table-center{inset:96px 86px 6px;height:calc(100% - 102px);padding:7px 5px;border-width:6px;border-radius:37% / 18%;box-shadow:0 0 0 1px #917247,0 3px 0 2px #17120e,inset 0 0 18px #052b1988,0 8px 16px #0008}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right,.hearts-playing .hearts-stage .seat.top{width:80px;max-width:80px;height:90px}.hearts-playing .hearts-stage .seat .tonk-person,.hearts-playing .hearts-stage .seat .spades-face{width:80px;height:58px}.hearts-playing .hearts-stage .seat.top{width:126px;max-width:126px}.hearts-playing .hearts-stage .seat.top .tonk-person,.hearts-playing .hearts-stage .seat.top .spades-face{width:112px;height:70px}.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right{top:62%}.hearts-playing .hearts-stage .seat strong{font-size:12px;line-height:14px}.hearts-playing .hearts-stage .seat small{font-size:9px;line-height:11px}.hearts-playing .hearts-stage .seat .card-count{display:none}.hearts-playing .hearts-stage .playing-card{--cw:clamp(42px,14vw,58px)}.hearts-playing .hearts-stage .trick-cards{width:100%;min-height:0}.hearts-playing .hearts-stage .played small{font-size:9px;padding:1px 2px;max-width:58px}.hearts-playing .hearts-stage .hearts-finale h2{font-size:14px}.hearts-playing .hearts-stage .hearts-finale{padding:4px}.hearts-playing .hearts-stage .hearts-standings li{font-size:10px;padding:2px 3px}.hearts-playing .hearts-stage .hearts-finale>p{font-size:9px}.hearts-playing .hearts-stage .hearts-crown{font-size:24px}}
@media(max-width:360px) and (orientation:portrait){.hearts-playing .hearts-stage .table-center{left:73px;right:73px}.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right{width:68px;max-width:68px}.hearts-playing .hearts-stage .seat.left .tonk-person,.hearts-playing .hearts-stage .seat.right .tonk-person,.hearts-playing .hearts-stage .seat.left .spades-face,.hearts-playing .hearts-stage .seat.right .spades-face{width:68px;height:51px}.hearts-playing .hearts-stage .playing-card{--cw:42px}}
@media(max-height:680px) and (orientation:portrait){.hearts-playing .game-layout>section{grid-template-rows:minmax(260px,1fr) 155px auto;gap:4px}.hearts-playing .hearts-stage{min-height:260px}.hearts-playing .hearts-stage .table-center{top:80px;bottom:5px;height:calc(100% - 85px)}.hearts-playing .hearts-stage .seat.top{height:75px}.hearts-playing .hearts-stage .seat.top .tonk-person,.hearts-playing .hearts-stage .seat.top .spades-face{width:96px;height:55px}.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right{height:78px}.hearts-playing .hearts-stage .seat .tonk-person,.hearts-playing .hearts-stage .seat .spades-face{height:50px}.hearts-playing .hearts-stage .playing-card{--cw:42px}.hearts-playing .hearts-stage .played small{font-size:8px;padding:0 2px}.hearts-playing .topbar{height:29px;min-height:29px}.hearts-playing .shot-clock{height:21px}.hearts-playing .statusbar{min-height:40px;padding:3px 5px}.hearts-playing .statusbar p{font-size:11px}.hearts-playing .sidebar>.sidebox:first-child{padding-block:2px}}
@media(orientation:landscape) and (max-height:600px){.hearts-playing .game-layout>section{grid-template-rows:minmax(160px,1fr) clamp(80px,24vh,116px) auto;gap:3px}.hearts-playing .hearts-stage{min-height:160px}.hearts-playing .hearts-stage .table-center{inset:48px 104px 3px;height:calc(100% - 51px);padding:3px 8px;border-width:4px;border-radius:45% / 25%}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right,.hearts-playing .hearts-stage .seat.top{width:96px;max-width:96px;height:64px}.hearts-playing .hearts-stage .seat .tonk-person,.hearts-playing .hearts-stage .seat .spades-face{width:92px;height:46px}.hearts-playing .hearts-stage .seat.top{height:47px;justify-content:flex-start}.hearts-playing .hearts-stage .seat.top .tonk-person,.hearts-playing .hearts-stage .seat.top .spades-face{width:68px;height:31px}.hearts-playing .hearts-stage .seat.top small{display:none}.hearts-playing .hearts-stage .seat strong{font-size:10px;line-height:11px}.hearts-playing .hearts-stage .seat small{font-size:8px;line-height:10px}.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right{top:64%}.hearts-playing .hearts-stage .playing-card{--cw:31px}.hearts-playing .hearts-stage .played small{display:none}.hearts-playing .hearts-stage .trick-cards{width:min(320px,100%);height:100%;min-height:0}.hearts-playing .hearts-stage .played[data-table-seat="2"]{left:42%}.hearts-playing .hearts-stage .played[data-table-seat="0"]{left:58%}}
@media(orientation:landscape) and (max-height:360px){.hearts-playing .game-layout>section{grid-template-rows:minmax(145px,1fr) 74px auto}.hearts-playing .hearts-stage{min-height:145px}.hearts-playing .hearts-stage .table-center{top:40px;height:calc(100% - 43px)}.hearts-playing .hearts-stage .seat.top .tonk-person,.hearts-playing .hearts-stage .seat.top .spades-face{height:25px;width:60px}.hearts-playing .hearts-stage .seat.top{height:37px}.hearts-playing .statusbar{min-height:32px;padding:1px 4px}.hearts-playing .statusbar .button{min-height:30px}.hearts-playing .hearts-stage .playing-card{--cw:28px}.hearts-playing .hand-heading{display:none}.hearts-playing .hand-area{padding-block:1px}.hearts-playing .hand{padding-top:15px}}
.hearts-playing .hearts-stage .seat strong,.hearts-playing .hearts-stage .seat small,.hearts-playing .hearts-stage .seat .card-count{flex:none;min-height:1em}.hearts-playing .hearts-stage .seat strong{position:relative;z-index:2}
@media(min-width:1001px) and (min-height:601px){.hearts-playing .hearts-stage .table-center{top:175px;height:calc(100% - 187px)}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right,.hearts-playing .hearts-stage .seat.top{height:165px}.hearts-playing .hearts-stage .seat .tonk-person,.hearts-playing .hearts-stage .seat .spades-face{width:185px;height:123px}}
/* A shared portrait size for every seat; no smaller side characters. */
.hearts-playing{--seat-art-w:185px;--seat-art-h:123px;--seat-box-w:190px;--seat-box-h:165px}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right,.hearts-playing .hearts-stage .seat.top{width:var(--seat-box-w)!important;max-width:var(--seat-box-w)!important;height:var(--seat-box-h)!important}.hearts-playing .hearts-stage .seat .tonk-person,.hearts-playing .hearts-stage .seat .spades-face,.hearts-playing .hearts-stage .seat.top .tonk-person,.hearts-playing .hearts-stage .seat.top .spades-face,.hearts-playing .hearts-stage .seat.left .tonk-person,.hearts-playing .hearts-stage .seat.left .spades-face,.hearts-playing .hearts-stage .seat.right .tonk-person,.hearts-playing .hearts-stage .seat.right .spades-face{width:var(--seat-art-w)!important;height:var(--seat-art-h)!important;flex:none!important}.hearts-playing .hearts-stage .seat strong{flex:none!important;min-height:17px;height:auto;font-size:14px!important;line-height:17px!important;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;text-align:center;max-width:100%;z-index:8}.hearts-playing .hearts-stage .table-center{border:0!important;outline:0!important;box-shadow:none!important}.hearts-playing .hearts-stage .table-center:after{content:none!important}.hearts-playing .hearts-stage .table-center:before{border:0!important}
@media(max-width:1000px) and (min-height:601px){.hearts-playing{--seat-art-w:128px;--seat-art-h:85px;--seat-box-w:132px;--seat-box-h:125px}.hearts-playing .hearts-stage .table-center{top:133px;height:calc(100% - 143px)}}
@media(max-width:600px) and (orientation:portrait){.hearts-playing{--seat-art-w:clamp(80px,25vw,112px);--seat-art-h:clamp(53px,16.667vw,75px);--seat-box-w:var(--seat-art-w);--seat-box-h:calc(var(--seat-art-h) + 42px)}.hearts-playing .hearts-stage .table-center{top:calc(var(--seat-art-h) + 50px);left:calc(var(--seat-art-w) + 6px);right:calc(var(--seat-art-w) + 6px);height:calc(100% - var(--seat-art-h) - 56px)}.hearts-playing .hearts-stage .seat strong{font-size:13px!important;line-height:15px!important;min-height:15px}.hearts-playing .hearts-stage .playing-card{--cw:clamp(38px,calc((100vw - 2 * var(--seat-art-w) - 34px) / 3),58px)}.hearts-playing .hearts-stage .seat small{font-size:10px;line-height:11px}}
@media(orientation:landscape) and (max-height:600px){.hearts-playing{--seat-art-w:72px;--seat-art-h:48px;--seat-box-w:96px;--seat-box-h:76px}.hearts-playing .hearts-stage .seat strong{font-size:12px!important;line-height:14px!important;min-height:14px}.hearts-playing .hearts-stage .seat.top{justify-content:flex-start}.hearts-playing .hearts-stage .seat.top small{display:none}.hearts-playing .hearts-stage .table-center{top:68px;height:calc(100% - 71px)}.hearts-playing .hearts-stage .playing-card{--cw:31px}.hearts-playing .hearts-stage .played[data-table-seat="2"]{left:34%}.hearts-playing .hearts-stage .played[data-table-seat="0"]{left:66%}}
@media(orientation:landscape) and (max-height:360px){.hearts-playing{--seat-art-w:60px;--seat-art-h:40px;--seat-box-h:62px}.hearts-playing .hearts-stage .table-center{top:58px;height:calc(100% - 61px)}.hearts-playing .hearts-stage .seat strong{font-size:11px!important;line-height:13px!important;min-height:13px}}

@media(orientation:landscape) and (max-height:360px){.hearts-playing .hearts-stage .playing-card{--cw:28px}}
