/**
 * PUBG Stats Checker - PUBGBot.io Theme
 * PERFORMANCE OPTIMIZED - No animations/transitions
 */

/* ============================================
   GLOBAL: Disable ALL animations & transitions
   This prevents GPU overload on older machines
   EXCEPT: spinners need to rotate
   ============================================ */
*:not(.spinner-border):not(.spinner-border-sm),
*:not(.spinner-border):not(.spinner-border-sm)::before,
*:not(.spinner-border):not(.spinner-border-sm)::after {
    animation: none !important;
    transition: none !important;
}

/* Spinner keyframes - smooth rotation */
@keyframes spinner-border {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Only allow spinner animation - override global rule */
.spinner-border,
.spinner-border-sm {
    animation: spinner-border 0.75s linear infinite !important;
    display: inline-block;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: text-bottom;
    /* GPU acceleration for smooth animation */
    will-change: transform;
    transform: translateZ(0);
}

/* Override Bootstrap animations */
.fade, .collapse, .collapsing,
.modal, .modal-backdrop,
.tooltip, .popover,
.dropdown-menu, .nav-link,
.btn, .form-control, .card {
    transition: none !important;
}

/* Prevent unnecessary GPU layers - EXCEPT spinners */
*:not(.spinner-border):not(.spinner-border-sm) {
    transform: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    perspective: none !important;
}

/* ============================================
   CSS Variables - Dark Theme (PUBGBot Style)
   ============================================ */
:root,
[data-theme="dark"] {
    /* Primary Colors - Green Accent (same as main site) */
    --primary: #45f882;
    --primary-hover: #5ef992;
    --primary-light: rgba(69, 248, 130, 0.15);
    --tg-theme-primary: #45f882;
    
    /* Accent for highlights */
    --accent: #bbe29c;
    
    /* Background - Deep Dark (synced with main site) */
    --bg-body: #0b0d12;
    --bg-card: rgba(255,255,255,0.03);
    --bg-input: #20202a;
    --bg-hover: rgba(69, 248, 130, 0.1);
    
    /* Text */
    --text-primary: #e8e8f0;
    --text-secondary: #9aa4b2;
    --text-muted: #808090;
    
    /* Borders */
    --border-color: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.04);
    
    /* Status Colors */
    --success: #45f882;
    --danger: #ff5252;
    --warning: #ffa726;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.6);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.35);
    
    /* Glow */
    --glow-primary: 0 0 20px rgba(69, 248, 130, 0.3);
    
    /* Misc */
    --radius: 12px;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* ============================================
   Page Layout
   ============================================ */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    padding-bottom: 80px; /* Space for fixed footer */
    width: 100%;
    min-width: 0;
}

/* ============================================
   Header
   ============================================ */
.page-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-decoration: none;
    /* NO transition */
}

.logo:hover {
    color: var(--primary);
}

/* Logo icon - !important overrides Bootstrap/fallback khi CSS load */
.page-header .logo-icon {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    min-width: 32px !important;
    border-radius: 8px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    /* Removed hover transform - reduces GPU usage */
}

.tagline {
    color: var(--text-secondary);
    font-size: 15px;
    letter-spacing: 0.3px;
}

/* ============================================
   Cards - ULTRA MINIMAL for performance
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    /* NO transitions, NO will-change, NO box-shadow - maximum performance */
}

/* NO hover effects - causes GPU issues on older machines */

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.card-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

.card-header h2 i {
    color: var(--primary);
}

/* Ranked TPP/FPP mode label with SVG letters */
.ranked-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranked-mode-label {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(0, 255, 136, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.ranked-mode-label svg {
    display: block;
}

.card-body {
    padding: 20px;
}

/* ============================================
   Search Section (no card)
   ============================================ */
.search-section {
    margin-bottom: 24px;
    width: 100%;
}

.search-section form {
    width: 100%;
}

.search-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.search-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.search-row .form-control {
    width: 200px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    /* NO transition */
}

.search-row .form-control::placeholder {
    color: var(--text-muted);
}

.search-row .form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Search Suggestions - Optimized for GPU performance */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: rgba(18,20,25,0.98);
    border: 1px solid rgba(69, 248, 130, 0.15);
    border-radius: 12px;
    max-height: 280px;
    overflow-y: auto;
    /* Grid layout: 2 columns */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 8px;
    overflow-x: hidden;
    display: none;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    /* backdrop-filter removed - causes GPU overload on older Macs */
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary);
    border-radius: 8px;
    min-height: 42px;
    /* No transition - instant feedback is better for performance */
}

/* Remove last-child border rule - using grid now */

.suggestion-item:hover,
.suggestion-item.active {
    background: rgba(69, 248, 130, 0.08);
}

.suggestion-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(69, 248, 130, 0.12);
    border-radius: 8px;
    color: var(--primary);
    font-size: 14px;
}

.suggestion-item:hover .suggestion-icon,
.suggestion-item.active .suggestion-icon {
    background: rgba(69, 248, 130, 0.2);
}

