@import url("https://fonts.googleapis.com/css2?family=Comfortaa&family=Noto+Sans&family=Source+Code+Pro&display=swap");
/* funny of you to think I would write CSS */
html {
  background-color: #000;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
}

.accent {
  color: #ff4080;
}

.deco {
  opacity: 0.66;
}

.bigger {
  font-size: 1.25em;
}

a[href] {
  color: #ff4080;
  text-decoration: none;
}

html, body {
  margin: 0;
  padding: 0;
  color: #c0c0df;
  font-family: "Noto Sans", sans-serif;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  max-width: 100vw;
  background-color: rgba(0, 0, 0, 0.5333333333);
}

body.dashboard-page {
  overflow: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
body.dashboard-page::-webkit-scrollbar {
  display: none;
}

h1, h2, h3, h4, h5, h6, .title {
  font-family: "Comfortaa", sans-serif;
}

code {
  font-family: "Source Code Pro", monospace;
  color: #ffbf40;
}

hr {
  border: solid 1px #c0c0df;
  opacity: 0.5;
}

.grade-1-bg {
  background-color: rgba(102, 102, 102, 0.4);
}

.grade-2-bg {
  background-color: rgba(204, 204, 204, 0.4);
}

.grade-3-bg {
  background-color: rgba(32, 255, 128, 0.4);
}

.grade-4-bg {
  background-color: rgba(32, 128, 255, 0.4);
}

.grade-5-bg {
  background-color: rgba(128, 32, 255, 0.4);
}

.grade-6-bg {
  background-color: rgba(255, 207, 96, 0.4);
}

.grade-7-bg {
  background-color: rgba(255, 128, 0, 0.4);
}

.grade-8-bg {
  background-color: rgba(255, 32, 128, 0.4);
}

.grade-1-border {
  border-color: #666666 !important;
}

.grade-2-border {
  border-color: #cccccc !important;
}

.grade-3-border {
  border-color: #20ff80 !important;
}

.grade-4-border {
  border-color: #2080ff !important;
}

.grade-5-border {
  border-color: #8020ff !important;
}

.grade-6-border {
  border-color: #ffcf60 !important;
}

.grade-7-border {
  border-color: #ff8000 !important;
}

.grade-8-border {
  border-color: #ff2080 !important;
}

.grade-1-text {
  color: #666666;
}

.grade-2-text {
  color: #cccccc;
}

.grade-3-text {
  color: #20ff80;
}

.grade-4-text {
  color: #2080ff;
}

.grade-5-text {
  color: #8020ff;
}

.grade-6-text {
  color: #ffcf60;
}

.grade-7-text {
  color: #ff8000;
}

.grade-8-text {
  color: #ff2080;
}

.grade-1-stroke {
  stroke: #666666;
}

.grade-2-stroke {
  stroke: #cccccc;
}

.grade-3-stroke {
  stroke: #20ff80;
}

.grade-4-stroke {
  stroke: #2080ff;
}

.grade-5-stroke {
  stroke: #8020ff;
}

.grade-6-stroke {
  stroke: #ffcf60;
}

.grade-7-stroke {
  stroke: #ff8000;
}

.grade-8-stroke {
  stroke: #ff2080;
}

.character-info {
  border-bottom: solid 1px black;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
  padding-left: 84px;
  margin-bottom: 12px;
  min-height: 64px;
}
.character-info > .title {
  margin-top: 8px;
  font-size: 1.5em;
}
.character-info > .title > .game-account {
  opacity: 0.5;
}
.character-info > .title > .game-account::before {
  content: "[";
}
.character-info > .title > .game-account::after {
  content: "]";
}
.character-info > .title > .game-account::before, .character-info > .title > .game-account::after {
  margin: 0 4px;
}
.character-info::before {
  content: "";
  display: block;
  position: absolute;
  height: 64px;
  width: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: local;
  transform: translateX(calc(-100% - 12px));
}
.character-info > .profile-pic {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-12px, 8px);
  height: 64px;
  width: 64px;
}
.character-info > .profile-pic img, .character-info > .profile-pic video {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2), -2px 3px 6px rgba(0, 0, 0, 0.2);
}

