:root {
    --primary-color: #4a90e2;
    --secondary-color: #004e89;
    --accent-color: #64c8ff;
    --bg-dark: #0a0e27;
    --bg-medium: #1a1f3a;
    --bg-light: #2a2f4a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* View Transitions support */
@view-transition {
    navigation: auto;
}

/* Smooth transitions for content updates */
.content-container {
    transition: opacity 0.2s ease-in-out;
}

.content-container[data-loading="true"] {
    opacity: 0.6;
}

.content-container > * {
    animation: fadeIn 0.3s ease-in;
}

/* View transition names for specific elements */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.3s;
}

/* Slower view transitions for avatar movements */
::view-transition-group(player-avatar-*) {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

::view-transition-old(player-avatar-*),
::view-transition-new(player-avatar-*) {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth fade transitions */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 50%, var(--bg-medium) 100%);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(100, 200, 255, 0.1) 50%, rgba(74, 144, 226, 0.15) 100%);
    pointer-events: none;
}

header > * {
    position: relative;
    z-index: 1;
}

.header-content {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.header-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 2;
    justify-self: center;
}

.pubg-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: calc(var(--border-radius) / 2);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-link:active {
    transform: translateY(1px);
}

.header-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    grid-column: 3;
    justify-self: end;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-style: italic;
}

main {
    max-width: 1800px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll on main */
}

.main-content-full {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0; /* Allow flex shrinking */
    box-sizing: border-box;
}

.main-content-left,
.main-content-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0; /* Allow flex shrinking */
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Desktop layouts */
@media (min-width: 1024px) {
    /* Two-column layout for index page (contains main-content-left and main-content-right) */
    main:has(.main-content-left) {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }

    /* Single column layout for clan pages (contains main-content-full) */
    main:has(.main-content-full) {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-content-full {
        min-width: 0; /* Allow flex shrinking */
    }

    .main-content-left section:last-child,
    .main-content-right section:last-child {
        margin-bottom: 0;
    }
}

/* Controls moved to header - keeping styles for header-controls */

.controls-stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.auto-sync-status {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.auto-sync-status #auto-sync-time {
    display: inline-block;
    cursor: help;
}

.auto-sync-status #auto-sync-time:hover {
    color: #666;
}

.controls-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.season-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.season-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--bg-medium);
    border-radius: calc(var(--border-radius) / 2);
    background: var(--bg-medium);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.season-select:hover {
    border-color: var(--primary-color);
}

.season-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.btn-primary,
.btn-secondary {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
}

.stats-info {
    color: var(--text-secondary);
    font-size: 0.65rem;
    text-align: right;
    line-height: 1.4;
}

.stats-info > div {
    margin: 0.1rem 0;
}

.stats-loading {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.loading-spinner-small {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(74, 144, 226, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner-small[data-js-animation="true"] {
    animation: none !important;
    will-change: transform;
}

/* Stats Modal */
.stats-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    pointer-events: auto;
    flex-direction: column;
    z-index: 10001;
}

/* Base popover styles */
.stats-modal[popover] {
    display: none;
    opacity: 0;
    transition:
        opacity 0.15s ease,
        display 0.15s allow-discrete,
        overlay 0.15s allow-discrete;
    pointer-events: none;
}

/* Entry state (when popover is open) */
.stats-modal[popover]:popover-open {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: auto;
    overflow-y: auto;
}

/* Starting style for entry animation */
@starting-style {
    .stats-modal[popover]:popover-open {
        opacity: 0;
    }
}

/* Backdrop styling */
.stats-modal::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

/* Exit state for backdrop */
.stats-modal[popover]::backdrop {
    opacity: 0;
    transition:
        opacity 0.15s ease,
        display 0.15s allow-discrete;
}

/* Entry state for backdrop */
.stats-modal[popover]:popover-open::backdrop {
    opacity: 1;
}

/* Starting style for backdrop entry animation */
@starting-style {
    .stats-modal[popover]:popover-open::backdrop {
        opacity: 0;
    }
}

/* Fallback for browsers that don't support popover API */
.stats-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.stats-modal-content {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 0;
    max-width: 1200px;
    max-height: 90vh;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stats-modal-header {
    padding: 2rem 3rem 1rem 3rem;
    flex-shrink: 0;
    border-bottom: 1px solid var(--bg-medium);
    background: var(--bg-light);
}

.stats-modal-header h2 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

#stats-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.stats-modal-scrollable-content {
    overflow-y: auto;
    padding: 2rem 3rem;
    max-height: calc(90vh - 250px); /* Account for header + tabs + padding */
}

.name-changes-list {
    width: 100%;
}

.name-changes-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.name-changes-table thead {
    background: var(--bg-light);
}

.name-changes-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--bg-light);
}

.name-changes-table td {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-light);
}