.suggestion-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.suggestion-item strong {
    color: var(--primary);
    font-weight: 600;
}


/* ============================================
   Buttons - MINIMAL
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    /* NO transition */
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-body);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-primary:active {
    background: var(--primary);
}

.btn-primary:disabled {
    background: var(--primary) !important;
    color: var(--bg-body) !important;
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   Loading
   ============================================ */
.loading-box {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.loading-box .spinner-border {
    width: 40px;
    height: 40px;
    color: var(--primary) !important;
    border-color: var(--primary);
    border-right-color: transparent;
    /* Ensure animation works */
    animation: spinner-border 0.75s linear infinite !important;
    will-change: transform;
    transform: translateZ(0);
}

.loading-box p {
    margin-top: 16px;
    font-size: 14px;
}

/* Button spinner (dark on green bg) */
.btn-primary .spinner-border,
.btn-primary .spinner-border-sm,
.btn .spinner-border,
.btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    color: var(--bg-body) !important;
    border-color: var(--bg-body) !important;
    border-right-color: transparent !important;
    border-width: 2px;
    /* Ensure animation works */
    animation: spinner-border 0.75s linear infinite !important;
    will-change: transform;
    transform: translateZ(0);
}

/* ============================================
   Alert
   ============================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-danger {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* ============================================
   Info Grid (Player/Clan Info)
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-item {
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

.info-value.status-innocent {
    color: var(--success);
}

.info-value.status-banned {
    color: var(--danger);
}

/* Source badge (superscript) */
.source-badge {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: super;
}

.source-live {
    background: rgba(69, 248, 130, 0.2);
    color: var(--primary);
}

.source-cache {
    background: rgba(255, 167, 38, 0.2);
    color: var(--warning);
}

/* ============================================
   Ranked Stats (TPP/FPP) - Full Layout
   ============================================ */
.ranked-card {
    min-height: 400px;
}

.ranked-stats-container {
    padding: 0;
}

.ranked-no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.ranked-no-data p {
    margin: 0;
}

/* Header Section: Badge + Points + Games */
.ranked-header-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.ranked-badge-section {
    position: relative;
    flex-shrink: 0;
}

.ranked-tier-badge {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}


.ranked-info-main {
    flex: 1;
    min-width: 0;
}

.ranked-points {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.ranked-tier-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
}

.ranked-global-rank {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ranked-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    overflow: hidden;
}

.ranked-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
}

.ranked-games-info {
    text-align: right;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.ranked-wins {
    color: var(--primary);
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ranked-wins svg {
    flex-shrink: 0;
}

/* Stats Grid */
.ranked-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}

.ranked-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ranked-stat-item:last-child,
.ranked-stat-item:nth-last-child(2) {
    border-bottom: none;
}

.ranked-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.ranked-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.ranked-stat-kd {
    color: #ff9800;
}

/* ============================================
   No Data
   ============================================ */
.no-data {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

.no-data i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.5;
    display: block;
}

.no-data p {
    margin: 0;
    font-size: 13px;
}

/* ============================================
   Footer
   ============================================ */
/* Fixed footer at bottom of viewport */
.page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    z-index: 100;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.footer-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-right a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
}

.footer-right a:hover {
    color: var(--primary);
}

