.ht-game{--ht-accent:#f08d9f;max-width:1040px;margin:auto;color:var(--table-text,#f4f1ed)}.ht-game .ht-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}.ht-game .ht-scoreboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ht-game .ht-score{display:grid;justify-items:center;gap:5px;padding:13px 7px;border:1px solid var(--table-line);border-radius:13px;background:#ffffff03}.ht-game .ht-score.is-turn{border-color:var(--ht-accent);box-shadow:0 0 20px #f08d9f10}.ht-game .ht-score>strong{font-size:11px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.ht-game .ht-score strong small{font-size:8px;margin-left:5px;opacity:.5;font-weight:500}.ht-game .ht-score>b{font:28px Georgia,serif;color:var(--ht-accent)}.ht-game .ht-score>span{font-size:10px;opacity:.6}.ht-game .ht-score>em{font-size:10px;font-style:normal;color:var(--ht-accent)}.ht-game .ht-table{position:relative;max-width:600px;margin:14px auto;min-height:355px;background:radial-gradient(ellipse,#e08c9f0d,transparent 70%)}.ht-game .ht-table-seat{position:absolute;display:grid;justify-items:center;gap:5px;max-width:120px}.ht-game .ht-table-seat>span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px;color:var(--table-muted,#b8b6b0)}.ht-game .ht-table-seat.took-trick .ht-card{outline:2px solid var(--ht-accent);outline-offset:3px}.ht-game .ht-north{top:0;left:50%;transform:translateX(-50%)}.ht-game .ht-south{bottom:0;left:50%;transform:translateX(-50%)}.ht-game .ht-west{left:9%;top:50%;transform:translateY(-50%)}.ht-game .ht-east{right:9%;top:50%;transform:translateY(-50%)}.ht-game .ht-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}.ht-game .ht-table-center>span{font-size:9px;letter-spacing:.1em;opacity:.55}.ht-game .ht-table-center>b{font:28px Georgia,serif;color:var(--ht-accent)}.ht-game .ht-table-center>small{font-size:10px;color:var(--table-muted,#bdbbb4);line-height:1.4}.ht-game .ht-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}.ht-game .ht-card.red{color:#c83e52}.ht-game .ht-corner{display:flex;flex-direction:column;font-weight:bold;font-size:17px;line-height:1;align-items:center;width:max-content}.ht-game .ht-corner small{font-size:13px;margin-top:3px}.ht-game .ht-pip{position:absolute;font-size:30px;inset:0;display:grid;place-items:center}.ht-game .ht-bottom{position:absolute;bottom:6px;right:7px;font-size:15px;transform:rotate(180deg);font-weight:bold}.ht-game .ht-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}.ht-game .ht-message{display:grid;gap:6px;text-align:center;padding:17px;background:#ffffff04;border:1px solid var(--table-line);border-radius:12px}.ht-game .ht-message>strong{font-size:15px;color:var(--ht-accent)}.ht-game .ht-message>span{font-size:12px;color:var(--table-muted,#bdbbb7);line-height:1.6}.ht-game .ht-hand-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:24px 0 13px}.ht-game .ht-hand-head h3{margin:0;font-size:14px}.ht-game .ht-hand-head h3 span{margin-left:5px;color:var(--ht-accent)}.ht-game .ht-hand-head>span{font-size:10px;color:var(--table-muted,#bdbbb7)}.ht-game .ht-hand{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;overflow:visible;padding:9px 0 13px}.ht-game .ht-hand-card{transition:transform .15s}.ht-game .ht-hand-card.is-playable:hover{transform:translateY(-6px)}.ht-game .ht-hand-card.is-playable .ht-card{cursor:pointer;outline:2px solid #f28d9f44}.ht-game .ht-hand-card.is-waiting .ht-card{opacity:.62}.ht-game .ht-card.selected{outline:3px solid var(--ht-accent)!important;transform:translateY(-7px);box-shadow:0 7px 20px #ed7a912a}.ht-game .ht-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:8px}.ht-game button:not(.playing-card){border:1px solid #e99aac55;background:#e998aa19;color:inherit;border-radius:10px;padding:11px 16px;font:inherit;font-size:13px;min-height:44px;cursor:pointer}.ht-game button:disabled{opacity:.35;cursor:default}.ht-game button:focus-visible{outline:3px solid #ffafc0;outline-offset:3px}.ht-game .ht-received{text-align:center;color:var(--table-muted,#b8b5ad);font-size:10px;margin-top:14px}.ht-game .ht-received span{padding-left:6px;font-size:12px}.ht-game .ht-red{color:#f593a4}.ht-game .ht-results{margin-top:18px;padding:20px;border:1px solid #f09aab30;border-radius:14px;background:#f09aab08}.ht-game .ht-results h3{margin:0 0 16px;font-size:15px;color:var(--ht-accent)}.ht-game .ht-results>div{display:grid;grid-template-columns:minmax(70px,1fr) 90px 75px;gap:8px;font-size:12px;margin-top:12px}.ht-game .ht-results>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ht-game .ht-results>div span{opacity:.65}.ht-game .ht-results>div b{color:var(--ht-accent)}.ht-game .ht-results>button{margin-top:18px}.ht-game .ht-last,.ht-game .ht-history{margin-top:20px;border-top:1px solid var(--table-line);padding-top:14px;color:var(--table-muted,#bdbbb7);font-size:11px}.ht-game summary{cursor:pointer;padding:6px 0;min-height:24px;line-height:1.5}.ht-game .ht-last>div{display:flex;gap:15px;flex-wrap:wrap;margin-top:10px}.ht-game .ht-last strong{font-size:10px;font-weight:500;opacity:.7;margin-right:5px}.ht-game .ht-history-scroll{max-width:100%;overflow-x:auto;margin-top:8px}.ht-game table{width:100%;border-collapse:collapse;font-size:11px}.ht-game th,.ht-game td{text-align:left;padding:10px 6px;border-bottom:1px solid var(--table-line);white-space:nowrap}.ht-game td small{opacity:.55}.ht-game .is-passing{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:260px}.ht-game .ht-pass-art{position:relative;width:100px;height:94px;text-align:center}.ht-game .ht-pass-art>span{font:90px Georgia,serif;line-height:1;color:#f08d9f25}.ht-game .ht-pass-art>b{position:absolute;inset:0;display:grid;place-items:center;font:52px Georgia,serif;color:var(--ht-accent)}.ht-game .ht-pass-copy{text-align:center}.ht-game .ht-pass-copy h2{font:26px Georgia,serif;margin:10px 0}.ht-game .ht-pass-copy p{font-size:12px;line-height:1.5;opacity:.72;margin:0 0 9px}.ht-game .ht-pass-copy>span{font-size:10px;color:var(--ht-accent)}
@media(max-width:550px){.ht-game .ht-roundline{font-size:8px;letter-spacing:.09em}.ht-game .ht-scoreboard{gap:5px}.ht-game .ht-score{padding:10px 4px;border-radius:10px}.ht-game .ht-score>strong{font-size:9px}.ht-game .ht-score strong small{display:none}.ht-game .ht-score>b{font-size:25px}.ht-game .ht-score>span{font-size:8px}.ht-game .ht-table{min-height:320px}.ht-game .ht-west{left:3%}.ht-game .ht-east{right:3%}.ht-game .ht-table-center{max-width:120px}.ht-game .ht-table-center>small{font-size:9px}.ht-game .ht-table-seat>span{max-width:90px;font-size:9px}.ht-game .ht-hand-head>span{font-size:9px}.ht-game .ht-hand{gap:6px}.ht-game .ht-hand .ht-card{width:45px;height:68px;padding:5px;border-radius:6px}.ht-game .ht-hand .ht-corner{font-size:14px}.ht-game .ht-hand .ht-corner small{font-size:10px}.ht-game .ht-hand .ht-pip{font-size:22px}.ht-game .ht-hand .ht-bottom{font-size:11px;bottom:4px;right:5px}.ht-game .ht-results{padding:14px}.ht-game .ht-results>div{font-size:11px;grid-template-columns:minmax(60px,1fr) 75px 62px}.ht-game .is-passing{min-height:230px}.ht-game .ht-message>span{font-size:11px}}

html[data-kg-theme=light] .ht-game{--ht-accent:#af284d}html[data-kg-theme=light] .ht-game .ht-score,html[data-kg-theme=light] .ht-game .ht-message,html[data-kg-theme=light] .ht-game .ht-team{background:var(--table-panel)}html[data-kg-theme=light] .ht-game .ht-empty-card{color:var(--table-muted)}html[data-kg-theme=light] .ht-game .ht-table-center>span,html[data-kg-theme=light] .ht-game .ht-score>span,html[data-kg-theme=light] .ht-game .ht-team-stats{color:var(--table-muted);opacity:1}html[data-kg-theme=light] .ht-game .ht-red{color:#b32d48}html[data-kg-theme=light] .ht-game .ht-hand-card.is-playable .ht-card{outline-color:#af284d66}html[data-kg-theme=light] .ht-game button:focus-visible{outline-color:#af284d}
