@charset "UTF-8";
*,
*::before,
*::after {
  border: none;
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
       text-size-adjust: none;
  font-size: 16px;
  font-family: "Outfit", sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
:focus:not(:focus-visible) {
  outline: none;
}

label,
button,
select,
summary,
[type=radio],
[type=submit],
[type=checkbox] {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

body {
  background: #7d65b8;
}

h1 {
  margin: 0;
  font-size: 0.9em;
  font-weight: 400;
  font-family: "Bungee", sans-serif;
}

h2 {
  margin: 0;
  font-size: 1.15em;
}

h3 {
  margin: 0.1em 0 0;
  font-size: 1em;
}

p {
  margin: 0;
  font-size: 0.9em;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

#library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 0.5em;
  margin: 0.7em;
}
#library .collapsible {
  background: #fff;
  padding: 0.3em 0.7em 0.5em;
  border-radius: 0.3em;
  -moz-column-gap: 0.7em;
       column-gap: 0.7em;
  grid-column: 1/-1;
  box-shadow: 3px 3px 13px -7px rgb(66, 68, 90);
}
#library .collapsible:hover {
  cursor: pointer;
}
#library .collapsible .material-symbols-outlined {
  font-size: 1.7em;
  color: gray;
}
#library .collapsible .collapsible_main {
  display: flex;
  justify-content: space-between;
  flex: 2;
  width: 100%;
  -moz-column-gap: 0.5em;
       column-gap: 0.5em;
}
#library .collapsible .collapsible_main .content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#library .collapsible .collapsible_main .content h2 {
  font-size: 1em;
}
#library .collapsible .collapsible_body {
  margin: 0.7em 0;
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 0.5em;
}
#library .card {
  display: none;
}
#library .card .content p {
  word-break: break-word;
}
#library .card .level {
  flex-shrink: 0;
}
#library :is(.card, .collapsible_card) {
  background: #fff;
  width: 100%;
  border-radius: 0.3em;
  box-shadow: 3px 3px 13px -7px rgb(66, 68, 90);
}
#library :is(.card, .collapsible_card):hover {
  cursor: pointer;
}
#library :is(.card, .collapsible_card) h2 {
  word-break: break-word;
  font-size: 1em;
}
#library :is(.card, .collapsible_card) .image {
  overflow: hidden;
  border-radius: 0.3em;
  height: 170px;
}
#library :is(.card, .collapsible_card) .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#library :is(.card, .collapsible_card) .content {
  padding: 0.7em;
}
#library :is(.card, .collapsible_card) .content p {
  word-break: break-word;
  font-size: 0.8em;
}
#library :is(.card, .collapsible_card) .name {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 0.2em;
       column-gap: 0.2em;
}
#library :is(.card, .collapsible_card) .level {
  flex-shrink: 0;
  margin-top: 3px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  animation: fadeIn 0.3s ease-in-out;
}

