body {
  padding: 0;
  display: block;
  min-height: 100vh;
  overflow: hidden;
  background: #171713;
}
.shell {
  width: 100%;
  height: 100vh;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.top {
  flex-shrink: 0;
  height: 76px;
  gap: 14px;
}
.brand {
  cursor: move;
  flex: 1;
  white-space: nowrap;
}
.links {
  gap: 18px;
}
.window-controls {
  display: flex;
  gap: 2px;
}
.window-controls button {
  border: 0;
  background: none;
  font-size: 20px;
  padding: 8px 12px;
}
.window-controls #close:hover {
  background: #a33232;
}
.page {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.page.settings {
  height: auto;
  min-height: 0;
}
.playbar {
  flex-shrink: 0;
  margin-top: 20px;
  padding-top: 16px;
}
.footer {
  margin: 10px 0 2px;
  flex-shrink: 0;
}
.text-link {
  border: 0;
  background: none !important;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.text-link:hover {
  color: var(--gold);
}
.account .text-link {
  font-size: 12px;
}
.rail .bottom {
  margin-top: auto;
}
.rail svg,
.gear svg {
  transition:
    transform 130ms ease,
    color 130ms ease;
}
.rail button:is(:hover, :focus-visible) svg {
  transform: scale(1.07);
}
.rail [data-page="settings"]:is(:hover, :focus-visible) svg,
.gear:is(:hover, :focus-visible) svg {
  transform: rotate(45deg);
}
.gear svg,
.update-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.gear {
  display: grid;
  place-items: center;
}
.update-icon {
  width: 12px;
  height: 12px;
}
#refresh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.updating .update-icon {
  animation: spin 1.2s linear infinite;
}
button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
.news .card {
  transition:
    transform 150ms ease,
    border-color 150ms ease;
  transform-origin: center;
}
.news .card:is(:hover, :focus-visible) {
  transform: scale(1.015);
}
.fill {
  width: 0;
  transition: width 180ms linear;
}
.track.indeterminate .fill {
  width: 30%;
  animation: checking 1.6s ease-in-out infinite;
}
.ready #update-label {
  animation: ready 180ms ease-out;
}
.update-line {
  overflow: hidden;
}
.update-line #update-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subline #update-detail {
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.subline .text-link {
  font-size: 10px;
}
.settings-tabs {
  display: flex;
  gap: 9px;
  margin: 15px 0;
}
.keybinds {
  padding-bottom: 15px;
}
.key-row {
  padding: 9px 0;
}
.site-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
}
.site-toolbar button {
  padding: 8px 12px;
  font-size: 12px;
}
#site-title {
  flex: 1;
  font-size: 12px;
  color: var(--muted);
}
#website {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#website[hidden] {
  display: none;
}
#site-area {
  flex: 1;
  min-height: 100px;
  background: #171713;
  border-radius: 8px;
  overflow: hidden;
}
.news .card {
  flex-shrink: 0;
}
.hero {
  height: 280px;
}
.hero-copy {
  padding: 25px;
}
.news .thumb {
  height: 106px;
}
#all-news {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 20px;
}
#save-settings {
  margin: 0;
}
.setting-row input[type="range"] {
  min-width: 100px;
  width: 190px;
  accent-color: var(--gold);
}
#online-list {
  max-height: 420px;
  overflow: auto;
}
.settings p {
  line-height: 1.6;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.news:empty:after {
  content: "No published news is available.";
  color: var(--muted);
}
@keyframes checking {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(430%);
  }
}
@keyframes ready {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .rail button:is(:hover, :focus-visible) svg,
  .gear:is(:hover, :focus-visible) svg,
  .news .card:is(:hover, :focus-visible) {
    transform: none;
  }
}
@media (max-height: 760px) {
  .hero {
    height: 215px;
  }
  .hero h1 {
    font-size: 27px;
  }
  .hero .logo {
    width: 210px;
  }
  .hero-copy {
    padding: 18px 25px;
  }
  .hero p {
    margin: 10px 0;
  }
  .section-title {
    margin: 18px 0 10px;
  }
  .news .thumb {
    height: 90px;
  }
  .card .copy {
    padding: 10px 12px;
  }
  .top {
    height: 65px;
  }
  .rail {
    gap: 9px;
  }
  .seal {
    margin-bottom: 24px;
  }
  .playbar {
    margin-top: 12px;
  }
}
@media (max-width: 1080px) {
  .brand {
    font-size: 16px;
  }
  .links {
    gap: 12px;
  }
  .window-controls button {
    padding: 8px;
  }
  .main {
    padding: 0 18px 15px;
  }
}
