/* 两两混合的一局：混合结果（对称 4×4）在上，同样排法的现象表紧贴在下，贴标签卡片、铅笔卡片。
   两张表第一列同宽，四列对齐，方便"这瓶的一行"对着"现象表的一行"看。 */
.lab { position: relative; padding: 2px 2px 4px; }
.lab-title { font-family: var(--serif); font-size: 14px; margin: 6px 4px 4px; display: flex; align-items: baseline; gap: 6px; }
.lab-title small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--ink-2); }
.mx, .rf { display: grid; grid-template-columns: 58px repeat(4, minmax(0, 1fr)); gap: 3px; }
.mx-head { font-family: var(--serif); font-weight: 800; color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-size: 14px; min-height: 20px; }
/* 行头：瓶子在上，铅笔记号（或还在的标签）在瓶子下面一行。58px 宽里"✎"加三个字也放得下（第 3 轮评审：放在瓶子右边会被切掉半个字） */
.mx-row { min-height: 44px; border: 0; border-radius: 8px; background: transparent; padding: 1px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.mx-row .guess { font-size: 11px; line-height: 13px; color: #6b665c; white-space: nowrap; }
.mx-row .guess.on { color: var(--ink); font-weight: 700; }
.mx-row .guess.label { background: #f0dfb4; color: var(--brass-ink); border-radius: 5px; padding: 0 3px; font-weight: 700; }
.mx-cell { min-height: 44px; border-radius: 8px; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; }
.mx-cell.self, .rf-cell.self { color: #b5ad9b; background: transparent; border: 0; }
.mx-cell.todo { background: var(--bench-2); color: var(--paper); }
.mx-cell.todo b { font-size: 12px; font-weight: 700; }
.mx-cell.todo .cost { font-size: 12px; font-weight: 700; color: #f2d48b; }
.mx-cell.seen { background: #fff; border: 1.5px solid var(--ink); flex-direction: row; gap: 2px; }
.mx-cell.seen .glyph { width: 16px; height: 16px; }
.mx-cell.seen .short { font-size: 12px; font-weight: 700; }
.mx-cell.just-seen { animation: flashcell .7s ease-out; }
.rf-head { font-size: 12px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; justify-content: center; min-height: 20px; }
.rf-head.row { justify-content: flex-start; padding-left: 4px; }
.rf-cell { min-height: 34px; border: 1px solid var(--line); border-radius: 7px; background: transparent; display: flex; align-items: center; justify-content: center; gap: 2px; padding: 0; }
.rf-cell .glyph { width: 16px; height: 16px; }
.rf-cell .short { font-size: 12px; color: #4a463e; }
.lab-stamp { left: 50%; top: 26%; font-size: 22px; transform: translate(-50%, -50%) rotate(-8deg); }
.bottle { flex: none; }
.bottle rect, .bottle path { fill: rgba(207, 227, 238, .35); stroke: var(--ink); stroke-width: 1.5; }
.bottle text { font-size: 11px; font-weight: 800; fill: var(--ink); font-family: var(--sans); }
.label-pick { display: grid; gap: 8px; margin: 10px 0; }
.lp-row { display: grid; grid-template-columns: 28px 1fr; gap: 6px; align-items: center; }
.pick-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.lp-row .pick-row { margin: 0; }
.lp-chip { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; line-height: 1.2; padding: 2px 0; }
.lp-chip.sel { background: var(--brass); border-color: #9c6c16; color: var(--brass-ink); }
/* 已经贴在（记在）别的瓶子上：字仍是 5.7:1，名字下面一行写"在 B"（360px 宽时放在右上角会挨着名字），点了就挪过来 */
.lp-chip.used { color: #6b665c; }
.lp-chip .in { font-size: 11px; font-style: normal; font-weight: 400; color: #6b665c; }
.lp-chip:disabled:not(.sel) { opacity: .35; }
.btn:disabled { opacity: .45; }
.labelling { list-style: none; padding: 0; margin: 6px auto 4px; display: grid; gap: 4px; max-width: 280px; text-align: left; font-family: var(--serif); font-size: 19px; }
.labelling li { display: flex; align-items: baseline; gap: 10px; }
.labelling b { color: #9c6c16; min-width: 1.2em; }
.labelling .formula { margin-left: auto; font-size: 14px; }
