@font-face { font-family: "Minecraft"; src: url("font/minecraft.ttf") format("truetype"); font-display: swap; }
.iwtxz-profile-badges[hidden], .discord-sync-activity[hidden], .discord-earned-badges[hidden], .discord-presence[hidden], .discord-avatar-wrap[hidden], .iwtxz-discord-card[hidden], .iwtxz-discord-card [hidden] { display: none !important; }
.iwtxz-round-avatar { border-radius: 50% !important; background-clip: padding-box; }
.iwtxz-discord-card, .iwtxz-player-classic, .iwtxz-player-compact { font-family: var(--profile-font, inherit) !important; }
.iwtxz-gradient-name { color: transparent !important; background-image: var(--nickname-gradient) !important; background-clip: text !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent; text-shadow: none !important; }
.iwtxz-name-row { display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: 100%; min-width: 0; flex-wrap: nowrap; }
.iwtxz-name-row > .profile-name, .iwtxz-name-row > .name { flex: 0 1 auto; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; word-break: normal; }
.iwtxz-name-row .name-text { display: inline-block; max-width: 100%; min-width: 0; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.iwtxz-name-row > .iwtxz-profile-badges { flex: 0 0 auto; max-width: min(180px, 40%); justify-content: flex-start; gap: 6px; }
.iwtxz-profile-badges { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; color: var(--accent, #fff); }
.iwtxz-profile-badges:empty { display: none; }
.iwtxz-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 19px; width: 19px; height: 19px; color: inherit; }
.iwtxz-badge > img, .iwtxz-badge > svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.iwtxz-discord-card { border-radius: var(--discord-radius, 18px) !important; background: color-mix(in srgb, var(--discord-color, #111111) var(--discord-opacity, 65%), transparent) !important; border: 1px solid #ffffff16 !important; }
.iwtxz-discord-card[data-card-style="glass"] { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.iwtxz-discord-card[data-card-style="solid"] { background: var(--discord-color, #111111) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.iwtxz-discord-card[data-card-style="minimal"] { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.iwtxz-discord-card .discord-card-body { height: auto; min-height: 41px; }
.iwtxz-discord-card .discord-card-top { max-height: none; flex-wrap: wrap; overflow: visible; }
.iwtxz-discord-card .discord-card-badges, .discord-earned-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #f5f5f7; }
.iwtxz-discord-card .discord-card-badges { overflow: visible; }
.discord-badge-strip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 3px 5px; border-radius: 7px; background: #202024; }
.discord-card:not(.iwtxz-discord-card) .discord-card-badges { gap: 4px; padding: 3px 5px; border-radius: 7px; background: #202024; }
.discord-badge-strip .iwtxz-badge { flex-basis: 18px; width: 18px; height: 18px; }
.discord-guild-tag { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 3px; max-width: 100%; padding: 2px 4px; border-radius: 4px; background: #ffffff1a; color: #dbdee1; font: 600 12px/1.2 "Segoe UI", sans-serif; white-space: nowrap; }
.discord-guild-tag img { display: block; width: 16px; height: 16px; object-fit: contain; }
.iwtxz-discord-card .discord-card-name { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.iwtxz-discord-card .discord-card-status { max-height: none; white-space: normal; font-size: 11px; line-height: 1.5; margin-top: 2px; overflow-wrap: anywhere; }
.discord-sync-activity { display: block; margin-top: 3px; color: #c2c0c8; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.discord-presence, .iwtxz-discord-card .discord-card-dot { position: absolute; bottom: -1px; right: -1px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #111; background: #747f8d; }
.discord-presence[data-presence="online"], .iwtxz-discord-card .discord-card-dot[data-presence="online"] { background: #43b581; }
.discord-presence[data-presence="idle"], .iwtxz-discord-card .discord-card-dot[data-presence="idle"] { background: #faa61a; }
.discord-presence[data-presence="dnd"], .iwtxz-discord-card .discord-card-dot[data-presence="dnd"] { background: #ed4245; }
.discord-presence[data-presence="offline"], .iwtxz-discord-card .discord-card-dot[data-presence="offline"] { background: #747f8d; }
.iwtxz-player-compact.track-card { width: min(600px, calc(100vw - 32px)); gap: 11px; padding: 13px 15px; border: 1px solid #ffffff16; border-radius: 15px; background: #09090caa; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.iwtxz-player-compact.track-card .track-card-cover-wrap, .iwtxz-player-compact.track-card .track-card-cover { width: 44px; height: 44px; }
.iwtxz-player-compact.track-card { grid-template-columns: 44px minmax(0, 1fr); }
.iwtxz-player-compact.track-card .track-card-title { font-size: 12px; transform: none; }
.iwtxz-player-compact.track-card .track-card-time { font-size: 10px; }
.iwtxz-player-compact.track-card .track-card-progress-row { gap: 8px; }
.iwtxz-player-compact.track-card .track-card-action { width: 24px; height: 24px; }
.iwtxz-player-compact.track-card .track-card-action-prev, .iwtxz-player-compact.track-card .track-card-action-next { display: none; }
@media (max-width: 460px) { .iwtxz-badge { flex-basis: 17px; width: 17px; height: 17px; } .iwtxz-name-row { gap: 8px; } .iwtxz-name-row > .iwtxz-profile-badges { max-width: min(96px, 40%); gap: 5px; } }

/* iwtlu visual fixes – avatar, nickname and icon alignment */

/* Keep nicknames and their badges together instead of clipping the glow. */
.iwtxz-name-row {
  display: inline-flex;
  width: fit-content;
  max-width: calc(100vw - 32px);
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: visible;
  margin-inline: auto;
}
.iwtxz-name-row > .name {
  width: auto !important;
  min-height: 0 !important;
  max-width: 100%;
  flex: 0 1 auto;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap;
}
.iwtxz-name-row .name-text {
  display: inline-block;
  white-space: nowrap !important;
  overflow: visible !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.iwtxz-name-row > .iwtxz-profile-badges {
  flex: 0 0 auto;
  display: inline-flex;
  width: auto;
  max-width: min(100px, 30vw);
  flex-wrap: wrap;
  align-self: center;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  line-height: 1;
}
.iwtxz-profile-badges .iwtxz-badge,
.iwtxz-profile-badges .iwtxz-badge > svg {
  overflow: hidden;
}

/* The built-in image on iwtlu is a decorated avatar, not a circular crop. */
body:has(script[data-profile="iwtlu"]) .avatar.iwtxz-round-avatar {
  border-radius: 50% !important;
  background-clip: border-box !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  overflow: visible !important;
}

/* Avoid a hard rectangular cutoff and excessive Minecraft-font glow. */
body:has(script[data-profile="iwtlu"]) .iwtxz-name-row > .name {
  text-shadow: none !important;
}
body:has(script[data-profile="iwtlu"]) .name.is-animated .name-text {
  animation: none !important;
}
body:has(script[data-profile="iwtlu"]) .iwtxz-name-row .name-text:not(.iwtxz-gradient-name) {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.32),
               0 0 12px rgba(255, 255, 255, 0.13) !important;
}

.music-player.iwtxz-player-classic .music-controls {
    transform: translateY(14px) !important;
}

.music-player.iwtxz-player-classic .music-controls button {
    color: #ffffff !important;
    opacity: 1 !important;
}

.music-player.iwtxz-player-classic .music-controls svg {
    color: #ffffff !important;
    fill: currentColor !important;
}
