:root {
  --accent: #66ccff;
}

@font-face {
  font-family: 'witch';
  src: url('https://caelivane.neocities.org/fonts/witch.woff2') format('woff2'),
       url('https://caelivane.neocities.org/fonts/witch.woff') format('woff'),
       url('https://caelivane.neocities.org/fonts/witch.ttf') format('truetype');
}

@font-face {
  font-family: 'arcade';
  src: url('https://caelivane.neocities.org/fonts/arcade.woff2') format('woff2'),
       url('https://caelivane.neocities.org/fonts/arcade.woff') format('woff'),
       url('https://caelivane.neocities.org/fonts/arcade.ttf') format('truetype');
}

body {
  font-family: witch;
  background: #1e1e1e;
  color: white;
  margin: 0;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 2rem;
}

.portrait {
  width: 240px;
  height: 240px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

#character-name {
  font-size: 4rem;
  font-family: 'arcade', sans-serif;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.stats {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
}

.bar label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.bar {
  display: flex;
  gap: 0.25rem;
}

.bar div {
  width: 15px;
  height: 15px;
  background: #444;
  border-radius: 50%;
}

.bar .filled {
  background: var(--accent);
}

.description {
  margin-top: 0.5rem;
  line-height: 1.4;
}

.roster-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  padding: 1.5rem 1rem;
  height: 130px;
  z-index: 9;
  display: flex;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
}

.roster {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0 2rem;
  scrollbar-width: none;
  align-items: center;
  pointer-events: auto;
}

.roster button {
  width: 84px;
  height: 84px;
  border: 2px solid transparent;
  padding: 0;
  border-radius: 0;
  background: none;
  cursor: pointer;
  transition: border 0.2s, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.roster button:hover,
.roster button.selected {
  transform: scale(1.2);
  z-index: 1;
}

.roster button.selected {
  border-color: var(--accent);
}

.roster img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
