@charset "UTF-8";
:root {
  --page-w: 1751;
  --page-h: 921;
  --sky: #eff9ff;
  --water: #dceefa;
  --ink: #102640;
  --muted: #59708c;
  --blue: #294a70;
  --soft-blue: #b9d9f4;
  --panel-border: #b9daf5;
  --panel: rgba(255, 255, 255, 0.74);
  --wood: #efd6ab;
  --wood-dark: #a6763f;
  --wood-line: #8b673d;
  --green: #397729;
  --sand: #f2d7ac;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  overflow-x: hidden;
  background: radial-gradient(70px 34px at 34% 43%, rgba(210, 233, 250, 0.9), transparent 70%), radial-gradient(70px 36px at 61% 43%, rgba(210, 233, 250, 0.9), transparent 70%), linear-gradient(to bottom, var(--sky) 0 390px, var(--water) 390px 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

main > * {
  min-width: 0;
}

main {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 0 36px;
}

main::before,
main::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

main::before {
  left: 7vw;
  top: 106px;
  width: 152px;
  height: 48px;
  border-radius: 999px;
  background: radial-gradient(circle at 26px 27px, rgba(255, 255, 255, 0.92) 0 24px, transparent 25px), radial-gradient(circle at 70px 19px, rgba(255, 255, 255, 0.94) 0 34px, transparent 35px), radial-gradient(circle at 116px 29px, rgba(255, 255, 255, 0.86) 0 28px, transparent 29px);
}

main::after {
  right: 5vw;
  bottom: 38px;
  width: 120px;
  height: 72px;
  background: linear-gradient(90deg, transparent 47px, #866d62 47px 51px, transparent 51px), linear-gradient(135deg, transparent 0 38px, #e9f6ff 39px 76px, transparent 77px), linear-gradient(225deg, transparent 0 29px, #b6d5ec 30px 68px, transparent 69px), linear-gradient(#4f88ba 0 8px, #84b0d3 8px 100%);
  background-size: 100% 54px, 62px 54px, 62px 54px, 88px 21px;
  background-position: 0 0, 20px 2px, 45px 2px, 14px 50px;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.competition-header {
  position: relative;
  z-index: 1;
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px 24px;
  margin-bottom: 22px;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.event-org-link {
  color: #0d5f96;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.event-org-link:hover {
  color: var(--blue);
}

.event-org-back-link {
  display: none;
}

.event-title {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.total-players {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #5d7790;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.total-players strong {
  color: #173b5f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.header-actions {
  display: contents;
}

.manage-actions {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.register-button {
  grid-column: 1/-1;
  justify-self: center;
}

.manage-link,
.register-button,
.round-register-button {
  min-width: 116px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid rgba(169, 214, 246, 0.66);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 2px 5px rgba(80, 120, 150, 0.08);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.manage-link {
  color: #0d5f96;
  background: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.register-button {
  border-color: #214f78;
  color: #ffffff;
  background: #2f6d9f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 3px 7px rgba(30, 76, 112, 0.2);
  cursor: pointer;
}

.register-button:hover {
  background: #285f8d;
}

.register-button[hidden] {
  display: none;
}

.register-button:focus-visible {
  outline: 3px solid rgba(47, 109, 159, 0.28);
  outline-offset: 2px;
}

.register-button:disabled {
  border-color: #8fb9d6;
  color: #365d78;
  background: #d8eaf6;
  box-shadow: none;
  cursor: not-allowed;
}

.event-registration-status {
  min-width: 88px;
  color: #2f6d9f;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.event-registration-status[hidden] {
  display: none;
}

.next-round-registration {
  position: relative;
  z-index: 1;
  grid-column: 1/-1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  margin-bottom: 22px;
  padding: 17px 20px;
  border: 2px solid var(--panel-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 24px rgba(180, 219, 247, 0.26), 0 4px 9px rgba(80, 120, 150, 0.12);
}

.next-round-info {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
  text-align: center;
  justify-content: center;
}

.next-round-info h2 {
  color: #092342;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
  white-space: nowrap;
}

.next-round-time {
  margin-top: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.next-round-time::before {
  content: none;
}

.round-registration-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  justify-content: center;
  min-width: 180px;
  align-self: stretch;
}

.round-registration-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.round-register-button {
  min-width: 112px;
  border-color: #8f632c;
  color: #351906;
  background: linear-gradient(#f5dcae, var(--wood));
  box-shadow: 0 2px 6px rgba(118, 78, 28, 0.16);
  cursor: pointer;
}

.round-register-button:hover:not(:disabled) {
  background: #e8c78f;
}

.round-register-button:focus-visible {
  outline: 3px solid rgba(169, 111, 45, 0.25);
  outline-offset: 2px;
}

.round-register-button:disabled {
  border-color: #bed4e3;
  color: #7890a2;
  background: #e8f1f7;
  box-shadow: none;
  cursor: not-allowed;
}

.round-register-button.is-cancel {
  border-color: #aac8dc;
  color: #365d78;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: none;
}

.round-register-button.is-cancel:hover {
  background: #eef7fc;
}

dl {
  display: grid;
  gap: 10px;
}

dl div,
aside,
article {
  border: 2px solid var(--panel-border);
  background: linear-gradient(180deg, var(--panel), rgba(247, 252, 255, 0.76));
  box-shadow: inset 0 0 24px rgba(180, 219, 247, 0.28), 0 4px 9px rgba(80, 120, 150, 0.14);
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

dd {
  margin-top: 7px;
  color: #00172d;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.groups-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.groups-section > h2 {
  grid-column: 1/-1;
  padding-left: 6px;
  color: #00172d;
  font-size: 18px;
  font-weight: 900;
}

article {
  position: relative;
  min-height: 0;
  padding: 14px 16px;
  border-width: 1px;
  border-color: rgba(169, 214, 246, 0.78);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 2px 7px rgba(80, 120, 150, 0.1);
}

article h3 {
  color: #092342;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
}

.group-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.group-title-wrap {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.group-player-count {
  color: #00172d;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
}

article dl {
  margin-top: 13px;
  grid-template-columns: 1fr;
  gap: 8px;
}

article dl div {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.metric-inline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.leader-summary {
  grid-column: 1/-1;
  margin-top: 2px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  color: #315777;
  font-size: 12px;
  font-weight: 700;
  min-width: 0;
}

.top-leader-summary dt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.leader-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border: 1px solid rgba(201, 141, 58, 0.66);
  border-radius: 999px;
  color: #7a4c14;
  background: rgba(245, 220, 174, 0.5);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

article dt {
  color: #58728e;
  font-size: 11px;
  line-height: 1;
}

article dt:empty {
  display: none;
}

article dt:empty + dd {
  margin-top: 0;
}

article dd {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
}

.leader-summary dd {
  margin-top: 0;
  overflow: hidden;
  color: #00172d;
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.group-card {
  color: inherit;
  text-decoration: none;
}

.group-card:hover article {
  border-color: #94caef;
  background: rgba(255, 255, 255, 0.74);
}

.group-card.is-mine article {
  border-color: rgba(201, 141, 58, 0.76);
  background: rgba(255, 251, 243, 0.7);
  box-shadow: inset 3px 0 0 rgba(201, 141, 58, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 2px 7px rgba(80, 120, 150, 0.1);
}

.mine-badge {
  min-width: 42px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 141, 58, 0.66);
  border-radius: 999px;
  color: #351906;
  background: rgba(245, 220, 174, 0.42);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.group-card:focus-visible {
  outline: 3px solid #1587ff;
  outline-offset: 3px;
}

aside {
  z-index: 1;
  position: relative;
  align-self: stretch;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 13px;
  overflow: hidden;
}

aside table {
  table-layout: fixed;
}

aside th,
aside td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

aside th:first-child,
aside td:first-child {
  width: 64px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

aside #overall-rank-title {
  height: 46px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  color: #00172d;
  background: var(--soft-blue);
  font-size: 18px;
  font-weight: 900;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  height: 46px;
  padding: 0 10px;
  border-bottom: 1px solid #d7ebfa;
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-weight: 800;
}

td {
  color: #12314e;
  font-weight: 800;
}

tbody tr:first-child td:first-child,
tbody tr:nth-child(2) td:first-child,
tbody tr:nth-child(3) td:first-child {
  text-align: center;
  font-weight: 900;
}

.match-area {
  position: relative;
  z-index: 1;
  grid-column: 1/-1;
  margin-top: 26px;
  padding: 22px 24px 26px;
  border: 2px solid var(--panel-border);
  border-radius: 13px;
  background: radial-gradient(140px 70px at 12% 16%, rgba(255, 255, 255, 0.78), transparent 72%), radial-gradient(180px 80px at 88% 12%, rgba(210, 233, 250, 0.44), transparent 74%), linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 252, 255, 0.76));
  box-shadow: inset 0 0 30px rgba(180, 219, 247, 0.34), 0 4px 9px rgba(80, 120, 150, 0.16);
}

.match-meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.score-mode-bar {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.rounds {
  min-width: 0;
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  width: 100%;
  gap: 6px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(92, 150, 192, 0.34);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rounds.is-scroll-start {
  grid-template-columns: minmax(0, 1fr) 36px;
}

.round-tab-viewport {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.round-tab-viewport::-webkit-scrollbar {
  display: none;
}

.round-tab-list {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: -moz-max-content;
  min-width: max-content;
}

.mode-link,
.round-tab {
  position: relative;
  flex: 0 0 auto;
  min-width: 76px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  color: #0d5f96;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.mode-link::after,
.round-tab::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background 180ms ease;
}

.mode-link[aria-current=page],
.round-tab[aria-current=page] {
  color: #351906;
  background: transparent;
  box-shadow: none;
}

.mode-link[aria-current=page]::after,
.round-tab[aria-current=page]::after {
  background: var(--wood-dark);
}

.round-scroll {
  position: relative;
  width: 32px;
  height: 32px;
  justify-self: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #2f6d9f;
  background: transparent;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.round-scroll::after {
  content: attr(aria-label);
  position: absolute;
  z-index: 3;
  top: calc(100% + 8px);
  left: 50%;
  padding: 5px 8px;
  border: 1px solid rgba(169, 214, 246, 0.96);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 8px rgba(80, 120, 150, 0.18);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -3px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.round-scroll:hover:not(:disabled)::after,
.round-scroll:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.round-scroll:hover:not(:disabled),
.round-scroll:focus-visible {
  color: #255f8d;
  background: transparent;
}

.round-scroll:disabled {
  color: #9ab0bf;
  background: transparent;
  cursor: not-allowed;
}

.round-match-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.round-match-time::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: linear-gradient(var(--blue), var(--blue)) 50% 3px/2px 5px no-repeat, linear-gradient(90deg, var(--blue), var(--blue)) 8px 50%/4px 2px no-repeat;
  opacity: 0.72;
}

.round-match-time[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .mode-link::after,
  .round-tab::after,
  .group-tabs a::after {
    transition: none;
  }
}
.pairing-summary {
  display: none;
}

.group-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 10px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(92, 150, 192, 0.34);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.group-tabs a {
  position: relative;
  flex: 0 0 auto;
  min-width: 76px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.group-tabs a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background 180ms ease;
}

.group-tabs a:hover {
  transform: translateY(-1px);
}

.group-tabs a[aria-current=page] {
  color: #351906;
  background: transparent;
  box-shadow: none;
}

.group-tabs a[aria-current=page]::after {
  background: var(--wood-dark);
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pairing-table {
  min-width: 780px;
}

.pairing-table th,
.pairing-table td {
  height: 46px;
  padding: 0 10px;
  border-right: 0;
  border-bottom: 1px solid #d7ebfa;
  color: #12314e;
  text-align: left;
}

.pairing-table th {
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.pairing-table td {
  font-size: 14px;
  font-weight: 800;
}

.pairing-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.46);
}

.pairing-table tbody tr:nth-child(even) {
  background: rgba(247, 252, 255, 0.48);
}

.pairing-table th:last-child,
.pairing-table td:last-child {
  border-right: 0;
}

.table-no {
  color: var(--blue);
  text-align: left;
  white-space: nowrap;
}

.pairing-table tbody tr:first-child td.table-no,
.pairing-table tbody tr:nth-child(2) td.table-no,
.pairing-table tbody tr:nth-child(3) td.table-no,
.pairing-table tbody td.table-no {
  text-align: left;
}

.score {
  text-align: center;
}

.pairing-table .score {
  text-align: left;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 20px;
  margin-left: 6px;
  padding: 0 7px;
  border: 1px solid rgba(169, 214, 246, 0.88);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.table-link {
  color: #0d5f96;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.table-link:hover {
  color: #083f6d;
}

.table-link:hover .rank-pill {
  border-color: #7bbdec;
  background: #e6f3ff;
}

@media (max-width: 1200px) {
  main {
    display: block;
  }
  .competition-header {
    align-items: flex-start;
  }
  .groups-section {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  aside {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 16px;
  }
}
@media (max-width: 900px) {
  main {
    width: calc(100% - 28px);
    max-width: 900px;
  }
  .competition-header {
    gap: 14px 18px;
  }
  .manage-actions {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .next-round-registration {
    align-items: center;
    gap: 16px;
    padding: 16px;
  }
  .next-round-info,
  .round-registration-actions {
    min-width: 0;
    flex: 1 1 0;
  }
  .round-registration-status {
    text-align: center;
    white-space: normal;
  }
  .groups-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .match-area {
    padding: 18px;
    overflow: hidden;
  }
  .score-mode-bar {
    gap: 10px;
  }
  .rounds {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    flex-basis: 100%;
    width: 100%;
  }
  .mode-link,
  .round-tab {
    min-width: 72px;
    height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }
  .group-tabs {
    overflow-x: visible;
  }
  .group-tabs a {
    min-width: 72px;
  }
  th,
  td {
    padding: 0 7px;
    font-size: 12px;
  }
  .match-area .table-scroll {
    overflow: visible;
  }
  .pairing-table {
    width: 100%;
    min-width: 0;
    display: block;
    border-collapse: separate;
  }
  .pairing-table thead {
    display: none;
  }
  .pairing-table tbody {
    display: grid;
    gap: 10px;
  }
  .pairing-table tbody tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 11px 12px;
    border: 1px solid #cde7fa;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 0 14px rgba(205, 232, 248, 0.25), 0 2px 5px rgba(80, 120, 150, 0.08);
  }
  .pairing-table tbody tr:nth-child(odd),
  .pairing-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.68);
  }
  .pairing-table th,
  .pairing-table td {
    height: auto;
    padding: 0;
    border-bottom: 0;
    font-size: 12px;
    line-height: 1.25;
  }
  .pairing-table td {
    min-width: 0;
    display: flex;
    align-items: center;
    color: #12314e;
  }
  .pairing-table td::before {
    margin-right: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(2) .table-link {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
    color: #0b3558;
    font-size: 14px;
    font-weight: 900;
  }
  .pairing-table td:nth-child(4),
  .pairing-table td:nth-child(5),
  .pairing-table td:nth-child(6) {
    grid-row: 2;
    color: #315777;
  }
  .pairing-table td:nth-child(4) {
    grid-column: 1;
  }
  .pairing-table td:nth-child(5) {
    grid-column: 2;
    justify-content: center;
  }
  .pairing-table td:nth-child(6) {
    grid-column: 3;
    justify-content: flex-end;
  }
  .pairing-table td:nth-child(7) {
    grid-column: 1/-1;
    grid-row: 3;
    padding-top: 7px;
    border-top: 1px solid #d7ebfa;
    color: #315777;
    overflow: hidden;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(3)::before {
    content: "积分";
  }
  .pairing-table td:nth-child(4)::before {
    content: "正确";
  }
  .pairing-table td:nth-child(5)::before {
    content: "正确率";
  }
  .pairing-table td:nth-child(6)::before {
    content: "用时";
  }
  .pairing-table td:nth-child(7)::before {
    content: "团体";
  }
}
@media (max-width: 700px) {
  main {
    width: calc(100% - 24px);
    max-width: 520px;
    padding-top: 20px;
  }
  h1 {
    font-size: 18px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .event-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 8px;
  }
  .event-org-link {
    display: none;
  }
  .event-org-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #2f6d9f;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }
  .event-org-back-link:hover,
  .event-org-back-link:focus-visible {
    color: #255f8d;
  }
  .total-players {
    grid-column: 1/-1;
  }
  .competition-header {
    padding-top: 0;
  }
  .header-actions {
    display: contents;
  }
  .manage-link {
    min-width: 104px;
  }
  .register-button {
    min-width: 116px;
  }
  .next-round-registration {
    align-items: center;
    gap: 16px;
    padding: 15px;
  }
  .next-round-info {
    min-width: 0;
    flex: 1;
  }
  .round-registration-actions {
    min-width: 0;
    flex: 1;
    justify-content: center;
  }
  .round-registration-status {
    white-space: normal;
  }
  .groups-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .match-meta {
    margin-top: 8px;
  }
  article {
    min-height: 0;
    height: 100%;
    padding: 12px;
  }
  article h3 {
    font-size: 16px;
  }
  article dl {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }
  article dl div {
    min-height: 0;
    padding: 0;
  }
  article dl div:nth-child(-n+2) {
    min-height: 0;
  }
  article dl div:nth-child(-n+2) dt {
    white-space: nowrap;
  }
  article dl div:nth-child(-n+2) dd {
    white-space: nowrap;
  }
  article dd {
    font-size: 13px;
    white-space: nowrap;
  }
  .mine-badge {
    min-width: 42px;
    height: 22px;
  }
  .group-tabs {
    gap: 4px;
  }
  .group-tabs a {
    min-width: 62px;
    height: 34px;
    font-size: 12px;
  }
  th,
  td {
    padding: 0 7px;
    font-size: 12px;
  }
  .match-area .table-scroll {
    overflow: visible;
  }
  .pairing-table {
    width: 100%;
    min-width: 0;
    display: block;
    border-collapse: separate;
  }
  .pairing-table thead {
    display: none;
  }
  .pairing-table tbody {
    display: grid;
    gap: 10px;
  }
  .pairing-table tbody tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 11px 12px;
    border: 1px solid #cde7fa;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 0 14px rgba(205, 232, 248, 0.25), 0 2px 5px rgba(80, 120, 150, 0.08);
  }
  .pairing-table tbody tr:nth-child(odd),
  .pairing-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.68);
  }
  .pairing-table th,
  .pairing-table td {
    height: auto;
    padding: 0;
    border-bottom: 0;
    font-size: 12px;
    line-height: 1.25;
  }
  .pairing-table td {
    min-width: 0;
    display: flex;
    align-items: center;
    color: #12314e;
  }
  .pairing-table td::before {
    margin-right: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(2) .table-link {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
    color: #0b3558;
    font-size: 14px;
    font-weight: 900;
  }
  .pairing-table td:nth-child(4),
  .pairing-table td:nth-child(5),
  .pairing-table td:nth-child(6) {
    grid-row: 2;
    color: #315777;
  }
  .pairing-table td:nth-child(4) {
    grid-column: 1;
  }
  .pairing-table td:nth-child(5) {
    grid-column: 2;
    justify-content: center;
  }
  .pairing-table td:nth-child(6) {
    grid-column: 3;
    justify-content: flex-end;
  }
  .pairing-table td:nth-child(7) {
    grid-column: 1/-1;
    grid-row: 3;
    padding-top: 7px;
    border-top: 1px solid #d7ebfa;
    color: #315777;
    overflow: hidden;
    white-space: nowrap;
  }
  .pairing-table td:nth-child(3)::before {
    content: "积分";
  }
  .pairing-table td:nth-child(4)::before {
    content: "正确";
  }
  .pairing-table td:nth-child(5)::before {
    content: "正确率";
  }
  .pairing-table td:nth-child(6)::before {
    content: "用时";
  }
  .pairing-table td:nth-child(7)::before {
    content: "团体";
  }
  .rounds {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    flex-basis: 100%;
    width: 100%;
  }
  .score-mode-bar {
    gap: 8px;
  }
  .round-match-time {
    padding-right: 0;
    font-size: 12px;
  }
  .mode-link,
  .round-tab {
    min-width: 62px;
    height: 36px;
    padding: 0 6px;
    font-size: 12px;
  }
  .round-scroll {
    width: 30px;
    height: 30px;
    aspect-ratio: 1/1;
    flex: 0 0 30px;
  }
}/*# sourceMappingURL=competition-groups.css.map */