.char-data .level::before {
  content: "Level:";
  opacity: 0.5;
  margin-right: 2px;
}
.char-data .mastery-level::before {
  content: "HM Level:";
  opacity: 0.5;
  margin-right: 2px;
}
.char-data .hp::before {
  content: "HP:";
  opacity: 0.5;
  margin-right: 2px;
}
.char-data > span:not(:last-child)::after {
  content: "|";
  opacity: 0.5;
  margin: 0 8px;
}
.char-data .guild > .grade {
  opacity: 0.5;
}
.char-data .guild > .grade::before {
  content: "(";
}
.char-data .guild > .grade::after {
  content: ")";
}

.side {
  display: block;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
}

.pic {
  display: block;
  max-height: 420px;
  max-width: 320px;
}
.pic img, .pic video {
  display: block;
  border-radius: 8px;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2), -2px 3px 6px rgba(0, 0, 0, 0.2);
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.item-section > .title {
  font-size: 1.25em;
  margin: 12px 0;
  margin-top: 20px;
}
.item-section > .title > .description {
  opacity: 0.5;
}
.item-section > .title > .description::before {
  content: "(";
}
.item-section > .title > .description::after {
  content: ")";
}

.itembox {
  border: solid 1px black;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 8px 0;
}
.itembox .item {
  padding: 4px 8px;
}
.itembox .item a {
  display: block;
  position: relative;
  text-decoration: none;
}
.itembox .item .icon {
  border-style: solid;
  border-width: 1px;
  border-radius: 4px;
}
.itembox .item .name {
  display: inline-block;
  position: absolute;
  top: 0;
  padding: 8px;
  line-height: 100%;
  word-wrap: none;
  line-break: none;
  font-size: 1.5em;
  overflow: hidden;
}
.itembox .gems {
  border-top: solid 1px black;
  display: block;
  text-align: center;
  padding: 4px 8px;
}
.itembox .gems .gem {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-style: solid;
  border-width: 1px;
  border-radius: 50%;
}

.items {
  list-style-type: none;
  padding: 0;
  margin: 0;
  perspective: 100px;
}
.items .item {
  position: relative;
  border-radius: 4px;
  border: solid 1px;
  display: inline-block;
  width: 64px;
  height: 64px;
  transition: transform 0.2s ease;
}
.items .item > a[href] {
  display: inline-block;
  position: relative;
  height: 100%;
  width: 100%;
}
.items .item > a[href] > img.weapon-gem {
  display: inline-block;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: solid 1px;
}
.items .item > a[href] > img.weapon-gem.gem-1 {
  top: 0;
  left: 30%;
  transform: translate(-50%, -60%);
}
.items .item > a[href] > img.weapon-gem.gem-2 {
  top: 0;
  left: 70%;
  transform: translate(-50%, -60%);
}
.items .item > a[href] > img.weapon-gem.gem-3 {
  right: 0;
  top: 30%;
  transform: translate(60%, -50%);
}
.items .item > a[href] > img.weapon-gem.gem-4 {
  right: 0;
  top: 70%;
  transform: translate(60%, -50%);
}
.items .item > a[href] > img.weapon-gem.gem-5 {
  bottom: 0;
  right: 30%;
  transform: translate(50%, 60%);
}
.items .item > a[href] > img.weapon-gem.gem-6 {
  bottom: 0;
  right: 70%;
  transform: translate(50%, 60%);
}
.items .item > a[href] > img.weapon-gem.gem-7 {
  left: 0;
  bottom: 30%;
  transform: translate(-60%, 50%);
}
.items .item > a[href] > img.weapon-gem.gem-8 {
  left: 0;
  bottom: 70%;
  transform: translate(-60%, 50%);
}
.items .item img.icon {
  width: 100%;
  height: 100%;
}
.items .item.empty {
  border-color: black !important;
  background-color: rgba(0, 0, 0, 0.2666666667);
}
.items .item.empty::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
}
.items .item .name {
  display: none;
  position: absolute;
  max-width: 256px;
  min-width: 128px;
  width: max-content;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.66);
  border: solid 1px black;
  border-radius: 3px;
  padding: 4px;
}
.items .item:not(.empty):hover {
  transform: scale(1.2) translateZ(2px);
  box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2), -2px 3px 3px rgba(0, 0, 0, 0.2);
}
.items .item:hover > .name {
  display: block;
  top: 0;
  transform: translate(calc(-50% + 32px), calc(-100% - 8px));
}

