.xpl-badge { display: inline-block; font-weight: bold; }
.xpl-crown { color: #d4a017; }
.xpl-prestige { color: #d4a017; letter-spacing: 1px; }
.xpl-donor { color: #c0392b; }
.xpl-bar { width: 100%; height: 12px; appearance: none; border: 0; border-radius: 6px; overflow: hidden; background: rgba(128, 128, 128, 0.25); color: #d4a017; accent-color: #d4a017; }
.xpl-bar::-webkit-progress-bar { background: rgba(128, 128, 128, 0.25); }
.xpl-bar::-webkit-progress-value { background: #d4a017; }
.xpl-bar::-moz-progress-bar { background: #d4a017; }
.xpl-levelup { margin: 0 0 8px; padding: 8px 12px; border-radius: 4px; background: #d4a017; color: #fff; font-weight: bold; text-align: center; }

.xpl-own h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.xpl-own form { margin-top: 8px; }
.profile-lc { word-break: break-word; }

@media (max-width: 700px) {
	.xpl-levelup { margin: 0 0 6px; padding: 6px 8px; font-size: 0.95em; }
	.xpl-own .button1 { width: 100%; box-sizing: border-box; }
	.xpl-name { max-width: 36vw; }
	.xpl-rank { min-width: 1.8em; }
}

@media (prefers-reduced-motion: no-preference) {
	.xpl-levelup { transition: opacity 0.3s; }
}


.xpl-tag { position: relative; display: inline-flex; flex-direction: column; align-items: stretch; vertical-align: middle; min-width: 0; margin-right: 4px; font-size: 11px; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums; }
a.xpl-tag, a.xpl-tag:hover { text-decoration: none; }
.linklist.compact .rightside > a.xpl-tag > span { display: inline; }
.xpl-tag-lv { white-space: nowrap; font-weight: bold; }
.xpl-gain { position: absolute; left: 0; right: 0; top: -1.4em; text-align: center; font-weight: bold; color: #d4a017; pointer-events: none; }
.xpl-tag .xpl-mini { width: 100%; min-width: 28px; height: 3px; background: rgba(128, 128, 128, 0.45); }
.xpl-tag .xpl-mini::-webkit-progress-bar { background: rgba(128, 128, 128, 0.45); }

@media (prefers-reduced-motion: no-preference) {
	.xpl-gain { animation: xpl-gain 3.2s ease-out forwards; }
	.xpl-pulse { animation: xpl-pulse 1.4s ease-out 2; }
}

@media (prefers-reduced-motion: reduce) {
	.xpl-gain { display: none; }
}

@keyframes xpl-gain {
	0% { opacity: 0; transform: translateY(8px); }
	20% { opacity: 1; transform: none; }
	70% { opacity: 1; transform: none; }
	100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes xpl-pulse {
	0%, 100% { filter: none; }
	40% { filter: brightness(1.9); }
}

.xpl-list { margin: 0 0 0 1.4em; padding: 0; list-style: disc; }
.xpl-list li { margin: 2px 0; }

.xpl-member { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.xpl-rank { min-width: 2.2em; text-align: right; font-variant-numeric: tabular-nums; }
.xpl-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xpl-av { display: inline-flex; flex: 0 0 28px; align-items: center; justify-content: center; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; font-size: 13px; font-weight: bold; }
.xpl-av > *, .xpl-av .avatar, .xpl-av .avatar-placeholder, .xpl-av img { width: 28px; height: 28px; border-radius: 50%; }
.xpl-av img { object-fit: cover; }
.xpl-av-initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; }
.xpl-av-0 { background: #7b1fa2; }
.xpl-av-1 { background: #00796b; }
.xpl-av-2 { background: #c2410c; }
.xpl-av-3 { background: #1565c0; }
.xpl-av-4 { background: #8d6e63; }

.xpl-tier-0 { --xpl-c: #888780; }
.xpl-tier-1 { --xpl-c: #b4682a; }
.xpl-tier-2 { --xpl-c: #9aa3ab; }
.xpl-tier-3 { --xpl-c: #e0a100; }
.xpl-tier-4 { --xpl-c: #1d9e75; }
.xpl-tier-5 { --xpl-c: #378add; }
.xpl-tier-6 { --xpl-c: #7f77dd; }
.xpl-dot { display: inline-block; width: 0.75em; height: 0.75em; border-radius: 50%; background: var(--xpl-c, #888780); vertical-align: baseline; }
.xpl-badge .xpl-dot { margin-right: 2px; }
.xpl-av { margin: 2px; box-shadow: 0 0 0 2px var(--xpl-c, transparent); }
.xpl-member .xpl-badge { font-size: 0.9em; font-weight: normal; opacity: 0.85; white-space: nowrap; }
.xpl-medal-1 { color: #e0a100; font-weight: bold; }
.xpl-medal-2 { color: #9aa3ab; font-weight: bold; }
.xpl-medal-3 { color: #b4682a; font-weight: bold; }
.xpl-boost a { color: inherit; text-decoration: none; }
.xpl-weekly { margin-bottom: 8px; }
.postprofile:has(.xpl-tier-0) { --xpl-ring: #888780; }
.postprofile:has(.xpl-tier-1) { --xpl-ring: #b4682a; }
.postprofile:has(.xpl-tier-2) { --xpl-ring: #9aa3ab; }
.postprofile:has(.xpl-tier-3) { --xpl-ring: #e0a100; }
.postprofile:has(.xpl-tier-4) { --xpl-ring: #1d9e75; }
.postprofile:has(.xpl-tier-5) { --xpl-ring: #378add; }
.postprofile:has(.xpl-tier-6) { --xpl-ring: #7f77dd; }
.postprofile .avatar img, .postprofile .avatar-placeholder { box-shadow: 0 0 0 3px var(--xpl-ring, transparent); border-radius: 50%; }

@media (max-width: 700px) {
	.xpl-member .xpl-badge { display: none; }
}

.xpl-tabs { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0; padding: 0; list-style: none; }
.xpl-tabs li a { display: inline-block; padding: 3px 10px; border-radius: 4px; text-decoration: none; }
.xpl-tabs li.xpl-tab-on a { font-weight: bold; text-decoration: underline; }
.xpl-ach-on strong { color: #d4a017; }
.xpl-ach-off { opacity: 0.55; }
.xpl-own h4 { margin: 12px 0 4px; }
.xpl-own-table { max-width: 520px; }

.xpl-own table.table1 thead th, .xpl-own .xpl-own-table thead th { color: inherit; font-weight: bold; text-transform: none; padding-bottom: 4px; }
.xpl-fold { margin: 10px 0 0; }
.xpl-fold > summary { cursor: pointer; font-weight: bold; padding: 4px 0; }
.xpl-fold[open] > summary { margin-bottom: 4px; }
.xpl-fold-note { font-weight: normal; opacity: 0.8; }
.xpl-fold > summary h3.xpl-inline { display: inline; border: 0; margin: 0; }
