.rounds-host { display: grid; gap: 7px; margin-block-end: 10px; min-inline-size: 0; }
.start-wrap .rounds-host { grid-column: 1 / -1; margin-block: 12px 0; }
.round-current, .round-confirm, .rounds-awards { padding: 10px 13px; }
.rounds-host h2, .rounds-awards h2 { margin: 0; font: 650 1.05rem var(--heading); }
.round-current h2 { color: var(--round-accent); }
.round-current { border-inline-start: 3px solid var(--round-accent); }
.round-current p, .round-confirm p, .rounds-empty { margin: 4px 0 0; color: #c7d4e7; font-size: .85rem; line-height: 1.38; overflow-wrap: anywhere; }
.round-current .round-winners strong { color: var(--round-accent); }
.rounds-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; }
.rounds-actions:empty { display: none; }
.round-current .rounds-actions:not(:empty), .round-confirm .rounds-actions { margin-block-start: 8px; }
.rounds-host button { min-block-size: 44px; }
.round-status { margin: 0; color: var(--cyan); font-size: .85rem; line-height: 1.38; }
.round-status[data-error="true"] { color: var(--danger); }
.round-status:empty { position: absolute; }
.rounds-details summary { align-content: center; min-block-size: 44px; padding-inline: 13px; cursor: pointer; color: var(--cyan); font-size: .87rem; font-weight: 650; }
.rounds-details summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.rounds-details > div:has(.rounds-empty) { padding: 0 13px 11px; }
.rounds-list { display: grid; gap: 0; margin: 0; padding: 0 13px; list-style: none; }
.rounds-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 9px 0; border-block-start: 1px solid var(--line); }
.rounds-list li h3, .rounds-list li strong { margin: 0; font: 600 .88rem var(--heading); }
.rounds-list li small, .rounds-list li p { display: block; margin: 3px 0 0; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.rounds-list .round-winners strong { color: #d8e2ef; }
.rounds-awards { margin-block-start: 12px; }
.rounds-awards .rounds-list { padding-inline: 0; }
.rounds-award-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 208px), 1fr)); gap: 0 17px; }
.round-medal-counts { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0 13px 10px; }
.rounds-awards .round-medal-counts { padding: 10px 0; }
.round-medal-counts div, .round-medal-counts dt, .round-award-title { display: flex; align-items: center; gap: 6px; }
.round-medal-counts dt, .round-medal-counts dd { color: #d9e2f0; font-size: .86rem; }
.round-medal-counts dd { margin: 0; font-weight: 700; }
.round-medal { display: inline-grid; place-items: center; flex: 0 0 24px; inline-size: 24px; block-size: 24px; border: 1px solid; border-radius: 50%; font: 750 .78rem var(--heading); color: #18151d; }
.round-medal[data-medal="1"] { border-color: #f5d989; background: linear-gradient(145deg, #fff0ad, #bd812c); }
.round-medal[data-medal="2"] { border-color: #cbd9e9; background: linear-gradient(145deg, #edf3fa, #879aad); }
.round-medal[data-medal="3"] { border-color: #e09e7c; background: linear-gradient(145deg, #f2c39f, #b36c4d); }
.rounds-hall-table thead th:nth-child(n + 3) { inline-size: clamp(49px, 15%, 99px); text-align: end; }
.rounds-hall-table tbody td:nth-child(n + 3) { text-align: end; font-variant-numeric: tabular-nums; }
.rounds-hall-table tbody td:nth-child(3) { color: var(--amber); }
.round-archive-dialog {
  box-sizing: border-box; inline-size: min(800px, calc(100vw - 30px)); max-inline-size: calc(100vw - 30px);
  max-block-size: min(780px, calc(100dvh - max(20px, env(safe-area-inset-top) + env(safe-area-inset-bottom))));
  padding: 0 12px 12px; overflow: auto; overscroll-behavior: contain; border: 1px solid #495d76; border-radius: 10px;
  color: inherit; background: #0d1626; box-shadow: 0 17px 45px #02060bc7;
}
.round-archive-dialog::backdrop { background: #060a13ce; }
.round-archive-head { position: sticky; inset-block-start: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; padding-block: 8px; background: #0d1626; }

@media (orientation: landscape) and (max-height: 600px) {
  .rounds-host:has(> .rounds-details:not([open])) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rounds-host > :not(.rounds-details), .rounds-host > .rounds-details[open] { grid-column: 1 / -1; }
}
.round-entry-gate { display: grid; gap: 7px; inline-size: min(100%, 560px); margin: 12px auto; padding: 14px; text-align: start; }
.round-entry-gate p { margin: 0; color: #c4cfdf; font-size: .88rem; line-height: 1.4; }
.round-entry-gate .round-gate-species { color: #e7f1ff; }
.round-entry-gate > .round-countdown { font-size: 1rem; }
.round-countdown time { color: #a4dff7; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.round-gate-date time { color: #e2edf9; font-weight: 650; }