.name-changes-table tbody tr.name-change-row {
    cursor: pointer;
}

.name-changes-table tbody tr.name-change-row:hover {
    background: rgba(74, 144, 226, 0.15);
}

.name-changes-table tbody tr:last-child td {
    border-bottom: none;
}

.bans-list {
    width: 100%;
}

.bans-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.bans-table thead {
    background: var(--bg-light);
}

.bans-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--bg-light);
}

.bans-table td {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-light);
}

.bans-table td a {
    color: var(--link-color, #4a90e2);
    text-decoration: none;
}

.bans-table td a:hover {
    text-decoration: underline;
}

.bans-table tbody tr.ban-row {
    cursor: default;
}

.bans-table tbody tr.ban-row:hover {
    background: rgba(74, 144, 226, 0.15);
}

.bans-table tbody tr:last-child td {
    border-bottom: none;
}

.bans-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.bans-table th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bans-table .clan-badge {
    display: inline-block;
    margin: 0;
}

.bans-table .clan-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.bans-table .clan-name {
    color: var(--text-primary);
    font-weight: 500;
}

.bans-table .clan-tag {
    font-size: 0.75rem;
}

.bans-table td .clan-name {
    color: var(--text-primary);
    font-weight: 500;
}

.stats-modal-content h2 {
    margin-top: 0;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.stats-modal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.match-stats-view-toggle {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

.view-toggle-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: rgba(74, 144, 226, 0.15);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover {
    background: var(--bg-medium);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.view-toggle-btn.active {
    background: var(--primary-color);
    color: var(--text-primary);
    border-color: var(--primary-color);
    font-weight: 600;
}

.stats-modal-tabs {
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0.75rem 3rem 0 3rem;
    background: var(--bg-light);
    flex-shrink: 0;
    border-bottom: 1px solid var(--bg-medium);
}

.stats-modal-tab {
    background: var(--bg-medium);
    border: 1px solid var(--bg-medium);
    border-bottom: none;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: -1px;
    position: relative;
}

.stats-tab-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    flex-shrink: 0;
}

.stats-modal-tab:hover {
    color: var(--primary-color);
    background: var(--bg-dark);
}

.stats-modal-tab.active {
    color: var(--text-primary);
    background: var(--bg-dark);
    border-color: var(--bg-medium);
    border-bottom-color: var(--bg-dark);
    z-index: 1;
}

.stats-modal-tab.active:hover {
    color: var(--text-primary);
}

.stats-modal-panel {
    display: none;
}

.stats-modal-panel.active {
    display: block;
}

.airdrop-weapon-distribution-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.airdrop-title-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.stats-week-selector {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-week-selector label {
    margin-right: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.stats-week-selector select {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--border-radius) / 2);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stats-week-selector select:hover {
    background: var(--bg-medium);
    border-color: var(--primary-color);
}

.stats-week-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.stats-week-note {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-left: 1rem;
    font-style: italic;
}

.stats-update-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.stats-season-badge {
    display: inline-block;
    margin-left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-medium);
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    vertical-align: middle;
}

.stats-season-badge span {
    color: var(--primary-color);
    font-weight: 600;
}

.airdrop-weapon-chart {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-medium);
    border-radius: var(--border-radius);
}

.pie-chart-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.pie-chart-svg {
    max-width: 100%;
    height: auto;
}

.pie-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.pie-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.pie-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.pie-legend-label {
    flex: 1;
    color: var(--text-primary);
}

.pie-legend-value {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.chart-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}

.stats-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stats-modal-close:hover {
    background: var(--bg-medium);
    color: var(--primary-color);
}

.stats-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
    color: var(--text-secondary);
    width: 100%;
}

.stats-tab-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
    color: var(--text-secondary);
    min-height: 200px;
    width: 100%;
}

.stats-tab-loading > div:not(.loading-spinner) {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/*
.stat-item {
    background: var(--bg-medium);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}
*/

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.map-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.map-stat-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-medium);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.map-stat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.map-stat-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

.map-stat-name {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.map-stat-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    justify-content: center;
}

.map-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: calc(var(--border-radius) / 2);
}

.map-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.map-stat-value {
    font-size: 1.1rem;
    font-weight: bold;
}