input {
  margin: 0;
  padding: 0 4px;
  border: none;
  background: none;
  width: auto;
  min-width: 0;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
}
input:focus, input:active {
  background-color: rgba(0, 0, 0, 0.2);
}

input:focus, button:focus {
  outline-offset: 2px;
  outline-color: rgba(255, 64, 128, 0.8);
}

button {
  padding: 4px 8px;
  margin: 0;
  border: solid 1px #c0c0df;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
  color: #c0c0df;
  font-size: 1.5em;
  font-family: "Comfortaa", sans-serif;
}
button:hover {
  border-color: #ff4080;
  color: #ff4080;
  transform: translate(1.25%, 1.25%) scale(0.95);
}
button:focus {
  border-bottom-width: 4px;
}

.inline-box {
  display: inline-block;
}
.inline-box > .title {
  text-align: center;
  margin-bottom: 0.5em;
}

.gem-set {
  width: 128px;
  height: 128px;
  filter: drop-shadow(0px 1px 4px black);
  margin: 8px;
  perspective: 100px;
}
.gem-set > .gem-frame-wrapper {
  z-index: -1;
  display: block;
  position: absolute;
  transform: scale(1.1);
}
.gem-set > .gem-frame-wrapper > .gem-frame {
  display: block;
}
.gem-set > .gem-frame-wrapper > .gem-frame line {
  stroke-width: 4px;
}
.gem-set > .gem {
  width: 64px;
  height: 64px;
  position: absolute;
  filter: drop-shadow(0px, 0px, 2px, black);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.gem-set > .gem.piece-1 {
  transform: translate(50%) translate(-0.5px, 1px);
  clip-path: polygon(15% 7%, 50% 93%, 85% 7%);
  -webkit-clip-path: polygon(15% 7%, 50% 93%, 85% 7%);
}
.gem-set > .gem.piece-1:hover {
  z-index: 1;
  transform: translate(50%) translate(-0.5px, 1px) scale(1.1) translateZ(15px);
}
.gem-set > .gem.piece-2 {
  transform: translate(100%) translate(-4px, 2.5px);
  clip-path: polygon(44% 7%, 8% 93%, 94% 57%);
  -webkit-clip-path: polygon(44% 7%, 8% 93%, 94% 57%);
}
.gem-set > .gem.piece-2:hover {
  z-index: 1;
  transform: translate(100%) translate(-4px, 2.5px) scale(1.1) translateZ(15px);
}
.gem-set > .gem.piece-3 {
  transform: translate(100%, 50%) translate(-4px, 0.5px);
  clip-path: polygon(95% 12%, 9% 48%, 95% 85%);
  -webkit-clip-path: polygon(95% 12%, 9% 48%, 95% 85%);
}
.gem-set > .gem.piece-3:hover {
  z-index: 1;
  transform: translate(100%, 50%) translate(-4px, 0.5px) scale(1.1) translateZ(15px);
}
.gem-set > .gem.piece-4 {
  transform: translate(100%, 100%) translate(-3.5px, -4.5px);
  clip-path: polygon(94% 46%, 8% 9%, 44% 97%);
  -webkit-clip-path: polygon(94% 46%, 8% 9%, 44% 97%);
}
.gem-set > .gem.piece-4:hover {
  z-index: 1;
  transform: translate(100%, 100%) translate(-3.5px, -4.5px) scale(1.1) translateZ(15px);
}
.gem-set > .gem.piece-5 {
  transform: translate(50%, 100%) translate(0.5px, -2px);
  clip-path: polygon(85% 95%, 48% 7%, 13% 95%);
  -webkit-clip-path: polygon(85% 95%, 48% 7%, 13% 95%);
}
.gem-set > .gem.piece-5:hover {
  z-index: 1;
  transform: translate(50%, 100%) translate(0.5px, -2px) scale(1.1) translateZ(15px);
}
.gem-set > .gem.piece-6 {
  transform: translate(0, 100%) translate(3px, -2px);
  clip-path: polygon(57% 94%, 91% 7%, 6% 43%);
  -webkit-clip-path: polygon(57% 94%, 91% 7%, 6% 43%);
}
.gem-set > .gem.piece-6:hover {
  z-index: 1;
  transform: translate(0, 100%) translate(3px, -2px) scale(1.1) translateZ(15px);
}
.gem-set > .gem.piece-7 {
  transform: translate(0, 50%) translate(3.5px, 0.5px);
  clip-path: polygon(5% 87%, 90% 49%, 5% 15%);
  -webkit-clip-path: polygon(5% 87%, 90% 49%, 5% 15%);
}
.gem-set > .gem.piece-7:hover {
  z-index: 1;
  transform: translate(0, 50%) translate(3.5px, 0.5px) scale(1.1) translateZ(15px);
}
.gem-set > .gem.piece-8 {
  transform: translate(2px, 3.5px);
  clip-path: polygon(7% 57%, 94% 92%, 58% 6%);
  -webkit-clip-path: polygon(7% 57%, 94% 92%, 58% 6%);
}
.gem-set > .gem.piece-8:hover {
  z-index: 1;
  transform: translate(2px, 3.5px) scale(1.1) translateZ(15px);
}
.gem-set > .gem.empty {
  background-color: rgba(0, 0, 0, 0.5);
}
.gem-set > .gem:hover {
  outline: fuchsia;
}

#bgv {
  position: fixed;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  transform: scale(1.2) translate(-5%, -5%);
  filter: blur(8px) brightness(75%);
}

