.bcr {
 --bcr-cell:clamp(20px,3vw,28px);
 width:100%;min-width:0;color:#f5efdb;font:500 13px/1.35 system-ui,sans-serif;
}
.bcr .bcr-summary {
 display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;margin:0 0 6px;
 font-size:12px;line-height:1.3;font-variant-numeric:tabular-nums;
}
.bcr-summary span {display:inline-flex;align-items:center;gap:4px}
.bcr-summary i,.bcr-mark {
 display:grid;place-items:center;box-sizing:border-box;border-radius:50%;font-style:normal;font-weight:800;
}
.bcr-summary i {height:16px;width:16px;font-size:10px}
.bcr-banker {--bcr-color:#aa3e35;background:var(--bcr-color);color:#fff}
.bcr-player {--bcr-color:#205e9c;background:var(--bcr-color);color:#fff}
.bcr-tie {--bcr-color:#1d7553;background:var(--bcr-color);color:#fff}
.bcr-scroll {
 max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
 direction:rtl;border:1px solid #938264;border-radius:5px;scrollbar-width:thin;
}
.bcr-scroll:focus-visible {outline:2px solid #f2cd7c;outline-offset:2px}
.bcr .bcr-grid {
 direction:ltr;display:grid;grid-template-columns:repeat(var(--bcr-columns),var(--bcr-cell));
 grid-template-rows:repeat(6,var(--bcr-cell));height:calc(6 * var(--bcr-cell));
 width:max(100%,calc(var(--bcr-columns) * var(--bcr-cell)));margin:0;padding:0;list-style:none;
 box-sizing:content-box;background-color:#efe9d9;
 background-image:linear-gradient(90deg,#c9c0af 1px,transparent 1px),linear-gradient(#c9c0af 1px,transparent 1px);
 background-size:var(--bcr-cell) var(--bcr-cell);
}
.bcr-grid .bcr-cell {display:grid;place-items:center;min-width:0;margin:0;padding:0;list-style:none;}
.bcr-mark {
 position:relative;width:calc(var(--bcr-cell) - 4px);height:calc(var(--bcr-cell) - 4px);
 font-size:calc(var(--bcr-cell)*.47);line-height:1;
}
.bcr[data-baccarat-road="big"] .bcr-mark {
 background:#fff6e8;border:2px solid var(--bcr-color);color:var(--bcr-color);
}
.bcr-ties {
 position:absolute;right:-2px;bottom:-1px;display:grid;place-items:center;
 min-width:9px;height:11px;border-radius:4px;color:#fff;background:#16754c;font:bold 9px/1 system-ui,sans-serif;
}
.bcr-ties:empty {width:90%;height:3px;right:3%;bottom:40%;transform:rotate(-40deg);}
.bcr .bcr-empty {margin:5px 0 0;font-size:12px;}
.bcr .bcr-ranks {display:grid;grid-template-columns:repeat(auto-fit,minmax(35px,1fr));gap:3px;margin:0;}
.bcr-ranks div {text-align:center;border:1px solid #746a55;border-radius:4px;background:#172d28;}
.bcr-ranks dt {color:#f2cf8c;font-size:12px;font-weight:700;padding-top:2px;}
.bcr-ranks dd {margin:0;padding:0 2px 3px;color:#fff;font-size:14px;font-variant-numeric:tabular-nums;}
@container game-screen (max-height:480px) {
 .bcr {--bcr-cell:clamp(17px,4.6cqh,22px);}
}
.bcr-mark .bcr-pair{position:absolute;width:32%;height:32%;box-sizing:border-box;border:1px solid #fff7de;border-radius:50%;box-shadow:0 0 0 1px #403b30}
.bcr-pair.banker{top:-5%;left:-5%;background:#c34647}
.bcr-pair.player{bottom:-5%;right:-5%;background:#417ec3}
