*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #1a202c;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}

/* Nav bar */
.nav-bar {
  display: flex;
  align-items: center;
  padding-left: 24px;
  background-color: #171923;
  user-select: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-logo {
  margin-right: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.menu-link {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
}

.menu-link:focus {
  outline: none;
}

.menu-link.active {
  background-color: #1a365d;
}

.nav-end {
  margin-left: auto;
}

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px;
}

.vstack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hstack {
  display: flex;
  align-items: center;
}

.hstack-6 {
  gap: 24px;
}

/* Section */
.section {
  background-color: #2d3748;
  border: 2px solid #3182ce;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

/* Table */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table.fixed {
  table-layout: fixed;
}

th {
  text-align: left;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a0aec0;
  border-bottom: 2px solid #4a5568;
}

td {
  padding: 8px 16px;
  border-top: 1px solid #4a5568;
}

td.text-right {
  text-align: right;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-color: #90cdf4;
  color: #1a202c;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  background-color: #3182ce;
}

.btn:active {
  background-color: #2b6cb0;
  text-decoration: underline;
}

.btn:focus {
  outline: none;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #90cdf4;
  color: #f7fafc;
}

.btn-outline:hover {
  background-color: #1a202c;
}

.btn-in-game {
  border: 2px solid #e0bf4f;
  background-color: #6a1411;
  color: #e0bf4f;
  border-radius: 0;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px #000;
  font-family: "Cinzel", serif;
}

.btn-in-game:hover {
  background-color: #571411;
}

.btn-in-game:focus {
  outline: none;
}

/* Button group */
.btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-group-right {
  justify-content: flex-end;
  width: 100%;
}

/* Kbd */
kbd {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-family: monospace;
  border: 1px solid #718096;
  border-radius: 4px;
  background-color: #2d3748;
  color: #e2e8f0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
  border-radius: 4px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Heading utility */
.heading-md {
  font-size: 18px;
  font-weight: 600;
}

/* PlayingAs */
.playing-as-label {
  display: block;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
}
