/* Морской бой: два игрока на листе, головоломка с цифрами по краям */
.bsf[hidden] { display: none; }
.bs-page { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.bs-player { display: flex; flex-direction: column; gap: 1.5mm; }
.bs-player + .bs-player { border-top: 1.4px dashed #999; padding-top: 3mm; }
.bs-name { font: 600 11pt/1 var(--head); color: #333; display: flex; align-items: flex-end; gap: 2mm; }
.bs-name i { display: inline-block; width: 50mm; border-bottom: 1.2px solid #555; }
.bs-two { display: flex; justify-content: space-around; }
.bs-cap { font: 700 10pt/1 var(--head); color: #1d5fa8; text-align: center; margin-bottom: 1mm; }
.bs-grid { display: grid; grid-template-columns: repeat(calc(var(--n) + 1), var(--cell)) auto; grid-auto-rows: var(--cell); }
.bs-grid:not(:has(.bs-num)) { grid-template-columns: repeat(calc(var(--n) + 1), var(--cell)); }
.bs-h { display: flex; align-items: center; justify-content: center; font: 700 calc(var(--cell) * .42)/1 var(--head); color: #555; }
.bs-c { border: .8px solid #8fa7c4; display: flex; align-items: center; justify-content: center; background: #fff; margin: -.4px; }
.bs-hintS { background: #5b6b80; }
.bs-ship { display: inline-flex; gap: .5mm; vertical-align: middle; }
.bs-ship i { background: #5b6b80; border-radius: .6mm; display: inline-block; }
.bs-ans { background: var(--teal); }
.bs-hintW { color: #2f7fc1; font: 700 calc(var(--cell) * .6)/1 var(--head); }
.bs-num { display: flex; align-items: center; justify-content: center; font: 700 calc(var(--cell) * .5)/1 var(--head); color: #b3261e; min-width: var(--cell); }
.bs-legend, .bs-fleetline { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5mm 4mm; font: 600 9pt/1 var(--head); color: #444; }
.bs-li { display: inline-flex; align-items: center; gap: 1.2mm; }
.bs-li b { font-size: 11pt; color: #555; }
.bs-li em { font-style: normal; }
.bs-lt { font-weight: 700; color: #1d5fa8; }
.bs-pz { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4mm; }
.bs-fleetline { justify-content: center; }
.bs-pzgrid { flex: 1; display: grid; gap: 6mm; place-items: center; }
.bs-per4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bs-per2 { grid-template-rows: 1fr 1fr; }