.padded {
  padding: 4px 12px;
}

.flex {
  display: flex;
}
.flex.row {
  flex-direction: row;
}
.flex.col {
  flex-direction: column;
}
.flex.start {
  align-self: flex-start;
}
.flex.center {
  align-items: center;
  justify-content: center;
}
.flex.end {
  align-self: flex-end;
}
.flex.wrap {
  flex-wrap: wrap;
}
.flex.fill {
  flex: 1 1 0;
  align-self: stretch;
}
.flex.full {
  width: 100%;
}

.user-info {
  background-color: rgba(0, 0, 0, 0.25);
  border-bottom: solid 1px #000;
  padding: 0 12px;
}
.user-info[x-is-online] .profile {
  border-color: #60bf90;
}
.user-info .profile {
  align-self: center;
  height: 64px;
  width: 64px;
  border-right: solid 1px #000;
  overflow: hidden;
  border-style: solid;
  border-width: 4px;
  border-color: #667;
  border-radius: 50%;
}
.user-info .profile > img, .user-info .profile > video {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.user-info .name {
  font-size: 2em;
}

.characters {
  gap: 8px;
}
.characters .character {
  position: relative;
  flex: 1 1 0;
  align-self: stretch;
  min-width: 300px;
  max-width: 420px;
  min-height: 300px;
  background-color: rgba(0, 0, 0, 0.25);
  border: solid 1px #000;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: #c0c0df;
  z-index: 0;
}
.characters .character[faction~="2"] .head {
  background-color: rgba(207, 32, 32, 0.2);
}
.characters .character[faction~="2"] .faction {
  color: #e24040;
}
.characters .character[faction~="1"] .head {
  background-color: rgba(48, 96, 223, 0.2);
}
.characters .character[faction~="1"] .faction {
  color: #5c82e6;
}
.characters .character:hover > .banner {
  opacity: 1;
  filter: brightness(50%) saturate(80%);
  -webkit-filter: brightness(50%) saturate(80%);
  transform: scale(1.2);
}
.characters .character > .banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  opacity: 0.75;
  z-index: -1;
  filter: brightness(40%) saturate(50%);
  -webkit-filter: brightness(40%) saturate(50%);
}
.characters .character > .banner > img, .characters .character > .banner > video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.characters .character > .head {
  position: relative;
  border-bottom: solid 1px #000;
  z-index: 1;
}
.characters .character > .head > .profile {
  position: relative;
  width: 96px;
  height: 96px;
  border-right: solid 1px #000;
}
.characters .character > .head > .profile > img, .characters .character > .head > .profile > video {
  object-fit: cover;
  width: auto;
  height: 100%;
}
.characters .character > .head > .title {
  padding: 4px 8px;
}
.characters .character > .head > .title > .char-name {
  font-size: 1.2em;
  margin-bottom: 4px;
}
.characters .character > .info {
  position: relative;
  padding: 8px;
  z-index: 1;
}
.characters .character > .info .tags:not(:first-child) {
  border-top: solid 1px rgba(255, 255, 255, 0.2);
}
.characters .character > .info .tags .tag {
  flex: 1 1 0;
  padding: 2px;
}

