/* /codes and /compare. The tables are the /guides table (guide.css, .glist); only what differs is here. */
.code { display: inline-block; font: 700 1rem/1.2 ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace; letter-spacing: .02em; padding: 6px 8px; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); user-select: all; overflow-wrap: anywhere; }
.copy { margin-left: 6px; min-height: 40px; padding: 0 12px; font-size: .875rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.copy:hover { background: var(--mist); } .copy:active { background: var(--best); }
.codes tbody th { width: 22%; } .codes td .gshort { margin-top: 4px; } .codes .gshort a { color: inherit; }
.codes .gben { display: block; }
.codes td:nth-child(3) { white-space: nowrap; }
.page > .dtable { max-width: 860px; }
.dtable td, .dtable .gname { font-variant-numeric: tabular-nums; }
.dtable tbody th { width: 30%; }
.won { font-weight: 700; color: #1d5a3c; }
.tagw { margin-left: 8px; padding: 2px 6px; font-size: .75rem; font-weight: 700; color: #1d5a3c; background: var(--best); border-radius: 3px; white-space: nowrap; }
.duel > h2 { margin: 40px 0 12px; } .duel > h2:first-child { margin-top: 0; } .duel > h2 + p { margin-bottom: 12px; }
.dfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: none; }
.dfacts section { padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.dfacts h3 { font-size: 1.25rem; margin-bottom: 12px; }
.dfacts dl { display: grid; gap: 14px; margin: 0; }
.dfacts dt { font-weight: 700; font-size: .8125rem; letter-spacing: .02em; color: var(--text-2); }
.dfacts dd { margin: 2px 0 0; }
.dgo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; max-width: none; }
.dmore { margin-top: 12px; font-size: .875rem; color: var(--text-2); max-width: none; }
.pairs { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: 12px; }
.pairs li { padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.pairs h2 { font-size: 1.125rem; margin: 0 0 6px; }
.pairs p { max-width: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pairs a { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 720px) {
  .dfacts { grid-template-columns: 1fr; }
  .dfacts section { padding: 16px; }
  .codes td:nth-child(3) { white-space: normal; }
}
