/* 参加ゲートと番付の表（本番の形だけ。src/pages/c/_gate.mjs）。キャンペーンの詳細・常設の番付のページ。トークンの役割の名前だけ。 */
@layer page {
  .gate { display: grid; gap: var(--es-space-13); scroll-margin-top: 89px; }
  .gate > [data-auth] { display: grid; gap: var(--es-space-13); justify-items: start; }
  .gate__note, .gate__msg { margin: 0; font-size: var(--es-text-13); line-height: var(--es-lh-13); color: var(--es-text-sub); text-wrap: pretty; }
  .gate__msg { font-size: var(--es-text-16); line-height: var(--es-lh-16); color: var(--es-text-strong); }
  .gate__msg[hidden], .gate__open[hidden] { display: none; }
  .gate__open { margin: 0; }
  .gate .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }

  .gboard { display: grid; gap: var(--es-space-13); margin-top: var(--es-space-34); min-width: 0; }
  .gboard__h { margin: 0; font-size: var(--es-text-21); line-height: var(--es-lh-21); font-weight: var(--es-fw-bold); color: var(--es-text-strong); }
  .gboard__tabs { display: flex; flex-wrap: wrap; gap: var(--es-space-8); }
  .gboard__t { width: 100%; border-collapse: collapse; }
  .gboard__t th, .gboard__t td { padding: var(--es-space-8) var(--es-space-8); text-align: start; border-bottom: var(--es-line-1) solid var(--es-rule); font-size: var(--es-text-13); line-height: var(--es-lh-13); }
  .gboard__t th { color: var(--es-text-sub); font-weight: var(--es-fw-medium); }
  .gboard__t td { color: var(--es-text-strong); overflow-wrap: anywhere; }
  .gboard__t td:first-child, .gboard__t th:first-child { width: 4em; }
  .gboard__t td:last-child, .gboard__t th:last-child { text-align: end; white-space: nowrap; }
  .gboard__s, .gboard__at { margin: 0; font-size: var(--es-text-13); line-height: var(--es-lh-13); color: var(--es-text-sub); }
  .gboard__s[hidden], .gboard__at[hidden] { display: none; }
  .rk-body .gboard { margin-top: 0; }
  .rk__lead { margin: 0 0 var(--es-space-21); max-width: 34em; font-size: var(--es-text-16); line-height: var(--es-lh-16); color: var(--es-text-strong); text-wrap: pretty; }
  .rk__note { margin: var(--es-space-13) 0 0; font-size: var(--es-text-13); color: var(--es-text-sub); }
}
@layer page {
  /* 参加の所（.cd-join の包みの中の .cd-sec）と次の区画の間を、ほかの区画どうしと同じに */
  .cd-join + .cd-sec { margin-top: var(--es-space-55); }
}
