*{box-sizing:border-box}:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0d1110;color:#f6f1e8;font-synthesis:none;text-rendering:optimizeLegibility}body{min-width:320px;min-height:100dvh;margin:0;overflow:auto;overflow-x:hidden;background:radial-gradient(circle at 50% 42%,rgb(62 103 71 / 68%),transparent 34%),linear-gradient(135deg,#181612,#0c1110 52%,#191411)}button{font:inherit}#game{min-height:100dvh}.zole-table{position:relative;display:grid;grid-template-rows:minmax(0,1fr);width:100vw;min-height:100dvh;padding:max(12px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));overflow:visible}.score-history{display:grid;align-items:center;gap:12px;width:min(1180px,100%);margin:0 auto;border:1px solid rgb(255 255 255 / 13%);border-radius:8px;background:#101311d1;box-shadow:0 16px 48px #0000003d;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.visually-hidden,.toolbar-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}.game-toolbar{position:fixed;top:max(8px,env(safe-area-inset-top));left:50%;z-index:80;display:flex;width:auto;margin:0;padding:6px;border:1px solid rgb(255 255 255 / 14%);border-radius:12px;background:#101311e5;box-shadow:0 14px 40px #00000059;transform:translate(-50%);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.panel-label{display:block;margin-bottom:3px;color:#d2b76f;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.game-status{position:absolute;top:-22px;left:50%;z-index:6;display:flex;align-items:center;gap:7px;max-width:min(58%,430px);min-height:32px;padding:6px 11px;border:1px solid rgb(210 183 111 / 34%);border-radius:999px;background:#29261eeb;box-shadow:0 8px 24px #00000047;color:#eadcb9;font-size:.78rem;text-align:center;transform:translate(-50%);pointer-events:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.game-status span{overflow:hidden;color:#cdbf9f;font-size:.68rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.game-status strong{overflow:hidden;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.game-status.is-human{background:#efe3c2;color:#111612}.game-status.is-human span{color:#5f5847}.action-row{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:6px}.primary-button,.icon-button{min-height:36px;padding:8px 12px;border:1px solid rgb(255 255 255 / 16%);border-radius:7px;color:#fff9e8;font-weight:800;cursor:pointer}.primary-button{background:#a13c31}.icon-button{background:#242924}.primary-button:hover,.icon-button:hover{filter:brightness(1.08)}.primary-button:disabled,.icon-button:disabled{cursor:default;opacity:.44;filter:none}.primary-button:focus-visible,.icon-button:focus-visible{outline:3px solid #ead28d;outline-offset:2px}.toolbar-button{position:relative;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:9px;border-radius:9px}.toolbar-icon,.toolbar-icon svg{display:block;width:22px;height:22px}.toolbar-icon svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.toolbar-button:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 10px);left:50%;width:max-content;max-width:min(240px,80vw);padding:6px 9px;border:1px solid rgb(255 255 255 / 12%);border-radius:6px;background:#080c0af5;box-shadow:0 8px 22px #00000057;color:#f8efd8;font-size:.72rem;font-weight:800;line-height:1.2;opacity:0;transform:translate(-50%,-4px);transition:opacity .12s ease,transform .12s ease;pointer-events:none}.toolbar-button:hover:after,.toolbar-button:focus-visible:after{opacity:1;transform:translate(-50%)}.toolbar-new-hand{margin-left:3px}.toolbar-badge{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid #111512;border-radius:999px;background:#d9b856;color:#15130e;font-size:.62rem;font-weight:1000}@media(min-width:1340px)and (min-height:320px){.game-toolbar{top:50%;right:max(8px,env(safe-area-inset-right));left:auto;transform:translateY(-50%)}.game-toolbar .action-row{flex-direction:column}.toolbar-new-hand{margin-top:3px;margin-left:0}.toolbar-button:after{top:50%;right:calc(100% + 10px);left:auto;transform:translate(4px,-50%)}.toolbar-button:hover:after,.toolbar-button:focus-visible:after{transform:translateY(-50%)}}.play-area{position:relative;display:grid;grid-template-columns:minmax(130px,.68fr) minmax(300px,1.35fr) minmax(130px,.68fr) minmax(104px,.36fr);grid-template-rows:minmax(210px,1fr) minmax(142px,auto) 24px auto;grid-template-areas:"left center right pule" "bottom bottom bottom bottom" "message message message message" "score score score score";gap:12px;width:min(1180px,100%);min-height:0;margin:0 auto}.player-zone{position:relative;min-width:0;min-height:0;border:1px solid rgb(255 255 255 / 10%);border-radius:8px;background:#0a0f0c6b;box-shadow:inset 0 1px #ffffff12}.player-zone.is-turn{border-color:#e0bf64bf;box-shadow:0 0 0 1px #e0bf6442,inset 0 1px #ffffff17}.player-left{grid-area:left}.player-right{grid-area:right}.player-left,.player-right,.pule-board{align-self:center;height:clamp(160px,24dvh,220px)}.player-bottom{grid-area:bottom;min-height:160px}.pule-board{grid-area:pule;display:grid;grid-template-rows:auto 1fr;align-content:start;gap:8px;min-width:0;min-height:0;padding:12px 8px;border:1px solid rgb(203 176 102 / 18%);border-radius:8px;background:#0c140fad;box-shadow:inset 0 1px #ffffff0d}.pule-board-header{min-width:0}.pule-board-header strong{display:block;overflow:hidden;color:#fff8e6;font-size:.88rem;text-overflow:ellipsis;white-space:nowrap}.player-meta{position:absolute;z-index:2;top:10px;left:10px;right:10px;display:flex;align-items:center;gap:8px;min-width:0;color:#eee6d5;font-size:.85rem}.player-meta strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-meta>span:last-child{flex:0 0 auto;margin-left:auto;color:#c9bea8;font-weight:800;white-space:nowrap}.role-chip{flex:0 0 auto;padding:4px 7px;border-radius:999px;font-size:.66rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.bot-chip{flex:0 0 auto;padding:3px 6px;border:1px solid rgb(127 169 190 / 32%);border-radius:5px;background:#2d4854b8;color:#dceef5;font-size:.58rem;font-weight:900;letter-spacing:.06em;line-height:1;text-transform:uppercase}.role-chip.lielais{background:#ead28d;color:#1b170d}.role-chip.zole{background:#8f3028;color:#ffe7d6}.role-chip.mazais{background:#263a4a;color:#d9e9f5}.role-chip.waiting{background:#35342d;color:#d8d1bd}.role-chip.maza-zole{background:#6d3158;color:#f8d9ec}.hand{position:absolute;inset:48px 10px 10px;display:flex;align-items:center;justify-content:center;min-width:0}.hand-left,.hand-right{flex-wrap:nowrap;overflow:hidden;padding:0 6px}.hand-left .card,.hand-right .card{z-index:calc(var(--fan-index) + 1);width:clamp(48px,4.8vw,62px);margin-left:calc(-1*clamp(30px,2.8vw,36px))}.hand-left .card:first-child,.hand-right .card:first-child{margin-left:0}.player-left:not(.is-revealed) .hand .card,.player-right:not(.is-revealed) .hand .card{overflow:hidden;border:1px solid rgb(255 224 190 / 72%);border-radius:10px;box-shadow:0 8px 14px #00000057,0 0 0 1px #320c10bd,inset 0 0 0 2px #ffefca38;transform:translateY(calc(var(--fan-depth) * 1.1px)) rotate(calc(var(--fan-offset) * 1.45deg));transform-origin:50% 115%}.player-left:not(.is-revealed) .hand,.player-right:not(.is-revealed) .hand{right:14px;left:14px;overflow:visible}.player-left:not(.is-revealed) .hand .card:after,.player-right:not(.is-revealed) .hand .card:after{inset:5px;border-width:1px;border-radius:7px}.player-left.is-revealed .hand,.player-right.is-revealed .hand{inset:42px 8px 8px;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));align-content:center;gap:5px;overflow:visible;padding:0 4px}.revealed-hand-row{display:flex;align-items:center;justify-content:center;min-width:0}.player-left.is-revealed .card,.player-right.is-revealed .card{width:clamp(44px,4.1vw,52px);aspect-ratio:.64;margin-left:-10px}.player-left.is-revealed .card:first-child,.player-right.is-revealed .card:first-child{margin-left:0}.hand-bottom{inset:34px 12px 6px;justify-content:center}.table-center{grid-area:center;position:relative;align-self:center;justify-self:center;width:min(100%,68dvh);aspect-ratio:1;min-width:0;min-height:0;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgb(255 255 255 / 7%),transparent 43%),radial-gradient(circle at 50% 50%,#356945,#183b2b 64%,#10251d);box-shadow:inset 0 0 0 12px #482b158a,inset 0 0 0 16px #ffdf9b1c,0 30px 80px #00000052}.felt-ring{position:absolute;inset:8%}.center-panel{position:absolute;top:50%;left:50%;z-index:3;display:grid;justify-items:center;gap:10px;width:min(72%,380px);max-height:78%;overflow:auto;padding:14px;border:1px solid rgb(255 255 255 / 14%);border-radius:8px;background:#0f1511e0;box-shadow:0 18px 42px #0000004d;color:#f5edda;text-align:center;transform:translate(-50%,-50%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.center-panel strong{display:block;color:#fff8e6}.center-panel p{margin:0;color:#d9d0b9;font-size:.86rem;line-height:1.35}.result-panel{width:min(84%,470px)}.result-panel>div:first-child strong{font-size:1rem}.result-summary{color:#f4e8c9!important;font-weight:800}.result-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}.result-scores>div{display:grid;gap:2px;min-width:0;padding:8px 5px;border:1px solid rgb(255 255 255 / 10%);border-radius:6px;background:#ffffff0d}.result-scores>div.is-declarer{border-color:#d8b95d70;background:#d8b95d1a}.result-scores span,.result-scores small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-scores span{color:#d8cdb4;font-size:.64rem;font-weight:800}.result-scores strong{color:#fff4d4;font-size:1.05rem}.result-scores small{color:#a9a08e;font-size:.62rem;font-weight:750}.result-pule{width:100%;padding:7px;border-radius:5px;background:#78b28a1f;color:#b9d8c1!important}.table-info{width:min(54%,240px);padding:10px;background:#0f151194}.score-pile{position:absolute;z-index:2;display:grid;justify-items:center;gap:3px;width:clamp(70px,8vw,86px);padding:5px;border:1px solid rgb(255 255 255 / 13%);border-radius:8px;background:#080e0a94;color:#eee4cb;font-size:.66rem;font-weight:900;text-align:center;pointer-events:none}.score-pile span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score-pile strong{color:#fff6da;font-size:.86rem}.reveal-audit{position:absolute;top:-5%;left:50%;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:min(64%,270px);padding:5px;border:1px solid rgb(255 255 255 / 14%);border-radius:8px;background:#080e0aa3;color:#efe4c9;text-align:center;transform:translate(-50%);pointer-events:none}.audit-group{display:grid;grid-template-rows:auto 38px;justify-items:center;align-items:center;gap:2px;min-width:0}.audit-group[data-audit-group=laid-down]{grid-template-columns:minmax(0,1fr) auto}.audit-group[data-audit-group=laid-down]>.panel-label{grid-column:1;grid-row:1;justify-self:end;margin-right:4px}.audit-group[data-audit-group=laid-down]>strong{grid-column:2;grid-row:1;justify-self:start}.audit-group>.audit-cards{grid-column:1 / -1;grid-row:2}.audit-group>.panel-label{margin-bottom:0;font-size:.56rem;letter-spacing:.05em;line-height:1;white-space:nowrap}.audit-group strong{overflow:hidden;max-width:100%;color:#fff8e6;font-size:.58rem;font-weight:900;line-height:1;text-overflow:ellipsis;white-space:nowrap}.audit-cards{display:flex;justify-content:center;min-height:38px}.audit-card{width:34px;min-width:0;border-radius:5px;box-shadow:0 4px 8px #00000038,inset 0 0 0 2px #ffffff94}.audit-card+.audit-card{margin-left:-8px}.audit-card .corner{font-size:.54rem}.audit-card .corner.top{top:4px;left:4px}.audit-card .corner.bottom{right:4px;bottom:4px}.audit-card .suit-mark{font-size:1.15rem}.audit-card .court-art{inset:19% 24% 18%;width:52%;height:63%}.audit-empty{display:grid;place-items:center;min-width:34px;height:38px;border:1px dashed rgb(255 255 255 / 22%);border-radius:5px;color:#d6cab0;font-size:1rem;font-weight:900}.felt-ring[data-declarer-seat=left] .declarer-pile,.felt-ring[data-declarer-seat=right] .mazie-pile{inset:4% auto auto -10%}.felt-ring[data-declarer-seat=right] .declarer-pile,.felt-ring[data-declarer-seat=left] .mazie-pile,.felt-ring[data-declarer-seat=bottom] .mazie-pile{inset:4% -10% auto auto}.felt-ring[data-declarer-seat=none] .declarer-pile{right:auto;bottom:14%;left:5%}.felt-ring[data-declarer-seat=none] .mazie-pile{right:5%;bottom:14%;left:auto}.felt-ring[data-declarer-seat=bottom] .declarer-pile{bottom:3%;left:2%}.pile-stack{position:relative;width:58px;height:58px}.pile-placeholder{position:absolute;inset:8px 10px;border:1px dashed rgb(255 255 255 / 24%);border-radius:5px}.bid-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.bid-actions button{min-height:38px;padding:8px 6px;border:1px solid rgb(255 255 255 / 16%);border-radius:7px;background:#eee2bf;color:#16130d;font-weight:900;cursor:pointer}.bid-actions button:last-child{background:#252a26;color:#f8efd8}.bid-actions button:hover{filter:brightness(1.06)}.bid-history{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;color:#d8ccb3;font-size:.72rem;font-weight:800}.bid-history span,.talon-empty{padding:5px 7px;border-radius:999px;background:#ffffff17}.pule-empty{align-self:start;padding:18px 4px;border:1px dashed rgb(202 167 94 / 24%);border-radius:6px;background:#ffffff05;color:#988e78;font-size:.72rem;font-weight:750;text-align:center}.talon-stack{position:relative;display:grid;grid-template-columns:repeat(2,28px);justify-content:center;min-height:48px}.talon-stack .mini-card{width:42px;transform:rotate(-7deg)}.talon-stack .mini-card+.mini-card{margin-left:-14px;transform:rotate(7deg) translateY(4px)}.discard-panel .primary-button:disabled{opacity:.48;cursor:default;filter:none}.pule-tree{position:relative;display:grid;align-content:start;min-width:0;max-height:100%;overflow:auto;padding:14px 0 18px}.pule-row{position:relative;display:grid;grid-template-columns:minmax(28px,1fr) 6px minmax(38px,1fr);min-height:38px;color:#efe4c9;font-size:.68rem;font-weight:900}.pule-trunk{width:3px;height:calc(100% + 2px);justify-self:center;border-radius:999px;background:#8b7042}.pule-right-branch,.pule-left-branch{position:relative;display:block;min-width:0}.pule-right-branch:before,.pule-left-branch:before{content:"";position:absolute;top:1px;width:clamp(24px,3.4vw,36px);height:2px;border-radius:999px;background:#caa75e}.pule-right-branch:before{left:-1px;transform:rotate(45deg);transform-origin:left center}.pule-left-branch:before{right:-1px;display:none;background:#78b28a;transform:rotate(-45deg);transform-origin:right center}.pule-row.is-closed .pule-left-branch:before{display:block}.pule-right-branch span{position:absolute;top:13px;left:clamp(23px,3.2vw,34px);max-width:calc(100% - 30px);overflow:hidden;color:#efe4c9;text-overflow:ellipsis;white-space:nowrap}.pule-row:nth-child(2n) .pule-right-branch:before{width:clamp(20px,3vw,31px);transform:rotate(38deg)}.pule-row:nth-child(3n) .pule-left-branch:before{width:clamp(20px,3vw,31px);transform:rotate(-38deg)}.pule-row:not(.is-named) .pule-right-branch span{display:none}.trick-slot{position:absolute;display:grid;justify-items:center;gap:6px;width:clamp(78px,12vw,112px);color:#e8dfc9;font-size:.72rem;font-weight:800;text-align:center}.slot-0{left:50%;bottom:4%;transform:translate(-50%)}.slot-1{top:28%;left:14%}.slot-2{top:28%;right:14%}.empty-slot{width:clamp(64px,8vw,82px);aspect-ratio:.68;border:1px dashed rgb(255 255 255 / 27%);border-radius:8px;background:#00000021}.card{position:relative;isolation:isolate;display:grid;place-items:center;width:clamp(54px,7vw,74px);aspect-ratio:.68;flex:0 0 auto;border:1px solid rgb(20 16 12 / 42%);border-radius:8px;background:linear-gradient(145deg,rgb(255 255 255 / 56%),transparent 36%),#f7f1e5;box-shadow:0 9px 18px #00000038,inset 0 0 0 3px #ffffff9e;color:#18140f;-webkit-user-select:none;user-select:none}.reveal-audit .audit-card{width:28px;flex-basis:28px}.trick-slot:has(.table-card){z-index:4}.pile-stack .pile-card{position:absolute;top:calc(var(--pile-index) * 2px);left:calc(var(--pile-index) * 3px);width:38px;height:52px;min-width:0;aspect-ratio:auto;border-radius:5px;box-shadow:0 5px 10px #0000003d,inset 0 0 0 2px #ffebb470;transform:rotate(calc((var(--pile-index) - 2.5) * 2deg))}.pile-stack .pile-card:after{inset:4px;border-radius:4px}.pile-count{position:absolute;right:-4px;bottom:-5px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border:1px solid rgb(255 255 255 / 20%);border-radius:999px;background:#efe3c2;color:#15140f;font-size:.72rem;font-weight:1000;line-height:1;box-shadow:0 4px 12px #00000047}button.card{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}button.card:disabled{cursor:default}.hand-bottom .card{aspect-ratio:.68;margin-left:calc(-1*clamp(14px,2.4vw,24px))}.hand-bottom .court-art{inset:17% 24% 23%;width:52%;height:60%}.hand-bottom .card:first-child{margin-left:0}.hand-bottom .card.is-legal:hover,.hand-bottom .card.is-legal:focus-visible,.hand-bottom .card.is-discardable:hover,.hand-bottom .card.is-discardable:focus-visible{z-index:5;transform:translateY(-18px);box-shadow:0 16px 32px #00000052,0 0 0 3px #e0bf648a,inset 0 0 0 3px #ffffffb3}.hand-bottom .card.is-selected{z-index:4;transform:translateY(-20px);box-shadow:0 16px 32px #00000057,0 0 0 3px #94d09db3,inset 0 0 0 3px #ffffffbd}.hand-bottom .card.is-unavailable{filter:saturate(.65) brightness(.86)}.table-card{width:clamp(64px,8vw,86px);pointer-events:none}.flying-card{position:fixed;z-index:1000;will-change:transform,opacity;pointer-events:none;transform-origin:top left}.card-back{background:linear-gradient(135deg,transparent 18px,rgb(255 255 255 / 18%) 19px,transparent 20px),linear-gradient(45deg,transparent 18px,rgb(255 255 255 / 12%) 19px,transparent 20px),#7b1f27;background-size:22px 22px;color:#f7e4b6}.card-back:after{content:"";position:absolute;inset:6px;border:1px solid rgb(255 235 180 / 56%);border-radius:5px}.back-mark{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffefc32e;font-size:1.25rem;font-weight:1000}.red-suit{color:#a92424}.black-suit{color:#151515}.corner{position:absolute;z-index:2;display:grid;justify-items:center;font-size:clamp(.72rem,1.35vw,.92rem);font-weight:950;line-height:.9}.corner small{font-size:.88em}.corner.top{top:7px;left:7px}.corner.bottom{right:7px;bottom:7px;transform:rotate(180deg)}.suit-mark{font-size:clamp(1.6rem,3.5vw,2.35rem);line-height:1}.court-art{position:absolute;inset:18% 23% 17%;width:54%;height:65%;object-fit:fill;border:1px solid rgb(84 127 160 / 72%);background:#fff;image-rendering:auto;pointer-events:none;-webkit-user-select:none;user-select:none}.message-line{grid-area:message;width:min(1180px,100%);min-height:24px;margin:0 auto;overflow:hidden;color:#f2e7cd;font-size:.95rem;font-weight:750;text-align:center;text-overflow:ellipsis;white-space:nowrap}.score-history{grid-area:score;display:grid;grid-template-rows:auto minmax(0,1fr);align-content:start;align-items:stretch;gap:10px;width:min(1180px,100%);margin:2px auto 18px;padding:14px}.score-history-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.score-history-scroll{max-height:420px;overflow:auto;border:1px solid rgb(255 255 255 / 10%);border-radius:6px}.score-history table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}.score-history th,.score-history td{height:42px;padding:8px 12px;border-right:1px solid rgb(255 255 255 / 10%);border-bottom:1px solid rgb(255 255 255 / 9%);text-align:center}.score-history th:last-child,.score-history td:last-child{border-right:0}.score-history th{position:sticky;z-index:2;top:0;background:#1c211e;color:#efe5cf;font-size:.78rem}.score-history td{background:#ffffff08;color:#fff8e8;font-size:.95rem;font-weight:850}.score-history-row.contract-zole td.is-declarer{background:#8f302857}.score-history-row.contract-maza-zole td.is-declarer{background:#6d315866}.score-history-row td.is-declarer{box-shadow:inset 3px 0 #d8b95d}.score-history-row.contract-zole td.is-declarer{box-shadow:inset 3px 0 #d66b5c}.score-history-row.contract-maza-zole td.is-declarer{box-shadow:inset 3px 0 #c57cab}.score-history-empty{color:#9e9788!important;font-size:.82rem!important;font-weight:700!important}.overlay{position:fixed;z-index:900;inset:0;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:#0000008a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.viewer-panel{display:grid;grid-template-rows:auto 1fr;gap:12px;width:min(860px,100%);max-width:100%;max-height:min(760px,88dvh);min-height:0;padding:14px;border:1px solid rgb(255 255 255 / 14%);border-radius:8px;background:#0d120ff5;box-shadow:0 24px 80px #0000007f}.viewer-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.viewer-header strong{display:block;color:#fff8e6;font-size:1.05rem}.viewer-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.trick-list{display:grid;align-content:start;gap:10px;min-height:0;overflow:auto;padding-right:4px}.trick-review{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);gap:10px;padding:10px;border:1px solid rgb(255 255 255 / 10%);border-radius:8px;background:#ffffff0d}.trick-review-meta{display:grid;align-content:start;gap:4px;min-width:0;color:#d9ceb4;font-size:.78rem;font-weight:750}.trick-review-meta strong{color:#fff5d7;font-size:.92rem}.trick-review-cards{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.trick-review-play{display:grid;justify-items:center;gap:5px;min-width:54px;color:#e9ddc5;font-size:.7rem;font-weight:850;text-align:center}.viewer-empty{margin:0;color:#d8ccb2;font-weight:800}.log-viewer{width:min(980px,100%)}.log-viewer pre{min-height:0;margin:0;overflow:auto;padding:12px;border:1px solid rgb(255 255 255 / 10%);border-radius:8px;background:#00000057;color:#eadfc8;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.72rem;line-height:1.4;white-space:pre-wrap}.report-button{border-color:#dab2506b;color:#f5dda0}.bad-move-reporter{width:min(1040px,100%)}.bad-move-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;overflow:auto;padding-right:3px}.report-field{display:grid;align-content:start;gap:6px;min-width:0;color:#efe5cf;font-size:.78rem;font-weight:800}.report-field-wide,.report-decision-picker,.reported-decision-summary,.report-target-confirmation,.report-target-empty,.report-privacy,.report-actions,.report-status{grid-column:1 / -1}.report-decision-picker{min-width:0;margin:0;padding:0;border:0}.report-decision-picker legend{padding:0;color:#fff4d2;font-size:.88rem;font-weight:900}.report-step-help{margin:5px 0 9px;color:#c9bea7;font-size:.74rem;line-height:1.4}.report-decision-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:min(38vh,360px);overflow:auto;padding:2px 4px 2px 2px;overscroll-behavior:contain}.report-decision-option{position:relative;min-width:0;cursor:pointer}.report-decision-option>input{position:absolute;width:1px;height:1px;margin:0;opacity:0}.report-decision-card{display:grid;gap:4px;min-height:104px;padding:10px 11px;border:1px solid rgb(255 255 255 / 13%);border-radius:8px;background:#ffffff0a;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.report-decision-option:hover .report-decision-card{border-color:#dab2506b;background:#dab25012}.report-decision-option>input:checked+.report-decision-card{border-color:#dab250d1;background:#dab25021;box-shadow:inset 3px 0 #dab250}.report-decision-option>input:focus-visible+.report-decision-card{outline:2px solid #f3d88e;outline-offset:2px}.report-decision-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.report-decision-heading strong{overflow:hidden;color:#fff7e4;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.report-decision-role{flex:none;padding:3px 6px;border-radius:999px;background:#6e948a33;color:#cbe2dc;font-size:.62rem;font-weight:850}.report-decision-action{color:#f5d989;font-size:.9rem;font-weight:900}.report-decision-card small{color:#bfb49f;font-size:.68rem;font-weight:700;line-height:1.3}.report-field select,.report-field textarea{width:100%;border:1px solid rgb(255 255 255 / 16%);border-radius:7px;outline:none;background:#202622;color:#fff8e8;font:inherit;font-weight:650}.report-field select{min-height:40px;padding:8px 10px}.report-field textarea{min-height:92px;padding:10px;resize:vertical;line-height:1.45}.report-field select:focus,.report-field textarea:focus{border-color:#dab250b8;box-shadow:0 0 0 2px #dab25024}.reported-decision-summary{display:grid;gap:4px;padding:10px 12px;border:1px solid rgb(210 183 111 / 25%);border-radius:7px;background:#d2b76f14}.reported-decision-summary span,.reported-decision-summary small{color:#cfc4ab;font-size:.75rem;font-weight:700}.reported-decision-summary strong{color:#fff5d7}.report-target-confirmation{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid rgb(218 178 80 / 36%);border-radius:8px;background:#dab25014;color:#f5e9cf;cursor:pointer}.report-target-confirmation input{width:19px;height:19px;flex:none;margin:1px 0 0;accent-color:#d6ad49}.report-target-confirmation input:focus-visible{outline:2px solid #f3d88e;outline-offset:2px}.report-target-confirmation span{display:grid;gap:3px}.report-target-confirmation strong{font-size:.8rem}.report-target-confirmation small{color:#c9bfa8;font-size:.7rem;line-height:1.35}.report-target-empty{padding:13px;border:1px dashed rgb(255 255 255 / 18%);border-radius:8px;color:#c9bea7;font-size:.78rem;font-weight:750;line-height:1.45;text-align:center}.report-privacy{margin:0;color:#bdb39e;font-size:.75rem;line-height:1.45}.report-actions{display:flex;flex-wrap:wrap;gap:8px}.danger-button{border-color:#c8514666;color:#f1b1a9}.report-status{min-height:1.25em;margin:0;color:#ead18c;font-size:.78rem;font-weight:750}@media(max-width:640px){.bad-move-form{grid-template-columns:minmax(0,1fr)}.report-field-wide,.report-decision-picker,.reported-decision-summary,.report-target-confirmation,.report-target-empty,.report-privacy,.report-actions,.report-status{grid-column:1}.report-decision-list{grid-template-columns:minmax(0,1fr);max-height:min(42vh,390px)}.report-decision-card{min-height:0}}@media(min-width:960px)and (max-width:1339px){.zole-table{padding-top:max(66px,calc(env(safe-area-inset-top) + 58px))}.game-status{top:8px}.reveal-audit{top:8%}}@media(min-width:960px)and (max-width:1100px){.player-left .bot-chip,.player-right .bot-chip{display:none}.player-left .player-meta,.player-right .player-meta{gap:5px;font-size:.78rem}}@media(min-width:960px)and (min-height:600px){.zole-table{height:100dvh;min-height:0;grid-template-rows:minmax(0,1fr)}.play-area{height:100%;grid-template-columns:minmax(220px,1fr) minmax(460px,620px) minmax(220px,1fr);grid-template-rows:170px minmax(0,1fr) 160px 24px;grid-template-areas:"left center right" "score center pule" "bottom bottom bottom" "message message message"}.player-left,.player-right{align-self:stretch;width:100%;height:170px}.play-area:has(.player-zone.is-revealed){grid-template-rows:195px minmax(0,1fr) 160px 24px}.play-area:has(.player-zone.is-revealed) .player-left,.play-area:has(.player-zone.is-revealed) .player-right{height:195px}.table-center{grid-area:center;width:min(100%,65dvh,calc(100dvh - 290px))}.player-bottom{min-height:160px}.pule-board,.score-history{align-self:stretch;width:100%;height:100%;min-height:0;margin:0}.score-history{padding:10px}.score-history-heading{align-items:start;flex-direction:column;gap:6px}.score-history-scroll{min-height:0;max-height:none}}@media(min-width:960px)and (min-height:600px)and (max-height:780px){.play-area{grid-template-rows:150px minmax(0,1fr) 145px 24px}.player-left,.player-right{height:150px}.player-bottom{min-height:145px}.table-center{width:min(100%,65dvh,calc(100dvh - 290px))}.center-panel{gap:6px;padding:10px}.play-area:has(.player-zone.is-revealed){grid-template-rows:175px minmax(0,1fr) 145px 24px}.play-area:has(.player-zone.is-revealed) .player-left,.play-area:has(.player-zone.is-revealed) .player-right{height:175px}.bid-panel .talon-stack{display:none}}@media(min-width:960px)and (min-height:600px)and (max-height:640px){.center-panel{gap:4px;padding:6px}.bid-history{gap:3px;font-size:.64rem}.bid-actions{gap:5px}.bid-actions button{min-height:32px;padding:4px;font-size:.85rem}}@media(max-width:959px){body{overflow:auto}.zole-table{grid-template-rows:auto;min-height:100dvh;height:auto;padding-top:max(66px,calc(env(safe-area-inset-top) + 58px));padding-bottom:max(18px,env(safe-area-inset-bottom));overflow:visible}.play-area{grid-template-columns:1fr 1fr;grid-template-rows:130px minmax(215px,28dvh) 135px 24px 64px auto;grid-template-areas:"left right" "center center" "bottom bottom" "message message" "pule pule" "score score"}.player-bottom{min-height:135px}.player-left,.player-right,.pule-board{width:100%;height:100%}.table-center{width:100%;height:100%;aspect-ratio:auto;border-radius:24px}.reveal-audit{top:14%;width:min(74%,240px)}.reveal-audit .audit-card{width:24px;flex-basis:24px}.audit-group{grid-template-rows:auto 35px}.audit-cards{min-height:35px}.audit-empty{min-width:30px;height:35px}.game-status{top:6px;max-width:min(78%,390px)}.player-left.is-revealed .court-art,.player-right.is-revealed .court-art{inset:23% 28% 22%;width:44%;height:55%}.center-panel{width:min(86%,390px);max-height:90%;gap:6px;padding:10px}.bid-panel{overflow:hidden}.bid-panel .talon-stack{display:none}.score-pile{width:58px;gap:1px;padding:3px;font-size:.54rem}.score-pile .pile-stack{width:34px;height:28px}.score-pile .pile-card{top:calc(var(--pile-index) * 1px);left:calc(var(--pile-index) * 1.5px);width:24px;height:32px}.score-pile .pile-placeholder{inset:2px 5px}.score-pile .pile-count{right:-6px;bottom:-4px;min-width:18px;height:18px;font-size:.62rem}.felt-ring[data-declarer-seat=left] .declarer-pile,.felt-ring[data-declarer-seat=right] .mazie-pile,.felt-ring[data-declarer-seat=none] .declarer-pile{inset:4% auto auto -6%}.felt-ring[data-declarer-seat=right] .declarer-pile,.felt-ring[data-declarer-seat=left] .mazie-pile,.felt-ring[data-declarer-seat=bottom] .mazie-pile,.felt-ring[data-declarer-seat=none] .mazie-pile{inset:4% -6% auto auto}.felt-ring[data-declarer-seat=bottom] .declarer-pile{inset:auto auto -67px 50%;transform:translate(-50%)}.pule-board{min-height:64px;padding:7px 9px;grid-template-columns:auto 1fr;grid-template-rows:1fr;align-items:center}.pule-tree{max-height:54px;padding:2px 0}.pule-empty{padding:8px}.slot-1{top:43%;left:5%}.slot-2{top:43%;right:5%}.slot-0{bottom:1%}.message-line{white-space:normal}.trick-review{grid-template-columns:1fr}}@media(max-width:520px){.zole-table{gap:8px;padding:max(66px,calc(env(safe-area-inset-top) + 58px)) max(8px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.play-area{grid-template-rows:130px minmax(215px,28dvh) 135px 24px 64px auto}.score-history{padding:10px}.score-history-heading{align-items:start;flex-direction:column}.player-meta{top:8px;left:8px;right:8px;font-size:.75rem}.role-chip{padding:3px 5px;font-size:.58rem}.bot-chip{display:none}.player-meta{gap:5px}.hand{inset:42px 8px 8px}.hand-bottom .card{margin-left:-24px}.game-status span{display:none}.player-left.is-revealed .card,.player-right.is-revealed .card{width:clamp(40px,10vw,46px);margin-left:-8px}.player-left.is-revealed .court-art,.player-right.is-revealed .court-art{inset:26% 31% 25%;width:38%;height:49%}.center-panel{gap:6px;max-height:90%;padding:10px}.result-panel{width:94%;max-height:none;gap:5px;padding:8px}.result-panel>div:first-child strong{font-size:.85rem}.result-panel .result-summary{font-size:.7rem}.result-scores{gap:3px}.result-scores>div{padding:4px 2px}.result-scores strong{font-size:.9rem}.result-scores small{font-size:.56rem}}@media(max-width:360px){.reveal-audit{top:13%;gap:3px;width:min(76%,210px);padding:4px}.reveal-audit .audit-card{width:21px;flex-basis:21px}.audit-group>.panel-label{font-size:.48rem;letter-spacing:.02em}.audit-group[data-audit-group=laid-down]>.panel-label{display:none}.audit-group[data-audit-group=laid-down]>strong{grid-column:1 / -1;justify-self:center}.game-status{top:4px}.audit-group{grid-template-rows:auto 31px}.audit-cards{min-height:31px}.audit-empty{min-width:28px;height:31px}.slot-0{bottom:-3%}.felt-ring[data-declarer-seat=left] .declarer-pile,.felt-ring[data-declarer-seat=right] .mazie-pile,.felt-ring[data-declarer-seat=none] .declarer-pile{left:-11%}.felt-ring[data-declarer-seat=right] .declarer-pile,.felt-ring[data-declarer-seat=left] .mazie-pile,.felt-ring[data-declarer-seat=bottom] .mazie-pile,.felt-ring[data-declarer-seat=none] .mazie-pile{right:-11%}.hand-left .card,.hand-right .card{width:52px;margin-left:-39px}.hand-bottom:has(.card:nth-child(9)) .card{width:50px;margin-left:-24px}.hand-bottom:has(.card:nth-child(9)) .card:first-child{margin-left:0}.player-left.is-revealed .card,.player-right.is-revealed .card{width:30px;margin-left:-5px}}@media(max-width:959px){.play-area:has(.player-zone.is-revealed){grid-template-rows:195px minmax(215px,28dvh) 160px 24px 64px auto}}@media(max-width:360px){.play-area:has(.player-zone.is-revealed){grid-template-rows:155px minmax(195px,26dvh) 135px 24px 64px auto}.play-area:has(.player-zone.is-revealed) .bid-panel .bid-history,.play-area:has(.player-zone.is-revealed) .discard-panel p{display:none}}@media(min-width:960px)and (min-height:320px)and (max-height:599px){body{overflow:hidden}.zole-table{height:100dvh;min-height:0;grid-template-rows:minmax(0,1fr);overflow:hidden}.play-area,.play-area:has(.player-zone.is-revealed){height:100%;grid-template-columns:minmax(220px,1fr) minmax(460px,620px) minmax(220px,1fr);grid-template-rows:clamp(90px,24dvh,140px) minmax(0,1fr) clamp(85px,22dvh,120px) 20px;grid-template-areas:"left center right" "score center pule" "bottom bottom bottom" "message message message";gap:6px 12px}.player-left,.player-right,.play-area:has(.player-zone.is-revealed) .player-left,.play-area:has(.player-zone.is-revealed) .player-right,.pule-board,.score-history{align-self:stretch;width:100%;height:100%;min-height:0}.player-bottom{min-height:clamp(85px,22dvh,120px)}.table-center{grid-area:center;width:min(100%,56dvh,calc(100dvh - 150px))}.center-panel{gap:4px;max-height:94%;padding:6px}.bid-panel .talon-stack,.bid-panel .bid-history,.discard-panel p,.reveal-audit{display:none}.bid-actions{gap:5px}.bid-actions button{min-height:30px;padding:3px 4px;font-size:.82rem}.player-meta{top:6px;right:6px;left:6px;gap:5px;font-size:.72rem}.player-left:not(.is-revealed) .hand,.player-right:not(.is-revealed) .hand{inset:32px 4px 3px;overflow:hidden}.hand-left .card,.hand-right .card{width:46px;margin-left:-31px}.player-left.is-revealed .hand,.player-right.is-revealed .hand{inset:30px 4px 2px}.player-left.is-revealed .card,.player-right.is-revealed .card{width:27px;margin-left:-4px}.player-bottom .hand{inset:30px 8px 3px}.hand-bottom .card{width:60px;margin-left:-18px}.score-history{padding:7px}.score-history-heading{display:none}.pule-board{padding:7px}.message-line{font-size:.72rem;white-space:nowrap}}@media(min-width:960px)and (min-height:600px)and (max-height:640px){.reveal-audit{top:8%;width:min(58%,190px);padding:4px}.reveal-audit .audit-card{width:24px;flex-basis:24px}.audit-group{grid-template-rows:auto 35px}.audit-cards{min-height:35px}.audit-empty{min-width:30px;height:35px}.score-pile{width:58px;gap:1px;padding:3px;font-size:.56rem}.score-pile .pile-stack{width:38px;height:34px}.score-pile .pile-card{top:calc(var(--pile-index) * 1px);left:calc(var(--pile-index) * 1.5px);width:26px;height:36px}.felt-ring[data-declarer-seat=left] .declarer-pile,.felt-ring[data-declarer-seat=right] .mazie-pile,.felt-ring[data-declarer-seat=none] .declarer-pile{inset:2% auto auto -10%}.felt-ring[data-declarer-seat=right] .declarer-pile,.felt-ring[data-declarer-seat=left] .mazie-pile,.felt-ring[data-declarer-seat=bottom] .mazie-pile,.felt-ring[data-declarer-seat=none] .mazie-pile{inset:2% -10% auto auto}.felt-ring[data-declarer-seat=bottom] .declarer-pile{inset:auto auto -10% -10%}.trick-slot{width:78px}.slot-1{top:36%;left:3%}.slot-2{top:36%;right:3%}.table-card,.empty-slot{width:64px}}@media(min-width:640px)and (max-width:959px)and (max-height:520px){body{overflow:hidden}.zole-table{height:100dvh;min-height:0;overflow:hidden}.play-area,.play-area:has(.player-zone.is-revealed){height:100%;grid-template-columns:minmax(120px,.7fr) minmax(320px,2fr) minmax(120px,.7fr);grid-template-rows:110px minmax(0,1fr) 95px 20px;grid-template-areas:"left center right" ". center ." "bottom bottom bottom" "message message message";gap:6px}.score-history,.pule-board,.reveal-audit{display:none}.felt-ring[data-declarer-seat=bottom] .declarer-pile{inset:auto auto -5% -14%;transform:none}.player-left,.player-right,.play-area:has(.player-zone.is-revealed) .player-left,.play-area:has(.player-zone.is-revealed) .player-right{align-self:stretch;width:100%;height:110px}.player-bottom{min-height:95px}.table-center{width:100%;height:100%;aspect-ratio:auto;border-radius:20px}.game-status{top:4px}.center-panel{gap:4px;max-height:96%;padding:6px}.bid-panel .bid-history,.discard-panel p{display:none}.bid-actions{gap:5px}.bid-actions button{min-height:30px;padding:3px 4px;font-size:.82rem}.bid-history{font-size:.64rem}.player-meta{top:6px;right:6px;left:6px;gap:5px;font-size:.7rem}.bot-chip{display:none}.player-left:not(.is-revealed) .hand,.player-right:not(.is-revealed) .hand{inset:32px 4px 3px;overflow:hidden}.hand-left .card,.hand-right .card{width:44px;margin-left:-31px}.player-left.is-revealed .hand,.player-right.is-revealed .hand{inset:30px 4px 2px}.player-left.is-revealed .card,.player-right.is-revealed .card{width:25px;margin-left:-4px}.player-bottom .hand{inset:28px 8px 3px}.hand-bottom .card{width:52px;margin-left:-16px}.message-line{font-size:.72rem;white-space:nowrap}}
