.nitro-badge-leaderboard__window { position: relative; width: 460px; height: 679px; overflow: hidden; image-rendering: pixelated; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45)); } .nitro-badge-leaderboard__drag-handle { position: absolute; top: 0; left: 0; right: 0; height: 90px; z-index: 1; cursor: move; } .nitro-badge-leaderboard__frame { position: absolute; inset: 0; border-style: solid; border-width: 87px 96px 42px 96px; border-image-source: var(--badge-leaderboard-frame); border-image-slice: 87 96 42 96; border-image-width: 87px 96px 42px 96px; border-image-repeat: round; background: #ece8dc; background-clip: padding-box; box-sizing: border-box; pointer-events: none; } .nitro-badge-leaderboard__frame::after { content: ''; position: absolute; inset: 86px 95px 41px 95px; background: #ece8dc; } .nitro-badge-leaderboard__close { position: absolute; top: 12px; right: 108px; width: 16px; height: 16px; border: 0; padding: 0; background: transparent; cursor: pointer; z-index: 5; } .nitro-badge-leaderboard__close-icon { display: block; width: 16px; height: 16px; background-repeat: no-repeat; background-position: 0 0; image-rendering: pixelated; } .nitro-badge-leaderboard__header { position: absolute; top: 7px; left: 0; width: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; z-index: 4; } .nitro-badge-leaderboard__category-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 120px; max-width: 220px; border: 0; padding: 0; background: transparent; cursor: pointer; } .nitro-badge-leaderboard__header-title { color: #ffffff; font-size: 28px; font-weight: 700; line-height: 1; text-shadow: 0 1px 0 #4a4a4a, 1px 0 0 #4a4a4a, -1px 0 0 #4a4a4a, 0 -1px 0 #4a4a4a; } .nitro-badge-leaderboard__header-arrow { width: auto; height: auto; margin-top: 3px; image-rendering: pixelated; } .nitro-badge-leaderboard__category-menu { position: absolute; top: calc(100% - 2px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; width: 154px; padding: 2px; border: 1px solid #8f8f8f; border-radius: 6px; background: #ffffff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); z-index: 6; } .nitro-badge-leaderboard__category-option { border: 0; padding: 5px 9px; background: transparent; color: #232323; font-size: 14px; line-height: 1.15; text-align: left; cursor: pointer; border-radius: 4px; } .nitro-badge-leaderboard__category-option:hover, .nitro-badge-leaderboard__category-option.is-active { background: rgba(117, 170, 207, 0.28); } .nitro-badge-leaderboard__content { position: absolute; inset: 80px 38px 30px 38px; display: flex; flex-direction: column; gap: 8px; color: #1f1f1f; z-index: 2; } .nitro-badge-leaderboard__state { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 18px; color: #3d3d3d; } .nitro-badge-leaderboard__state--error { color: #9f2b2b; } .nitro-badge-leaderboard__info-card { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(231, 229, 221, 0.96)); border: 1px solid #a4a094; border-radius: 10px; box-shadow: inset 0 1px 0 #ffffff; } .nitro-badge-leaderboard__info-icon { width: auto; height: auto; max-width: 25px; max-height: 25px; image-rendering: pixelated; flex: none; } .nitro-badge-leaderboard__info-text { color: #3b3b3b; font-size: 15px; line-height: 1.2; } .nitro-badge-leaderboard__list { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-height: 0; overflow: hidden; } .nitro-badge-leaderboard__row { display: grid; grid-template-columns: 34px 54px minmax(0, 1fr) 56px 28px; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 8px; background-repeat: no-repeat; background-position: center; background-size: 100% 100%; } .nitro-badge-leaderboard__row.is-even { background-image: url('../../assets/images/leaderboard_badge/leaderboard_entry_even.png'); } .nitro-badge-leaderboard__row.is-odd { background-image: url('../../assets/images/leaderboard_badge/leaderboard_entry_uneven.png'); } .nitro-badge-leaderboard__row.is-current-user { min-height: 40px; background-image: url('../../assets/images/leaderboard_badge/leaderboard_entry_self.png'); } .nitro-badge-leaderboard__rank { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: linear-gradient(180deg, #6a8db7 0%, #4d6788 100%); border: 1px solid #546b87; color: #ffffff; font-size: 16px; font-weight: 700; text-shadow: 0 1px 0 #31455d; } .nitro-badge-leaderboard__rank.is-rank-1 { background: linear-gradient(180deg, #efcf58 0%, #c28e1f 100%); border-color: #af8325; text-shadow: 0 1px 0 #7f6020; } .nitro-badge-leaderboard__rank.is-rank-2 { background: linear-gradient(180deg, #d4d4d4 0%, #9d9d9d 100%); border-color: #8e8e8e; text-shadow: 0 1px 0 #666666; } .nitro-badge-leaderboard__rank.is-rank-3 { background: linear-gradient(180deg, #db9c4f 0%, #a56521 100%); border-color: #9a5c1c; text-shadow: 0 1px 0 #784312; } .nitro-badge-leaderboard__avatar { width: 54px; height: 36px; display: flex; align-items: center; justify-content: center; overflow: visible; margin: 0 auto; align-self: center; } .nitro-badge-leaderboard__avatar .avatar-image, .nitro-badge-leaderboard__avatar-image { display: block; width: auto !important; height: auto !important; max-width: 54px; max-height: 62px; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; margin: 0 auto; image-rendering: pixelated; object-fit: contain; } .nitro-badge-leaderboard__username { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #202020; font-size: 15px; line-height: 1; } .nitro-badge-leaderboard__score { width: 56px; color: #1f1f1f; font-size: 15px; line-height: 1; text-align: right; padding-inline-start: 0; } .nitro-badge-leaderboard__row-emblem { display: block; width: auto !important; height: auto !important; max-width: 25px; max-height: 25px; margin: 0 auto; image-rendering: pixelated; object-fit: contain; } .nitro-badge-leaderboard__divider { width: auto; height: auto; max-width: 100%; max-height: 2px; image-rendering: pixelated; } .nitro-badge-leaderboard__footer { gap: 10px; margin-top: auto; } .nitro-badge-leaderboard__nav-button { min-width: 100px; height: 26px; border: 1px solid #8a8a8a; border-radius: 4px; background: linear-gradient(180deg, #fefefe 0%, #e8e8e6 100%); color: #1f1f1f; font-size: 15px; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95); } .nitro-badge-leaderboard__nav-button:hover:not(:disabled) { background: linear-gradient(180deg, #ffffff 0%, #ece8dc 100%); } .nitro-badge-leaderboard__nav-button:disabled { color: #8d8d8d; background: linear-gradient(180deg, #ececec 0%, #d9d9d9 100%); cursor: default; }