.container-overlay {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 2px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}
.container-overlay .dashboard-container {
  max-width: 100%;
  padding: 0;
  min-height: auto;
}

.container-overlay.tickets-overlay,
.container-overlay.character-overlay {
  max-height: none;
  overflow: visible;
  min-height: 100vh;
  padding: 2px 20px 2px 20px;
}

body.dashboard-page .container-overlay.character-overlay {
  overflow: hidden;
}

.welcome-container {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  overflow-x: hidden;
  font-family: "Comfortaa", sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  left: 0;
  right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-section-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(2px);
  -webkit-filter: blur(2px);
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
.background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.current-bg {
  z-index: 1;
  opacity: 1;
}

.dashboard-container {
  margin: 0;
  padding: 0;
  width: 100%;
  color: white;
  font-family: "Roboto", sans-serif;
  position: relative;
}

.dashboard-hero-section {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: visible;
  margin: 0;
  padding: 0;
  width: 100%;
  z-index: 1;
  margin-bottom: 0rem;
  margin-top: 0.7rem;
}

.dashboard-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.welcome-section {
  text-align: left;
}
.welcome-section h1 {
  font-size: 1.75rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: 500;
}
.welcome-section h1 span {
  color: #ff4081;
}

.dashboard-main-content {
  display: flex;
  padding: 1rem;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  max-height: 555px !important;
}

/* Character page specific override */
body:not(.dashboard-page) .dashboard-main-content {
  padding: 0.5rem;
}

.dashboard-page .dashboard-main-content {
  max-height: none;
  overflow: visible;
}

.dashboard-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  min-width: 370px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  width: 100%;
}

.dashboard-card-header {
  padding: 0.5rem 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
}
.dashboard-card-header h2 {
  font-size: 1.2rem;
  color: #ff4081;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.dashboard-card-content {
  padding: 0 1rem 0.5rem;
  min-width: 0;
}

.character-stats {
  display: flex;
  margin-top: 0.4rem;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  color: rgba(255, 255, 255, 0.7);
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  font-size: 0.85rem;
}
.character-stats .level {
  color: #66d3ee;
  margin-right: 0.2rem;
  margin-left: 0;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.character-stats .hm-level {
  color: #ff9800;
  margin-right: 0.4rem;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.depot-selector {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  margin-left: -0.5rem;
  margin-bottom: 0;
  align-items: center;
  padding-bottom: 0.5rem;
  position: relative;
}

.depot-btn {
  padding: 0.5rem 1rem !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  margin-left: 0.5rem;
  margin-bottom: 0;
  margin-top: 0;
  outline: none !important;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  box-sizing: border-box !important;
  transform: none !important;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.depot-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2) !important;
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff;
  text-decoration: none;
  transform: none !important;
  padding: 0.5rem 1rem !important;
}
.depot-btn:focus {
  outline: none !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  text-decoration: none;
  transform: none !important;
  padding: 0.5rem 1rem !important;
}
.depot-btn:active {
  outline: none !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  text-decoration: none;
  transform: none !important;
  padding: 0.5rem 1rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.depot-btn:visited {
  text-decoration: none;
}
.depot-btn.active {
  background: rgba(255, 64, 129, 0.2);
  border-color: rgba(255, 64, 129, 0.5) !important;
  border-bottom-color: rgba(255, 64, 129, 0.5) !important;
  color: #ffffff;
  text-decoration: none;
  transform: none !important;
  padding: 0.5rem 1rem !important;
}

.depot-content {
  display: none;
}
.depot-content.active {
  display: block;
}

.unity-equipped-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
  justify-content: center;
}

.unity-style-stone {
  flex-shrink: 0;
  margin-right: 1rem;
}

.unity-rows {
  display: flex;
  flex-direction: column;
}

.unity-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0.5rem;
}

