/* High-contrast, four-suit card faces: color supplements the printed symbols. */
.hearts-playing>#app:not(.shell){height:100%;min-height:0}.hearts-game .classic-card{background:#fff!important;border:2px solid #fff!important;box-shadow:0 3px 0 #aaa,0 6px 10px #0009}.hearts-game .classic-card>span:first-of-type,.hearts-game .classic-card>span.bottom{font-family:Arial,sans-serif;font-weight:900;font-size:20px!important;line-height:18px;width:23px;letter-spacing:-1px;background:#fff;box-shadow:0 0 3px 2px #fff;color:#080b12}.hearts-game .classic-card.suit-H>span:first-of-type,.hearts-game .classic-card.suit-H>span.bottom{color:#a50020}.hearts-game .classic-card.suit-D>span:first-of-type,.hearts-game .classic-card.suit-D>span.bottom{color:#0044a0}.hearts-game .classic-card.suit-C>span:first-of-type,.hearts-game .classic-card.suit-C>span.bottom{color:#005b38}.hearts-game .classic-card.suit-D{border-color:#2873d0!important}.hearts-game .classic-card.suit-H{border-color:#db4563!important}.hearts-game .classic-card.suit-C{border-color:#238e69!important}.hearts-game .classic-card.suit-S{border-color:#283246!important}.hearts-game .hand .classic-card:disabled{opacity:1;filter:none}.hearts-game .hand .classic-card:not(.legal):disabled{box-shadow:0 3px 6px #0007}.hearts-game .hand .classic-card.selected{outline:4px solid #ffdf65;outline-offset:2px;box-shadow:0 0 0 7px #fff8,0 0 25px #ffd259aa}.hearts-playing .hearts-stage .playing-card{--cw:84px}.hearts-playing .hearts-stage .trick-cards{gap:9px;flex-wrap:nowrap}.hearts-playing .hearts-stage .played small{font-size:12px;font-weight:700;color:#fff;background:#061c25;padding:3px 5px}.hearts-playing .hearts-stage .table-center{overflow:visible}.hearts-playing .hearts-stage .table-center>.fine{font-size:11px;color:#fff;background:#08242d}.hearts-playing .game-layout>section{grid-template-rows:minmax(230px,1fr) clamp(175px,25vh,230px) auto}.hearts-playing .hearts-stage{grid-template-rows:clamp(76px,13vh,116px) minmax(145px,1fr)}.hearts-playing .hand-heading strong,.hearts-playing .hand-heading>span{font-size:12px}.hearts-playing .statusbar p{font-size:13px}.hearts-playing .hearts-stage .seat strong{font-size:13px}.hearts-real{--real-row:0%;overflow:hidden;border-radius:12px;background:#172431}.hearts-real-2{--real-row:50%}.hearts-real-3{--real-row:100%}.hearts-real .toon-sprite{background-image:url('/solo/assets/hearts-real-crew-cutout.png');background-size:300% 300%;background-position:0 var(--real-row);animation:hearts-breathe 5s ease-in-out infinite;transform-origin:50% 85%}.hearts-game .net-cartoon{--real-row:0%;background-image:url('/solo/assets/hearts-real-crew-cutout.png');background-size:300% 300%;background-position:0 var(--real-row);animation:hearts-breathe 5s ease-in-out infinite;transform-origin:50% 85%}.hearts-game .net-cartoon-1,.hearts-game .net-cartoon-5{--real-row:50%}.hearts-game .net-cartoon-2,.hearts-game .net-cartoon-7{--real-row:100%}.hearts-game .net-cartoon-3,.hearts-game .net-cartoon-4,.hearts-game .net-cartoon-6{--real-row:0%}.hearts-game .hearts-stage .spades-face .net-cartoon{background-size:300% 300%}.hearts-stage .hearts-real.is-playing .toon-sprite,.hearts-stage .is-playing .net-cartoon{background-position:50% var(--real-row);animation:hearts-reach 1.4s ease both}.hearts-stage .hearts-real.is-cheering .toon-sprite,.hearts-stage .is-cheering .net-cartoon{background-position:100% var(--real-row);animation:hearts-real-cheer .8s ease-in-out 3}.hearts-game .net-avatar-choice .net-cartoon{width:160px;max-width:100%;height:110px;border-radius:10px}.hearts-playing .hearts-stage .spades-face,.hearts-playing .hearts-stage .tonk-person{width:110px;height:74px;border-radius:12px;max-width:100%}.hearts-playing .hearts-stage .seat{max-width:250px}.hearts-playing .hearts-stage .seat small{font-size:10px}@keyframes hearts-breathe{0%,100%{transform:scale(1) translateY(0)}50%{transform:scale(1.025) translateY(-2px)}}@keyframes hearts-reach{0%{transform:translateY(0) scale(1)}35%,75%{transform:translateY(4px) scale(1.08)}100%{transform:translateY(0) scale(1)}}@keyframes hearts-real-cheer{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.04)}}@media(max-width:480px) and (orientation:portrait){.hearts-playing .game-layout>section{grid-template-rows:minmax(220px,1fr) clamp(175px,28vh,230px) auto;gap:5px}.hearts-playing .hearts-stage{grid-template-rows:73px minmax(130px,1fr);gap:5px;padding-bottom:6px}.hearts-playing .hearts-stage .spades-face,.hearts-playing .hearts-stage .tonk-person{width:78px;height:49px}.hearts-playing .hearts-stage .seat strong{font-size:12px;line-height:14px}.hearts-playing .hearts-stage .seat small,.hearts-playing .hearts-stage .card-count{font-size:9px;line-height:10px}.hearts-playing .hearts-stage .playing-card{--cw:clamp(60px,19vw,78px)}.hearts-playing .hearts-stage .trick-cards{gap:4px}.hearts-playing .hearts-stage .played small{font-size:10px;padding:2px 3px}.hearts-playing .hearts-stage .table-center{padding:6px 4px}.hearts-playing .hearts-stage .table-center>.fine{font-size:9px;padding:2px 5px;margin-bottom:3px}.hearts-playing .statusbar p{font-size:12px}.hearts-playing .hand .classic-card>span:first-of-type,.hearts-playing .hand .classic-card>span.bottom{font-size:18px!important;line-height:16px;width:21px}}@media(orientation:landscape) and (max-height:600px){.hearts-playing .game-layout>section{grid-template-rows:minmax(102px,1fr) clamp(88px,27vh,130px) auto}.hearts-playing .hearts-stage{grid-template-rows:40px minmax(55px,1fr);gap:3px}.hearts-playing .hearts-stage .spades-face,.hearts-playing .hearts-stage .tonk-person{width:43px;height:26px}.hearts-playing .hearts-stage .playing-card{--cw:clamp(34px,12vh,58px)}.hearts-playing .hearts-stage .seat strong{font-size:10px}.hearts-playing .hearts-stage .seat small{font-size:8px}.hearts-game .classic-card>span:first-of-type,.hearts-game .classic-card>span.bottom{font-size:16px!important;line-height:14px;width:18px}}@media(prefers-reduced-motion:reduce){.hearts-real .toon-sprite,.hearts-game .net-cartoon,.hearts-stage .hearts-real.is-playing .toon-sprite,.hearts-stage .is-playing .net-cartoon,.hearts-stage .hearts-real.is-cheering .toon-sprite,.hearts-stage .is-cheering .net-cartoon{animation:none}}html[data-hr-motion="off"] .hearts-real .toon-sprite,html[data-hr-motion="off"] .net-cartoon{animation:none!important}
/* A real four-sided table: you at the bottom; clockwise left, across, right. */
.hearts-playing .hearts-stage{display:block;position:relative;min-height:260px;padding:0;isolation:isolate}.hearts-playing .hearts-stage .table-center{position:absolute;inset:49px 0 9px;height:auto;max-height:none;width:100%;max-width:none;padding:12px 110px;z-index:0;overflow:visible}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.top,.hearts-playing .hearts-stage .seat.right{position:absolute;display:flex;flex-direction:column;height:102px;width:140px;max-width:27%;z-index:5;grid-row:auto;grid-column:auto}.hearts-playing .hearts-stage .seat.top{left:50%;top:0;right:auto;transform:translateX(-50%)}.hearts-playing .hearts-stage .seat.left{left:0;right:auto;top:52%;transform:translateY(-50%)}.hearts-playing .hearts-stage .seat.right{right:0;left:auto;top:52%;transform:translateY(-50%)}.hearts-playing .hearts-stage .seat .spades-face,.hearts-playing .hearts-stage .seat .tonk-person{height:65px;width:100px}.hearts-playing .hearts-stage .trick-cards{position:relative;display:block;width:min(370px,100%);height:100%;min-height:185px;flex:none;margin:auto;filter:drop-shadow(0 5px 4px #0007)}.hearts-playing .hearts-stage .played{position:absolute;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}.hearts-playing .hearts-stage .played[data-table-seat="0"]{left:50%;bottom:0;transform:translateX(-50%)}.hearts-playing .hearts-stage .played[data-table-seat="1"]{left:0;top:50%;transform:translateY(-50%)}.hearts-playing .hearts-stage .played[data-table-seat="2"]{left:50%;top:0;transform:translateX(-50%)}.hearts-playing .hearts-stage .played[data-table-seat="3"]{right:0;top:50%;transform:translateY(-50%)}.hearts-playing .hearts-stage .table-center>.fine{position:absolute;top:8px;left:50%;transform:translateX(-50%);white-space:nowrap;z-index:2}.hearts-playing .hearts-stage .playing-card{--cw:76px}.hearts-playing .hearts-stage .table-center:before{opacity:.65}.hearts-playing .hearts-stage .hearts-finale{position:relative;z-index:4;background:#102f3bf2}.hearts-playing .game-layout>section{grid-template-rows:minmax(260px,1fr) clamp(175px,25vh,230px) auto}@media(max-width:480px) and (orientation:portrait){.hearts-playing .game-layout>section{grid-template-rows:minmax(245px,1fr) clamp(170px,27vh,220px) auto;gap:5px}.hearts-playing .hearts-stage{min-height:245px}.hearts-playing .hearts-stage .table-center{inset:42px 0 5px;padding:8px 48px;border-radius:44% / 24%}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.top,.hearts-playing .hearts-stage .seat.right{width:77px;height:74px;max-width:25%;padding:2px;border-radius:12px}.hearts-playing .hearts-stage .seat .spades-face,.hearts-playing .hearts-stage .seat .tonk-person{width:70px;height:47px}.hearts-playing .hearts-stage .seat strong{font-size:11px;line-height:12px}.hearts-playing .hearts-stage .seat small{font-size:8px;line-height:10px}.hearts-playing .hearts-stage .seat .card-count{display:none}.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.right{top:54%}.hearts-playing .hearts-stage .trick-cards{width:100%;min-height:176px}.hearts-playing .hearts-stage .playing-card{--cw:clamp(54px,15vw,64px)}.hearts-playing .hearts-stage .played small{font-size:9px;padding:1px 3px;max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hearts-playing .hearts-stage .table-center>.fine{display:none}.hearts-playing .hearts-stage .played[data-table-seat="1"]{left:-8px}.hearts-playing .hearts-stage .played[data-table-seat="3"]{right:-8px}.hearts-playing .hearts-stage .seat.current:after{font-size:6px;top:-5px;right:2px}.hearts-playing .hearts-stage .hearts-finale h2{font-size:17px}.hearts-playing .hearts-stage .hearts-standings li{padding:2px 6px;font-size:10px}}@media(max-height:620px) and (orientation:portrait){.hearts-playing .game-layout>section{grid-template-rows:minmax(235px,1fr) 160px auto}.hearts-playing .hearts-stage{min-height:235px}.hearts-playing .shot-clock{height:23px;padding-block:1px}.hearts-playing .statusbar{padding:4px 6px}.hearts-playing .statusbar p{font-size:11px}.hearts-playing .hand-heading>span{font-size:10px}}@media(orientation:landscape) and (max-height:600px){.hearts-playing .game-layout>section{grid-template-rows:minmax(115px,1fr) clamp(88px,27vh,130px) auto}.hearts-playing .hearts-stage{min-height:115px}.hearts-playing .hearts-stage .table-center{inset:14px 0 2px;padding:3px 80px}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.top,.hearts-playing .hearts-stage .seat.right{height:50px;width:95px;max-width:20%;padding:1px}.hearts-playing .hearts-stage .seat.top{top:0}.hearts-playing .hearts-stage .seat .spades-face,.hearts-playing .hearts-stage .seat .tonk-person{height:29px;width:43px}.hearts-playing .hearts-stage .seat strong{font-size:10px;line-height:10px}.hearts-playing .hearts-stage .seat small{font-size:8px;line-height:8px}.hearts-playing .hearts-stage .trick-cards{width:min(330px,100%);min-height:88px}.hearts-playing .hearts-stage .playing-card{--cw:clamp(32px,10vh,48px)}.hearts-playing .hearts-stage .played small{font-size:8px;padding:0 3px}.hearts-playing .hearts-stage .table-center>.fine{display:none}.hearts-game .classic-card>span:first-of-type,.hearts-game .classic-card>span.bottom{font-size:16px!important;line-height:14px;width:18px}}
/* Reserve two full card heights for the across/bottom pair. */
@media(min-height:621px) and (orientation:portrait){.hearts-playing .game-layout>section{grid-template-rows:minmax(285px,1fr) clamp(170px,27vh,220px) auto}.hearts-playing .hearts-stage{min-height:285px}.hearts-playing .hearts-stage .trick-cards{min-height:210px}.hearts-playing .hearts-stage .playing-card{--cw:60px}.hearts-playing .hearts-stage .played small{font-size:10px}}
@media(max-height:620px) and (orientation:portrait){.hearts-playing .hearts-stage .trick-cards{min-height:174px}.hearts-playing .hearts-stage .playing-card{--cw:52px}.hearts-playing .hearts-stage .played small{font-size:8px;padding:1px 2px}.hearts-playing .hearts-stage .table-center{inset:42px 0 5px;padding-block:5px}.hearts-playing .topbar{height:30px;min-height:30px}.hearts-playing .sidebar>.sidebox:first-child{padding-block:2px}}
@media(orientation:landscape) and (max-height:600px){.hearts-playing .hearts-stage .trick-cards{min-height:106px}.hearts-playing .hearts-stage .playing-card{--cw:32px}.hearts-playing .hearts-stage .played small{font-size:8px;padding:0 2px}.hearts-playing .hearts-stage .table-center{inset:14px 0 2px;padding-block:2px}.hearts-playing .hearts-stage{min-height:128px}.hearts-playing .game-layout>section{grid-template-rows:minmax(128px,1fr) clamp(80px,24vh,116px) auto}}
@media(orientation:landscape) and (max-height:360px){.hearts-playing .hearts-stage .played small{display:none}.hearts-playing .hearts-stage .trick-cards{min-height:90px}.hearts-playing .hearts-stage{min-height:112px}.hearts-playing .game-layout>section{grid-template-rows:minmax(112px,1fr) 80px auto;gap:2px}.hearts-playing .topbar{min-height:24px;height:24px}.hearts-playing .shot-clock{height:18px}.hearts-playing .statusbar{min-height:34px;padding:1px 4px}.hearts-playing .statusbar .button{min-height:30px}.hearts-playing .shell{gap:2px}}
.hearts-playing .hearts-stage .table-center{height:calc(100% - 58px);align-self:stretch;justify-self:stretch}@media(max-width:480px) and (orientation:portrait){.hearts-playing .hearts-stage .table-center{height:calc(100% - 47px)}}@media(orientation:landscape) and (max-height:600px){.hearts-playing .hearts-stage .table-center{height:calc(100% - 16px)}}

/* People sit directly at the rail: no panels, portrait borders, or rectangular glow. */
.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.top,.hearts-playing .hearts-stage .seat.right,.hearts-playing .hearts-stage .seat.current{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;animation:none!important;overflow:visible}.hearts-playing .hearts-stage .spades-face,.hearts-playing .hearts-stage .tonk-person,.hearts-playing .spades-me .spades-face,.hearts-game .hearts-real{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;overflow:visible}.hearts-playing .hearts-stage .spades-face .net-photo,.hearts-playing .spades-me .net-photo{border:0;box-shadow:none;border-radius:0;object-fit:contain}.hearts-playing .hearts-stage .seat.current .toon-sprite,.hearts-playing .hearts-stage .seat.current .net-cartoon{filter:drop-shadow(0 0 7px #ffe7a0) drop-shadow(0 4px 4px #0008)}.hearts-playing .hearts-stage .seat strong{color:#fff7e8;text-shadow:0 2px 4px #000,0 0 5px #000}.hearts-playing .hearts-stage .seat.current strong{color:#ffe58b}.hearts-playing .hearts-stage .seat.current:after{border-radius:6px;font-size:7px;top:-3px;right:0}.hearts-game .classic-card.suit-D>span:first-of-type,.hearts-game .classic-card.suit-D>span.bottom{color:#ba4800}.hearts-game .classic-card.suit-D{border-color:#ff981d!important}.hearts-game .classic-card.suit-D.legal{outline-color:#ffbe53}.hearts-game .net-avatar-choice .net-cartoon{background-color:transparent;border:0;border-radius:0}