.footer-right a.highlight {
    color: var(--primary);
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ============================================
   MOBILE RESPONSIVE - Optimized for all devices
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .page-container {
        padding: 30px 16px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    /* Ranked stats responsive */
    .ranked-header-section {
        gap: 12px;
    }
    
    .ranked-tier-badge {
        width: 64px;
        height: 64px;
    }
    
    .ranked-points {
        font-size: 28px;
    }
    
    .page-container .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .page-container .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-container {
        padding: 20px 12px;
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
    
    .page-header {
        margin-bottom: 20px;
    }
    
    .logo {
        font-size: 22px;
        gap: 8px;
    }
    
    .logo-icon {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        min-width: 28px !important;
    }
    
    .tagline {
        font-size: 13px;
        padding: 0 8px;
    }
    
    /* Search - full width, stack */
    .search-section {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .search-row {
        flex-direction: column;
        width: 100%;
        max-width: none;
        gap: 10px;
        padding: 0 4px;
    }
    
    .search-label {
        text-align: center;
        font-size: 13px;
    }
    
    .search-row .form-control {
        width: 100%;
        font-size: 16px !important; /* Prevent iOS zoom */
        padding: 14px 16px;
        min-height: 48px;
    }
    
    .search-row .btn {
        width: 100%;
        padding: 14px 20px;
        min-height: 48px;
    }
    
    /* Suggestions - absolute, full width of parent */
    .search-suggestions {
        left: 0;
        right: 0;
        max-height: 220px;
        margin-top: 6px;
        /* Keep 2 columns on tablet */
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Bootstrap row - no overflow */
    .page-container .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .page-container .row.g-4 {
        gap: 16px;
    }
    
    .page-container .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .page-container .row.g-4 .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Cards */
    .card {
        border-radius: 10px;
    }
    
    .card-header {
        padding: 12px 16px;
    }
    
    .card-header h2 {
        font-size: 14px;
    }
    
    .card-header h2 i {
        font-size: 14px;
    }
    
    .card-body {
        padding: 16px;
    }
    
    /* Info grid - single column */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-item {
        padding: 12px 14px;
    }
    
    .info-label {
        font-size: 11px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    /* Ranked stats mobile */
    .ranked-header-section {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .ranked-tier-badge {
        width: 60px;
        height: 60px;
    }
    
    .ranked-points {
        font-size: 24px;
    }
    
    .ranked-tier-name {
        font-size: 14px;
    }
    
    .ranked-games-info {
        width: 100%;
        text-align: left;
        margin-top: 8px;
    }
    
    .ranked-stats-grid {
        gap: 12px 16px;
    }
    
    .ranked-stat-value {
        font-size: 14px;
    }
    
    .ranked-stat-label {
        font-size: 11px;
    }
    
    /* Loading */
    .loading-box {
        padding: 32px;
    }
    
    .loading-box .spinner-border {
        width: 36px;
        height: 36px;
    }
    
    /* Footer - fixed at bottom */
    .page-footer {
        padding: 12px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    
    .page-container {
        padding-bottom: 90px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .footer-left {
        justify-content: center;
        font-size: 12px;
    }
    
    .footer-right {
        justify-content: center;
        gap: 12px;
    }
    
    .footer-right a {
        font-size: 12px;
    }
    
    .footer-tagline {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .page-container {
        padding: 16px 10px;
        padding-left: max(10px, env(safe-area-inset-left));
        padding-right: max(10px, env(safe-area-inset-right));
    }
    
    /* Single column suggestions on small screens */
    .search-suggestions {
        grid-template-columns: 1fr;
        padding: 6px;
    }
    
    .suggestion-item {
        font-size: 12px;
        padding: 8px 10px;
        min-height: 38px;
    }
    
    .page-header {
        margin-bottom: 16px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 26px !important;
        height: 26px !important;
        max-width: 26px !important;
        min-width: 26px !important;
    }
    
    .tagline {
        font-size: 12px;
    }
    
    .search-row .form-control {
        padding: 12px 14px;
    }
    
    .search-row .btn {
        padding: 12px 16px;
    }
    
    .search-label {
        font-size: 12px;
    }
    
    /* Cards */
    .card-header {
        padding: 10px 14px;
    }
    
    .card-header h2 {
        font-size: 13px;
    }
    
    .card-body {
        padding: 14px;
    }
    
    /* Ranked stats small mobile */
    .ranked-tier-badge {
        width: 56px;
        height: 56px;
    }
    
    .ranked-points {
        font-size: 22px;
    }
    
    .ranked-stats-grid {
        gap: 10px 12px;
    }
    
    .info-item {
        padding: 10px 12px;
    }
    
    .info-label {
        font-size: 10px;
    }
    
    .info-value {
        font-size: 13px;
    }
    
    .source-badge {
        font-size: 9px;
        padding: 2px 4px;
    }
    
    .alert {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .page-footer {
        padding: 10px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }
    
    .page-container {
        padding-bottom: 80px;
    }
    
    .footer-left {
        font-size: 11px;
        gap: 8px;
    }
    
    .footer-logo {
        width: 20px;
        height: 20px;
    }
    
    .footer-right a {
        font-size: 11px;
    }
}

/* Very small screens (e.g. iPhone SE) */
@media (max-width: 375px) {
    .page-container {
        padding: 12px 8px;
        padding-left: max(8px, env(safe-area-inset-left));
        padding-right: max(8px, env(safe-area-inset-right));
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        min-width: 24px !important;
    }
    
    .tagline {
        font-size: 11px;
    }
    
    .ranked-tier-badge {
        width: 52px;
        height: 52px;
    }
    
    .ranked-points {
        font-size: 20px;
    }
    
    .ranked-stat-value {
        font-size: 13px;
    }
    
    .footer-left {
        font-size: 10px;
        gap: 6px;
    }
    
    .footer-logo {
        width: 18px;
        height: 18px;
    }
    
    .footer-right {
        gap: 10px;
    }
    
    .footer-right a {
        font-size: 10px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .suggestion-item {
        padding: 14px 16px;
        min-height: 48px;
    }
    
    .suggestion-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .page-container {
        padding: 12px 16px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .page-header {
        margin-bottom: 12px;
    }
    
    .search-row {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 400px;
    }
    
    .search-row .form-control {
        flex: 1;
        min-width: 120px;
    }
    
    .search-row .btn {
        width: auto;
    }
    
    .ranked-header-section {
        flex-wrap: nowrap;
    }
    
    .ranked-tier-badge {
        width: 56px;
        height: 56px;
    }
}
