.ls_status_wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.ls_status_single {
  width: calc(100% / 3);
  margin: 0px 5px;
}

.ls_status_header {
  text-align: center;
  padding: 5px 0px;
  background-color: #e0e6f0;
  font-weight: bold;
  color: #1e293b;
  border-radius: 5px 5px 0px 0px;
  border: 2px solid #ccc;
}

.ls_status_value {
  text-align: center;
  padding: 5px 0px;
  border-radius: 0px 0px 5px 5px;
  border-right: 2px solid #ccc;
  border-left: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
}

.top-illust::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}

.top-illust {
  position: relative;
  margin-bottom: 20px;
}

ul.chara_info {
  padding: 5px 10px 5px 10px;
  margin: 10px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 3px solid #c8c9cf;
  border-radius: 10px;
  overflow: hidden;
  font-weight: bold;
}

ul.chara_info img {
  width: 30px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.chara_info li:nth-child(n) {
  border-right: 2px dashed #c8c9cf;
  border-bottom: 2px solid #c8c9cf;
  padding: 5px 0px;
  text-align: center;
}

.chara_info li:nth-last-child(-n+2) {
  border-bottom: none;
}

.chara_info li:nth-child(2n) {
  border-right: none;
}

.trend-desc {
  font-size: 13px;
  position: relative;
  padding-left: 44px;
  font-feature-settings: "palt";
}

.trend-desc::before {
  content: attr(data-skill-lv);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  background: #e2e8f0;
  color: #1e293b;
  border-radius: 4px;
  padding: 1px 6px;
}

.name[data-rank="purple"] img {
  border: 2px solid #673AB7;
}

.name[data-rank="purple"] {
  color: #673AB7;
}

.name[data-rank="orange"] img {
  border: 2px solid #ff6600;
}

.name[data-rank="orange"] {
  color: #ff6600;
}

.name[data-rank="red"] img {
  border: 2px solid #f9003f;
}

.name[data-rank="red"] {
  color: #f9003f;
}

.name[data-rank="gray"] img {
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
}

.name[data-rank="gray"] {
  color: #64748b;
}

.tag>div {
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  color: #374151;
}

.tag {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 5px;
}

.human_skill>div {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  text-align: left;
}

.human_skill>div:first-child {
  padding-top: 4px;
}

.human_skill>div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
}

.name>div {
  display: flex;
  align-items: center;
}

.name div:last-child {
  text-align: center;
  font-size: 12px;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 2px 8px;
  background: #f1f5f9;
  flex-shrink: 0;
}

.name img {
  width: 36px;
  height: auto;
  margin-right: 5px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  display: inline-block;
}

.human_skill {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f9fafb;
}

.human_skill>.info>div::before {
  content: attr(data-skill) ": ";
  font-weight: bold;
  color: #334155;
}

.toggle_button {
  background-color: #2563eb;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 50%;
  margin: 0 25%;
}

.toggle_button:hover {
  background-color: #2563eb;
}

.effect-star2>.trend-desc {
  margin: 10px 0;
  display: none;
}

.human_skill>.hide div:last-child {
  display: none;
}

.trend-desc .star {
  color: gold;
}

.human_skill>.target-chara {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px 0;
}

.human_skill>.target-chara div {
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.human_skill>.target-chara div:first-child {
  color: #ff6600 !important;
  pointer-events: none;
  background-color: #fff6e6 !important;
}

.human_skill>.target-chara img {
  width: 44px;
  height: auto;
}

li[data-rank="UR"] {
  background: linear-gradient(90deg,
      #ff9a9e,
      #fad0c4,
      #fad0c4,
      #fbc2eb,
      #a1c4fd,
      #c2e9fb,
      #d4fc79,
      #96e6a1);
  -webkit-background-clip: text;
  /* Safari/Chrome */
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

li[data-rank="SSR"] {
  color: #DEA314;
}

li[data-rank="SR"] {
  color: #AE9BE4;
}

li[data-rank="R"] {
  color: #6684c1;
}

.chara-name::before {
  content: attr(data-v);
  display: block;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.025em;
  color: white;
  background: rgba(34, 34, 34, 0.88);
  min-width: 44px;
  line-height: 1;
  padding: 2px 0;
  margin: auto;
  border-radius: 0 0 3px 3px;
  width: fit-content;
  font-family: "Courier New", monospace;
}

.chara-name[data-v="✦5"]::before {
  color: gold;
}

.chara-name[data-v="✵5"]::before {
  color: #c2b0f6;
}

.support img {
  width: 44px;
  height: auto;
}

.support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  flex: 1;
}

.support>div:first-child {
  color: #ff6600 !important;
  pointer-events: none;
  background-color: #fff6e6 !important;
}

.support-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.prev-btn,
.next-btn {
  cursor: pointer;
  font-size: 20px;
  color: #928f8f;
}

.prev-btn.active,
.next-btn.active {
  color: #f58c41;
}

.support-effect .trend-desc {
  display: none;
  position: relative;
  padding-left: 44px;
  margin-top: 10px;
}

.support-effect .trend-desc.active {
  display: block;
}

.support>div.active {
  display: flex;
  gap: 10px;
}

.support>div {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ability_status {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ability_status>.trend-desc {
  padding-left: 5em;
  padding-top: 10px;
  padding-bottom: 10px;

}