@media (max-width: 1200px) {
    .map-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-modal[popover]:popover-open,
    .stats-modal.active {
        padding: 0;
        align-items: stretch;
        justify-content: flex-start;
    }
    
    .stats-modal-content {
        padding: 1.5rem;
        margin: 0;
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        overflow-y: auto;
        border-radius: 0;
        box-sizing: border-box;
    }

    .stats-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .stats-season-badge {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
        text-align: center;
        width: 100%;
    }

    .stats-modal-tabs {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        margin-bottom: 1rem;
        padding: 0.75rem 1.5rem 0 1.5rem;
        border: none;
    }

    .stats-modal-tab {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        background: var(--bg-medium);
        border: 2px solid var(--bg-light);
        border-radius: var(--border-radius);
        color: var(--text-secondary);
        transition: all 0.3s ease;
    }

    .stats-modal-tab:hover {
        background: var(--bg-light);
        color: var(--text-primary);
        border-color: var(--primary-color);
    }

    .stats-modal-tab.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .stats-modal-scrollable-content {
        padding: 1.5rem;
        overflow: visible;
        max-height: none;
    }

    #stats-content {
        overflow: visible;
        display: block;
    }
    
    .stats-summary {
        grid-template-columns: 1fr;
    }
    
    .map-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .map-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Airdrop Weapon Chart */
.airdrop-weapon-chart-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.airdrop-weapon-pie-chart {
    flex-shrink: 0;
}

.airdrop-weapon-pie-chart .pie-segment {
    cursor: pointer;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.airdrop-weapon-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
}

.airdrop-weapon-legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-medium);
    border-radius: calc(var(--border-radius) / 2);
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.airdrop-weapon-legend-item:hover {
    background: var(--bg-dark);
}

.airdrop-weapon-legend-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.airdrop-weapon-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.airdrop-weapon-legend-label {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.airdrop-weapon-legend-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-width: 100px;
    text-align: right;
}

