src/views/component/character/character.css
@font-face {
  src: url("../../../../data/font/SourceHanSerifSC-Heavy.otf");
  font-family: "Source Han Serif SC Heavy";
  font-display: swap;
}

@font-face {
  src: url("../../../../data/font/SourceHanSansSC-Regular.otf");
  font-family: "Source Han Sans SC";
  font-display: swap;
}

@font-face {
  src: url("../../../../data/font/SourceHanSerifSC-Regular-Subset.otf");
  font-family: "Source Han Serif SC Regular Subset";
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
}

html,
body,
#app {
  -webkit-text-stroke: 0.018em currentColor;
  width: 720px;
  overflow-x: hidden;
  font-family: "Source Han Serif SC Heavy", serif;
  letter-spacing: 0.01em;
}

.background {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: -1;
  width: 720px;
  height: 100%;
}

.svg {
  position: absolute;
  transform: translate(0, -180px);
  opacity: 0.33;
  filter: brightness(0.95);
  width: 1000px;
}

.anemo {
  background: linear-gradient(#a5d6c7, #629988);
}

.cryo {
  background: linear-gradient(#a3d2e6, #5c8e9c);
}

.dendro {
  background: linear-gradient(#b5cfa3, #7a855b);
}

.electro {
  background: linear-gradient(#cfb0d6, #5b6282);
}

.geo {
  background: linear-gradient(#e8d29b, #93666d);
}

.hydro {
  background: linear-gradient(#7eb6de, #5f6999);
}

.pyro {
  background: linear-gradient(#f2d09d, #a3615a);
}

.container-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container-character-infos {
  grid-row-gap: 30px;
  display: grid;
  align-items: center;
  justify-items: center;
  z-index: 2;
  margin-top: 68px;
  min-width: 480px;
}

/* noinspection DuplicatedCode */
.container-deco-strip {
  display: flex;
  position: absolute;
  top: 30px;
  flex-direction: column;
  align-items: center;
  opacity: 0.11;
  width: 800px;
  overflow: hidden;
  color: hsl(42deg 27% 18%);
  font-family: "Source Han Serif SC Regular Subset", serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.info-title,
.page-title {
  width: 100%;
  color: #715257;
  font-size: 44px;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 6px rgb(0 0 0 / 25%);
}

.page-title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-title > span {
  margin-right: 8px;
  letter-spacing: 0.05em;
}

.profile-image {
  border-radius: 50%;
  background: #d19e7a;
  width: 300px;
  height: 300px;
}

.character-level-ring {
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px) brightness(0.95);
  box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
  border-radius: 50%;
  padding: 8px;
}

.container-bar {
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  display: grid;
  grid-template-columns: max-content auto max-content;
  align-items: center;
}

.bar-title,
.bar-details {
  color: #ede8e1;
  font-size: 24px;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 6px rgb(0 0 0 / 25%);
}

.bar-full {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  background-color: #00000038;
  width: 300px;
  height: 10px;
}

.dot-show {
  box-shadow: 0 0 3px rgb(0 0 0 / 39%);
  border-radius: 50%;
  background-color: #ede8e1;
  width: 4px;
  height: 4px;
}

.dot-hide {
  width: 4px;
  height: 0;
}

.bar-progress {
  position: absolute;
  border-radius: 5px;
  height: 10px;
}

.bar-progress.normal {
  background-color: #ede8e1;
}

.bar-progress.max {
  /* background: hsl(25deg 69% 75%); */
  /* 备用 */
  background: hsl(41deg 98% 49%);
}

.bar-details {
  display: flex;
  justify-content: space-between;
}

.split-title {
  margin-bottom: 20px;
  color: #715257;
  font-size: 40px;
  text-shadow: 0 1px 2px rgb(0 0 0 / 25%);
}

.artifact-table,
.weapon-table {
  grid-row-gap: 10px;
  display: grid;
  grid-template-rows: minmax(70px, 1fr);
  grid-template-columns: 91px auto;
  align-items: stretch;
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 25%));
  width: 465px;
}

.artifact-content {
  display: grid;
  grid-template-columns: max-content auto;
}

.artifact-icon {
  border-radius: 8px;
  width: 64px;
  height: 64px;
}

.rarity-five {
  background: url("../../../../resources/etc/image/5-Star.png") no-repeat center;
  background-size: cover;
}

.rarity-four {
  background: url("../../../../resources/etc/image/4-Star.png") no-repeat center;
  background-size: cover;
}

.rarity-three,
.rarity-two,
.rarity-one {
  background: url("../../../../resources/etc/image/3-Star.png") no-repeat center;
  background-size: cover;
}

.artifact-details {
  grid-column-gap: 6px;
  grid-row-gap: 2px;
  display: grid;
  grid-template-areas:
    "name level"
    "rarity rarity";
  align-items: end;
  font-size: 20px;
}

.artifact-name {
  grid-area: name;
}

.artifact-level,
.weapon-affix {
  display: flex;
  position: relative;
  bottom: 2px;
  align-items: center;
  border-radius: 4px;
  background: #ede8e1;
  padding: 0 3px;
  width: fit-content;
  height: 16px;
  color: #7d796d;
  font-size: 14px;
  text-shadow: none;
}

.artifact-level {
  grid-area: level;
}

.artifact-rarity {
  grid-area: rarity;
}

.box-title,
.info-content {
  display: flex;
  align-items: center;
  padding: 0 6px;
  font-size: 24px;
  text-shadow: 0 3px 6px rgb(0 0 0 / 25%);
}

.box-title {
  justify-content: center;
  background: #ede8e1;
  min-width: 79px;
  color: #7d796d;
}

.info-content {
  background: rgba(237, 232, 225, 0.11);
  padding: 12px 16px;
  color: #ede8e1;
  text-align: justify;
  word-break: break-all;
}

.artifact-content {
  grid-column-gap: 12px;
  display: grid;
  justify-items: start;
}

.container-weapon-info {
  grid-column-gap: 12px;
  display: grid;
  grid-template-columns: max-content auto;
  justify-items: start;
}

.weapon-level-ring {
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px) brightness(0.95);
  box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
  border-radius: 8px;
  padding: 4px;
}

.weapon-icon {
  border-radius: 8px;
  width: 56px;
  height: 56px;
}

.weapon-details {
  grid-column-gap: 6px;
  display: grid;
  grid-template-columns: min-content auto;
  grid-template-areas:
    "name affix"
    "rarity rarity"
    "description description";
  align-items: end;
  font-size: 20px;
}
.weapon-name {
  white-space: nowrap;
}

.weapon-rarity,
.weapon-desc {
  font-size: 16px;
}

.weapon-rarity {
  grid-area: rarity;
}

.weapon-affix {
  grid-area: affix;
}

.weapon-affix.max {
  background: #141a2a;
  color: hsl(25deg 69% 75%);
  text-shadow: 0 0 6px hsl(25deg 59% 35%);
}

.affix-value {
  margin-left: 2px;
}

.weapon-desc {
  grid-area: description;
  margin-top: 4px;
  border-top: 1px solid #ede8e1;
}

.credit {
  align-self: end;
  margin: 20px 10px 10px 0;
  color: #ede8e1;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 6px rgb(0 0 0 / 25%);
}
