/* saa.im */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: #0a0a0a;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
::selection { background: rgba(255, 45, 15, .55); color: #fff; }

main {
  max-width: 520px;
  padding: 48px 24px;
}

.sign { color: rgba(255, 255, 255, .55); }

/* ---- links: quiet underline; hover = the saga search-bar shimmer sweep ----
   underline is a border (text-decoration can't reach the inline-block char
   spans the shimmer needs), and the block highlight stays neutral so the
   rainbow reads on top of it */
a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  border-radius: 3px 3px 0 0;
  transition: background-color .15s ease, box-shadow .15s ease;
}
a:hover, a:focus-visible, a:active {
  background-color: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
  outline: none;
}
a .ch { display: inline-block; }
a.sweep .ch {
  animation: chsweep .55s ease-in-out;
  animation-delay: var(--d);
}
@keyframes chsweep {
  0%, 100% { transform: translateY(0); }
  40%      { transform: translateY(-3px); color: var(--c); }
}

/* ---- mini inline icons ---- */
.icon {
  height: 14px;
  width: auto;
  vertical-align: -2px;
  margin-right: 4px;
  border-radius: 2px;
}
.i-england { height: 11px; vertical-align: -1px; }
.i-ggb { height: 12px; vertical-align: -1px; }
.icon-pair { white-space: nowrap; }

footer {
  margin-top: 40px;
  font-size: 13px;
}
footer a { color: rgba(255, 255, 255, .55); }
footer a:hover { color: #fff; }
footer .dot { color: rgba(255, 255, 255, .35); margin: 0 .5em; }

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
  a.sweep .ch { animation: none; }
}
