.server-navigation { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#serverGames { align-items: stretch; text-align: left; }
#serverGames h2 { font-size: 17px; line-height: 1.3; margin: 0; }
.game-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.game-heading .server-symbol { width: 30px; height: 30px; flex: none; margin: 0; border-radius: 8px; }
.game-heading .server-symbol svg { width: 20px; height: 20px; }
#gameMaintenanceTitle { flex: 1; }
#refreshGames, .game-filters select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--surface); font: inherit; font-size: 12px; }
#refreshGames { cursor: pointer; flex-shrink: 0; min-height: 44px; padding: 5px 8px; }
#refreshGames:disabled { opacity: .6; cursor: wait; }
.game-filters { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 6px 0; }
.game-filters label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.game-filters select { min-height: 32px; padding: 4px 8px; border-radius: 8px; }
.game-filters select { width: 100%; min-width: 0; }
.game-list { width: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.game-table-heading, .game-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 76px; gap: 10px; align-items: center; padding: 0 12px; }
.game-table-heading { min-height: 28px; font-size: 11px; color: var(--muted); background: var(--canvas); }
.game-table-heading > :last-child { text-align: center; }
.game-card { min-width: 0; border-top: 1px solid var(--line); }
.game-row { min-height: 28px; cursor: pointer; list-style: none; }
.game-row::-webkit-details-marker { display: none; }
.game-row:hover, .game-card[open] > .game-row { background: var(--accent-soft); }
.game-row-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; min-width: 0; }
.game-row-name strong { font-size: 12px; }
.game-row-name strong::before { content: '›'; display: inline-block; margin-right: 6px; color: var(--muted); }
.game-card[open] > .game-row .game-row-name strong::before { transform: rotate(90deg); }
.game-row-name small { color: var(--muted); font-size: 10px; }
.game-row-time { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; font-size: 12px; font-variant-numeric: tabular-nums; align-items: center; }
.game-no-history { grid-column: 1 / -1; }
.game-row-clock { white-space: nowrap; }
.game-row-date { color: var(--muted); font-size: 11px; }
.game-row > .game-status { justify-self: end; text-align: center; min-width: 64px; }
.game-row-detail { padding: 12px 16px 16px; background: var(--canvas); border-top: 1px solid var(--line); }
.game-publisher { font-size: 11px; color: var(--muted); }
.game-card h3 { margin: 2px 0 12px; font-size: 16px; }
.game-notice-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.game-status { display: inline-block; padding: 3px 8px; border-radius: 6px; color: var(--muted); border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.game-status[data-status="in_progress"], .game-status[data-status="extended"] { color: #ffc783; background: #382818; border-color: #715027; }
.game-status[data-status="scheduled"] { color: #a4d5ff; background: #172c40; border-color: #2b5579; }
.game-status[data-status="completed"] { color: #9cddbb; background: #163225; border-color: #285e43; }
html[data-theme="light"] .game-status[data-status="in_progress"], html[data-theme="light"] .game-status[data-status="extended"] { color: #834000; background: #fff0db; border-color: #edcf9e; }
html[data-theme="light"] .game-status[data-status="scheduled"] { color: #125289; background: #e8f3ff; border-color: #b7d8f5; }
html[data-theme="light"] .game-status[data-status="completed"] { color: #195d36; background: #e5f5eb; border-color: #badac8; }
.game-scope, .game-card-footer, .game-history, .game-earlier { font-size: 11px; color: var(--muted); }
.game-official-link { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.game-card .game-time { margin-top: 10px; color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.game-card .game-note, .game-card .game-empty { margin-top: 8px; font-size: 11px; }
.game-card .game-delay { margin-bottom: 10px; font-size: 12px; color: #ef9c9c; }
html[data-theme="light"] .game-card .game-delay { color: #a32929; }
.game-card-footer { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.game-card-footer a { min-height: 36px; display: inline-flex; align-items: center; }
.game-history, .game-earlier { margin-top: 10px; }
.game-history summary, .game-earlier > summary { min-height: 36px; padding: 8px 0; cursor: pointer; }
.game-history ul { padding-left: 16px; }
.game-history li { margin: 8px 0; }
.game-history p { font-size: 11px; }
.game-earlier .game-notice { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
#serverGames :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 560px) {
  .game-table-heading, .game-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 62px; padding: 0 7px; gap: 5px; }
  .game-row { min-height: 44px; }
  .game-row-name strong { font-size: 11px; }
  .game-row-name small { display: none; }
  .game-row-time { grid-template-columns: 1fr; gap: 0; font-size: 11px; line-height: 1.4; }
  .game-row-date { font-size: 10px; }
  .game-row > .game-status { font-size: 10px; min-width: 58px; padding: 3px 4px; }
  .game-filters { gap: 6px; margin: 6px 0; }
  .game-filters label { flex-direction: column; align-items: stretch; }
  .game-filters label { gap: 0; font-size: 0; }
  .game-filters select { min-height: 36px; padding: 4px 5px; font-size: 11px; }
  .game-card .game-row-detail { padding: 10px; }
}