.unity-row:last-child {
  margin-bottom: 0;
}

.unity-main-slot {
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.unity-main-slot .item-slot {
  width: 80px;
  height: 80px;
}

.unity-main-slot .item-icon {
  width: 80px;
  height: 80px;
}

.unity-sub-slots {
  display: flex;
  flex-direction: row;
}

.unity-sub-slots .item-slot {
  margin-right: 0.25rem;
}

.unity-sub-slots .item-slot:last-child {
  margin-right: 0;
}

.unity-sub-slots .item-icon {
  width: 56px;
  height: 56px;
}

.unity-style-stone .item-slot {
  width: 80px;
  height: 80px;
}

.unity-style-stone .item-icon {
  width: 80px;
  height: 80px;
}

.account-characters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
}

.account-characters-grid .character-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 280px;
  flex-shrink: 0;
  position: relative;
}

.account-characters-grid .character-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 64, 129, 0.5);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.account-characters-grid .character-card.cerulean {
  border-color: rgba(64, 164, 223, 0.3);
}

.account-characters-grid .character-card.cerulean:hover {
  border-color: rgba(64, 164, 223, 0.6);
}

.account-characters-grid .character-card.crimson {
  border-color: rgba(223, 64, 64, 0.3);
}

.account-characters-grid .character-card.crimson:hover {
  border-color: rgba(223, 64, 64, 0.6);
}

.account-characters-grid .character-card-header {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

.account-characters-grid .character-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.account-characters-grid .character-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-characters-grid .character-card-info {
  flex: 1;
  min-width: 0;
}

.account-characters-grid .character-card-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-characters-grid .character-card-guild {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-characters-grid .character-card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.account-characters-grid .character-card-stats {
  display: flex;
  gap: 1rem;
}

.account-characters-grid .character-card-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  flex: 1;
}

.account-characters-grid .stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.account-characters-grid .stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.account-characters-grid .character-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.account-characters-grid .character-card-detail-row {
  display: flex;
  gap: 0.5rem;
}

.account-characters-grid .character-card-detail-box {
  flex: 1;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  min-width: 0;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
}

.account-characters-grid .faction-cerulean {
  color: #40a4df !important;
}

.account-characters-grid .faction-crimson {
  color: #df4040 !important;
}

.account-characters-grid .faction-none {
  color: rgba(255, 255, 255, 0.4) !important;
}

.account-characters-grid .status-online {
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 500;
}

.account-characters-grid .status-offline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.account-characters-grid .character-card-profile-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  margin-left: auto;
}

.account-characters-grid .character-card-profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .account-characters-grid {
    flex-direction: column;
  }
}
.loading-spinner {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff4081;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.equipped-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 0.5rem 0;
  width: 100%;
  gap: 1rem;
}

.equipped-section {
  flex: 1 1 300px;
  max-width: 100%;
  padding: 0.25rem;
}
.equipped-section h3 {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.weapon-container,
.pet-container {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 0.1rem 1rem;
  margin-bottom: 1rem;
  max-width: 300px;
  min-width: 300px;
  max-height: 130px;
  min-height: 130px;
}

.weapon-section,
.pet-section {
  width: 100%;
}
.weapon-section .weapon-info,
.pet-section .weapon-info {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1px;
}

.weapon-item {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
}
.weapon-item::before {
  display: none;
}
.weapon-item .item-icon {
  width: 56px;
  height: 56px;
}

.weapon-item-wrapper {
  position: relative;
  flex: auto 0 0;
}

.enchant-gems-overlay {
  position: absolute;
  right: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-right: -12px;
  pointer-events: none;
}

.enchant-gem-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  background: none;
  border: 0px solid rgba(255, 255, 255, 0.3);
}
.enchant-gem-icon img {
  width: 90%;
  height: 90%;
  object-fit: cover;
}

