/* Duplicate scoreboard: totals first, boards collapsed, readable at 390px. */
.dup-score { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 14px; }
.dup-title { margin: 0; font-size: 1.05rem; }
.dup-you { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 14px; border-radius: 14px;
  background: #142033; border: 1px solid rgba(90, 180, 255, .45); }
.dup-you .dup-kicker { grid-column: 1 / -1; margin: 0; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ns, #5AB4FF); }
.dup-you p { margin: 0; }
.dup-you b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.dup-you span { display: block; font-size: 12px; opacity: .75; }
.dup-pard, .dup-left { grid-column: 1 / -1; font-size: 14px; }
.dup-list { display: flex; flex-direction: column; gap: 6px; }
.dup-board { border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.dup-board summary { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 12px; cursor: pointer; list-style: none; }
.dup-board summary::-webkit-details-marker { display: none; }
.dup-scan { font-weight: 800; font-size: 14px; line-height: 1.25; white-space: nowrap; }
.dup-sub { font-size: 12px; opacity: .72; font-weight: 500; }
.dup-board[open] { border-color: rgba(90, 180, 255, .4); }
.dup-exp { padding: 0 8px 10px; display: flex; flex-direction: column; gap: 8px; }
.dup-exp h4 { margin: 4px 0 0; font-size: 13px; font-weight: 700; }
.dup-hands { display: flex; flex-direction: column; gap: 4px; padding: 6px 6px 8px; border-radius: 12px; background: #0e1a16; }
.dup-mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 8px; }
.dup-seat { min-width: 0; }
.dup-seat .who { display: block; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; opacity: .85; line-height: 1.2; }
.dup-seat.bot .who, .dup-seat.top .who { color: var(--ns, #5AB4FF); }
.dup-seat.side .who { color: var(--ew, #FFB547); }
.dup-contract { display: block; font-size: 11px; font-weight: 800; line-height: 1.2; white-space: nowrap; margin-bottom: 1px; }
.dup-seat.top, .dup-seat.bot { text-align: center; }
.dup-seat.top .dup-suits, .dup-seat.bot .dup-suits { align-items: center; }
.dup-seat.side + .dup-seat.side { text-align: right; }
.dup-seat.side + .dup-seat.side .dup-suit { justify-content: flex-end; }
.dup-suits { display: flex; flex-direction: column; gap: 1px; }
.dup-suit { display: flex; flex-wrap: nowrap; align-items: center; gap: 3px; min-width: 0; min-height: 16px; }
.dup-run { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; }
.dup-hands .dup-chip.card { position: relative; width: auto; height: 16px; min-width: 0; margin-left: calc(var(--ov, 6px) * -1);
  padding: 0 2px 0 3px; border-radius: 3px; border: 1px solid #c5cad1; background: #fff; opacity: 1;
  box-shadow: none; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 0; overflow: visible;
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1; }
.dup-run .dup-chip.card:first-child { margin-left: 0; }
.dup-chip b { font-size: 11px; font-weight: 700; letter-spacing: -.02em; }
.dup-chip b.ten { letter-spacing: -.06em; font-size: 10px; }
.dup-chip .pip { width: 8px; height: 8px; margin: 0; position: static; display: block; flex: none; }
.dup-void { font-size: 11px; opacity: .45; }
.dup-pip { width: 12px; flex: none; font-size: 11px; text-align: center; line-height: 1; }
.suit-H .dup-pip, .suit-D .dup-pip { color: #e23b3b; }
.suit-S .dup-pip, .suit-C .dup-pip { color: #e8eef8; }
.fc4 .suit-D .dup-pip { color: #1f5fd1; }
.fc4 .suit-C .dup-pip { color: #138a3e; }
.fc4 .suit-H .dup-pip { color: #d22f3c; }
.fc4 .suit-S .dup-pip { color: #e8eef8; }
.dup-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dup-fit { overflow: hidden; max-width: 100%; }
.dup-cmp, .dup-field { width: 100%; border-collapse: collapse; font-size: 12px; }
.dup-cmp { table-layout: fixed; font-size: 11px; }
.dup-cmp .c-who { width: 13%; }
.dup-cmp .c-bid { width: 16%; }
.dup-cmp .c-made { width: 13%; }
.dup-cmp .c-score { width: 14%; }
.dup-cmp .c-pct { width: 12%; }
.dup-cmp .c-opp { width: 32%; }
.dup-cmp th, .dup-cmp td, .dup-field th, .dup-field td { padding: 4px 2px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
.dup-field th, .dup-field td { white-space: nowrap; padding: 4px 6px; font-size: 12px; }
.dup-cmp th, .dup-cmp td:not(.opp) { white-space: nowrap; }
.dup-cmp td.opp { white-space: normal; color: var(--ew, #FFB547); font-weight: 700; line-height: 1.25; }
.dup-cmp tr.me, .dup-field tr.me { background: rgba(90, 180, 255, .18); }
.dup-more { margin-top: 8px; }
.dup-more > summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
#swipePop.noswipe #swpLeft,
#swipePop.noswipe #swpRight,
#swipePop.noswipe #swpHelp,
#swipePop.noswipe #swpS2,
#swipePop.noswipe #swpPartner { display: none !important; }
@media (min-width: 800px) {
  .dup-you { grid-template-columns: auto auto auto 1fr; align-items: end; }
  .dup-you .dup-kicker { grid-column: 1 / -1; }
  .dup-scan { font-size: 15px; }
  .dup-hands .dup-chip.card { height: 18px; }
  .dup-chip b { font-size: 12px; }
  .dup-cmp, .dup-field { font-size: 14px; }
}
