:root { color-scheme: dark; }
body {
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
header { gap: 12px; flex-wrap: wrap; }
header nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: .88rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
a:hover, button:hover { filter: brightness(1.12); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #ffc66b; outline-offset: 4px; }
#info a { color: #ffcf77; text-decoration: underline; }
#info li { margin-block: 8px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; }
.tile p { min-height: 0; }
.tile .btn { margin-top: auto; }
.file-details { width: 100%; margin-top: 16px; }
.file-details summary { color: #a7aab6; cursor: pointer; font-size: .85rem; }
.file-details code { display: block; margin-top: 8px; overflow-wrap: anywhere; font-size: .75rem; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#server-state::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 100%; background: #eabe77; }
#server-state[data-state=up]::before { background: #77dc9c; }
#server-state[data-state=down]::before { background: #fb8e84; }
#game nav { height: auto; min-height: 55px; padding-top: max(5px, env(safe-area-inset-top)); }
#game[open] { display: flex; flex-direction: column; }
#game iframe { flex: 1; min-height: 0; }
.news-item + .news-item { border-top: 1px solid #292d38; }
.news-item { padding-block: 12px; }
.news-item h3 { margin: 4px 0 8px; }
.news-item time { color: #a7aab6; font-size: .85rem; }
.news-item p { line-height: 1.55; overflow-wrap: anywhere; }