.info-group {
  padding: 0 6px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}

.weapon-name {
  font-size: 1.33em;
}

.weapon-gems {
  display: flex;
  justify-content: center;
  min-height: 48px;
  padding: 4px 0;
}

.gem-slot {
  display: flex;
  margin: 1px;
  overflow: hidden;
  width: 48px;
  height: auto;
  justify-content: center;
  flex-direction: column;
}
.gem-slot img {
  display: inline-block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}
.gem-slot.empty {
  opacity: 0.3;
}

.gem-placeholder {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.gem-sets-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 0rem;
}

.gem-set-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gem-set-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
}

.soul-shields-section {
  min-width: 300px;
}

.accessories-section {
  min-width: 300px;
}

.item.grade-1 {
  background-color: rgba(102, 102, 102, 0.25) !important;
  border-color: #666 !important;
}

.item.grade-2 {
  background-color: rgba(204, 204, 204, 0.25) !important;
  border-color: #ccc !important;
}

.item.grade-3 {
  background-color: rgba(32, 255, 128, 0.25) !important;
  border-color: #20ff80 !important;
}

.item.grade-4 {
  background-color: rgba(32, 128, 255, 0.25) !important;
  border-color: #2080ff !important;
}

.item.grade-5 {
  background-color: rgba(128, 32, 255, 0.25) !important;
  border-color: #8020ff !important;
}

.item.grade-6 {
  background-color: rgba(255, 207, 96, 0.25) !important;
  border-color: #ffcf60 !important;
}

.item.grade-7 {
  background-color: rgba(255, 128, 0, 0.25) !important;
  border-color: #ff8000 !important;
}

.item.grade-8 {
  background-color: rgba(255, 32, 128, 0.25) !important;
  border-color: #ff2080 !important;
}

.accessory-row {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.accessory-row .item-slot {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}

.weapon-container .item-slot.item:hover,
.pet-container .item-slot.item:hover {
  transform: none;
  box-shadow: none;
  z-index: auto;
}

.character-banner-section {
  min-width: 320px;
  flex: 1 1 320px;
}

.character-banner-container {
  display: block;
  max-height: 300px;
  max-width: 240px;
  margin: 0 auto;
}
.character-banner-container img {
  display: block;
  border-radius: 8px;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2), -2px 3px 6px rgba(0, 0, 0, 0.2);
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.item-slot {
  overflow: hidden;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  margin: 1px;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 56px;
  perspective: 100px;
}
.item-slot.item {
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  transform-origin: center center;
  will-change: transform;
}
.item-slot.item:hover {
  filter: brightness(1.25);
  transform: scale(1.2) translateZ(2px);
  box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2), -2px 3px 3px rgba(0, 0, 0, 0.2);
  z-index: 10;
  position: relative;
}
.item-slot.empty-slot {
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.25);
}

.item-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

img[src="https://dl.sebns.com/media/classes/noicon.png"],
img[src*="noicon.png"] {
  object-fit: contain !important;
  padding: 15% !important;
  opacity: 0.3;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
}

.equipped-container .items {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.equipped-container .items .item {
  overflow: hidden;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  margin: 1px;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 56px;
  perspective: 100px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.equipped-container .items .item:hover {
  filter: brightness(1.25);
  transform: scale(1.2) translateZ(2px);
  box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2), -2px 3px 3px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
.equipped-container .itembox .item {
  overflow: hidden;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  margin: 1px;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 56px;
  perspective: 100px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.equipped-container .itembox .item:hover {
  filter: brightness(1.25);
  transform: scale(1.2) translateZ(2px);
  box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2), -2px 3px 3px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/*# sourceMappingURL=style.css.map */
