.dinosaur__card_small {
  margin: 0;
  padding: 32px;
  width: 100%;
  max-width: 390px;
  height: 100%;
  aspect-ratio: 520/746;
  display: block;
  background-image: url("/assets/dinosaurs/small/bg-card-f4dcb1dc.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 8px;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.5));
  flex-shrink: 0;
  -webkit-transform: translateZ(0);
  will-change: transform;
  position: relative;
  contain: paint;
}

.dinosaur__card_small.--first-rank > .dinosaur__card_small__inner {
  transform: scale(83%);
}

.dinosaur__card_small.--first-rank::after {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url("/assets/dinosaurs/small/frame-01-c0fa858c.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: scale(105%);
}
.dinosaur__card_small.--first-rank > .dinosaur__card_small__inner > .rank {
  top: 2px;
  left: 2px;
}

.dinosaur__card_small.--first-rank
  > .dinosaur__card_small__inner
  > .skill-icon-box {
  top: -16px;
  right: -16px;
}

.dinosaur__card_small.--first-rank
  > .dinosaur__card_small__inner
  > .rank-icon-box {
  top: 39%;
  left: -16px;
}

.dinosaur__card_small.--second-rank > .dinosaur__card_small__inner {
  transform: scale(83%);
}

.dinosaur__card_small.--second-rank::after {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url("/assets/dinosaurs/small/frame-02-ac4cae1d.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: scale(105%);
}

.dinosaur__card_small.--second-rank > .dinosaur__card_small__inner > .rank {
  top: 2px;
  left: 2px;
}

.dinosaur__card_small.--second-rank
  > .dinosaur__card_small__inner
  > .skill-icon-box {
  top: -16px;
  right: -16px;
}

.dinosaur__card_small.--second-rank
  > .dinosaur__card_small__inner
  > .rank-icon-box {
  top: 39%;
  left: -16px;
}

.dinosaur__card_small.--third-rank > .dinosaur__card_small__inner {
  transform: scale(83%);
}

.dinosaur__card_small.--third-rank::after {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url("/assets/dinosaurs/small/frame-03-3bcf87a3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: scale(105%);
}

.dinosaur__card_small.--third-rank > .dinosaur__card_small__inner > .rank {
  top: 2px;
  left: 2px;
}

.dinosaur__card_small.--third-rank
  > .dinosaur__card_small__inner
  > .skill-icon-box {
  top: -16px;
  right: -16px;
}

.dinosaur__card_small.--third-rank
  > .dinosaur__card_small__inner
  > .rank-icon-box {
  top: 39%;
  left: -16px;
}

.dinosaur__card_small > .dinosaur__card_small__inner > .rank {
  margin: auto;
  padding: 8px;
  width: fit-content;
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-radius: 40px;
  background: linear-gradient(180deg, #868686 0%, #9b7c2f 100%);
  position: absolute;
  top: 25px;
  left: 25px;
  border-radius: 16px;
}

.dinosaur__card_small > .dinosaur__card_small__inner > .skill-icon-box {
  width: 64px;
  height: 64px;
}

.dinosaur__card_small > .dinosaur__card_small__inner > .rank-icon-box {
  width: 48px;
  height: 48px;
}

.dinosaur__card_small .image-box {
  width: 100%;
  aspect-ratio: 456 / 342;
  overflow: hidden;
}

.dinosaur__card_small .image-box.--fire {
  background-image: url("/assets/dinosaurs/bg-fire-inside-cc5d97ff.jpg");
  background-size: cover;
  background-position: center;
}

.dinosaur__card_small .image-box.--forest {
  background-image: url("/assets/dinosaurs/bg-forest-inside-a6cb633a.jpg");
  background-size: cover;
  background-position: center;
}

.dinosaur__card_small .image-box.--sea {
  background-image: url("/assets/dinosaurs/bg-sea-inside-b02d6e63.jpg");
  background-size: cover;
  background-position: center;
}

.dinosaur__card_small .image-box .image {
  margin: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 456 / 342;
}

.dinosaur__card_small .title-box {
  margin: 16px 0 0 0;
  padding: 0;
}

.dinosaur__card_small .title-box .title {
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
}
.dinosaur__card_small .title-box .title > span {
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  width: fit-content;
  max-width: 277px;
  max-height: 60px;
  color: #ffe9ca;
  text-shadow: 0px 0px 4px rgba(255, 233, 202, 0.35);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
  text-align: center;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  text-align: left;
}

.dinosaur__card_small .title-box .meta {
  margin: auto;
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
}
.dinosaur__card_small .title-box .meta .meta-border {
  width: 100%;
  height: 1px;
  display: block;
  background-color: #ffe9ca;
}

.dinosaur__card_small .title-box .meta .name {
  color: #ffe9ca;
  text-align: center;
  text-shadow: 0px 0px 4px rgba(255, 233, 202, 0.35);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  flex-shrink: 0;
}

.dinosaur__card_small .title-box .meta .age {
  color: #ffe9ca;
  text-align: center;
  text-shadow: 0px 0px 4px rgba(255, 233, 202, 0.35);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  flex-shrink: 0;
}

.dinosaur__card_small .title-box .meta .gender {
  color: #ffe9ca;
  text-align: center;
  text-shadow: 0px 0px 4px rgba(255, 233, 202, 0.35);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  flex-shrink: 0;
}

.dinosaur__card_small .statuses-box {
  margin-top: 8px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  column-gap: 0%;
  overflow: hidden;
}

.dinosaur__card_small .statuses-box .status-box {
  padding: 0;
  width: 55%;
}

.dinosaur__card_small .statuses-box .status-box .total-box {
  width: 100%;
  padding: 0 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dinosaur__card_small .statuses-box .status-box .total-box > .title {
  margin-left: 0;
  width: fit-content;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 24px */
  color: #ffe9ca;
}

.dinosaur__card_small
  .statuses-box
  .status-box
  .total-box
  > .title[data-ruby]::before {
  top: -1.8em;
}
.dinosaur__card_small .statuses-box .status-box .total-box .score {
  display: flex;
}
.dinosaur__card_small
  .statuses-box
  .status-box
  .total-box
  .score
  > .number-image {
  height: 36px;
}

.dinosaur__card_small .statuses-box .status-box .sub-box {
  margin-top: 8px;
}
.dinosaur__card_small .statuses-box .status-box .sub-box ul {
  display: flex;
  flex-direction: column;
}
.dinosaur__card_small .statuses-box .status-box .sub-box ul li {
  padding: 2% 0;
}
.dinosaur__card_small .statuses-box .status-box .sub-box ul li .bar-chart {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 10px;
}

.dinosaur__card_small .statuses-box .status-box .sub-box ul li .bar-chart span {
  line-height: 50%;
}
.dinosaur__card_small
  .statuses-box
  .status-box
  .sub-box
  ul
  li
  .bar-chart
  .title {
  width: 40%;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 24px */
  color: #ffe9ca;
  flex-shrink: 0;
}

.dinosaur__card_small
  .statuses-box
  .status-box
  .sub-box
  ul
  li
  .bar-chart
  .title[data-ruby]::before {
  text-align: left;
  top: -1.8em;
}

.dinosaur__card_small
  .statuses-box
  .status-box
  .sub-box
  ul
  li
  .bar-chart
  .score {
  margin-left: 5%;
  margin-right: 0;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 24px */
  color: #ffe9ca;
  text-align: right;
  flex-shrink: 0;
}

.dinosaur__card_small .statuses-box .graph-box {
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dinosaur__card_small .statuses-box .graph-box .radar-chart {
  margin-left: auto;
  margin-right: 0;
  width: 80%;
  height: 80%;
  padding: 0;
}

.dinosaur__card_small .statuses-box .graph-box .radar-chart dl > div {
  font-size: 10px;
  display: none;
}

.dinosaur__card_small__top {
  margin: 0 auto;
  position: absolute;
  top: 2px;
  bottom: auto;
  left: 0;
  right: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  width: fit-content;
  padding: 2px 16px;
  border-radius: 16px;
}
.dinosaur__card_small__top > .icon {
  width: 14px;
  height: 14px;
}
.dinosaur__card_small__top > .icon > svg {
  width: 100%;
  height: 100%;
}
.dinosaur__card_small__top > .text {
  padding-bottom: 4px;
  color: #ec2a2a;
  text-align: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.dinosaur__card_small__top.--active {
  display: flex;
}
@media only screen and (max-width: 768px) {
  .dinosaur__card_small {
    margin: 0;
    padding: 8px;
    width: 100%;
    height: 100%;
    aspect-ratio: 520/746;
    width: 155px;
    display: block;
    background-image: url("/assets/dinosaurs/small/bg-card-f4dcb1dc.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.5));
  }
  .dinosaur__card_small.--first-rank > .dinosaur__card_small__inner {
    transform: scale(78%);
  }

  .dinosaur__card_small.--first-rank
    > .dinosaur__card_small__inner
    > .skill-icon-box {
    top: -8px;
    right: -8px;
  }

  .dinosaur__card_small.--first-rank
    > .dinosaur__card_small__inner
    > .rank-icon-box {
    top: 42%;
    left: -8px;
  }

  .dinosaur__card_small.--second-rank > .dinosaur__card_small__inner {
    transform: scale(78%);
  }

  .dinosaur__card_small.--second-rank
    > .dinosaur__card_small__inner
    > .skill-icon-box {
    top: -8px;
    right: -8px;
  }

  .dinosaur__card_small.--second-rank
    > .dinosaur__card_small__inner
    > .rank-icon-box {
    top: 42%;
    left: -8px;
  }

  .dinosaur__card_small.--third-rank > .dinosaur__card_small__inner {
    transform: scale(78%);
  }

  .dinosaur__card_small.--third-rank
    > .dinosaur__card_small__inner
    > .skill-icon-box {
    top: -8px;
    right: -8px;
  }

  .dinosaur__card_small.--third-rank
    > .dinosaur__card_small__inner
    > .rank-icon-box {
    top: 42%;
    left: -8px;
  }

  .dinosaur__card_small > .dinosaur__card_small__inner > .rank {
    margin: auto;
    padding: 4px;
    width: fit-content;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background: linear-gradient(180deg, #868686 0%, #9b7c2f 100%);
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 16px;
  }

  .dinosaur__card_small > .dinosaur__card_small__inner > .skill-icon-box {
    width: 32px;
    height: 32px;
  }

  .dinosaur__card_small > .dinosaur__card_small__inner > .rank-icon-box {
    width: 24px;
    height: 24px;
    top: 42%;
  }

  .dinosaur__card_small .title-box {
    margin: 4px 0 0 0;
    padding: 0;
  }

  .dinosaur__card_small .title-box .title {
    display: flex;
    align-items: center;
    width: 100%;
    height: 30px;
  }
  .dinosaur__card_small .title-box .title > span {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    display: -webkit-box;
    max-height: 30px;
    color: #ffe9ca;
    text-shadow: 0px 0px 4px rgba(255, 233, 202, 0.35);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 135%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }

  .dinosaur__card_small .title-box .meta {
    margin: auto;
    margin-top: 2px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
  }
  .dinosaur__card_small .title-box .meta .meta-border {
    width: 100%;
    height: 1px;
    display: block;
    background-color: #ffe9ca;
  }

  .dinosaur__card_small .title-box .meta .name {
    color: #ffe9ca;
    text-align: center;
    text-shadow: 0px 0px 4px rgba(255, 233, 202, 0.35);
    font-size: 6px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    flex-shrink: 0;
  }

  .dinosaur__card_small .title-box .meta .age {
    color: #ffe9ca;
    text-align: center;
    text-shadow: 0px 0px 4px rgba(255, 233, 202, 0.35);
    font-size: 6px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    flex-shrink: 0;
  }

  .dinosaur__card_small .title-box .meta .gender {
    color: #ffe9ca;
    text-align: center;
    text-shadow: 0px 0px 4px rgba(255, 233, 202, 0.35);
    font-size: 6px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    flex-shrink: 0;
  }

  .dinosaur__card_small .statuses-box {
    margin-top: 2px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    column-gap: 0%;
  }

  .dinosaur__card_small .statuses-box .status-box {
    padding: 0;
    width: 55%;
  }

  .dinosaur__card_small .statuses-box .status-box .total-box {
    width: 100%;
    padding: 0 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dinosaur__card_small .statuses-box .status-box .total-box .title {
    width: fit-content;
    font-size: 5px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 24px */
    color: #ffe9ca;
  }

  .dinosaur__card_small
    .statuses-box
    .status-box
    .total-box
    .score
    > .number-image {
    height: 14px;
  }

  .dinosaur__card_small .statuses-box .status-box .sub-box {
    margin-top: 2px;
  }
  .dinosaur__card_small .statuses-box .status-box .sub-box ul {
    display: flex;
    flex-direction: column;
  }
  .dinosaur__card_small .statuses-box .status-box .sub-box ul li {
    padding: 2% 0;
  }
  .dinosaur__card_small .statuses-box .status-box .sub-box ul li .bar-chart {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 5px;
  }

  .dinosaur__card_small
    .statuses-box
    .status-box
    .sub-box
    ul
    li
    .bar-chart
    span {
    line-height: 50%;
  }
  .dinosaur__card_small
    .statuses-box
    .status-box
    .sub-box
    ul
    li
    .bar-chart
    .title {
    width: 40%;
    font-size: 5px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 24px */
    color: #ffe9ca;
    flex-shrink: 0;
  }

  .dinosaur__card_small
    .statuses-box
    .status-box
    .sub-box
    ul
    li
    .bar-chart
    .title[data-ruby]::before {
    text-align: left;
    top: -1.4em;
  }

  .dinosaur__card_small
    .statuses-box
    .status-box
    .sub-box
    ul
    li
    .bar-chart
    .score {
    margin-left: 5%;
    margin-right: 0;
    font-size: 5px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 24px */
    color: #ffe9ca;
    text-align: right;
    flex-shrink: 0;
  }

  .dinosaur__card_small .statuses-box .graph-box {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dinosaur__card_small .statuses-box .graph-box .radar-chart {
    margin-left: auto;
    margin-right: 0;
    width: 80%;
    height: 80%;
    padding: 0;
  }

  .dinosaur__card_small .statuses-box .graph-box .radar-chart dl > div {
    font-size: 5px;
    display: none;
  }

  .dinosaur__card_small__top {
    margin: 0 auto;
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    z-index: 10;
    column-gap: 4px;
  }
  .dinosaur__card_small__top > .text {
    color: #ec2a2a;
    text-align: center;
    font-size: 8px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
  }
  .dinosaur__card_small__top > .icon {
    width: 8px;
    height: 8px;
  }
}
