.members-page h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--text-main);
  text-align: left;
}
.members-page .members-header.members-sticky {
  position: sticky;
  top: var(--nav-h);
  z-index: 49;
  background: var(--bg-card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}
.members-search-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
}
.members-search {
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-main);
  padding: 0.45rem 0.7rem 0.45rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  width: 100%;
  max-width: 240px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27a6.471 6.471 0 001.48-5.34c0-3.59-2.92-6.5-6.5-6.5S2.5 4.61 2.5 8.5s2.92 6.5 6.5 6.5c1.61 0 3.1-.59 4.23-1.58l.27.28v.79l5.5 5.5 1.5-1.5-5.5-5.5zM8.5 14c-2.48 0-4.5-2.02-4.5-4.5S6.02 5 8.5 5 13 7.02 13 9.5 10.98 14 8.5 14z' fill='%23a1a8b5'/%3E%3C/svg%3E");
  background-position: 0.6rem center;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
}
.members-search::placeholder {
  color: var(--text-muted);
}
.members-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.member-card {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-card);
}
.member-card.rank-card-guild-master {
  border-color: #a64c86;
}
.member-card.rank-card-guild-deputy {
  border-color: #276992;
}
.member-card.rank-card-exemplar {
  border-color: #cf5b2c;
  overflow: hidden;
}
.member-card.rank-card-exemplar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/api/get_image.php?file=/assets/images/afk/rank/guild_elite_bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}
.member-card.rank-card-exemplar > * {
  position: relative;
  z-index: 1;
}
.member-card .avatar-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.member-card .avatar-wrapper img.avatar-bg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.member-card .avatar-wrapper img.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(0.90);
  position: absolute;
  top: 0;
  left: 0;
}
.member-card .avatar-wrapper img.avatar-frame {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: scale(1.20);
  transform-origin: center;
}
.member-card .avatar-wrapper .rank-plate-wrapper {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: auto;
  cursor: pointer;
}
.member-card .avatar-wrapper .rank-plate-wrapper img.rank-plate {
  position: static;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.member-card .avatar-wrapper .rank-plate-wrapper .rank-plate-overlay-text {
  position: absolute;
  top: 40%;
  left: 58%;
  transform: translate(-50%, -50%);
  color: #F5E9E0;
  font-size: 0.55rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}
.member-card .avatar-wrapper .rank-plate-wrapper[data-plate="bg_nameplate_2"] .rank-plate-overlay-text {
    top: 43% !important;
    left: 55% !important;
}
.member-card .avatar-wrapper .rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] .rank-plate-overlay-text {
    top: 40% !important;
    left: 53% !important;
}
.rank-plate-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  z-index: 2000;
  max-width: 320px;
  pointer-events: auto;
  font-size: 0.85rem;
  text-align: center;
}
.rank-plate-tooltip-title {
  font-weight: 700;
  font-size: 1.1rem;
}
.rank-plate-tooltip-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0;
  display: block;
}
.rank-plate-tooltip-divider {
  height: 1px;
  background: var(--border-card);
  margin: 0.3rem 0;
}
.rank-plate-tooltip-desc {
  line-height: 1.4;
}
.rank-plate-tooltip-img-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: -1.2rem auto;
}
.rank-plate-tooltip-img-wrapper img.rank-plate-tooltip-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.rank-plate-tooltip-img-wrapper .rank-plate-tooltip-overlay {
  position: absolute;
  z-index: 2;
  top: 51%;
  left: 58%;
  transform: translate(-50%, -50%);
  color: #F5E9E0;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}
/* Tooltip‑Text für bg_nameplate_2 */
.rank-plate-tooltip-img-wrapper.portal .rank-plate-tooltip-overlay {
    top: 51.5% !important;
    left: 55% !important;
}
/* Tooltip‑Text für bg_idlepvp_nameplate_2 */
.rank-plate-tooltip-img-wrapper.sparkle .rank-plate-tooltip-overlay {
    top: 51% !important;
    left: 53% !important;
}
.member-card .member-info {
  margin-left: 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.member-card .member-info .top-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.member-card .member-info .member-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}
.member-card .member-name.rank-guild-master {
  color: #a64c86;
}
.member-card .member-name.rank-guild-deputy {
  color: #276992;
}
.member-card .member-name.rank-exemplar {
  color: #cf5b2c;
}
.member-card .gender-icon,
.member-card .medal-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.member-card .member-info .top-row .medal-icon {
  margin-left: -0.60rem;
}
.member-card .member-server {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.member-card .member-since-line {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.members-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}
.members-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}
.member-card .medal-icon {
  cursor: pointer;
}
.medal-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-main);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  z-index: 2000;
  max-width: 320px;
  pointer-events: auto;
  font-size: 0.85rem;
  text-align: center;
}
.medal-tooltip-rarity {
  font-weight: 700;
  font-size: 1.1rem;
}
.medal-tooltip-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.rarity-elite {
  color: #C481BC;
}
.rarity-legendary {
  color: #C89544;
}
.rarity-mythic {
  color: #C95270;
}
.rarity-ascended {
  color: #C95270;
}
.medal-tooltip-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0.4rem auto;
  display: block;
}
.medal-tooltip-divider {
  height: 1px;
  background: var(--border-card);
  margin: 0.4rem 0;
}
.medal-tooltip-desc {
  line-height: 1.4;
}
.member-card img.rank-icon {
  position: absolute;
  top: -1.5px;
  right: 35px;
  width: 42px;
  height: 42px;
  object-fit: contain;
  pointer-events: auto;
  cursor: pointer;
}
.member-card .lang-flag {
  position: absolute;
  top: 1px;
  right: 3px;
  width: 28px;
  height: 18px;
  border-radius: 2px;
  overflow: hidden;
  object-fit: cover;
}
.member-card .member-id-top {
  position: absolute;
  top: 76px;
  right: 2px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 480px) {
  .member-card {
    padding: 0.5rem 0.75rem;
  }
  .member-card .avatar-wrapper {
    width: 56px;
    height: 56px;
  }
  .member-card .member-info .member-name {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .member-card .member-id-top {
    top: 68px;
  }
}
.member-card .avatar-wrapper .rank-plate-wrapper .rank-plate-overlay-text {
  z-index: 3;
}
@keyframes sparkleGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.25); }
  50%      { box-shadow: 0 0 10px 5px rgba(255, 215, 0, 0.8); }
}
@keyframes sparkleStar {
  0%, 100% { opacity: 0; transform: scale(0.3); }
  50%      { opacity: 1; transform: scale(0.7); }
}
.rank-plate-tooltip-img-wrapper.sparkle,
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] {
  position: relative;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star,
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 1px 0px rgba(255, 255, 255, 0.9), 0 0 3px 1px rgba(255, 215, 0, 0.8);
  opacity: 0;
  animation-name: sparkleStar;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star {
  box-shadow: 0 0 1px 0px rgba(255, 255, 255, 0.9), 0 0 3px 1px rgba(255, 215, 0, 0.8);
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-1 i.sparkle-star:nth-of-type(1),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-1 i.sparkle-star:nth-of-type(1) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-2 i.sparkle-star:nth-of-type(2),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-2 i.sparkle-star:nth-of-type(2) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-3 i.sparkle-star:nth-of-type(3),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-3 i.sparkle-star:nth-of-type(3) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-4 i.sparkle-star:nth-of-type(4),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-4 i.sparkle-star:nth-of-type(4) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-5 i.sparkle-star:nth-of-type(5),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-5 i.sparkle-star:nth-of-type(5) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-6 i.sparkle-star:nth-of-type(6),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-6 i.sparkle-star:nth-of-type(6) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-7 i.sparkle-star:nth-of-type(7),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-7 i.sparkle-star:nth-of-type(7) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-8 i.sparkle-star:nth-of-type(8),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-8 i.sparkle-star:nth-of-type(8) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-9 i.sparkle-star:nth-of-type(9),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-9 i.sparkle-star:nth-of-type(9) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-10 i.sparkle-star:nth-of-type(10),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-10 i.sparkle-star:nth-of-type(10) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-11 i.sparkle-star:nth-of-type(11),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-11 i.sparkle-star:nth-of-type(11) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"].hide-star-12 i.sparkle-star:nth-of-type(12),
.rank-plate-tooltip-img-wrapper.sparkle.hide-star-12 i.sparkle-star:nth-of-type(12) { display: none; }
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(1),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(1) {
  top: 49%;
  left: 30%;
  width: 4px;
  height: 4px;
  animation-duration: 3s;
  animation-delay: 0s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(2),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(2) {
  top: 18%;
  left: 37%;
  width: 3px;
  height: 3px;
  animation-duration: 2.5s;
  animation-delay: 0.5s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(3),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(3) {
  top: 15%;
  left: 41%;
  width: 5px;
  height: 5px;
  animation-duration: 2.5s;
  animation-delay: 0.5s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(4),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(4) {
  top: 56%;
  left: 45%;
  width: 4px;
  height: 4px;
  animation-duration: 3.2s;
  animation-delay: 1.5s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(5),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(5) {
  top: 40%;
  left: 50%;
  width: 3px;
  height: 3px;
  animation-duration: 2.9s;
  animation-delay: 2s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(6),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(6) {
  top: 70%;
  left: 55%;
  width: 4px;
  height: 4px;
  animation-duration: 3.5s;
  animation-delay: 0.7s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(7),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(7) {
  top: 59%;
  left: 64%;
  width: 3px;
  height: 3px;
  animation-duration: 2.6s;
  animation-delay: 1.2s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(8),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(8) {
  top: 49%;
  left: 67%;
  width: 5px;
  height: 5px;
  animation-duration: 3s;
  animation-delay: 1.8s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(9),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(9) {
  top: 67%;
  left: 74%;
  width: 3px;
  height: 3px;
  animation-duration: 2.4s;
  animation-delay: 0.9s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(10),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(10) {
  top: 69%;
  left: 77%;
  width: 4px;
  height: 4px;
  animation-duration: 3.3s;
  animation-delay: 1.6s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(11),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(11) {
  top: 42%;
  left: 83%;
  width: 3px;
  height: 3px;
  animation-duration: 2.7s;
  animation-delay: 2.1s;
}
.rank-plate-wrapper[data-plate="bg_idlepvp_nameplate_2"] i.sparkle-star:nth-of-type(12),
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(12) {
  top: 15%;
  left: 86%;
  width: 4px;
  height: 4px;
  animation-duration: 3.6s;
  animation-delay: 1.3s;
}
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(1) {
  top: 56%;
  left: 30%;
  width: 5px;
  height: 5px;
}
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(3) {
  top: 42%;
  left: 41%;
  width: 6.25px;
  height: 6.25px;
}
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(8) {
  top: 55%;
  left: 67%;
  width: 6px;
  height: 6px;
}
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(11) {
  top: 53%;
  left: 83%;
  width: 4.5px;
  height: 4.5px;
}
.rank-plate-tooltip-img-wrapper.sparkle i.sparkle-star:nth-of-type(12) {
  top: 42%;
  left: 86%;
  width: 6px;
  height: 6px;
}
@keyframes portalLineV2 {
  0%   { transform: translateY(100%) scaleY(0.3); opacity: 0; }
  20%  { transform: translateY(60%)  scaleY(1.0); opacity: 1; }
  40%  { transform: translateY(30%)  scaleY(0.8); opacity: 0.8; }
  60%  { transform: translateY(0%)   scaleY(0.5); opacity: 0.5; }
  80%  { transform: translateY(-30%) scaleY(0.3); opacity: 0.3; }
  100% { transform: translateY(-60%) scaleY(0.1); opacity: 0; }
}
.rank-plate-wrapper[data-plate="bg_nameplate_2"] i.portal-line,
.rank-plate-tooltip-img-wrapper.portal i.portal-line {
  position: absolute;
  animation-name: portalLineV2;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  background: linear-gradient(to top, rgba(211, 150, 255, 0.0) 0%, rgba(211, 150, 255, 1) 40%, rgba(211, 150, 255, 0.0) 100%);
  border-radius: 2px;
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}
.rank-plate-wrapper[data-plate="bg_nameplate_2"] i.portal-line:nth-of-type(1),
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(1) {
  top: 10%;
  left: 22%;
  width: 2px;
  height: 35%;
  animation-duration: 3s;
  animation-delay: 0s;
}
.rank-plate-wrapper[data-plate="bg_nameplate_2"] i.portal-line:nth-of-type(2),
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(2) {
  top: 10%;
  left: 33%;
  width: 2px;
  height: 35%;
  animation-duration: 2.6s;
  animation-delay: 0.5s;
}
.rank-plate-wrapper[data-plate="bg_nameplate_2"] i.portal-line:nth-of-type(3),
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(3) {
  top: 10%;
  left: 45%;
  width: 3px;
  height: 35%;
  animation-duration: 2.9s;
  animation-delay: 1.0s;
}
.rank-plate-wrapper[data-plate="bg_nameplate_2"] i.portal-line:nth-of-type(4),
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(4) {
  top: 10%;
  left: 65%;
  width: 2px;
  height: 35%;
  animation-duration: 2.7s;
  animation-delay: 0.3s;
}
.rank-plate-wrapper[data-plate="bg_nameplate_2"] i.portal-line:nth-of-type(5),
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(5) {
  top: 10%;
  left: 80%;
  width: 1.5px;
  height: 35%;
  animation-duration: 3.1s;
  animation-delay: 0.8s;
}
.rank-plate-wrapper[data-plate="bg_nameplate_2"] i.portal-line:nth-of-type(6),
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(6) {
  top: 10%;
  left: 95%;
  width: 2px;
  height: 30%;
  animation-duration: 2.8s;
  animation-delay: 1.2s;
}
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(1) {
  top: 38%;
  height: 13%;
  width: 2px;
}
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(2) {
  top: 38%;
  height: 13%;
  width: 2px;
}
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(3) {
  top: 38%;
  height: 13%;
  width: 2px;
}
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(4) {
  top: 38%;
  height: 13%;
  width: 2px;
}
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(5) {
  top: 38%;
  height: 13%;
  width: 1px;
}
.rank-plate-tooltip-img-wrapper.portal i.portal-line:nth-of-type(6) {
  top: 40%;
  height: 10%;
  width: 2px;
}
@keyframes portalCirclePulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  50%  { transform: scale(1.4); opacity: 1;   }
  100% { transform: scale(1);   opacity: 0.6; }
}
.rank-plate-wrapper[data-plate="bg_nameplate_2"] i.portal-circle {
  position: absolute;
  top: 28%;
  left: 8%;
  width: 8%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(240, 240, 240, 0.5) 30%, rgba(240, 240, 240, 0.2) 60%, rgba(240, 240, 240, 0) 200%);
  animation: portalCirclePulse 3s ease-in-out infinite;
  mix-blend-mode: screen;
  z-index: 2;
}
.rank-plate-tooltip-img-wrapper.portal i.portal-circle {
  position: absolute;
  top: 46%;
  left: 8.5%;
  width: 7%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(240, 240, 240, 0.5) 15%, rgba(240, 240, 240, 0.2) 60%, rgba(240, 240, 240, 0) 150%);
  animation: portalCirclePulse 3.5s ease-in-out infinite;
  mix-blend-mode: screen;
  z-index: 2;
}
.rank-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-main);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  z-index: 2000;
  max-width: 280px;
  pointer-events: auto;
  font-size: 0.85rem;
}
.rank-tooltip-title {
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}
.rank-tooltip-divider {
  height: 1px;
  background: var(--border-card);
  margin-bottom: 0.4rem;
}
.rank-tooltip-desc {
  line-height: 1.4;
}
.rank-tooltip-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0.4rem auto;
  display: block;
}
.rank-color-guild-master {
  color: #a64c86;
}
.rank-color-guild-deputy {
  color: #276992;
}
.rank-color-exemplar {
  color: #cf5b2c;
}
