/* Hearts Lounge: a padded casino rail, woven felt, and restrained cabinet lighting. */
.hearts-game{--casino-gold:#f4ce7c;--casino-pink:#ff72aa;background:radial-gradient(ellipse at 50% 5%,#48254d88,transparent 65%),radial-gradient(ellipse at 50% 100%,#153f4d99,transparent 65%),#080f1b}.hearts-playing .shell{max-width:none;padding-inline:max(6px,env(safe-area-inset-left));gap:5px}.hearts-playing .brand-icon{display:grid;place-items:center;width:34px;height:32px;border:1px solid #ffcf81;border-radius:10px;background:radial-gradient(circle at 40% 30%,#914b69,#32243b 65%);color:#ffd89b;text-shadow:0 0 12px #ff729e;box-shadow:inset 0 0 9px #efba7044,0 0 12px #ff729e22;font-size:26px}.hearts-playing .brand{letter-spacing:1px;color:#fff0cf;text-shadow:0 1px 9px #ffbe6644}.hearts-playing .game-layout>section{grid-template-rows:minmax(150px,1fr) clamp(150px,24vh,210px) auto;gap:8px}.hearts-playing .hearts-stage{position:relative;isolation:isolate;grid-template-rows:clamp(65px,12vh,105px) minmax(0,1fr);padding:4px 8px 12px;border:0;border-radius:0;background:none;box-shadow:none;gap:8px;overflow:visible}.hearts-playing .hearts-stage:before,.hearts-playing .hearts-stage:after{content:none}.hearts-playing .hearts-stage .seat,.hearts-playing .hearts-stage .seat.left,.hearts-playing .hearts-stage .seat.top,.hearts-playing .hearts-stage .seat.right{justify-self:center;max-width:230px;border-radius:24px 24px 14px 14px;border:1px solid #a88c58;background:linear-gradient(145deg,#393049dd,#111b2ee8 60%,#47394acc);box-shadow:inset 0 1px #ffe5b544,inset 0 -5px 10px #0007,0 5px 14px #0008;overflow:visible;padding:4px}.hearts-playing .hearts-stage .spades-face{border:2px solid #efcd8a;border-radius:18px;background:radial-gradient(ellipse,#543058,#102339);box-shadow:0 2px 0 #5a391c,0 0 0 2px #503b30,0 0 14px #ffb85b33}.hearts-playing .hearts-stage .tonk-person{filter:drop-shadow(0 5px 3px #0008)}.hearts-playing .hearts-stage .seat strong{letter-spacing:.04em;color:#fff0cf;text-shadow:0 2px 2px #000}.hearts-playing .hearts-stage .seat.current{border:2px solid #ffe398;background:linear-gradient(135deg,#694364,#263751 60%,#65484d);box-shadow:0 0 0 3px #f2c77d33,0 0 25px #ffc95888,inset 0 0 22px #ffbf6a22;animation:casino-seat 2.8s ease-in-out infinite}.hearts-playing .hearts-stage .seat.current:after{content:'YOUR MOVE';top:-6px;right:8px;box-shadow:0 2px 7px #0007;letter-spacing:.08em}.hearts-playing .hearts-stage .table-center{position:relative;isolation:isolate;align-self:center;justify-self:center;min-height:0;width:100%;height:100%;max-height:400px;border-radius:48% / 35%;border:10px solid #2d1720;padding:14px 12px;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#326d7799,transparent 70%),repeating-linear-gradient(90deg,#ffffff02 0 1px,transparent 1px 3px),repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 3px),radial-gradient(ellipse,#174b58,#0a2e3a 85%);box-shadow:0 0 0 2px #e2b868,0 0 0 5px #624126,0 0 0 7px #211318,0 0 0 8px #bd8d50,inset 0 0 0 2px #e2b86899,inset 0 0 30px 8px #0008,0 14px 24px #0008,0 0 24px #ffb45c22}.hearts-playing .hearts-stage .table-center:before{content:'♥\A HOOD RULES\A HEARTS LOUNGE';white-space:pre;position:absolute;z-index:-1;inset:12%;display:grid;place-content:center;text-align:center;font-family:Georgia,serif;line-height:1.75;letter-spacing:.22em;font-size:clamp(11px,2vw,22px);font-weight:700;color:#b4d4c122;text-shadow:0 1px #0004;border:1px solid #dcbd7944;border-radius:50%;pointer-events:none}.hearts-playing .hearts-stage .table-center:after{content:'';position:absolute;inset:3px;border-radius:inherit;border:2px dotted #ffe4a955;box-shadow:inset 0 0 15px #b4f0ff22;pointer-events:none;animation:casino-rail 6s ease-in-out infinite}.hearts-playing .table-center>.fine{background:#09232ccc;border:1px solid #a1baaa44;border-radius:12px;padding:3px 10px;color:#d7e9df}.hearts-playing .trick-cards{position:relative;z-index:2;filter:drop-shadow(0 6px 4px #0005)}.hearts-playing .hearts-stage .played small{background:#08232bd9;border:1px solid #8ea5a333;border-radius:6px;padding:2px 4px;color:#f7eed9}.hearts-playing .hand-area{background:linear-gradient(180deg,#344054,#172438 18%,#0d192c 85%);border:1px solid #a18b63;border-top:3px solid #f0d297;border-radius:18px 18px 10px 10px;box-shadow:inset 0 2px 8px #e6c28222,inset 0 -9px 15px #0005,0 -3px 18px #ffcb7322;padding:6px 10px}.hearts-playing .hand-area.hearts-your-turn{border:2px solid #ffe09c;box-shadow:0 0 20px #f9bf5655,inset 0 0 20px #ffb05211}.hearts-playing .hand{column-gap:4px}.hearts-playing .hand .classic-card{box-shadow:0 4px 0 #c3bdaf,0 7px 9px #0008}.hearts-playing .hand .classic-card.legal{outline:2px solid #a1e7d0;box-shadow:0 0 12px #55d6af55,0 5px 9px #0008}.hearts-playing .hand .classic-card.selected{box-shadow:0 0 0 4px #ffcc5744,0 0 24px #ffd67588,0 12px 12px #0008}.hearts-playing .statusbar{border:1px solid #9e865e;background:linear-gradient(100deg,#3a2841,#19283b 60%,#35243b);box-shadow:inset 0 1px #efc47633}.hearts-playing .statusbar .button{border:1px solid #ffe9ab;background:linear-gradient(#ffe7a4,#c58e35);color:#251b17;text-shadow:0 1px #fff9;box-shadow:inset 0 1px #fff9,0 2px 0 #775424}.hearts-playing .statusbar .button.secondary{background:linear-gradient(#3c425b,#18253a);color:#fff0d2;border-color:#a68b61;text-shadow:none}.hearts-playing .sidebar>.sidebox:first-child{background:linear-gradient(90deg,#292238,#172638,#292238);border-color:#a78952}.hearts-playing .score-row b{font-family:Georgia,serif;color:#ffdc90;text-shadow:0 0 7px #e9aa4f55}.hearts-playing .hearts-table-menu{border:1px solid #ad8c57;background:linear-gradient(#483047,#18263c)}.hearts-playing .match-champion{background:radial-gradient(ellipse at top,#8a4d70,#1a2640 75%);border:2px solid #ffe399;box-shadow:0 0 24px #ffd17d88}.hearts-playing .shot-clock{background:linear-gradient(90deg,#36243d,#112739);border-color:#a8895a}.hearts-playing .shot-clock-track>div{background:linear-gradient(90deg,#ffc862,#ff84bb,#9deddf)}@keyframes casino-seat{50%{box-shadow:0 0 0 3px #f2c77d22,0 0 14px #ffc95855,inset 0 0 22px #ffbf6a11}}@keyframes casino-rail{50%{border-color:#ffe4a999;box-shadow:inset 0 0 18px #a6f4ff44}}@media(min-width:1000px){.hearts-playing .hearts-stage .table-center{width:97%;max-height:360px}.hearts-playing .hearts-stage .playing-card{--cw:72px}.hearts-playing .hearts-stage .spades-face{width:76px;height:62px}.hearts-playing .hearts-stage .tonk-person{width:100px;height:70px}}@media(max-width:480px) and (orientation:portrait){.hearts-playing .shell{padding-inline:5px}.hearts-playing .game-layout>section{grid-template-rows:minmax(160px,1fr) clamp(170px,27vh,225px) auto}.hearts-playing .hearts-stage{padding:3px 4px 10px;gap:8px;grid-template-rows:78px minmax(0,1fr)}.hearts-playing .hearts-stage .seat{max-width:110px;border-radius:15px 15px 9px 9px}.hearts-playing .hearts-stage .spades-face{width:49px;height:43px}.hearts-playing .hearts-stage .tonk-person{width:65px;height:48px}.hearts-playing .hearts-stage .table-center{border-width:6px;border-radius:44% / 23%;padding:7px 5px;box-shadow:0 0 0 1px #e2b868,0 0 0 3px #624126,0 0 0 5px #211318,inset 0 0 0 1px #e2b86899,inset 0 0 18px #0008,0 10px 14px #0008}.hearts-playing .hearts-stage .table-center:before{font-size:10px;letter-spacing:.15em}.hearts-playing .hearts-stage .table-center>.fine{font-size:9px;padding:2px 6px}.hearts-playing .hand-area{padding-inline:6px}.hearts-playing .brand-icon{height:28px;width:30px;font-size:22px}}@media(orientation:landscape) and (max-height:600px){.hearts-playing .game-layout>section{grid-template-rows:minmax(95px,1fr) clamp(88px,27vh,130px) auto;gap:4px}.hearts-playing .hearts-stage{grid-template-rows:40px minmax(0,1fr);padding:2px 8px 5px;gap:3px}.hearts-playing .hearts-stage .seat{padding:1px;border-radius:12px}.hearts-playing .hearts-stage .spades-face{width:30px;height:23px;border-width:1px;border-radius:8px}.hearts-playing .hearts-stage .table-center{border-width:4px;padding:4px;max-height:none;border-radius:48% / 28%;box-shadow:0 0 0 1px #e2b868,0 0 0 3px #624126,inset 0 0 15px #0008}.hearts-playing .hearts-stage .table-center:before{font-size:8px;line-height:1.4}.hearts-playing .brand-icon{height:25px;width:27px;font-size:20px}.hearts-playing .hand-area{padding:2px 8px}}@media(prefers-reduced-motion:reduce){.hearts-playing .hearts-stage .seat.current,.hearts-playing .hearts-stage .table-center:after{animation:none}}html[data-hr-motion="off"] .hearts-stage .seat.current,html[data-hr-motion="off"] .hearts-stage .table-center:after{animation:none}