@media (max-width: 768px) {
    .airdrop-weapon-chart-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .airdrop-weapon-pie-chart {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

/* Hourly Players Chart */
.hourly-players-chart {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-medium);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.hourly-chart-container {
    width: 100%;
}

.hourly-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.25rem;
    min-height: 300px;
    padding: 1rem 0;
    border-bottom: 2px solid var(--bg-light);
    margin-bottom: 1rem;
}

.hourly-chart-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.hourly-chart-bar-container {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.hourly-chart-bar {
    width: 100%;
    min-height: 2px;
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    border-radius: calc(var(--border-radius) / 4) calc(var(--border-radius) / 4) 0 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.25rem;
}

.hourly-chart-bar-stacked {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    position: relative;
    border-radius: calc(var(--border-radius) / 4) calc(var(--border-radius) / 4) 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hourly-chart-bar-stacked:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

.hourly-chart-bar-players {
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    border-radius: calc(var(--border-radius) / 4) calc(var(--border-radius) / 4) 0 0;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    min-height: 3px !important;
}

.hourly-chart-bar-bots {
    background: linear-gradient(to top, #ef4444, #dc2626);
    border-radius: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.hourly-chart-bar-label {
    font-size: 0.55rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    line-height: 1;
}

.hourly-chart-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

.hourly-chart-bar-peak {
    background: linear-gradient(to top, var(--warning-color), #ffb84d);
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
}

.hourly-chart-bar-peak-container {
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
}

.hourly-chart-value {
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--text-primary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    transform: rotate(-90deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    z-index: 10;
    transform-origin: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
}

.hourly-chart-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    padding: 0 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Larger font sizes for day-of-week charts */
#day-of-week-matches-chart .hourly-chart-value,
#day-of-week-unique-players-chart .hourly-chart-value,
#day-of-week-players-chart .hourly-chart-value {
    font-size: 1rem;
    font-weight: 700;
}

#day-of-week-matches-chart .hourly-chart-label,
#day-of-week-unique-players-chart .hourly-chart-label,
#day-of-week-players-chart .hourly-chart-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.hourly-chart-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hourly-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hourly-chart-legend-color {
    width: 16px;
    height: 16px;
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    border-radius: calc(var(--border-radius) / 4);
    display: inline-block;
}

.hourly-chart-legend-peak {
    background: linear-gradient(to top, var(--warning-color), #ffb84d);
}

.hourly-chart-derived-from {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hourly-chart-timezone {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-style: italic;
}

.chart-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 768px) {
    .hourly-chart-bars {
        gap: 0.15rem;
        min-height: 200px;
    }
    
    .hourly-chart-bar-container {
        height: 150px;
    }
    
    .hourly-chart-label {
        font-size: 0.6rem;
        margin-left: 0.25rem;
    }
    
    .hourly-chart-value {
        font-size: 0.55rem;
    }
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    min-height: 200px;
    position: relative;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 144, 226, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    /* Fallback for when CSS animations are disabled on mobile */
    transition: transform 1s linear;
}

/* Detect if CSS animations are disabled */
@media (prefers-reduced-motion: reduce) {
    .loading-spinner {
        animation: none;
    }
}

/* Additional fallback for mobile browsers that disable animations */
.loading-spinner[data-js-animation="true"] {
    /* Disable CSS animation when JavaScript animation is active */
    animation: none !important;
    /* Ensure transform works when using JavaScript animation */
    will-change: transform;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.error {
    background: var(--error-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.success {
    background: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

/* Single column layout for all screen sizes */

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0.75rem;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .header-title-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .pubg-logo {
        height: 3rem;
    }

    header h1 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .header-controls {
        flex-direction: column;
        gap: 0.4rem;
        width: 100%;
        align-items: center;
    }

    .controls-stacked {
        width: 100%;
        align-items: center;
        gap: 0.3rem;
    }

    .controls-left {
        width: 100%;
        align-items: center;
        gap: 0.3rem;
    }

    .btn-primary {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }

    .last-updated {
        font-size: 0.65rem;
        text-align: center;
        margin-top: 0;
        line-height: 1.3;
    }

    main {
        padding: 0 0.5rem;
        margin: 0.75rem auto;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden; /* Prevent horizontal scroll on main */
    }

    .main-content-full {
        gap: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .main-content-left,
    .main-content-right {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Clan member cards mobile optimization */
    .clan-members-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }

    .clan-members-scrollable {
        max-height: 50vh;
        padding: 0.25rem;
    }

    .clan-member-card {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .clan-member-header {
        margin-bottom: 0.5rem;
        padding-bottom: 0.375rem;
    }

    .clan-member-name {
        font-size: 0.9rem;
    }

    .clan-member-matches {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }

    .clan-member-stats {
        gap: 0.4rem;
    }

    .clan-member-adr-section {
        font-size: 0.85rem;
    }

    .clan-member-adr-value {
        font-size: 0.9rem;
    }

    .clan-member-secondary-stats {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    /* Loading spinner mobile optimization */
    .loading {
        padding: 1.5rem 1rem;
        min-height: 150px;
    }
}

/* Clans Styles */
.clans-search-container {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.search-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.clans-results {
    min-height: 200px;
}

.clans-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.clans-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.clan-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.clan-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.clan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clan-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #4dabf7;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.clan-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.clan-platform {
    display: inline-block;
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.clans-no-results {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.clans-no-results p {
    margin: 0.5rem 0;
}

/* Clans Page Specific Styles */
.placeholder-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.placeholder-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.placeholder-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.placeholder-content li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.placeholder-content li:last-child {
    border-bottom: none;
}

/* Clan Banned Warning Badge */
.clan-banned-warning-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.4);
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}

/* Clan Badge */
.clan-badge {
    margin: 0.25rem 0;
}


.current-season-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

#current-season-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

.clan-badge .clan-tag {
    background: rgba(138, 43, 226, 0.3);
    color: #da70d6;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.25rem;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

.clan-badge-link {
    text-decoration: none;
    transition: all 0.2s ease;
}


.clan-badge-link:hover .clan-tag {
    background: rgba(138, 43, 226, 0.4);
}

/* Clan Detail Page Styles */
/*
.clan-detail-section {
    margin-bottom: 2rem;
}
*/

.clan-header-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.clan-header-content {
    display: flex;
    flex-direction: column;
    place-items: center;
    gap: 0.75rem;
}

.clan-name-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.clan-name-display h1 {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
}

.clan-tag-display {
    background: rgba(138, 43, 226, 0.2);
    color: #ba55d3;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.clan-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.clan-platform-badge {
    background: rgba(0, 123, 255, 0.2);
    color: #4dabf7;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.clan-created-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.clan-members-section {
    margin-top: 2rem;
}

.clan-stats-actions {
    margin-top: 1rem;
    text-align: center;
}

.clan-members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: .5rem;
    margin-top: 1rem;
}

.clan-members-scrollable {
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.5rem;
}

.clan-leaderboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.clan-leaderboard-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.clan-leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.clan-leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.clan-leaderboard-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.clan-leaderboard-tag {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.clan-leaderboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.clan-leaderboard-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clan-leaderboard-stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.clan-leaderboard-stat-value {
    color: #ffffff;
    font-weight: 500;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .clan-leaderboard {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .clan-leaderboard-item {
        padding: 1rem;
    }

    .clan-leaderboard-header {
        margin-bottom: 0.75rem;
    }

    .clan-leaderboard-name {
        font-size: 1.1rem;
    }

    .clan-leaderboard-stats {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .clan-leaderboard-stat {
        justify-content: space-between;
    }
}

.clan-member-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.clan-member-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.clan-member-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.clan-member-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.clan-member-matches {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.clan-member-platform {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.clan-member-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.clan-member-adr-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.clan-member-adr-label {
    color: var(--accent-color);
    font-weight: 500;
}

.clan-member-adr-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.clan-member-adr-breakdown {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-style: italic;
}

.clan-member-secondary-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.error-message h2 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.error-message p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.no-members {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Global Loading Overlay */
.global-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.global-loading-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.global-loading-content .loading-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Info sections for leaderboard and clan pages */
.leaderboard-info,
.clan-members-info {
    width: fit-content;
    justify-self: center;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-info small,
.clan-members-info small {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.85rem;
}

.clan-members-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

