.pl-page{--pl-gold:#edc777;--pl-green:#123f32;max-width:1080px;padding:0 12px 20px}.pl-page button{touch-action:manipulation}.pl-page button:active:enabled{filter:brightness(1.2)}.pl-header{gap:10px;height:60px}.pl-header>strong{color:var(--pl-gold);letter-spacing:1px;font-size:20px}.pl-header>div{gap:6px;margin-left:auto;display:flex}.pl-header button{color:#d6eae2;background:#17352e;border:1px solid #426258;border-radius:12px;place-items:center;min-width:44px;min-height:44px;display:grid}.pl-page .primary,.pl-page .secondary{min-height:48px}.pl-lobby{background:#15352d;border:1px solid #426258;border-radius:22px;gap:14px;max-width:500px;margin:28px auto;padding:24px;display:grid}.pl-lobby>img{object-fit:cover;border-radius:14px;width:100%;height:160px}.pl-lobby p,.pl-lobby h1,.pl-lobby label{margin:0}.pl-lobby label{gap:8px;display:grid}.pl-seats{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pl-seats>div{background:#0d2422;border:1px solid #486058;border-radius:12px;gap:6px;padding:12px;display:grid}.pl-seats .own{border-color:var(--pl-gold)}.pl-seats small,.pl-seats span{color:#bdd2c8;font-size:12px}.pl-error{background:#542d32;border:1px solid #b37a7c;border-radius:12px;align-items:center;gap:10px;margin:8px 0;padding:6px 12px;display:flex}.pl-error span{flex:1;font-size:14px}.pl-error button{color:#fff;background:0 0;border:0;min-width:44px;min-height:44px;font-size:24px}.pl-score{background:#16352c;border:1px solid #456c5e;border-radius:15px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:10px 16px;display:flex}.pl-score>div{align-items:center;gap:10px;min-width:0;display:flex}.pl-score strong{color:#9ce2c6;font-size:30px}.pl-score>div:last-child strong{color:#f1bd99}.pl-score small{color:#c4d7cc;font-size:13px}.pl-score>span{text-align:center;color:#e4cd94;font-size:13px}.pl-score>span small{margin-top:3px;font-size:11px;display:block}.pl-play-layout{gap:10px;display:grid}.pl-arena{min-width:0}.pl-contract{color:#bdd3c8;justify-content:space-between;gap:8px;margin:4px 3px 8px;font-size:12px;line-height:1.4;display:flex}.pl-contract>b,.pl-contract b{color:var(--pl-gold)}.pl-table{background:radial-gradient(#205c43,#0c3027);border:5px solid #715332;border-radius:35px;height:330px;position:relative;box-shadow:inset 0 0 0 2px #c9a458}.pl-seat{z-index:1;flex-direction:column;align-items:center;gap:5px;width:120px;display:flex;position:absolute}.pl-top{top:8px;left:50%;transform:translate(-50%)}.pl-bottom{flex-direction:column-reverse;bottom:8px;left:50%;transform:translate(-50%)}.pl-left{top:50%;left:7px;transform:translateY(-50%)}.pl-right{top:50%;right:7px;transform:translateY(-50%)}.pl-person{text-align:center;border:1px solid #0000;border-radius:9px;max-width:120px;min-height:35px;padding:4px 8px;line-height:1.25}.pl-person strong{text-overflow:ellipsis;white-space:nowrap;max-width:104px;font-size:13px;display:block;overflow:hidden}.pl-person small{color:#c0d6ca;white-space:nowrap;font-size:10px;display:block}.pl-seat.active .pl-person{border-color:var(--pl-gold);background:#425139}.pl-seat.winner .pl-person{color:#172f24;background:#e8c16e}.pl-seat.winner small{color:#294838}.pl-played{place-items:center;height:80px;display:grid}.pl-card{color:#172f27;text-align:left;background:#fff8e3;border:2px solid #cdbd94;border-radius:9px;flex-shrink:0;width:58px;height:80px;padding:5px 6px;display:block;position:relative;box-shadow:0 3px 4px #0005}.pl-card.red{color:#b6273d}.pl-card>span{flex-direction:column;align-items:flex-start;font-family:Georgia,serif;font-size:24px;font-weight:700;line-height:.95;display:flex}.pl-card small{font-size:19px;line-height:1.2}.pl-card>b{font-size:29px;line-height:1;position:absolute;bottom:4px;right:5px}.pl-card:disabled{opacity:1;cursor:default}.pl-seat.winner .pl-card{outline:3px solid #f3cd73;box-shadow:0 0 16px #f5d47977}.pl-card-placeholder{color:#598472;opacity:.5;border:1px dashed #55826e;border-radius:9px;place-items:center;width:56px;height:78px;font-size:28px;display:grid}.pl-center{text-align:center;color:#d8bc78;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pl-center>span{font-size:30px;line-height:1.1}.pl-center small{font-size:10px}.pl-status{text-align:center;min-height:40px;margin:8px 0 0;line-height:1.3}.pl-status strong{color:var(--pl-gold);font-size:16px;display:block}.pl-status small{color:#b8d0c6;margin-top:3px;font-size:12px;display:block}.pl-controls{background:#102c25;border:1px solid #35594c;border-radius:16px;min-width:0;padding:12px}.pl-hand-label{justify-content:space-between;align-items:center;gap:5px;margin-bottom:8px;display:flex}.pl-hand-label strong{font-size:14px}.pl-hand-label small{color:#b5cec2;font-size:11px}.pl-hand{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;max-width:640px;margin:auto;display:grid}.pl-hand .pl-card{aspect-ratio:.7;width:100%;height:auto;min-height:72px;max-height:116px}.pl-hand .pl-card:not(.legal){background:#d6d4bd;border-color:#a4ac96}.pl-hand .pl-card.legal{outline-offset:-1px;cursor:pointer;outline:2px solid #f1c663;box-shadow:0 0 9px #eac77844}.pl-hint{color:#c4d7cb;margin:10px 0;font-size:12px;line-height:1.4}.pl-tools{gap:6px;display:flex}.pl-tools button{white-space:normal;flex:1;min-width:0;padding:8px 6px;font-size:12px}.pl-tools svg{flex-shrink:0}.pl-declare{width:100%;margin:10px 0 0}.pl-auction h2{color:var(--pl-gold);margin:0 0 10px;font-size:16px}.pl-auction>p{margin:8px 0;font-size:13px;line-height:1.4}.pl-auction label{align-items:center;gap:12px;margin:10px 0;font-size:13px;display:flex}.pl-auction select{flex:1;width:auto;min-height:44px;padding:8px}.pl-suits{gap:8px;display:flex}.pl-suits button{color:#173d30;background:#e7e4ce;border:1px solid #5b786c;border-radius:10px;flex:1;min-height:48px;font-size:28px}.pl-suits .red{color:#b52c41}.pl-suits .selected{outline:3px solid var(--pl-gold);outline-offset:-2px;background:#fff1c6}.pl-buttons{gap:8px;margin:10px 0;display:flex}.pl-buttons>button{flex:1}.pl-summary{background:#17352c;border:1px solid #567365;border-radius:18px;max-width:640px;margin:18px auto;padding:22px}.pl-summary h2{color:var(--pl-gold)}.pl-summary table{border-collapse:collapse;width:100%;font-size:14px}.pl-summary th,.pl-summary td{text-align:left;border-bottom:1px solid #3b594d;padding:9px 6px}.pl-summary td{text-align:center}.pl-last-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.pl-last-cards>div{justify-items:center;gap:8px;min-width:0;display:grid}.pl-last-cards strong{overflow-wrap:anywhere;font-size:12px}.pl-meld-cards{gap:5px;margin-top:8px;padding:4px;display:flex;overflow:auto}.pl-meld-cards .pl-card{width:44px;height:66px}.pl-meld-cards .pl-card>b{font-size:20px}@media (max-width:430px){.pl-header>strong{font-size:18px}.pl-score{gap:6px;padding:8px 10px}.pl-score>div{flex-direction:column;gap:0}.pl-score strong{font-size:26px}.pl-score small{font-size:12px}.pl-table{height:296px}.pl-seat{width:100px}.pl-left{left:2px}.pl-right{right:2px}.pl-top{top:6px}.pl-bottom{bottom:6px}.pl-played{height:70px}.pl-played .pl-card{width:51px;height:70px}.pl-card-placeholder{width:49px;height:68px}.pl-person{padding:3px 5px}.pl-person strong{max-width:86px;font-size:12px}.pl-person small{font-size:9px}.pl-hand{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:320px}.pl-hand .pl-card{aspect-ratio:auto;height:78px}.pl-controls{padding:10px}.pl-tools button{font-size:11px}.pl-page{padding-inline:10px}.pl-hand .pl-card>span{font-size:26px}}@media (orientation:landscape) and (max-height:650px){.pl-page{max-width:none;padding:0 max(10px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-right))}.pl-header{height:48px}.pl-header button{min-height:44px}.pl-score{margin:5px 0;padding:5px 12px}.pl-score strong{font-size:24px}.pl-score small{font-size:12px}.pl-play-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);align-items:start;gap:12px}.pl-table{border-radius:25px;height:255px}.pl-contract{margin:2px 3px 5px;font-size:11px}.pl-seat{gap:3px;width:100px}.pl-top{top:4px}.pl-bottom{bottom:4px}.pl-left{left:3px}.pl-right{right:3px}.pl-played{height:61px}.pl-played .pl-card{width:45px;height:61px;padding:4px}.pl-played .pl-card>span{font-size:20px}.pl-played .pl-card small{font-size:15px}.pl-played .pl-card>b{font-size:22px}.pl-card-placeholder{width:43px;height:59px}.pl-person strong{font-size:11px}.pl-person small{font-size:9px}.pl-person{min-height:30px;padding:2px 4px}.pl-status{min-height:32px;margin-top:5px}.pl-status strong{font-size:14px}.pl-status small{font-size:11px}.pl-hand{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-width:360px}.pl-hand .pl-card{aspect-ratio:auto;height:68px;min-height:68px}.pl-hand .pl-card>span{font-size:23px}.pl-hand .pl-card>b{font-size:24px}.pl-controls{padding:10px}.pl-auction .pl-suits button{min-height:44px}.pl-auction label{margin:7px 0}.pl-auction h2{margin-bottom:6px;font-size:14px}.pl-hint{margin:8px 0;font-size:11px}.pl-tools button{min-height:44px;font-size:11px}.pl-declare{margin-top:6px;font-size:12px;min-height:44px!important}.pl-buttons{margin:7px 0}.pl-auction{margin-bottom:12px}}@media (prefers-reduced-motion:no-preference){.pl-played .pl-card{animation:.2s ease-out pl-arrive}@keyframes pl-arrive{0%{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}.pl-controls>.pl-hand{margin-bottom:12px}.pl-bidding .pl-table{border-width:3px;border-radius:24px;height:152px}.pl-bidding .pl-played{display:none}.pl-bidding .pl-seat{width:100px}.pl-bidding .pl-center>span{font-size:24px}@media (max-width:430px){.pl-bidding .pl-table{height:132px}.pl-bidding .pl-status{min-height:32px;margin-top:5px}.pl-bidding .pl-hand{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;max-width:none}.pl-bidding .pl-hand .pl-card{height:66px;min-height:66px;padding:4px 2px}.pl-bidding .pl-hand .pl-card>span{font-size:19px}.pl-bidding .pl-hand .pl-card small{font-size:16px}.pl-bidding .pl-hand .pl-card>b{font-size:20px;right:2px}.pl-bidding .pl-controls{padding:8px}.pl-bidding .pl-hint{margin:5px 0}}@media (orientation:landscape) and (max-height:650px){.pl-play-layout{grid-template-columns:minmax(0,1fr) minmax(290px,.75fr);gap:8px}.pl-controls{padding:8px}.pl-controls>.pl-hand{margin-bottom:6px}.pl-hand{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;max-width:none}.pl-hand .pl-card{height:64px;min-height:64px;padding:4px 2px}.pl-hand .pl-card>span{font-size:19px}.pl-hand .pl-card small{font-size:15px}.pl-hand .pl-card>b{font-size:20px;right:2px}.pl-auction{margin-bottom:4px}.pl-auction label,.pl-hint{margin:4px 0}.pl-tools button{padding:4px;font-size:10px}.pl-bidding .pl-table{height:170px}}