.modal_content {
  background: #fff;
  margin: 2% auto;
  border-radius: 0.5em;
  width: min(80%, 500px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: slideIn 0.3s ease-in-out;
  font-family: "Outfit", sans-serif;
}

.close_button {
  position: absolute;
  top: 0.1em;
  right: 0.5em;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 10;
  color: #fff;
}

.modal_body {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.modal_body h2 {
  font-family: "Bungee", sans-serif;
}

.modal_header {
  padding: 0.5em;
  background: #7d65b8;
  border-radius: 0.5em 0.5em 0 0;
  text-align: center;
}
.modal_header h2 {
  font-family: "Bungee", sans-serif;
  font-size: 1em;
  color: #fff;
  margin: 0;
}

.modal_main {
  display: flex;
  flex-direction: row;
  gap: 1em;
  padding: 1em;
}

.modal_image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.modal_image img {
  width: 100%;
  max-height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5em;
  flex-shrink: 0;
  min-width: 100%;
  min-height: 100%;
}

.modal_details {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}
.modal_details h2 {
  font-family: "Bungee", sans-serif;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.modal_details h2 .level {
  font-size: 0.8em;
  color: gray;
  margin-top: 0.14em;
  text-wrap: nowrap;
}
.modal_details p {
  font-size: 0.85em;
}

.modal_modify {
  padding: 1em;
}
.modal_modify > div:not(:last-child) {
  margin-bottom: 0.8em;
}
.modal_modify h2,
.modal_modify h3 {
  text-align: center;
}
.modal_modify .selections {
  display: grid;
  gap: 0.4em 0.5em;
  grid-template-columns: 1fr 1fr 1fr;
}
.modal_modify .selections .selection_button {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 0.3em;
  padding: 6px 10px;
  transition: 0.2s ease;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
  position: relative;
  display: flex;
  align-items: center;
  margin: auto;
  width: 100%;
  height: 100%;
  justify-content: center;
  gap: 0.25em;
}
.modal_modify .selections .selection_button .tooltiptext {
  visibility: hidden;
  opacity: 0;
  width: 130px;
  bottom: 110%;
  left: 50%;
  margin-left: -65px;
  background-color: rgba(128, 128, 128, 0.893);
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 0.3em;
  position: absolute;
  z-index: 50;
  transition: 0.2s ease;
}
.modal_modify .selections .selection_button .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 98%;
  left: 20%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(128, 128, 128, 0.893) transparent transparent transparent;
}
.modal_modify .selections .selection_button:hover {
  background: #c5f0b1;
}
.modal_modify .selections .selection_button:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.modal_modify .selections .selection_button .role-icon {
  height: 1.05em;
}
.modal_modify .selections .selection_button:active {
  background: #9bea0f;
}
.modal_modify .selections .selection_button.active {
  background: #9bea0f;
}

/* Locked ability styles */
.modal_modify .selections .selection_button.locked {
  background: #f5f5f5;
  color: #999;
  border-color: #ddd;
  cursor: not-allowed;
  opacity: 0.6;
}

.modal_modify .selections .selection_button.locked:hover {
  background: #f5f5f5;
  cursor: not-allowed;
}

.modal_modify .selections .selection_button.locked .level-requirement {
  background: #ff6b6b;
  color: white;
  font-size: 0.7em;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
  font-weight: 600;
}

.modal_modify .selections .selection_button.locked .tooltiptext {
  background-color: rgba(255, 107, 107, 0.9);
  opacity: 1;
}

.modal_modify .selections .selection_button.locked .tooltiptext::after {
  border-color: rgba(255, 107, 107, 0.9) transparent transparent transparent;
}
.modal_modify #abilities .selections {
  grid-template-columns: 1fr 1fr;
}

.rarity-icon {
  width: 12px;
  height: 12px;
  vertical-align: top;
  margin: 0.15em 0.1em 0 0;
  display: inline;
}

.stats {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 0.4em;
  padding: 0.5em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1em 0.5em;
  font-size: 0.85em;
  margin-top: 0.5em;
}

.lists {
  display: flex;
  gap: 0.5em;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 0.4em;
  padding: 0.5em;
}
.lists div {
  flex: 1;
}
.lists ul {
  margin: 0.3em 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85em;
}
.lists ul li::before {
  content: "• ";
  color: #7d65b8;
}

.modal_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #7d65b8;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 0.2em 0.5em;
  border-radius: 10%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
  z-index: 10;
}
.modal_nav:hover {
  background: #fff;
}
.modal_nav.prev {
  left: -1.7em;
}
.modal_nav.next {
  right: -1.7em;
}

@media (max-width: 600px) {
  .modal_nav.prev {
    left: -1.7em;
  }
  .modal_nav.next {
    right: -1.7em;
  }
}
header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 0.3em 0.7em;
  background: #fff;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  width: 100%;
  box-shadow: 0px 1px 13px -7px rgb(66, 68, 90);
}
header a {
  color: inherit;
  text-decoration: none;
}
header #brand {
  display: flex;
  gap: 7px;
  align-items: center;
}
header #brand img {
  width: 40px;
  border-radius: 100px;
}
header form {
  height: inherit;
}
header form button {
  background-color: #fff;
  padding: 0;
}
header span:hover {
  cursor: pointer;
}
header input {
  background: gray;
  height: 2em;
  border-radius: 1em;
  padding: 5px 20px;
}
header .interaction {
  display: flex;
  align-items: center;
  height: 1.5em;
}
header .interaction * {
  font-size: 28px;
}
header .interaction #card_button {
  display: block;
}
header .interaction #list_button {
  display: none;
}
@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}/*# sourceMappingURL=main.css.map */