.rec { margin-top: 56px; }
.rec .gh + * { margin-top: 28px; }
.rec-sum { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.rec-sum b { color: var(--text); font-size: 16px; }
.rec-sum em { margin-left: auto; font-style: normal; font-size: 13px; color: #8a8a92; }

.rec-tb { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.rec-tb thead th { padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; white-space: nowrap; }
.rec-tb thead th:first-child { text-align: left; }
.rec-tb tbody tr { background: var(--surface); }
.rec-tb tbody th, .rec-tb tbody td { padding: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rec-tb tbody th { text-align: left; border-left: 1px solid var(--line); border-radius: 10px 0 0 10px; font-weight: 400; }
.rec-tb tbody td:last-child { border-right: 1px solid var(--line); border-radius: 0 10px 10px 0; }
.rec-tb th b { display: block; font-size: 15px; font-weight: 700; word-break: keep-all; }
.rec-tb th span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.rec-tb td { text-align: center; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rec-tb td.r.best { color: var(--accent2); }
.rec-tb td.u { font-size: 14px; font-weight: 600; color: var(--text); }
.rec-tb td.nil { color: #5a6678; font-weight: 400; }

.rec-h { margin: 28px 0 10px; font-size: 15px; font-weight: 700; }
.rec-miss { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.rec-miss li { padding: 10px 14px; background: var(--surface); border: 1px solid transparent; border-radius: 10px; }
.rec-miss b { display: block; font-size: 14px; }
.rec-miss span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }

@media (max-width: 720px) {
  .rec-tb, .rec-tb tbody { display: block; }
  .rec-tb thead { display: none; }
  .rec-tb tbody tr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .rec-tb tbody th, .rec-tb tbody td { border: 0; border-radius: 0; }
  .rec-tb tbody th { grid-column: 1 / -1; padding: 12px 14px 8px; }
  .rec-tb td.r { padding: 4px 6px 10px; }
  .rec-tb td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 400; color: var(--muted); }
  .rec-tb td.u { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 8px 14px; border-top: 1px solid var(--line); text-align: right; }
  .rec-tb td.u::before { margin: 0; align-self: center; }
}

.rec-kinds { display: flex; gap: 20px; margin-bottom: 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.rec-kinds button { flex: none; margin-bottom: -1px; padding: 4px 2px 10px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.rec-kinds button span { margin-left: 3px; font-weight: 500; color: #808088; }
.rec-kinds button:hover { color: var(--text); }
.rec-kinds button[aria-pressed="true"] { color: var(--text); border-bottom-color: #1fa24f; }
.rec-kinds button[aria-pressed="true"] span { color: var(--accent2); }
.rec-tb th b .tag { margin-left: 6px; padding: 0 7px; font-size: 10.5px; font-style: normal; font-weight: 700; color: #f2b840; border: 1px solid rgba(242, 184, 64, 0.45); border-radius: 99px; vertical-align: 1px; white-space: nowrap; }
