.sp-game{--sp-accent:#8cb9fc;max-width:1040px;margin:auto;color:var(--table-text,#f4f1ed)}.sp-game .sp-roundline{display:flex;justify-content:space-between;gap:8px;color:var(--table-muted,#bdbbb7);font-size:10px;letter-spacing:.13em;font-weight:800;margin:0 0 18px}.sp-game .sp-scoreboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sp-game .sp-score{display:grid;justify-items:center;gap:5px;padding:13px 7px;border:1px solid var(--table-line);border-radius:13px;background:#ffffff03}.sp-game .sp-score.is-turn{border-color:var(--sp-accent);box-shadow:0 0 20px #8cb9fc10}.sp-game .sp-score>strong{font-size:11px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.sp-game .sp-score strong small{font-size:8px;margin-left:5px;opacity:.5;font-weight:500}.sp-game .sp-score>b{font:28px Georgia,serif;color:var(--sp-accent)}.sp-game .sp-score>span{font-size:10px;opacity:.6}.sp-game .sp-score>em{font-size:10px;font-style:normal;color:var(--sp-accent)}.sp-game .sp-table{position:relative;max-width:600px;margin:14px auto;min-height:355px;background:radial-gradient(ellipse,#8cb9fc0d,transparent 70%)}.sp-game .sp-table-seat{position:absolute;display:grid;justify-items:center;gap:5px;max-width:120px}.sp-game .sp-table-seat>span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px;color:var(--table-muted,#b8b6b0)}.sp-game .sp-table-seat.took-trick .sp-card{outline:2px solid var(--sp-accent);outline-offset:3px}.sp-game .sp-north{top:0;left:50%;transform:translateX(-50%)}.sp-game .sp-south{bottom:0;left:50%;transform:translateX(-50%)}.sp-game .sp-west{left:9%;top:50%;transform:translateY(-50%)}.sp-game .sp-east{right:9%;top:50%;transform:translateY(-50%)}.sp-game .sp-table-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:8px;text-align:center;max-width:155px}.sp-game .sp-table-center>span{font-size:9px;letter-spacing:.1em;opacity:.55}.sp-game .sp-table-center>b{font:28px Georgia,serif;color:var(--sp-accent)}.sp-game .sp-table-center>small{font-size:10px;color:var(--table-muted,#bdbbb4);line-height:1.4}.sp-game .sp-card{width:64px;height:90px;padding:7px;border-radius:7px;position:relative;display:block;border:1px solid #d9d3c6;background:#fffbf2;color:#203038;box-shadow:0 3px 8px #0002;flex-shrink:0;box-sizing:border-box;font-family:Georgia,serif;text-align:left}.sp-game .sp-card.red{color:#c83e52}.sp-game .sp-corner{display:flex;flex-direction:column;font-weight:bold;font-size:17px;line-height:1;align-items:center;width:max-content}.sp-game .sp-corner small{font-size:13px;margin-top:3px}.sp-game .sp-pip{position:absolute;font-size:30px;inset:0;display:grid;place-items:center}.sp-game .sp-bottom{position:absolute;bottom:6px;right:7px;font-size:15px;transform:rotate(180deg);font-weight:bold}.sp-game .sp-empty-card{width:64px;height:90px;display:grid;place-items:center;border:1px dashed var(--table-line);border-radius:7px;font-size:20px;color:#ffffff33;box-sizing:border-box}.sp-game .sp-message{display:grid;gap:6px;text-align:center;padding:17px;background:#ffffff04;border:1px solid var(--table-line);border-radius:12px}.sp-game .sp-message>strong{font-size:15px;color:var(--sp-accent)}.sp-game .sp-message>span{font-size:12px;color:var(--table-muted,#bdbbb7);line-height:1.6}.sp-game .sp-hand-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:24px 0 13px}.sp-game .sp-hand-head h3{margin:0;font-size:14px}.sp-game .sp-hand-head h3 span{margin-left:5px;color:var(--sp-accent)}.sp-game .sp-hand-head>span{font-size:10px;color:var(--table-muted,#bdbbb7)}.sp-game .sp-hand{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;overflow:visible;padding:9px 0 13px}.sp-game .sp-hand-card{transition:transform .15s}.sp-game .sp-hand-card.is-playable:hover{transform:translateY(-6px)}.sp-game .sp-hand-card.is-playable .sp-card{cursor:pointer;outline:2px solid #8cb9fc44}.sp-game .sp-hand-card.is-waiting .sp-card{opacity:.62}.sp-game .sp-card.selected{outline:3px solid var(--sp-accent)!important;transform:translateY(-7px);box-shadow:0 7px 20px #8cb9f12a}.sp-game .sp-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:8px}.sp-game button:not(.playing-card){border:1px solid #8cb9fc55;background:#8cb9fc19;color:inherit;border-radius:10px;padding:11px 16px;font:inherit;font-size:13px;min-height:44px;cursor:pointer}.sp-game button:disabled{opacity:.35;cursor:default}.sp-game button:focus-visible{outline:3px solid #afd0ff;outline-offset:3px}.sp-game .sp-received{text-align:center;color:var(--table-muted,#b8b5ad);font-size:10px;margin-top:14px}.sp-game .sp-received span{padding-left:6px;font-size:12px}.sp-game .sp-red{color:#f593a4}.sp-game .sp-results{margin-top:18px;padding:20px;border:1px solid #8cb9fc30;border-radius:14px;background:#8cb9fc08}.sp-game .sp-results h3{margin:0 0 16px;font-size:15px;color:var(--sp-accent)}.sp-game .sp-results>div{display:grid;grid-template-columns:minmax(70px,1fr) 90px 75px;gap:8px;font-size:12px;margin-top:12px}.sp-game .sp-results>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-game .sp-results>div span{opacity:.65}.sp-game .sp-results>div b{color:var(--sp-accent)}.sp-game .sp-results>button{margin-top:18px}.sp-game .sp-last,.sp-game .sp-history{margin-top:20px;border-top:1px solid var(--table-line);padding-top:14px;color:var(--table-muted,#bdbbb7);font-size:11px}.sp-game summary{cursor:pointer;padding:6px 0;min-height:24px;line-height:1.5}.sp-game .sp-last>div{display:flex;gap:15px;flex-wrap:wrap;margin-top:10px}.sp-game .sp-last strong{font-size:10px;font-weight:500;opacity:.7;margin-right:5px}.sp-game .sp-history-scroll{max-width:100%;overflow-x:auto;margin-top:8px}.sp-game table{width:100%;border-collapse:collapse;font-size:11px}.sp-game th,.sp-game td{text-align:left;padding:10px 6px;border-bottom:1px solid var(--table-line);white-space:nowrap}.sp-game td small{opacity:.55}.sp-game .is-passing{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:260px}.sp-game .sp-pass-art{position:relative;width:100px;height:94px;text-align:center}.sp-game .sp-pass-art>span{font:90px Georgia,serif;line-height:1;color:#8cb9fc25}.sp-game .sp-pass-art>b{position:absolute;inset:0;display:grid;place-items:center;font:52px Georgia,serif;color:var(--sp-accent)}.sp-game .sp-pass-copy{text-align:center}.sp-game .sp-pass-copy h2{font:26px Georgia,serif;margin:10px 0}.sp-game .sp-pass-copy p{font-size:12px;line-height:1.5;opacity:.72;margin:0 0 9px}.sp-game .sp-pass-copy>span{font-size:10px;color:var(--sp-accent)}
.sp-game .sp-teams{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.sp-game .sp-team{border:1px solid var(--table-line);border-radius:15px;padding:16px;background:#ffffff03;min-width:0}.sp-game .sp-team.is-you{border-color:#8cb9fc66;background:#8cb9fc08}.sp-game .sp-team>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px}.sp-game .sp-team>div:first-child>span{font-size:9px;letter-spacing:.08em;color:var(--sp-accent)}.sp-game .sp-team>div:first-child>b{font:30px Georgia,serif;color:var(--sp-accent)}.sp-game .sp-team>strong{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0 13px}.sp-game .sp-team-stats{display:flex;justify-content:space-between;gap:5px;font-size:10px;opacity:.65}.sp-game .sp-bag-track{display:flex;gap:4px;margin-top:11px}.sp-game .sp-bag-track i{flex:1;height:4px;background:#ffffff12;border-radius:3px}.sp-game .sp-bag-track i.filled{background:#e5b77f}.sp-game .sp-bid-board .sp-score{padding:9px 5px}.sp-game .sp-bid-board .sp-score>b{font-size:22px}.sp-game .sp-bidding{max-width:480px;margin:22px auto;text-align:center}.sp-game .sp-bid-intro>span{font:36px Georgia,serif;color:var(--sp-accent)}.sp-game .sp-bid-intro h2{font:26px Georgia,serif;margin:8px 0}.sp-game .sp-bid-intro p{font-size:12px;line-height:1.5;opacity:.7;margin:0 0 16px}.sp-game .sp-bid-choices{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.sp-game .sp-bid-choices button{padding:10px 3px;font-size:15px}.sp-game .sp-bid-choices button.selected{background:#8cb9fc30;border-color:var(--sp-accent);color:#d8e8ff;box-shadow:0 0 0 1px #8cb9fc44}.sp-game .sp-bid-help{font-size:11px;color:var(--table-muted,#bdbbb7);line-height:1.5;min-height:32px;margin:13px 0}.sp-game .sp-confirm-bid{min-width:160px;background:#8cb9fc30!important}.sp-game .sp-team-result{padding:12px 0;border-top:1px solid var(--table-line)}.sp-game .sp-team-result header{display:flex;justify-content:space-between;font-size:12px;gap:8px}.sp-game .sp-team-result b{color:var(--sp-accent)}.sp-game .sp-team-result p{font-size:11px;line-height:1.6;color:var(--table-muted,#bdbbb7);margin:6px 0 0}
@media(max-width:550px){.sp-game .sp-roundline{font-size:8px;letter-spacing:.09em}.sp-game .sp-scoreboard{gap:5px}.sp-game .sp-score{padding:10px 4px;border-radius:10px}.sp-game .sp-score>strong{font-size:9px}.sp-game .sp-score strong small{display:none}.sp-game .sp-score>b{font-size:25px}.sp-game .sp-score>span{font-size:8px}.sp-game .sp-table{min-height:320px}.sp-game .sp-west{left:3%}.sp-game .sp-east{right:3%}.sp-game .sp-table-center{max-width:120px}.sp-game .sp-table-center>small{font-size:9px}.sp-game .sp-table-seat>span{max-width:90px;font-size:9px}.sp-game .sp-hand-head>span{font-size:9px}.sp-game .sp-hand{gap:6px}.sp-game .sp-hand .sp-card{width:45px;height:68px;padding:5px;border-radius:6px}.sp-game .sp-hand .sp-corner{font-size:14px}.sp-game .sp-hand .sp-corner small{font-size:10px}.sp-game .sp-hand .sp-pip{font-size:22px}.sp-game .sp-hand .sp-bottom{font-size:11px;bottom:4px;right:5px}.sp-game .sp-results{padding:14px}.sp-game .sp-results>div{font-size:11px;grid-template-columns:minmax(60px,1fr) 75px 62px}.sp-game .sp-message>span{font-size:11px}.sp-game .sp-teams{gap:8px}.sp-game .sp-team{padding:12px 10px;border-radius:12px}.sp-game .sp-team>div:first-child>span{font-size:7px}.sp-game .sp-team>div:first-child>b{font-size:26px}.sp-game .sp-team>strong{font-size:9px;margin-bottom:10px}.sp-game .sp-team-stats{font-size:8px;flex-wrap:wrap}.sp-game .sp-bid-choices{gap:5px}.sp-game .sp-bid-choices button{font-size:14px}.sp-game .sp-bidding{margin:18px auto}}

html[data-kg-theme=light] .sp-game{--sp-accent:#235faa}html[data-kg-theme=light] .sp-game .sp-score,html[data-kg-theme=light] .sp-game .sp-message,html[data-kg-theme=light] .sp-game .sp-team{background:var(--table-panel)}html[data-kg-theme=light] .sp-game .sp-empty-card{color:var(--table-muted)}html[data-kg-theme=light] .sp-game .sp-table-center>span,html[data-kg-theme=light] .sp-game .sp-score>span,html[data-kg-theme=light] .sp-game .sp-team-stats{color:var(--table-muted);opacity:1}html[data-kg-theme=light] .sp-game .sp-red{color:#b32d48}html[data-kg-theme=light] .sp-game .sp-hand-card.is-playable .sp-card{outline-color:#235faa66}html[data-kg-theme=light] .sp-game button:focus-visible{outline-color:#235faa}html[data-kg-theme=light] .sp-game .sp-bid-choices button.selected{color:#143968;background:#dbeaff;border-color:#235faa}html[data-kg-theme=light] .sp-game .sp-bag-track i{background:#183b5f22}html[data-kg-theme=light] .sp-game .sp-bag-track i.filled{background:#95610f}html[data-kg-theme=light] .sp-game .sp-team.is-you{border-color:#235faa88}
