/* The race page: a results slip. Tokens and components come from system.css, nothing new is defined here. */

.rc-top { padding: 28px 0 40px; }
.rc-head { display: grid; align-content: start; gap: 18px; }
.rc-head .lede { max-width: 38ch; }
.rc-wait { font: 500 17px/1.3 var(--sans); color: var(--text); }
.rc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.rc-actions .btn { flex: 1 1 150px; }
#rc-copied { min-height: 20px; margin-top: -6px; }

/* The slip: label left, figure or sentence right, ruled between rows (the .ruled list in system.css). */
.rc-slip dd { overflow-wrap: anywhere; }
.rc-slip dd b { font-weight: 600; }
.rc-slip .mark { font-size: 16px; }
.rc-sub-inline { display: block; margin-top: 2px; font-size: 14px; color: var(--text-2); }
.rc-link { min-height: 44px; font-size: 16px; }
.rc-bad b { color: var(--down); }

/* The field. */
.rc-field .h-section { margin-bottom: 8px; }
.rc-field .note { margin-bottom: 20px; }
.rc-foot { margin-top: 20px; }
.rc-table { min-width: 0; }
.rc-table th, .rc-table td { padding-right: 12px; }
.rc-table th:last-child, .rc-table td:last-child { padding-right: 0; }
.rc-table td { height: 52px; }
.rc-table .rc-rank { width: 28px; color: var(--text-2); }
.rc-table td.rc-name { white-space: normal; }
.rc-sub { display: block; font-size: 13px; line-height: 1.3; color: var(--text-2); white-space: normal; }
.rc-tag { margin-left: 6px; font-size: 13px; color: var(--text-2); }
.rc-table tr.is-lead .rc-tag { color: var(--text); font-weight: 500; }
.rc-table td.num { text-align: right; }
.rc-table td.num .mark { font-size: 15px; }

@media (min-width: 720px) {
  .rc-top { padding: 56px 0 72px; }
  .rc-head { gap: 24px; padding-right: 16px; }
  .rc-wait { font-size: 20px; }
  .rc-actions .btn { flex: 0 0 auto; }
  .rc-slip dd { font-size: 18px; }
  .rc-table td { height: 46px; }
  .rc-table th, .rc-table td { padding-right: 24px; }
  .rc-table th:last-child, .rc-table td:last-child { padding-right: 0; }
  .rc-sub { display: none; }
}

/* Hold the page's height while the race is being read, so the footer does not jump when it arrives. */
#main { min-height: 100vh; }
.rc-top { min-height: 340px; }

/* A second line under a name, at every width (the house wallet's label under its address). */
.rc-under { display: block; font-size: 13px; line-height: 1.3; color: var(--text-2); }
#who .rc-table td { height: 52px; }
