.tier58-icon {
  width: 24px;
  height: 25px;
  flex: 0 0 24px;
  vertical-align: middle;
  color: var(--tier-color, currentColor);
}
.tier58-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--tier-color);
  border-color: color-mix(in srgb, var(--tier-color) 50%, transparent);
}
.tier58-badge.small .tier58-icon {
  width: 18px;
  height: 19px;
  flex-basis: 18px;
}
.identity58 {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 16px;
}
.identity58 .v56-channel-identity {
  margin: 8px 0;
}
.title58-equipped {
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  max-width: 100%;
  line-height: 1.6;
  min-width: 0;
  padding: 5px 9px;
}
.channel55 h1 {
  white-space: normal !important;
  overflow-wrap: anywhere;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100%;
  line-height: 1.35;
}
.tier58-progress {
  padding: 14px 0;
  min-width: 0;
}
.tier58-progress > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tier58-progress p {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.tier58-progress progress {
  display: block;
  width: 100%;
  height: 8px;
  accent-color: #e4b65f;
}
.tier58-progress.compact {
  padding: 4px 0;
  font-size: 12px;
}
.tier58-progress small {
  display: block;
  line-height: 1.7;
  margin-top: 12px;
  color: var(--soft);
}
.world58,
.shelf58 {
  min-width: 0;
  max-width: 100%;
}
.world58 p,
.world58 h1,
.world58 h2,
.shelf58 p,
.shelf58 h3 {
  overflow-wrap: anywhere;
}
.world58 button,
.shelf58 button,
.shelf58 summary {
  min-height: 44px;
}
.world58 input,
.world58 select {
  max-width: 100%;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
}
.world58-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.world58-tiers article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  min-width: 0;
  background: var(--surface);
}
.world58-tiers article.achieved {
  border-color: #706242;
}
.world58-tiers p {
  font-size: 12px;
}
.world58-tiers small {
  display: block;
  color: var(--soft);
  line-height: 1.5;
}
.world58-metrics,
.shelf58-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.world58-metrics button,
.shelf58-filters button {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 13px;
  background: var(--surface2);
  color: var(--soft);
}
.world58-metrics .chosen,
.shelf58-filters .chosen {
  color: var(--text);
  border-color: #d4ba75;
  background: #342c20;
}
.world58-preview {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 16px;
}
.world58-preview h3 {
  overflow-wrap: anywhere;
}
.shelf58-representative {
  padding: 16px;
  border: 1px solid #716346;
  background: #302a20;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.shelf58-representative p {
  margin: 0;
  color: var(--soft);
}
.shelf58-list {
  display: grid;
  gap: 12px;
}
.shelf58-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  min-width: 0;
}
.shelf58-card.earned {
  border-left: 3px solid var(--tier-color);
}
.shelf58-card.locked {
  background: var(--surface2);
}
.shelf58-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.shelf58-heading > div {
  min-width: 0;
}
.shelf58-heading h3 {
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--tier-color);
}
.shelf58-heading small {
  color: var(--soft);
}
.shelf58-card p {
  line-height: 1.7;
  font-size: 13px;
}
.shelf58-card > small {
  display: block;
  color: var(--soft);
  line-height: 1.7;
}
.shelf58-card details,
.shelf58-online {
  margin: 12px 0;
}
.shelf58-card summary,
.shelf58-online summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 1.6;
}
.shelf58-card > button {
  width: 100%;
}
.shelf58-online {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.promotion58 {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(440px, calc(100vw - 24px));
  max-width: 440px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border-color: var(--tier-color);
  animation: honor58-in 0.4s ease-out;
}
.promotion58[open] {
  animation-name: honor58-in;
}
.promotion58 h2 {
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.promotion58 p,
.promotion58 small {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.promotion58 small {
  display: block;
  color: var(--soft);
}
.promotion58 button {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
}
.promotion58-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.promotion58-emblem {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 24px auto;
  background: radial-gradient(circle, #74602b55, transparent);
  color: var(--tier-color);
}
.promotion58-emblem .tier58-icon {
  width: 72px;
  height: 75px;
  animation: honor58-glow 1.8s ease-in-out 2;
}
.promotion58.reduced,
.promotion58.reduced * {
  animation: none !important;
  transition: none !important;
}
@keyframes honor58-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes honor58-glow {
  50% {
    filter: drop-shadow(0 0 8px currentColor);
    transform: scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .promotion58,
  .promotion58 * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 359px) {
  .world58-tiers {
    grid-template-columns: minmax(0, 1fr);
  }
  .world58-tiers article {
    padding: 12px;
  }
  .promotion58 {
    padding: 18px;
  }
  .world58-metrics button {
    flex: 1 1 80px;
  }
}
@media (min-width: 700px) {
  .shelf58-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
