/* =========================================================
   GUN Stats — base / shared styles
   Layout shell, navigation, tables, pagination, cards, filter tabs,
   typography and colours. Loads on every stats page, always FIRST.
   ========================================================= */

.gun-stats-page {
    --bg: #09090a;                                                                  /* Stores the main dark page background color. */
    --bg-2: #0d0d0f;                                                                /* Stores the secondary dark background color. */
    --panel: #101011;                                                /* Stores the default panel background color. */
    --panel-2: #17171a;                                              /* Stores the secondary panel background color. */
    --line: rgba(255, 255, 255, 0.07);                                              /* Stores the default subtle divider color. */
    --line-strong: rgba(232, 185, 35, 0.46);                                        /* Stores the stronger accent divider color. */
    --accent: #e8b923;                                                              /* Stores the primary accent color. */
    --accent-2: #f2cf66;                                                            /* Stores the brighter secondary accent color. */
    --accent-soft: rgba(232, 185, 35, 0.12);                                        /* Stores the transparent soft accent background. */
    --text: #ededed;                                                                /* Stores the main readable text color. */
    --muted: #8b8b8b;                                                               /* Stores the muted secondary text color. */
    --muted-2: #6f6f6f;                                                             /* Stores the extra-muted helper text color. */
    --green: #46b257;                                                               /* Stores the positive stat color. */
    --red: #cf4444;                                                                 /* Stores the negative stat color. */
    --stat-gold: #e8b923;                                                         /* Stores the shared stat accent color. */
    --stat-gold-strong: #f2cf66;                                                  /* Stores the shared strong stat accent color. */
    --stat-turquoise: #e8b923;                                                    /* Legacy alias for shared stat accent color. */
    --stat-turquoise-strong: #f2cf66;                                             /* Legacy alias for shared strong stat accent color. */
    --stat-zero: #5d5d5d;                                                         /* Stores the muted color for zero values. */
    --shadow: 0 22px 80px rgba(0, 0, 0, 0.38);                                      /* Stores the shared card shadow. */
    --radius: 16px;                                                                 /* Stores the shared rounded corner size. */
    --table-font: 13px;                                                             /* Stores the default table body font size. */
    --head-font: 0.60rem;                                                           /* Stores the default table header font size. */
    --name-font: 13px;                                                              /* Stores the default player name font size. */
    --cell-pad-y: 9px;                                                              /* Stores vertical padding for table cells. */
    --cell-pad-x: 13px;                                                             /* Stores horizontal padding for table cells. */
    --table-weight: 400;                                                            /* Stores the default table font weight. */
    --head-weight: 800;                                                             /* Stores the default table header font weight. */
    --name-weight: 600;                                                             /* Stores the default player name font weight. */
    --number-weight: 650;                                                           /* Stores the default numeric stat font weight. */
    --page-max: 1580px;                                                             /* Stores the maximum page shell width. */
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
    min-height: 100%;                                                               /* Sets the minimum allowed height. */
    color: var(--text);                                                             /* Sets the text color. */
    background: radial-gradient(circle at 16% -16%, rgba(232, 185, 35, 0.08), transparent 34rem),
        radial-gradient(circle at 88% 0%, rgba(232, 185, 35, 0.04), transparent 38rem),
        linear-gradient(180deg, #09090a 0%, #09090a 100%) !important;               /* Sets the element background. */
    font-family: "Rajdhani", sans-serif;                                            /* Sets the font family stack. */
}

.gun-stats-page,
.gun-stats-page * {
    box-sizing: border-box;                                                         /* Includes padding and border in element sizing. */
}

.gun-stats-page button,
.gun-stats-page input,
.gun-stats-page select {
    font: inherit;                                                                  /* Inherits or sets the complete font shorthand. */
}

.gun-stats-page.font-compact {
    --table-font: 13px;                                                             /* Stores the default table body font size. */
    --head-font: 0.60rem;                                                           /* Stores the default table header font size. */
    --name-font: 13px;                                                              /* Stores the default player name font size. */
}

.gun-stats-page.font-normal {
    --table-font: 13px;                                                             /* Stores the default table body font size. */
    --head-font: 0.66rem;                                                           /* Stores the default table header font size. */
    --name-font: 13px;                                                              /* Stores the default player name font size. */
}

.gun-stats-page.font-large {
    --table-font: 13px;                                                             /* Stores the default table body font size. */
    --head-font: 0.72rem;                                                           /* Stores the default table header font size. */
    --name-font: 13px;                                                              /* Stores the default player name font size. */
}

.gun-stats-page.density-slim {
    --cell-pad-y: 9px;                                                              /* Stores vertical padding for table cells. */
    --cell-pad-x: 13px;                                                             /* Stores horizontal padding for table cells. */
}

.gun-stats-page.density-comfort {
    --cell-pad-y: 13px;                                                             /* Stores vertical padding for table cells. */
    --cell-pad-x: 16px;                                                             /* Stores horizontal padding for table cells. */
}

.gun-stats-page.density-spacious {
    --cell-pad-y: 17px;                                                             /* Stores vertical padding for table cells. */
    --cell-pad-x: 18px;                                                             /* Stores horizontal padding for table cells. */
}

.gun-stats-page.accent-gold {
    --accent: #e8b923;                                                              /* Stores the primary accent color. */
    --accent-2: #f2cf66;                                                            /* Stores the brighter secondary accent color. */
    --accent-soft: rgba(232, 185, 35, 0.12);                                        /* Stores the transparent soft accent background. */
    --line-strong: rgba(232, 185, 35, 0.46);                                        /* Stores the stronger accent divider color. */
}

.gun-stats-page.accent-military {
    --accent: #b7a05a;                                                              /* Stores the primary accent color. */
    --accent-2: #d8c473;                                                            /* Stores the brighter secondary accent color. */
    --accent-soft: rgba(126, 143, 81, 0.16);                                        /* Stores the transparent soft accent background. */
    --line-strong: rgba(183, 160, 90, 0.46);                                        /* Stores the stronger accent divider color. */
}

.gun-stats-page.accent-blue {
    --accent: #64b5f6;                                                              /* Stores the primary accent color. */
    --accent-2: #a7d7ff;                                                            /* Stores the brighter secondary accent color. */
    --accent-soft: rgba(100, 181, 246, 0.12);                                       /* Stores the transparent soft accent background. */
    --line-strong: rgba(100, 181, 246, 0.44);                                       /* Stores the stronger accent divider color. */
}

.gun-stats-page.width-contained {
    --page-max: 1580px;                                                             /* Stores the maximum page shell width. */
}

.gun-stats-page.width-full .page-shell {
    max-width: none;                                                                /* Sets the maximum allowed width. */
}

.gun-stats-page.weight-normal {
    --name-weight: 400;                                                             /* Stores the default player name font weight. */
}

.gun-stats-page.weight-medium {
    --name-weight: 500;                                                             /* Stores the default player name font weight. */
}

.gun-stats-page.weight-semibold {
    --name-weight: 600;                                                             /* Stores the default player name font weight. */
}

.gun-stats-page.weight-bold {
    --name-weight: 700;                                                             /* Stores the default player name font weight. */
}

.gun-stats-page .page-shell {
    max-width: var(--page-max);                                                     /* Sets the maximum allowed width. */
    margin: 0 auto;                                                                 /* Sets the outside spacing around the element. */
    padding: clamp(18px, 2.4vw, 38px);                                              /* Sets the inside spacing of the element. */
}

.gun-stats-page .gun-topbar {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: space-between;                                                 /* Controls horizontal distribution of child items. */
    gap: 24px;                                                                      /* Sets the spacing between flex or grid children. */
    padding: 20px clamp(20px, 2.5vw, 34px);                                         /* Sets the inside spacing of the element. */
    border-bottom: 1px solid var(--line);                                           /* Sets the bottom border. */
}

.gun-stats-page .gun-brand {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 13px;                                                                      /* Sets the spacing between flex or grid children. */
}

.gun-stats-page .gun-mark {
    width: 44px;                                                                    /* Sets the width for the icon or logo. */
    height: 44px;                                                                   /* Sets the height for the icon or logo. */
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    place-items: center;                                                            /* Centers or aligns grid children on both axes. */
    color: #0b0c0e;                                                                 /* Sets the text color. */
    background: linear-gradient(145deg, var(--accent-2), #9d701e);                  /* Sets the element background. */
    border-radius: 14px;                                                            /* Rounds the element corners. */
    font-weight: 1000;                                                              /* Sets the text thickness. */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44),
        0 0 0 1px rgba(216, 181, 78, 0.28),
        0 16px 36px rgba(0, 0, 0, 0.24);                                            /* Adds the element shadow effect. */
}

.gun-stats-page .gun-brand-text {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex-direction: column;                                                         /* Sets the direction of flex children. */
    line-height: 1.05;                                                              /* Sets the height of each text line. */
}

.gun-stats-page .gun-brand-text strong {
    color: #fffaf0;                                                                 /* Sets the text color. */
    font-size: 1.08rem;                                                             /* Sets the text size. */
    font-weight: 950;                                                               /* Sets the text thickness. */
    letter-spacing: 0.09em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-brand-text em {
    margin-top: 5px;                                                                /* Sets the outside spacing above the element. */
    color: var(--accent);                                                           /* Uses the accent text color. */
    font-size: 0.70rem;                                                             /* Sets the text size. */
    font-style: normal;                                                             /* Sets italic or normal font styling. */
    font-weight: 900;                                                               /* Sets the text thickness. */
    letter-spacing: 0.34em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-user {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    padding: 6px 10px 6px 6px;                                                      /* Sets the inside spacing of the element. */
    color: #fff;                                                                    /* Sets the text color. */
    background: rgba(255, 255, 255, 0.025);                                         /* Sets the element background. */
    border: 1px solid rgba(162, 176, 191, 0.14);                                    /* Sets the element border. */
    border-radius: 999px;                                                           /* Rounds the element corners. */
    font-size: 0.8rem;                                                              /* Sets the text size. */
    font-weight: 800;                                                               /* Sets the text thickness. */
}

.gun-stats-page .gun-user span {
    width: 30px;                                                                    /* Sets the element width. */
    height: 30px;                                                                   /* Sets the element height. */
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    place-items: center;                                                            /* Centers or aligns grid children on both axes. */
    background: rgba(255, 255, 255, 0.06);                                          /* Sets the element background. */
    border: 1px solid rgba(255, 255, 255, 0.08);                                    /* Sets the element border. */
    border-radius: 999px;                                                           /* Rounds the element corners. */
}

.gun-stats-page .gun-hero {
    padding: clamp(24px, 3vw, 44px) clamp(20px, 2.5vw, 34px) 20px;                  /* Sets the inside spacing of the element. */
}

.gun-stats-page .gun-overline {
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    font-size: 0.80rem;                                                             /* Sets the text size. */
    font-weight: 950;                                                               /* Sets the text thickness. */
    letter-spacing: 0.24em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-hero h1 {
    margin: 7px 0 0;                                                                /* Sets the outside spacing around the element. */
    color: #fff;                                                                    /* Sets the text color. */
    font-size: clamp(2.25rem, 5vw, 4.6rem);                                         /* Sets the heading text size. */
    line-height: 0.95;                                                              /* Sets the height of each text line. */
    font-weight: 950;                                                               /* Sets the heading text weight. */
    letter-spacing: 0.055em;                                                        /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
    text-shadow: 0 2px 0 rgba(216, 181, 78, 0.16),
        0 20px 44px rgba(0, 0, 0, 0.38);                                            /* Adds a shadow or glow to text. */
}

.gun-stats-page .search-panel {
    padding: 0 clamp(20px, 2.5vw, 34px) 14px;                                       /* Sets the card or panel inner spacing. */
}

.gun-stats-page .search-wrap {
    position: relative;                                                             /* Sets the element positioning method. */
}

.gun-stats-page .search-wrap svg {
    position: absolute;                                                             /* Sets the element positioning method. */
    left: 16px;                                                                     /* Sets the left offset for positioned elements. */
    top: 50%;                                                                       /* Sets the top offset for positioned elements. */
    width: 17px;                                                                    /* Sets the element width. */
    height: 17px;                                                                   /* Sets the element height. */
    color: var(--muted-2);                                                          /* Uses the muted secondary text color. */
    transform: translateY(-50%);                                                    /* Applies a visual transform to the element. */
}

.gun-stats-page .board-shell {
    margin: 0 clamp(20px, 2.5vw, 34px) clamp(22px, 2.4vw, 36px);                    /* Sets the outside spacing around the element. */
    overflow: hidden;                                                               /* Controls content that exceeds the element box. */
    background: rgba(10, 15, 22, 0.86);                                             /* Sets the element background. */
    border: 1px solid var(--line);                                                  /* Sets the element border. */
    border-radius: 13px;                                                            /* Rounds the element corners. */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);                           /* Adds the element shadow effect. */
}

.gun-stats-page .table-scroll {
    overflow: auto;                                                                 /* Controls content that exceeds the element box. */
}

.gun-stats-page .gun-table {
    width: 100%;                                                                    /* Sets the element width. */
    min-width: 980px;                                                               /* Sets the minimum allowed width. */
    color: var(--text);                                                             /* Sets the text color. */
    border-collapse: collapse;                                                      /* Merges adjacent table borders. */
    border-spacing: 0;                                                              /* Sets spacing between table cells. */
    font-size: var(--table-font);                                                   /* Sets the table text size. */
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
    background: transparent;                                                        /* Sets the table or row background. */
}

.gun-stats-page .gun-table th,
.gun-stats-page .gun-table td {
    padding: var(--cell-pad-y) var(--cell-pad-x);                                   /* Sets the table cell spacing. */
    border: 0;                                                                      /* Sets the table border. */
    border-bottom: 1px solid rgba(162, 176, 191, 0.115);                            /* Sets the table row divider line. */
    text-align: left;                                                               /* Sets horizontal text alignment. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
    vertical-align: middle;                                                         /* Aligns table or inline content vertically. */
    background: transparent;                                                        /* Sets the table or row background. */
}

.gun-stats-page .gun-table td {
    font-size: var(--table-font);                                                   /* Sets the table text size. */
    font-weight: var(--table-weight);                                               /* Sets the table text weight. */
}

.gun-stats-page .gun-table th {
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    background: linear-gradient(180deg, rgba(8, 13, 19, 0.82), rgba(8, 13, 19, 0.42)); /* Sets the table or row background. */
    border-bottom: 1px solid var(--line-strong);                                    /* Sets the table row divider line. */
    font-size: var(--head-font);                                                    /* Sets the table text size. */
    font-weight: var(--head-weight);                                                /* Sets the table text weight. */
    letter-spacing: 0.18em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-table th:nth-child(1),
.gun-stats-page .gun-table td:nth-child(1) {
    width: 68px;                                                                    /* Sets the element width. */
    text-align: center;                                                             /* Sets horizontal text alignment. */
}

.gun-stats-page .gun-table th[data-sort] {
    cursor: pointer;                                                                /* Sets the mouse cursor style. */
    user-select: none;                                                              /* Controls whether text can be selected. */
}

.gun-stats-page .gun-table th[data-sort]:hover {
    color: #fff;                                                                    /* Sets the active or hover text color. */
}

.gun-stats-page .gun-table tr {
    background: rgba(255, 255, 255, 0.005);                                         /* Sets the table or row background. */
    transition: background 0.18s ease;                                              /* Animates property changes smoothly. */
}

.gun-stats-page .gun-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.026);                                         /* Sets the table or row background. */
}

.gun-stats-page .gun-table tbody tr:hover {
    background: rgba(216, 181, 78, 0.072);                                          /* Sets the active or hover background. */
}

.gun-stats-page .player-cell {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 12px;                                                                      /* Sets the spacing between flex or grid children. */
}

.gun-stats-page .avatar {
    width: 38px;                                                                    /* Sets the width for the icon or logo. */
    height: 38px;                                                                   /* Sets the height for the icon or logo. */
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    place-items: center;                                                            /* Centers or aligns grid children on both axes. */
    color: #fff;                                                                    /* Sets the text color. */
    background: radial-gradient(circle at 35% 25%, rgba(232, 185, 35, 0.16), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.045);                                                 /* Sets the element background. */
    border: 1px solid rgba(216, 181, 78, 0.30);                                     /* Sets the element border. */
    border-radius: 999px;                                                           /* Rounds the element corners. */
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.13);                                      /* Adds the element shadow effect. */
    font-size: 1rem;                                                                /* Sets the text size. */
    border-color: rgba(232, 185, 35, 0.28);                                         /* Sets the border color. */
}

.gun-stats-page .clan {
    color: var(--muted-2);                                                          /* Uses the muted secondary text color. */
    font-size: 0.8em;                                                               /* Sets the text size. */
}

.gun-stats-page .num-accent {
    color: var(--accent-2) !important;                                              /* Uses the accent text color. */
    font-weight: var(--number-weight);                                              /* Sets the text thickness. */
    background: transparent !important;                                             /* Sets the element background. */
    border: 0 !important;                                                           /* Sets the element border. */
}

.gun-stats-page .kd-good,
.gun-stats-page .kd-mid,
.gun-stats-page .kd-low {
    font-weight: var(--number-weight);                                              /* Sets the text thickness. */
}

.gun-stats-page .kd-good {
    color: var(--green);                                                            /* Sets the text color. */
}

.gun-stats-page .kd-mid {
    color: #f59e0b !important;                                                      /* Sets the text color. */
    background: transparent !important;                                             /* Sets the element background. */
    font-weight: 700 !important;                                                    /* Sets the text thickness. */
}

.gun-stats-page .kd-low {
    color: #ef4444 !important;                                                      /* Sets the text color. */
    background: transparent !important;                                             /* Sets the element background. */
    font-weight: 700 !important;                                                    /* Sets the text thickness. */
}

.gun-stats-page .empty-state {
    display: none;                                                                  /* Sets how the element is rendered in the layout. */
    padding: 32px;                                                                  /* Sets the inside spacing of the element. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    text-align: center;                                                             /* Sets horizontal text alignment. */
    font-weight: 700;                                                               /* Sets the text thickness. */
}

.gun-stats-page .empty-state.is-visible {
    display: block;                                                                 /* Sets how the element is rendered in the layout. */
}

@media (max-width: 640px) {
    .gun-stats-page .gun-topbar {
        align-items: flex-start;                                                    /* Controls vertical alignment of child items. */
        flex-direction: column;                                                     /* Sets the direction of flex children. */
    }

    .gun-stats-page .gun-user {
        display: none;                                                              /* Sets how the element is rendered in the layout. */
    }

    .gun-stats-page .gun-admin-top-login {
        width: 100%;                                                                /* Sets the element width. */
    }

    .gun-stats-page .gun-site-nav-main,
    .gun-stats-page .gun-site-nav-admin-row {
        display: grid;                                                              /* Sets how the element is rendered in the layout. */
        grid-template-columns: repeat(2, minmax(0, 1fr));                           /* Defines the grid column layout. */
    }
}

/* =========================================================
   WordPress full-page support
   ---------------------------------------------------------
   These rules only remove common theme containers/titles when
   the [gun_stats] shortcode is used. The original GUN layout
   styling above is intentionally preserved.
   ========================================================= */

body.gun-stats-fullscreen-active .entry-title,
body.gun-stats-fullscreen-active .page-title,
body.gun-stats-fullscreen-active .wp-block-post-title {
    display: none !important;                                                       /* Sets how the element is rendered in the layout. */
}

body.gun-stats-fullscreen-active .entry-content,
body.gun-stats-fullscreen-active .wp-block-post-content,
body.gun-stats-fullscreen-active .site-main,
body.gun-stats-fullscreen-active .content-area {
    max-width: none !important;                                                     /* Sets the maximum allowed width. */
    width: 100% !important;                                                         /* Sets the element width. */
    margin-left: 0 !important;                                                      /* Sets the outside spacing on the left side. */
    margin-right: 0 !important;                                                     /* Sets the outside spacing on the right side. */
    padding-left: 0 !important;                                                     /* Sets the inside spacing on the left side. */
    padding-right: 0 !important;                                                    /* Sets the inside spacing on the right side. */
}

body.gun-stats-fullscreen-active .entry-content > *,
body.gun-stats-fullscreen-active .wp-block-post-content > * {
    max-width: none !important;                                                     /* Sets the maximum allowed width. */
}

body.gun-stats-fullscreen-active .gun-stats-page {
    width: 100vw;                                                                   /* Sets the element width. */
    max-width: 100vw;                                                               /* Sets the maximum allowed width. */
    margin-left: calc(50% - 50vw) !important;                                       /* Sets the outside spacing on the left side. */
    margin-right: calc(50% - 50vw) !important;                                      /* Sets the outside spacing on the right side. */
}

/* =========================================================
   GUN Stats v0.2 profile additions
   ========================================================= */

.gun-stats-page .section-label {
    margin: 0 clamp(20px, 2.5vw, 34px) 12px;                                        /* Sets the outside spacing around the element. */
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    font-size: 0.72rem;                                                             /* Sets the text size. */
    font-weight: 950;                                                               /* Sets the text thickness. */
    letter-spacing: 0.18em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-back-link {
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    text-decoration: none;                                                          /* Controls link or text decoration. */
}

.gun-stats-page .gun-back-link:hover {
    color: #fff;                                                                    /* Sets the active or hover text color. */
}

.gun-stats-page .profile-table-shell {
    margin-bottom: clamp(22px, 2.4vw, 36px);                                        /* Sets the outside spacing below the element. */
}

/* =========================================================
   GUN Stats v0.3.2 pagination
   ========================================================= */
.gun-stats-page .gun-pagination {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: space-between;                                                 /* Controls horizontal distribution of child items. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
    margin: 0 clamp(20px, 2.5vw, 34px) clamp(22px, 2.4vw, 36px);                    /* Sets the outside spacing around the element. */
    padding: 8px 12px;                                                              /* Sets the inside spacing of the element. */
    min-width: min(100%, 420px);                                                    /* Keeps the pagination card wider than the small buttons. */
    background: rgba(10, 15, 22, 0.78);                                             /* Sets the element background. */
    border: 1px solid var(--line);                                                  /* Sets the element border. */
    border-radius: 13px;                                                            /* Rounds the element corners. */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);                           /* Adds the element shadow effect. */
}

.gun-stats-page .gun-pagination-summary {
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.78rem;                                                             /* Sets the text size. */
    font-weight: 800;                                                               /* Sets the text thickness. */
    letter-spacing: 0.08em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-pagination-links {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 5px;                                                                       /* Sets the spacing between flex or grid children. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
}

.gun-stats-page .gun-page-link,
.gun-stats-page .gun-page-dots {
    min-width: 28px;                                                                /* Sets the minimum allowed width. */
    min-height: 28px;                                                               /* Sets the minimum allowed height. */
    display: inline-grid;                                                           /* Sets how the element is rendered in the layout. */
    place-items: center;                                                            /* Centers or aligns grid children on both axes. */
    padding: 0 8px;                                                                 /* Sets the inside spacing of the element. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    background: rgba(255, 255, 255, 0.025);                                         /* Sets the element background. */
    border: 1px solid rgba(162, 176, 191, 0.14);                                    /* Sets the element border. */
    border-radius: 999px;                                                           /* Rounds the element corners. */
    font-size: 0.70rem;                                                             /* Sets the text size. */
    font-weight: 900;                                                               /* Sets the text thickness. */
    text-decoration: none;                                                          /* Controls link or text decoration. */
}

.gun-stats-page .gun-page-link:hover {
    color: #fff;                                                                    /* Sets the active or hover text color. */
    border-color: var(--line-strong);                                               /* Sets the border color. */
}

.gun-stats-page .gun-page-link.is-active {
    color: #0a0b0e;                                                                 /* Sets the active or hover text color. */
    background: var(--accent);                                                      /* Sets the active or hover background. */
    border-color: rgba(216, 181, 78, 0.36);                                         /* Sets the border color. */
    box-shadow: 0 0 18px rgba(216, 181, 78, 0.2);                                   /* Adds the element shadow effect. */
}

.gun-stats-page .gun-page-dots {
    border-color: transparent;                                                      /* Sets the border color. */
    background: transparent;                                                        /* Sets the element background. */
}

.gun-stats-page .profile-main-card {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex-direction: column;                                                         /* Sets the direction of flex children. */
    justify-content: space-between;                                                 /* Controls horizontal distribution of child items. */
    gap: 18px;                                                                      /* Sets the spacing between flex or grid children. */
}

.gun-stats-page .profile-kpi-label {
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    font-size: 0.80rem;                                                             /* Sets the text size. */
    font-weight: 950;                                                               /* Sets the text thickness. */
    letter-spacing: 0.13em;                                                         /* Sets spacing between letters. */
    line-height: 1.1;                                                               /* Sets the height of each text line. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .profile-kpi-subtitle {
    margin-top: 4px;                                                                /* Sets the outside spacing above the element. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.63rem;                                                             /* Sets the heading text size. */
    font-weight: 850;                                                               /* Sets the heading text weight. */
    letter-spacing: 0.08em;                                                         /* Sets spacing between letters. */
    line-height: 1.2;                                                               /* Sets the height of each text line. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-compact-table {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
}

.gun-stats-page .gun-compact-table th,
.gun-stats-page .gun-compact-table td {
    padding: 8px 10px;                                                              /* Sets the table cell spacing. */
}

.gun-stats-page .body-location-grid {
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: repeat(4, minmax(150px, 1fr));                           /* Defines the grid column layout. */
    gap: 10px;                                                                      /* Sets spacing between grid items. */
    padding: 16px;                                                                  /* Sets the inside spacing of the element. */
}

.gun-stats-page .gun-admin-toolbar {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: space-between;                                                 /* Controls horizontal distribution of child items. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    padding: 0 clamp(20px, 2.5vw, 34px) 18px;                                       /* Sets the inside spacing of the element. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
}

.gun-stats-page .gun-admin-logout-form {
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
}

.gun-stats-page .gun-admin-table-shell {
    margin: 0 clamp(20px, 2.5vw, 34px) 28px;                                        /* Sets the outside spacing around the element. */
}

.gun-stats-page .gun-admin-pagination {
    padding: 14px 16px 18px;                                                        /* Sets the inside spacing of the element. */
}

@media (max-width: 760px) {
    .gun-stats-page .gun-admin-toolbar {
        align-items: stretch;                                                       /* Controls vertical alignment of child items. */
    }

    .gun-stats-page .gun-session-info-layout,
    .gun-stats-page .gun-session-info-card-wide {
        grid-template-columns: 1fr;                                                 /* Defines the grid column layout. */
        grid-column: auto;                                                          /* Controls which grid columns the item spans. */
    }

    .gun-stats-page .gun-session-detail-title {
        font-size: clamp(1.7rem, 12vw, 3.1rem);                                     /* Sets the heading text size. */
    }
}

/* =========================================================
   v0.3.16 - top-right admin login button
   ========================================================= */
.gun-stats-page .gun-admin-top-login {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: center;                                                        /* Controls horizontal distribution of child items. */
    min-height: 38px;                                                               /* Sets the minimum allowed height. */
    padding: 9px 14px;                                                              /* Sets the button or navigation spacing. */
    color: #090b0f;                                                                 /* Sets the text color. */
    background: linear-gradient(145deg, var(--accent-2), #b68324);                  /* Sets the button or navigation background. */
    border: 1px solid rgba(216, 181, 78, 0.46);                                     /* Sets the element border. */
    border-radius: 12px;                                                            /* Rounds the button or navigation corners. */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);                                    /* Adds the element shadow effect. */
    font-size: 0.72rem;                                                             /* Sets the button or navigation text size. */
    font-weight: 950;                                                               /* Sets the button or navigation text weight. */
    letter-spacing: 0.12em;                                                         /* Sets spacing between letters. */
    text-decoration: none;                                                          /* Controls link or text decoration. */
    text-transform: uppercase;                                                      /* Changes text casing. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
}

.gun-stats-page .gun-admin-top-login:hover {
    filter: brightness(1.06);                                                       /* Applies a visual filter effect. */
    transform: translateY(-1px);                                                    /* Applies a visual transform to the element. */
}

.gun-stats-page .gun-session-skins {
    white-space: normal !important;                                                 /* Controls text wrapping behavior. */
}

.gun-stats-page .gun-skin-side {
    flex: 0 0 auto;                                                                 /* Controls how the flex item grows or shrinks. */
    min-width: 42px;                                                                /* Sets the minimum allowed width. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.66rem;                                                             /* Sets the text size. */
    font-weight: 950;                                                               /* Sets the text thickness. */
    letter-spacing: 0.08em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-skin-name {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
    overflow: hidden;                                                               /* Controls content that exceeds the element box. */
    text-overflow: ellipsis;                                                        /* Controls how clipped text is indicated. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
    color: var(--text);                                                             /* Sets the text color. */
    font-weight: 800;                                                               /* Sets the text thickness. */
}

.gun-stats-page .gun-session-detail-card h2 {
    margin-top: 16px;                                                               /* Sets the outside spacing above the element. */
    margin-bottom: 18px;                                                            /* Sets the outside spacing below the element. */
    color: #fff;                                                                    /* Sets the text color. */
    font-size: clamp(1.5rem, 3vw, 2.5rem);                                          /* Sets the heading text size. */
    line-height: 1.05;                                                              /* Sets the height of each text line. */
    letter-spacing: 0.02em;                                                         /* Sets spacing between letters. */
    text-transform: none;                                                           /* Changes text casing. */
}

.gun-stats-page .gun-session-detail-topline {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: space-between;                                                 /* Controls horizontal distribution of child items. */
    gap: 12px;                                                                      /* Sets the spacing between flex or grid children. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
}

.gun-stats-page .gun-session-detail-skins {
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: repeat(2, minmax(0, 1fr));                               /* Defines the grid column layout. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    margin-top: 14px;                                                               /* Sets the outside spacing above the element. */
}

.gun-stats-page .gun-userinfo-pill-row {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    margin-top: 14px;                                                               /* Sets the outside spacing above the element. */
}

.gun-stats-page .gun-session-detail-sections {
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: repeat(2, minmax(0, 1fr));                               /* Defines the grid column layout. */
    gap: 16px;                                                                      /* Sets the spacing between flex or grid children. */
    margin-top: 16px;                                                               /* Sets the outside spacing above the element. */
}

.gun-stats-page .gun-info-section-wide {
    grid-column: 1 / -1;                                                            /* Controls which grid columns the item spans. */
}

/* =========================================================
   GUN Stats v0.3.21 session detail card/table layout
   Match the profile Weapon Model Stats card style for admin
   session details and parsed userinfo pages.
   ========================================================= */
.gun-stats-page .gun-session-summary-card {
    margin-bottom: clamp(18px, 2vw, 28px);                                          /* Sets the outside spacing below the element. */
}

.gun-stats-page .gun-session-summary-main {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: space-between;                                                 /* Controls horizontal distribution of child items. */
    gap: 12px;                                                                      /* Sets the spacing between flex or grid children. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
    margin-top: 8px;                                                                /* Sets the outside spacing above the element. */
}

.gun-stats-page .gun-session-detail-title {
    margin: 4px 0 0;                                                                /* Sets the outside spacing around the element. */
    color: #fff;                                                                    /* Sets the text color. */
    font-size: clamp(1.55rem, 3vw, 2.75rem);                                        /* Sets the heading text size. */
    font-weight: 950;                                                               /* Sets the heading text weight. */
    letter-spacing: -0.035em;                                                       /* Sets spacing between letters. */
    line-height: 1.02;                                                              /* Sets the height of each text line. */
    text-transform: none;                                                           /* Changes text casing. */
    word-break: break-word;                                                         /* Controls where long words may break. */
}

.gun-stats-page .gun-session-info-layout {
    grid-template-columns: repeat(3, minmax(280px, 1fr));                           /* Defines the grid column layout. */
    align-items: stretch;                                                           /* Controls vertical alignment of child items. */
}

.gun-stats-page .gun-session-info-card-wide {
    grid-column: span 2;                                                            /* Controls which grid columns the item spans. */
}

@media (max-width: 1180px) {
    .gun-stats-page .gun-session-info-layout {
        grid-template-columns: repeat(2, minmax(260px, 1fr));                       /* Defines the grid column layout. */
    }
}

.gun-stats-page .gun-chat-sender,
.gun-stats-page .gun-chat-recipient {
    overflow: hidden;                                                               /* Controls content that exceeds the element box. */
    color: var(--text);                                                             /* Sets the text color. */
    font-weight: 850;                                                               /* Sets the text thickness. */
    text-overflow: ellipsis;                                                        /* Controls how clipped text is indicated. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
    max-width: 100%;                                                                /* Sets the maximum allowed width. */
    font-size: 0.68rem;                                                             /* Sets the text size. */
}

.gun-stats-page .gun-chat-recipient:empty::after {
    content: '';                                                                    /* Defines generated pseudo-element content. */
}

.gun-admin-inline-action {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    justify-content: flex-end;                                                      /* Controls horizontal distribution of child items. */
    margin: 0.75rem 0 1rem;                                                         /* Sets the outside spacing around the element. */
}

/* =========================================================
   GUN Stats v0.3.36 numbered pagination
   ========================================================= */
.gun-stats-page .gun-page-link.is-disabled {
    opacity: 0.42;                                                                  /* Sets the element transparency. */
    cursor: not-allowed;                                                            /* Sets the mouse cursor style. */
    pointer-events: none;                                                           /* Controls whether the element receives pointer input. */
}

.gun-stats-page .gun-page-arrow {
    min-width: 42px;                                                                /* Sets the minimum allowed width. */
}

.gun-stats-page .gun-pagination + .board-shell {
    margin-top: clamp(16px, 1.8vw, 26px);                                           /* Sets the outside spacing above the element. */
}

/* =========================================================
   GUN Stats v0.3.37 - results per page + table action bars
   ========================================================= */
.gun-stats-page .gun-table-top-actions,
.gun-stats-page .gun-table-bottom-actions {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 14px;                                                                      /* Sets spacing between navigation items. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
    margin: clamp(14px, 1.5vw, 22px) clamp(20px, 2.5vw, 34px);                      /* Sets the outside spacing around the element. */
}

.gun-stats-page .gun-table-top-actions {
    justify-content: flex-end;                                                      /* Controls horizontal distribution of child items. */
}

.gun-stats-page .gun-table-bottom-actions {
    justify-content: space-between;                                                 /* Controls horizontal distribution of child items. */
}

.gun-stats-page .gun-table-top-actions .gun-pagination,
.gun-stats-page .gun-table-bottom-actions .gun-pagination,
.gun-stats-page .gun-table-bottom-actions .gun-results-per-page {
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
}

.gun-stats-page .gun-table-top-actions .gun-pagination,
.gun-stats-page .gun-table-bottom-actions .gun-pagination {
    justify-content: flex-end;                                                      /* Controls horizontal distribution of child items. */
    flex: 0 1 auto;                                                                 /* Controls how the flex item grows or shrinks. */
}

.gun-stats-page .gun-results-per-page {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
    padding: 8px 12px;                                                              /* Sets the inside spacing of the element. */
    background: rgba(10, 15, 22, 0.78);                                             /* Sets the element background. */
    border: 1px solid var(--line);                                                  /* Sets the element border. */
    border-radius: 13px;                                                            /* Rounds the element corners. */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);                           /* Adds the element shadow effect. */
}

.gun-stats-page .gun-results-per-page-label {
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.70rem;                                                             /* Sets the text size. */
    font-weight: 900;                                                               /* Sets the text thickness. */
    letter-spacing: 0.08em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-results-per-page-links {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 5px;                                                                       /* Sets the spacing between flex or grid children. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
}

@media (max-width: 720px) {
    .gun-stats-page .gun-table-top-actions,
    .gun-stats-page .gun-table-bottom-actions {
        justify-content: stretch;                                                   /* Controls horizontal distribution of child items. */
    }

    .gun-stats-page .gun-table-top-actions .gun-pagination,
    .gun-stats-page .gun-table-bottom-actions .gun-pagination,
    .gun-stats-page .gun-table-bottom-actions .gun-results-per-page {
        width: 100%;                                                                /* Sets the element width. */
    }

    .gun-stats-page .gun-stats-filter-row {
        align-items: flex-start;                                                    /* Controls vertical alignment of child items. */
        flex-direction: column;                                                     /* Sets the direction of flex children. */
        gap: 8px;                                                                   /* Sets the spacing between flex or grid children. */
    }

    .gun-stats-page .gun-stats-filter-label {
        min-width: 0;                                                               /* Sets the minimum allowed width. */
    }

    .gun-stats-page .gun-public-top-actions {
        display: grid;                                                              /* Sets how the element is rendered in the layout. */
        grid-template-columns: 1fr 1fr;                                             /* Defines the grid column layout. */
    }

    .gun-stats-page .gun-screenshot-form-grid {
        grid-template-columns: 1fr;                                                 /* Defines the grid column layout. */
    }

    .gun-stats-page .gun-screenshot-form-actions {
        justify-content: stretch;                                                   /* Controls horizontal distribution of child items. */
    }

    .gun-stats-page .gun-public-top-logout-form {
        margin-left: 0;                                                             /* Sets the outside spacing on the left side. */
    }

    .gun-stats-page .gun-site-nav-brand {
        min-width: 86px;                                                            /* Sets the minimum allowed width. */
    }

    .gun-stats-page .gun-site-nav-logo {
        height: 24px;                                                               /* Sets the height for the icon or logo. */
        max-width: 92px;                                                            /* Sets the max width for the icon or logo. */
    }
}

.gun-stats-page .gun-session-country-badge,
.gun-stats-page .gun-session-game-badge {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    max-width: 100%;                                                                /* Sets the maximum allowed width. */
    gap: 6px;                                                                       /* Sets the spacing between flex or grid children. */
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
}

.gun-stats-page .gun-country-flag {
    flex: 0 0 auto;                                                                 /* Controls how the flex item grows or shrinks. */
    font-size: 1.15em;                                                              /* Sets the text size. */
    line-height: 1;                                                                 /* Sets the height of each text line. */
}

.gun-stats-page .gun-country-name,
.gun-stats-page .gun-game-version-text {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
    overflow: hidden;                                                               /* Controls content that exceeds the element box. */
    text-overflow: ellipsis;                                                        /* Controls how clipped text is indicated. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
}

.gun-stats-page .gun-session-game-badge {
    gap: 5px;                                                                       /* Sets the spacing between flex or grid children. */
}

/* =========================================================
   GUN Stats v0.3.44 - compact two-card session detail layout
   ========================================================= */
.gun-stats-page .gun-session-summary-card {
    margin-bottom: 12px;                                                            /* Sets the outside spacing below the element. */
    padding-top: clamp(14px, 1.6vw, 20px);                                          /* Sets the inside spacing at the top. */
    padding-bottom: clamp(14px, 1.6vw, 20px);                                       /* Sets the inside spacing at the bottom. */
}

.gun-stats-page .gun-session-compact-layout {
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);                           /* Defines the grid column layout. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    align-items: start;                                                             /* Controls vertical alignment of child items. */
    margin-bottom: 14px;                                                            /* Sets the outside spacing below the element. */
}

.gun-stats-page .gun-session-subtitle {
    margin-top: 14px !important;                                                    /* Sets the outside spacing above the element. */
}

@media (max-width: 980px) {
    .gun-stats-page .gun-session-compact-layout {
        grid-template-columns: 1fr;                                                 /* Defines the grid column layout. */
    }
}

/* =========================================================
   GUN Stats v0.3.45 - refined compact session detail cards
   ========================================================= */
.gun-stats-page .gun-session-summary-main {
    justify-content: flex-start;                                                    /* Controls horizontal distribution of child items. */
}

/* =========================================================
   GUN Stats v0.3.47 - IP session history filter
   ========================================================= */
.gun-stats-page .gun-session-ip-link {
    color: #ffffff;                                                                 /* Sets the text color. */
    text-decoration: none;                                                          /* Controls link or text decoration. */
    border-bottom: 1px solid rgba(216, 181, 78, 0.44);                              /* Sets the bottom border. */
    transition: color 0.15s ease, border-color 0.15s ease;                          /* Animates property changes smoothly. */
}

.gun-stats-page .gun-session-ip-link:hover,
.gun-stats-page .gun-session-ip-link:focus-visible {
    color: #f5d56b;                                                                 /* Sets the active or hover text color. */
    border-bottom-color: rgba(245, 213, 107, 0.82);                                 /* Sets the bottom border color. */
}

.gun-stats-page .gun-ip-session-summary-card {
    margin: clamp(14px, 1.5vw, 22px) 0;                                             /* Sets the outside spacing around the element. */
    padding: clamp(16px, 1.7vw, 22px);                                              /* Sets the card or panel inner spacing. */
}

.gun-stats-page .gun-ip-country-value .gun-country-flag {
    font-size: 1.1em;                                                               /* Sets the text size. */
}

/* =========================================================
   GUN Stats v0.3.48 - leaderboard time/mode filter tabs
   ========================================================= */
.gun-stats-page .gun-stats-filter-panel {
    margin: clamp(14px, 1.5vw, 22px) clamp(20px, 2.5vw, 34px) 0;                    /* Sets the outside spacing around the element. */
    padding: 14px 16px;                                                             /* Sets the card or panel inner spacing. */
    background: rgba(10, 15, 22, 0.78);                                             /* Sets the card or panel background. */
    border: 1px solid var(--line);                                                  /* Sets the card or panel border. */
    border-radius: 16px;                                                            /* Rounds the card or panel corners. */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);                           /* Adds the element shadow effect. */
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
}

.gun-stats-page .gun-stats-filter-row {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 12px;                                                                      /* Sets the spacing between flex or grid children. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
}

.gun-stats-page .gun-stats-filter-label {
    min-width: 54px;                                                                /* Sets the minimum allowed width. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.74rem;                                                             /* Sets the text size. */
    font-weight: 950;                                                               /* Sets the text thickness. */
    letter-spacing: 0.09em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-stats-tabs {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 8px;                                                                       /* Sets spacing between navigation items. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
}

.gun-stats-page .gun-stats-tab {
    min-height: 28px;                                                               /* Sets the minimum allowed height. */
    display: inline-grid;                                                           /* Sets how the element is rendered in the layout. */
    place-items: center;                                                            /* Centers or aligns grid children on both axes. */
    padding: 0 13px;                                                                /* Sets the button or navigation spacing. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    background: rgba(255, 255, 255, 0.025);                                         /* Sets the button or navigation background. */
    border: 1px solid rgba(162, 176, 191, 0.14);                                    /* Sets the element border. */
    border-radius: 999px;                                                           /* Rounds the button or navigation corners. */
    font-size: 0.77rem;                                                             /* Sets the button or navigation text size. */
    font-weight: 950;                                                               /* Sets the button or navigation text weight. */
    text-decoration: none;                                                          /* Controls link or text decoration. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
}

.gun-stats-page .gun-stats-tab:hover {
    color: #fff;                                                                    /* Sets the active or hover text color. */
    border-color: var(--line-strong);                                               /* Sets the border color. */
}

.gun-stats-page .gun-stats-tab.is-active {
    color: #0a0b0e;                                                                 /* Sets the active or hover text color. */
    background: var(--accent);                                                      /* Sets the active or hover background. */
    border-color: rgba(216, 181, 78, 0.36);                                         /* Sets the border color. */
    box-shadow: 0 0 18px rgba(216, 181, 78, 0.2);                                   /* Adds the element shadow effect. */
}

.gun-stats-page .gun-player-session-filter-card {
    margin: clamp(14px, 1.5vw, 22px) 0;                                             /* Sets the outside spacing around the element. */
    padding: clamp(16px, 1.7vw, 22px);                                              /* Sets the card or panel inner spacing. */
}

/* =========================================================
   GUN Stats v0.3.59 - reusable player overlay basis
   Uses the existing GUN Stats card/table/button styling.
   ========================================================= */
html.gun-player-overlay-open {
    overflow: hidden;                                                               /* Controls content that exceeds the element box. */
}

.gun-stats-page .gun-player-overlay-backdrop {
    position: absolute;                                                             /* Sets the element positioning method. */
    inset: 0;                                                                       /* Sets all positioned offsets at once. */
    background: rgba(3, 5, 9, 0.72);                                                /* Sets the element background. */
    backdrop-filter: blur(3px);                                                     /* Applies a blur/filter behind the element. */
}

.gun-stats-page .gun-player-overlay-panel {
    position: relative;                                                             /* Sets the element positioning method. */
    z-index: 1;                                                                     /* Controls the stacking order above or below other elements. */
    width: min(100%, 1680px);                                                       /* Sets the element width. */
    max-height: calc(100vh - clamp(28px, 4vw, 60px));                               /* Sets the maximum allowed height. */
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex-direction: column;                                                         /* Sets the direction of flex children. */
    gap: 6px;                                                                       /* Sets the spacing between flex or grid children. */
    padding: clamp(14px, 1.8vw, 22px);                                              /* Sets the card or panel inner spacing. */
    overflow: hidden;                                                               /* Controls content that exceeds the element box. */
    background: linear-gradient(180deg, rgba(10, 18, 27, 0.98), rgba(5, 8, 13, 0.99)),
        radial-gradient(circle at 16% 0%, var(--accent-soft), transparent 34rem);   /* Sets the card or panel background. */
    border: 1px solid var(--line);                                                  /* Sets the card or panel border. */
    border-radius: var(--radius);                                                   /* Rounds the card or panel corners. */
    box-shadow: var(--shadow);                                                      /* Adds the element shadow effect. */
}

.gun-stats-page .gun-player-overlay-header {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex-direction: column;                                                         /* Sets the direction of flex children. */
    gap: 6px;                                                                       /* Sets the spacing between flex or grid children. */
}

.gun-stats-page .gun-player-overlay-playerline {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: baseline;                                                          /* Controls vertical alignment of child items. */
    gap: 6px;                                                                       /* Sets the spacing between flex or grid children. */
    line-height: 1.15;                                                              /* Sets the height of each text line. */
}

.gun-stats-page .gun-player-overlay-label {
    flex: 0 0 auto;                                                                 /* Controls how the flex item grows or shrinks. */
}

.gun-stats-page .gun-player-overlay-name {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
    color: var(--text);                                                             /* Sets the text color. */
    font-size: var(--name-font);                                                    /* Sets the text size. */
    font-weight: var(--name-weight);                                                /* Sets the text thickness. */
    overflow: hidden;                                                               /* Controls content that exceeds the element box. */
    text-overflow: ellipsis;                                                        /* Controls how clipped text is indicated. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
}

.gun-stats-page .gun-player-overlay-actions {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
    gap: 6px;                                                                       /* Sets the spacing between flex or grid children. */
}

.gun-stats-page .gun-player-overlay-back,
.gun-stats-page .gun-player-overlay-nav-card {
    width: auto;                                                                    /* Sets the element width. */
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
}

.gun-stats-page .gun-player-overlay-nav-card {
    appearance: none;                                                               /* Removes or changes native browser control styling. */
    cursor: pointer;                                                                /* Sets the mouse cursor style. */
}

.gun-stats-page .gun-player-overlay-nav-card.is-active,
.gun-stats-page .gun-player-overlay-nav-card:hover {
    color: var(--accent-2);                                                         /* Sets the active or hover text color. */
    border-color: var(--line-strong);                                               /* Sets the border color. */
    background: rgba(216, 181, 78, 0.10);                                           /* Sets the active or hover background. */
}

.gun-stats-page .gun-player-overlay-content-card {
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
    max-height: 100%;                                                               /* Sets the maximum allowed height. */
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex: 1 1 auto;                                                                 /* Controls how the flex item grows or shrinks. */
    flex-direction: column;                                                         /* Sets the direction of flex children. */
}

.gun-stats-page .gun-player-overlay-meta {
    padding: 0 var(--cell-pad-x) 8px;                                               /* Sets the inside spacing of the element. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.82rem;                                                             /* Sets the text size. */
}

.gun-stats-page .gun-player-overlay-content {
    min-height: 0;                                                                  /* Sets the minimum allowed height. */
    overflow: auto;                                                                 /* Controls content that exceeds the element box. */
}

.gun-stats-page .gun-player-overlay-content .table-scroll {
    overflow: visible;                                                              /* Controls content that exceeds the element box. */
}

.gun-stats-page .gun-player-overlay-table {
    min-width: 1040px;                                                              /* Sets the minimum allowed width. */
}

.gun-stats-page .gun-player-overlay-loading {
    padding: 18px;                                                                  /* Sets the inside spacing of the element. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.86rem;                                                             /* Sets the text size. */
}

.gun-stats-page .gun-player-overlay-footer {
    padding: 14px var(--cell-pad-x) 0;                                              /* Sets the inside spacing of the element. */
}

@media (max-width: 900px) {
    .gun-stats-page .gun-player-overlay-panel {
        overflow: auto;                                                             /* Controls content that exceeds the element box. */
    }

    .gun-stats-page .gun-site-nav-primary-row {
        grid-template-columns: 1fr;                                                 /* Defines the grid column layout. */
        align-items: stretch;                                                       /* Controls vertical alignment of child items. */
        gap: 8px;                                                                   /* Sets spacing between navigation items. */
        padding-top: 10px;                                                          /* Sets the inside spacing at the top. */
        padding-bottom: 10px;                                                       /* Sets the inside spacing at the bottom. */
    }

    .gun-stats-page .gun-site-nav-brand,
    .gun-stats-page .gun-site-nav-main,
    .gun-stats-page .gun-site-nav-account {
        justify-content: center;                                                    /* Controls horizontal distribution of child items. */
    }

    .gun-stats-page .gun-site-nav-account {
        flex-wrap: wrap;                                                            /* Allows flex items to wrap onto new lines. */
        margin-left: 0;                                                             /* Sets the outside spacing on the left side. */
    }
}

.gun-stats-page[data-gun-stats-board] .search-wrap {
    display: block;                                                                 /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    position: relative;                                                             /* Sets the element positioning method. */
}

.gun-stats-page[data-gun-stats-board] .search-wrap svg {
    top: 0;                                                                         /* Sets the top offset for positioned elements. */
    left: 17px;                                                                     /* Sets the left offset for positioned elements. */
    transform: translateY(-1px);                                                    /* Applies a visual transform to the element. */
    pointer-events: none;                                                           /* Controls whether the element receives pointer input. */
    z-index: 2;                                                                     /* Controls the stacking order above or below other elements. */
    position: absolute;                                                             /* Sets the element positioning method. */
    bottom: 0;                                                                      /* Sets the bottom offset for positioned elements. */
    width: 16px;                                                                    /* Sets the element width. */
    height: 16px;                                                                   /* Sets the element height. */
    margin: auto 0;                                                                 /* Sets the outside spacing around the element. */
}

.gun-stats-page[data-gun-stats-board] .gun-stats-tab {
    min-height: 30px;                                                               /* Sets the minimum allowed height. */
    padding: 0 12px;                                                                /* Sets the button or navigation spacing. */
}

.gun-stats-page[data-gun-stats-board] .gun-table-top-actions {
    margin-top: 6px;                                                                /* Sets the outside spacing above the element. */
    margin-bottom: 6px;                                                             /* Sets the outside spacing below the element. */
    margin: 6px clamp(20px, 2.5vw, 34px) 0 !important;                              /* Sets the outside spacing around the element. */
}

.gun-stats-page[data-gun-stats-board] .board-shell {
    margin-top: 6px;                                                                /* Sets the outside spacing above the element. */
    margin-bottom: 6px;                                                             /* Sets the outside spacing below the element. */
    margin: 6px clamp(20px, 2.5vw, 34px) 0 !important;                              /* Sets the outside spacing around the element. */
}

.gun-stats-page[data-gun-stats-board] .gun-table-bottom-actions {
    margin-top: 6px;                                                                /* Sets the outside spacing above the element. */
    margin-bottom: clamp(14px, 1.6vw, 22px);                                        /* Sets the outside spacing below the element. */
    margin: 6px clamp(20px, 2.5vw, 34px) clamp(14px, 1.6vw, 22px) !important;       /* Sets the outside spacing around the element. */
}

.gun-stats-page[data-gun-stats-board] .gun-table-bottom-actions .gun-results-per-page,
.gun-stats-page[data-gun-stats-board] .gun-table-bottom-actions .gun-pagination,
.gun-stats-page[data-gun-stats-board] .gun-table-top-actions .gun-pagination {
    padding: 8px 12px;                                                              /* Sets the table cell spacing. */
}

.gun-stats-page[data-gun-player-profile] .gun-stats-tab {
    min-height: 30px !important;                                                    /* Sets the minimum allowed height. */
    padding: 0 12px !important;                                                     /* Sets the button or navigation spacing. */
}

.gun-stats-page[data-gun-player-profile] .section-label {
    margin: 10px clamp(20px, 2.5vw, 34px) 6px !important;                           /* Sets the outside spacing around the element. */
}

.gun-stats-page[data-gun-player-profile] .profile-table-shell:last-child {
    margin-bottom: clamp(14px, 1.6vw, 22px) !important;                             /* Sets the outside spacing below the element. */
}

/* ------------------------------------------------------------
   GUN Stats v0.3.70 - TGA screenshot upload manager
   ------------------------------------------------------------ */
.gun-stats-page .gun-public-top-actions {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: flex-start;                                                    /* Controls horizontal distribution of child items. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    margin: 0 0 8px;                                                                /* Sets the outside spacing around the element. */
    padding: 0;                                                                     /* Sets the inside spacing of the element. */
}

.gun-stats-page .gun-public-top-button {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: center;                                                        /* Controls horizontal distribution of child items. */
    min-height: 28px;                                                               /* Sets the minimum allowed height. */
    padding: 8px 14px;                                                              /* Sets the button or navigation spacing. */
    border-radius: 12px;                                                            /* Rounds the button or navigation corners. */
    border: 1px solid rgba(255,255,255,.10);                                        /* Sets the element border. */
    background: rgba(12,18,30,.78);                                                 /* Sets the button or navigation background. */
    color: rgba(238,244,255,.78);                                                   /* Sets the text color. */
    text-decoration: none;                                                          /* Controls link or text decoration. */
    font-size: 12px;                                                                /* Sets the button or navigation text size. */
    font-weight: 800;                                                               /* Sets the button or navigation text weight. */
    letter-spacing: .07em;                                                          /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);                                /* Adds the element shadow effect. */
}

.gun-stats-page .gun-public-top-button:hover,
.gun-stats-page .gun-public-top-button.is-active {
    color: #fff;                                                                    /* Sets the active or hover text color. */
    border-color: rgba(249,194,78,.34);                                             /* Sets the border color. */
    background: linear-gradient(135deg, rgba(249,194,78,.20), rgba(37,99,235,.14)); /* Sets the active or hover background. */
}

.gun-stats-page .gun-screenshot-mini-header {
    margin-bottom: 8px;                                                             /* Sets the outside spacing below the element. */
}

.gun-stats-page .gun-screenshot-upload-card {
    margin-top: 0;                                                                  /* Sets the outside spacing above the element. */
}

.gun-stats-page .gun-screenshot-form-grid {
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);                           /* Defines the grid column layout. */
    gap: 12px;                                                                      /* Sets spacing between grid items. */
}

.gun-stats-page .gun-screenshot-file-label em {
    color: rgba(148,163,184,.90);                                                   /* Sets the text color. */
    font-size: 11px;                                                                /* Sets the text size. */
    font-style: normal;                                                             /* Sets italic or normal font styling. */
    font-weight: 700;                                                               /* Sets the text thickness. */
    letter-spacing: normal;                                                         /* Sets spacing between letters. */
    text-transform: none;                                                           /* Changes text casing. */
}

.gun-stats-page .gun-upload-notice {
    border-radius: 14px;                                                            /* Rounds the element corners. */
    margin: 0 0 8px;                                                                /* Sets the outside spacing around the element. */
    padding: 10px 12px;                                                             /* Sets the inside spacing of the element. */
    font-size: 13px;                                                                /* Sets the text size. */
    font-weight: 800;                                                               /* Sets the text thickness. */
    border: 1px solid rgba(255,255,255,.10);                                        /* Sets the element border. */
    background: rgba(15,23,42,.72);                                                 /* Sets the element background. */
    color: #e5e7eb;                                                                 /* Sets the text color. */
}

.gun-stats-page .gun-upload-notice.is-success {
    border-color: rgba(232, 185, 35, 0.28) !important;                              /* Sets the border color. */
    background: rgba(232, 185, 35, 0.12) !important;                                /* Sets the element background. */
    color: #b8fff6 !important;                                                      /* Sets the text color. */
}

.gun-stats-page .gun-upload-notice.is-error {
    border-color: rgba(248,113,113,.30);                                            /* Sets the border color. */
    background: rgba(127,29,29,.18);                                                /* Sets the element background. */
    color: #fecaca;                                                                 /* Sets the text color. */
}

.gun-stats-page .gun-screenshot-form-actions {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    justify-content: flex-end;                                                      /* Controls horizontal distribution of child items. */
}

.gun-stats-page .gun-screenshot-status {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: center;                                                        /* Controls horizontal distribution of child items. */
    min-height: 24px;                                                               /* Sets the minimum allowed height. */
    padding: 4px 9px;                                                               /* Sets the inside spacing of the element. */
    border-radius: 999px;                                                           /* Rounds the element corners. */
    border: 1px solid rgba(255,255,255,.10);                                        /* Sets the element border. */
    background: rgba(249,194,78,.12);                                               /* Sets the element background. */
    color: #f8d37a;                                                                 /* Sets the text color. */
    font-size: 11px;                                                                /* Sets the text size. */
    font-weight: 900;                                                               /* Sets the text thickness. */
    letter-spacing: .05em;                                                          /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-screenshot-actions {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 6px;                                                                       /* Sets the spacing between flex or grid children. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
}

.gun-stats-page .gun-screenshot-note-row td {
    background: rgba(15,23,42,.30);                                                 /* Sets the table or row background. */
    color: rgba(226,232,240,.80);                                                   /* Sets the text color. */
    font-size: 12px;                                                                /* Sets the table text size. */
}

.gun-stats-page .gun-home-mini-header {
    margin-bottom: 6px;                                                             /* Sets the outside spacing below the element. */
}

.gun-stats-page .gun-start-home-card {
    margin-top: 0;                                                                  /* Sets the outside spacing above the element. */
    padding: clamp(18px, 2.4vw, 28px);                                              /* Sets the card or panel inner spacing. */
}

.gun-stats-page .gun-start-home-overline {
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    font-size: 0.72rem;                                                             /* Sets the text size. */
    font-weight: 950;                                                               /* Sets the text thickness. */
    letter-spacing: 0.2em;                                                          /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
    margin-bottom: 8px;                                                             /* Sets the outside spacing below the element. */
}

.gun-stats-page .gun-start-home-card h2 {
    margin: 0 0 8px;                                                                /* Sets the outside spacing around the element. */
    color: var(--text);                                                             /* Sets the text color. */
    font-size: clamp(1.4rem, 2.5vw, 2rem);                                          /* Sets the heading text size. */
}

.gun-stats-page .gun-start-home-card p {
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
    max-width: 760px;                                                               /* Sets the maximum allowed width. */
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    line-height: 1.6;                                                               /* Sets the height of each text line. */
}

.gun-stats-page .gun-start-home-card .gun-start-home-admin-note {
    margin-top: 10px;                                                               /* Sets the outside spacing above the element. */
    color: var(--accent-2);                                                         /* Uses the accent text color. */
}

/* ------------------------------------------------------------
   GUN Stats v0.4.14 - homepage widgets and public activity
   ------------------------------------------------------------ */
.gun-stats-page .gun-home-hero-card {
    text-align: center;                                                             /* Sets horizontal text alignment. */
}

.gun-stats-page .gun-home-hero-card p {
    margin-left: auto;                                                              /* Centers the paragraph block. */
    margin-right: auto;                                                             /* Centers the paragraph block. */
}

.gun-stats-page .gun-home-widget-grid {
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: repeat(3, minmax(0, 1fr));                                /* Defines the grid column layout. */
    gap: 10px;                                                                      /* Sets the spacing between grid children. */
    margin-top: 12px;                                                               /* Sets the outside spacing above the element. */
}

.gun-stats-page .gun-home-widget-card {
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: auto minmax(0, 1fr);                                      /* Defines the grid column layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 14px;                                                                      /* Sets the spacing between grid children. */
    min-height: 112px;                                                              /* Sets the minimum allowed height. */
}

.gun-stats-page .gun-home-widget-icon {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: center;                                                        /* Controls horizontal alignment of child items. */
    width: 46px;                                                                    /* Sets the element width. */
    height: 46px;                                                                   /* Sets the element height. */
    border-radius: 14px;                                                            /* Rounds the element corners. */
    color: var(--stat-gold-strong);                                            /* Sets the text color. */
    background: rgba(232, 185, 35, 0.09);                                           /* Sets the element background. */
    border: 1px solid rgba(232, 185, 35, 0.18);                                     /* Sets the element border. */
    font-size: 1.4rem;                                                              /* Sets the text size. */
}

.gun-stats-page .gun-home-widget-content {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex-direction: column;                                                         /* Sets the direction of flex children. */
    gap: 3px;                                                                       /* Sets the spacing between flex children. */
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
}

.gun-stats-page .gun-home-widget-label {
    color: #c7d3e4;                                                                 /* Sets the text color. */
    font-size: 0.70rem;                                                             /* Sets the text size. */
    font-weight: 850;                                                               /* Sets the text thickness. */
    letter-spacing: 0.12em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-home-widget-value {
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    font-size: clamp(1.25rem, 2vw, 1.65rem);                                        /* Sets the text size. */
    line-height: 1.05;                                                              /* Sets the height of each text line. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
    overflow: hidden;                                                               /* Clips overflowing content. */
    text-overflow: ellipsis;                                                        /* Adds ellipsis for overflowing text. */
}

.gun-stats-page .gun-home-widget-note,
.gun-stats-page .gun-home-widget-footer,
.gun-stats-page .gun-home-activity-empty {
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.82rem;                                                             /* Sets the text size. */
    line-height: 1.35;                                                              /* Sets the height of each text line. */
}

.gun-stats-page .gun-home-widget-footer {
    color: var(--muted-2);                                                          /* Uses the muted helper text color. */
    margin-top: 6px;                                                                /* Sets the outside spacing above the element. */
    padding-top: 8px;                                                               /* Sets the inside spacing above the element. */
    border-top: 1px solid rgba(148, 163, 184, 0.11);                                /* Sets the top border line. */
}

.gun-stats-page .gun-home-activity-card {
    margin-top: 12px;                                                               /* Sets the outside spacing above the element. */
}

.gun-stats-page .gun-home-activity-header {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: flex-start;                                                        /* Controls vertical alignment of child items. */
    justify-content: space-between;                                                  /* Distributes child items across the row. */
    gap: 16px;                                                                      /* Sets the spacing between flex children. */
    margin-bottom: 12px;                                                            /* Sets the outside spacing below the element. */
}

.gun-stats-page .gun-home-activity-header h2 {
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
    color: var(--text);                                                             /* Sets the text color. */
    font-size: 1.15rem;                                                             /* Sets the text size. */
    letter-spacing: 0.04em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
}

.gun-stats-page .gun-home-activity-link {
    color: var(--stat-gold-strong);                                            /* Sets the text color. */
    font-size: 0.75rem;                                                             /* Sets the text size. */
    font-weight: 850;                                                               /* Sets the text thickness. */
    letter-spacing: 0.08em;                                                         /* Sets spacing between letters. */
    text-transform: uppercase;                                                      /* Changes text casing. */
    text-decoration: none;                                                          /* Removes link underline. */
}

.gun-stats-page .gun-home-activity-list {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    flex-direction: column;                                                         /* Sets the direction of flex children. */
    gap: 0;                                                                         /* Sets the spacing between flex children. */
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
    padding: 0;                                                                     /* Sets the inside spacing of the element. */
    list-style: none;                                                               /* Removes the default list marker. */
}

.gun-stats-page .gun-home-activity-item {
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: 86px 34px minmax(0, 1fr) minmax(150px, auto);             /* Defines the grid column layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 10px;                                                                      /* Sets the spacing between grid children. */
    padding: 10px 0;                                                                /* Sets the inside spacing of the element. */
    border-top: 1px solid rgba(148, 163, 184, 0.12);                                /* Sets the top border line. */
}

.gun-stats-page .gun-home-activity-time,
.gun-stats-page .gun-home-activity-meta {
    color: var(--muted);                                                            /* Uses the muted secondary text color. */
    font-size: 0.78rem;                                                             /* Sets the text size. */
}

.gun-stats-page .gun-home-activity-icon {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: center;                                                        /* Controls horizontal alignment of child items. */
    width: 28px;                                                                    /* Sets the element width. */
    height: 28px;                                                                   /* Sets the element height. */
    border-radius: 999px;                                                           /* Rounds the element corners. */
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    background: rgba(216, 181, 78, 0.10);                                           /* Sets the element background. */
    border: 1px solid rgba(216, 181, 78, 0.20);                                     /* Sets the element border. */
}

.gun-stats-page .gun-home-activity-text {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: baseline;                                                          /* Controls vertical alignment of child items. */
    gap: 6px;                                                                       /* Sets the spacing between flex children. */
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
}

.gun-stats-page .gun-home-activity-text strong {
    color: var(--accent-2);                                                         /* Uses the accent text color. */
}

.gun-stats-page .gun-home-activity-text em {
    color: var(--red);                                                              /* Sets the text color. */
    font-style: normal;                                                             /* Removes italic styling. */
}

.gun-stats-page .gun-home-activity-item.is-map .gun-home-activity-text em {
    color: var(--green);                                                            /* Sets the text color. */
}

@media (max-width: 900px) {
    .gun-stats-page .gun-home-widget-grid {
        grid-template-columns: 1fr;                                                  /* Defines the grid column layout. */
    }

    .gun-stats-page .gun-home-activity-item {
        grid-template-columns: 68px 30px minmax(0, 1fr);                             /* Defines the grid column layout. */
    }

    .gun-stats-page .gun-home-activity-meta {
        grid-column: 3;                                                             /* Places the element in the grid. */
    }
}

/* ------------------------------------------------------------
   GUN Stats v0.3.74 - admin navigation cleanup + local time fix
   ------------------------------------------------------------ */
.gun-stats-page .gun-public-top-logout-form {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    margin: 0 0 0 auto;                                                             /* Sets the outside spacing around the element. */
    padding: 0;                                                                     /* Sets the inside spacing of the element. */
}

/* ------------------------------------------------------------
   GUN Stats v0.3.76 - safe full-width navigation restore
   ------------------------------------------------------------ */
body.gun-stats-fullscreen-active,
body.gun-stats-fullscreen-active .wp-site-blocks,
body.gun-stats-fullscreen-active main,
body.gun-stats-fullscreen-active .site-main,
body.gun-stats-fullscreen-active .content-area,
body.gun-stats-fullscreen-active .entry-content,
body.gun-stats-fullscreen-active .wp-block-post-content {
    max-width: none !important;                                                     /* Sets the maximum allowed width. */
    width: 100% !important;                                                         /* Sets the element width. */
}

body.gun-stats-fullscreen-active .entry-content,
body.gun-stats-fullscreen-active .wp-block-post-content {
    margin-left: 0 !important;                                                      /* Sets the outside spacing on the left side. */
    margin-right: 0 !important;                                                     /* Sets the outside spacing on the right side. */
    padding-left: 0 !important;                                                     /* Sets the inside spacing on the left side. */
    padding-right: 0 !important;                                                    /* Sets the inside spacing on the right side. */
}

body.gun-stats-fullscreen-active .gun-stats-page .page-shell,
.gun-stats-page.width-full .page-shell {
    max-width: none !important;                                                     /* Sets the maximum allowed width. */
    width: 100% !important;                                                         /* Sets the element width. */
    padding: 0 0 clamp(18px, 2vw, 30px) !important;                                 /* Sets the inside spacing of the element. */
}

.gun-stats-page .gun-site-nav-primary-row {
    min-height: 56px;                                                               /* Sets the minimum allowed height. */
    display: grid;                                                                  /* Sets how the element is rendered in the layout. */
    grid-template-columns: auto minmax(0, 1fr) auto;                                /* Defines the grid column layout. */
    align-items: stretch;                                                           /* Controls vertical alignment of child items. */
    gap: clamp(18px, 2vw, 34px);                                                    /* Sets spacing between navigation items. */
    padding: 0 clamp(16px, 2vw, 34px);                                              /* Sets the button or navigation spacing. */
}

.gun-stats-page .gun-site-nav-brand {
    color: var(--accent-2);                                                         /* Uses the accent text color. */
    font-size: clamp(1.05rem, 1.65vw, 1.55rem);                                     /* Sets the button or navigation text size. */
    font-weight: 1000;                                                              /* Sets the button or navigation text weight. */
    letter-spacing: 0.045em;                                                        /* Sets spacing between letters. */
    line-height: 1;                                                                 /* Sets the height of each text line. */
    text-decoration: none;                                                          /* Controls link or text decoration. */
    text-transform: uppercase;                                                      /* Changes text casing. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
    text-shadow: 0 0 18px rgba(216, 181, 78, 0.18);                                 /* Adds a shadow or glow to text. */
    min-width: 128px;                                                               /* Sets the minimum allowed width. */
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: flex-start;                                                    /* Controls horizontal distribution of child items. */
}

.gun-stats-page .gun-site-nav-main,
.gun-stats-page .gun-site-nav-admin-row,
.gun-stats-page .gun-site-nav-account {
    display: flex;                                                                  /* Sets how the element is rendered in the layout. */
    align-items: stretch;                                                           /* Controls vertical alignment of child items. */
    gap: 0;                                                                         /* Sets spacing between navigation items. */
    min-width: 0;                                                                   /* Sets the minimum allowed width. */
}

.gun-stats-page .gun-site-nav-main {
    justify-content: flex-start;                                                    /* Controls horizontal distribution of child items. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
}

.gun-stats-page .gun-site-nav-account {
    justify-content: flex-end;                                                      /* Controls horizontal distribution of child items. */
    flex-wrap: nowrap;                                                              /* Allows flex items to wrap onto new lines. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 10px;                                                                      /* Sets spacing between navigation items. */
    margin-left: auto;                                                              /* Sets the outside spacing on the left side. */
}

.gun-stats-page .gun-site-nav-login-status {
    color: #a8b5c7;                                                                 /* Sets the text color. */
    font-size: 0.86rem !important;                                                  /* Sets the button or navigation text size. */
    font-weight: 700;                                                               /* Sets the button or navigation text weight. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
    letter-spacing: 0.01em;                                                         /* Sets spacing between letters. */
}

.gun-stats-page .gun-site-nav-admin-row {
    justify-content: center;                                                        /* Controls horizontal distribution of child items. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
    padding: 7px clamp(16px, 2vw, 34px) 8px;                                        /* Sets the button or navigation spacing. */
    background: #0c1016;                                                            /* Sets the table or row background. */
    border-top: 1px solid rgba(148, 163, 184, 0.10);                                /* Sets the top border. */
    gap: 8px;                                                                       /* Sets spacing between navigation items. */
}

.gun-stats-page .gun-public-top-logout-form {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
    padding: 0;                                                                     /* Sets the inside spacing of the element. */
}

/* =========================================================
   GUN Stats v0.3.77 - header logo brand
   ========================================================= */
.gun-stats-page .gun-site-nav-brand {
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    justify-content: flex-start;                                                    /* Controls horizontal distribution of child items. */
    min-width: clamp(88px, 8vw, 116px);                                             /* Sets the minimum allowed width. */
    line-height: 1;                                                                 /* Sets the height of each text line. */
}

.gun-stats-page .gun-site-nav-logo {
    display: block;                                                                 /* Sets how the element is rendered in the layout. */
    width: auto;                                                                    /* Sets the width for the icon or logo. */
    height: 30px;                                                                   /* Sets the height for the icon or logo. */
    max-width: 126px;                                                               /* Sets the max width for the icon or logo. */
    object-fit: contain;                                                            /* Controls how media fits inside its box. */
    opacity: 0.98;                                                                  /* Sets the element transparency. */
    filter: drop-shadow(0 0 6px rgba(232, 185, 35, 0.10)) !important;               /* Applies a visual filter effect. */
}

/* =========================================================
   GUN Stats v0.3.78 - admin login/account navigation placement
   ========================================================= */
.gun-stats-page .gun-site-nav-account {
    margin-left: auto;                                                              /* Sets the outside spacing on the left side. */
}

@media (min-width: 901px) {
    .gun-stats-page .gun-site-nav-main {
        justify-content: flex-start;                                                /* Controls horizontal distribution of child items. */
    }

    .gun-stats-page .gun-site-nav-account {
        justify-content: flex-end;                                                  /* Controls horizontal distribution of child items. */
    }
}

/* =========================================================
   GUN Stats v0.0.31 - shared gold/charcoal color consistency
   ========================================================= */
.gun-stats-page,
.gun-stats-page.accent-gold,
.gun-stats-page.accent-military,
.gun-stats-page.accent-blue {
    --bg: #09090a;                                                                  /* Stores the main dark page background color. */
    --bg-2: #0d0d0f;                                                                /* Stores the secondary dark background color. */
    --panel: #101011;                                                /* Stores the default panel background color. */
    --panel-2: #17171a;                                              /* Stores the secondary panel background color. */
    --line: rgba(255, 255, 255, 0.07);                                              /* Stores the default subtle divider color. */
    --line-strong: rgba(232, 185, 35, 0.46);                                        /* Stores the stronger accent divider color. */
    --accent: #e8b923;                                                              /* Stores the primary accent color. */
    --accent-2: #f2cf66;                                                            /* Stores the brighter secondary accent color. */
    --accent-soft: rgba(232, 185, 35, 0.12);                                        /* Stores the transparent soft accent background. */
    --text: #ededed;                                                                /* Stores the main readable text color. */
    --muted: #8b8b8b;                                                               /* Stores the muted secondary text color. */
    --muted-2: #6f6f6f;                                                             /* Stores the extra-muted helper text color. */
    --green: #46b257;                                                               /* Stores the positive stat color. */
    --red: #cf4444;                                                                 /* Stores the negative stat color. */
    --stat-gold: #e8b923;                                                         /* Stores the shared stat accent color. */
    --stat-gold-strong: #f2cf66;                                                  /* Stores the shared strong stat accent color. */
    --stat-turquoise: #e8b923;                                                    /* Legacy alias for shared stat accent color. */
    --stat-turquoise-strong: #f2cf66;                                             /* Legacy alias for shared strong stat accent color. */
    --stat-zero: #5d5d5d;                                                         /* Stores the muted color for zero values. */
    --shadow: none;                                                                 /* Stores the shared card shadow. */
    --radius: 8px;                                                                  /* Stores the shared rounded corner size. */
}

body.gun-stats-fullscreen-active {
    background: #09090a !important;                                                 /* Sets the element background. */
}

body.gun-stats-fullscreen-active .gun-stats-page .page-shell,
.gun-stats-page.width-full .page-shell,
.gun-stats-page .page-shell {
    max-width: none !important;                                                     /* Sets the maximum allowed width. */
    width: 100% !important;                                                         /* Sets the element width. */
    padding: 0 0 clamp(20px, 2vw, 34px) !important;                                 /* Sets the inside spacing of the element. */
}

.gun-stats-page .gun-site-nav-admin-row .gun-public-top-button {
    min-height: 30px;                                                               /* Sets the minimum allowed height. */
    padding: 0 13px;                                                                /* Sets the button or navigation spacing. */
    color: #b9c6d8;                                                                 /* Sets the text color. */
    background: rgba(18, 24, 34, 0.92);                                             /* Sets the table or row background. */
    border: 1px solid rgba(148, 163, 184, 0.15);                                    /* Sets the element border. */
    border-radius: 4px;                                                             /* Rounds the button or navigation corners. */
    box-shadow: none;                                                               /* Adds the element shadow effect. */
    font-size: 0.70rem;                                                             /* Sets the button or navigation text size. */
    font-weight: 850;                                                               /* Sets the button or navigation text weight. */
    letter-spacing: 0.04em;                                                         /* Sets spacing between letters. */
    text-transform: none;                                                           /* Changes text casing. */
}

.gun-stats-page .gun-site-nav-admin-row .gun-public-top-button.is-active,
.gun-stats-page .gun-site-nav-admin-row .gun-public-top-button:hover {
    color: #061114;                                                                 /* Sets the active or hover text color. */
    background: linear-gradient(145deg, #f2cf66, #a8800f);                          /* Sets the active or hover background. */
    border-color: rgba(232, 185, 35, 0.60);                                         /* Sets the border color. */
}

.gun-stats-page .search-panel,
.gun-stats-page .gun-table-top-actions,
.gun-stats-page .gun-table-bottom-actions {
    padding-left: 0 !important;                                                     /* Sets the inside spacing on the left side. */
    padding-right: 0 !important;                                                    /* Sets the inside spacing on the right side. */
}

.gun-stats-page .gun-admin-status.connected,
.gun-stats-page .status-pill.is-active,
.gun-stats-page .gun-screenshot-status.is-approved {
    color: #5fffd7 !important;                                                      /* Sets the active or hover text color. */
    background: rgba(232, 185, 35, 0.12) !important;                                /* Sets the active or hover background. */
    border-color: rgba(232, 185, 35, 0.24) !important;                              /* Sets the border color. */
}

.gun-stats-page .skin-chip.allies,
.gun-stats-page .skin-chip.axis {
    border-radius: 999px;                                                           /* Rounds the element corners. */
    background: rgba(18, 24, 34, 0.86) !important;                                  /* Sets the element background. */
}

.gun-stats-page .skin-chip.allies {
    border-color: rgba(232, 185, 35, 0.25) !important;                              /* Sets the border color. */
}

.gun-stats-page .skin-chip.axis {
    border-color: rgba(255, 107, 122, 0.24) !important;                             /* Sets the border color. */
}

/* =========================================================
   GUN Stats v0.3.80 - admin sub navigation uses the same button style as primary navigation
   ========================================================= */
.gun-stats-page .gun-site-nav-admin-row {
    justify-content: flex-start;                                                    /* Controls horizontal distribution of child items. */
    flex-wrap: wrap;                                                                /* Allows flex items to wrap onto new lines. */
    gap: 0;                                                                         /* Sets spacing between navigation items. */
    padding: 0 clamp(16px, 2vw, 34px);                                              /* Sets the button or navigation spacing. */
    padding-left: calc(clamp(16px, 2vw, 34px) + 128px + clamp(18px, 2vw, 34px));    /* Sets the inside spacing on the left side. */
    background: rgba(7, 9, 14, 0.98);                                               /* Sets the table or row background. */
    border-top: 1px solid rgba(232, 185, 35, 0.14);                                 /* Sets the top border. */
}

@media (max-width: 860px) {
    .gun-stats-page .gun-site-nav-admin-row {
        padding-left: clamp(16px, 2vw, 34px);                                       /* Sets the inside spacing on the left side. */
    }
}

/* =========================================================
   GUN Stats v0.3.81 - stat card equal height, MOH Guard font and IP badges
   ========================================================= */
.gun-stats-page {
    --gun-ui-font: "Rajdhani", sans-serif;                                        /* Stores the shared interface font family. */
    --gun-nav-font: "Rajdhani", sans-serif;                                       /* Stores the shared navigation font family. */
    font-family: var(--gun-ui-font) !important;                                     /* Sets the font family stack. */
}

.gun-stats-page .gun-site-nav-main .gun-public-top-button,
.gun-stats-page .gun-site-nav-admin-row .gun-public-top-button {
    font-size: 0.72rem !important;                                                  /* Sets the button or navigation text size. */
    font-weight: 800 !important;                                                    /* Sets the button or navigation text weight. */
}

/* =========================================================
   GUN Stats v0.3.82 - one-step larger dashboard font sizing
   ========================================================= */
.gun-stats-page {
    font-size: 15px !important;                                                     /* Sets the text size. */
}

/* =========================================================
   GUN Stats v0.3.83 - one more small typography step
   ========================================================= */
.gun-stats-page {
    font-size: 16px !important;                                                     /* Sets the text size. */
}

.gun-stats-page .gun-card-title,
.gun-stats-page .gun-page-title,
.gun-stats-page .gun-admin-section-title {
    letter-spacing: 0.10em;                                                         /* Sets spacing between letters. */
}

/* =========================================================
   GUN Stats v0.3.87 - account dropdown and player profile info card cleanup
   ========================================================= */
.gun-stats-page .gun-site-nav-account {
    position: relative;                                                             /* Sets the element positioning method. */
    overflow: visible;                                                              /* Controls content that exceeds the element box. */
}

.gun-stats-page .gun-account-menu {
    position: relative;                                                             /* Sets the element positioning method. */
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: stretch !important;                                                /* Controls vertical alignment of child items. */
    margin: 0;                                                                      /* Sets the outside spacing around the element. */
    padding: 0;                                                                     /* Sets the inside spacing of the element. */
    z-index: 50;                                                                    /* Controls the stacking order above or below other elements. */
}

.gun-stats-page .gun-account-menu > summary,
.gun-stats-page .gun-account-trigger {
    list-style: none;                                                               /* Controls list marker styling. */
}

.gun-stats-page .gun-account-menu > summary::-webkit-details-marker {
    display: none;                                                                  /* Sets how the element is rendered in the layout. */
}

.gun-stats-page .gun-account-trigger {
    min-height: 56px !important;                                                    /* Sets the minimum allowed height. */
    display: inline-flex;                                                           /* Sets how the element is rendered in the layout. */
    align-items: center;                                                            /* Controls vertical alignment of child items. */
    gap: 8px;                                                                       /* Sets the spacing between flex or grid children. */
    padding: 0 16px !important;                                                     /* Sets the inside spacing of the element. */
    color: #8f9bad !important;                                                      /* Sets the text color. */
    background: transparent !important;                                             /* Sets the element background. */
    border: 0 !important;                                                           /* Sets the element border. */
    border-radius: 0 !important;                                                    /* Rounds the element corners. */
    box-shadow: none !important;                                                    /* Adds the element shadow effect. */
    cursor: pointer;                                                                /* Sets the mouse cursor style. */
    user-select: none;                                                              /* Controls whether text can be selected. */
    border-bottom: 1px solid transparent !important;                                /* Sets the bottom border. */
    font-family: var(--gun-nav-font) !important;                                    /* Sets the font family stack. */
    font-size: 0.84rem !important;                                                  /* Sets the text size. */
    font-weight: 950 !important;                                                    /* Sets the text thickness. */
    letter-spacing: 0.18em !important;                                              /* Sets spacing between letters. */
    line-height: 1 !important;                                                      /* Sets the height of each text line. */
    text-transform: uppercase !important;                                           /* Changes text casing. */
}

.gun-stats-page .gun-account-trigger:hover,
.gun-stats-page .gun-account-menu[open] .gun-account-trigger {
    color: var(--accent-2) !important;                                              /* Sets the active or hover text color. */
    border-color: rgba(232, 185, 35, 0.36);                                         /* Sets the border color. */
    background: linear-gradient(180deg, transparent 0%, rgba(232, 185, 35, 0.08) 100%) !important; /* Sets the active or hover background. */
    border-bottom-color: var(--accent-2) !important;                                /* Sets the bottom border color. */
}

.gun-stats-page .gun-account-icon {
    width: 18px;                                                                    /* Sets the width for the icon or logo. */
    height: 18px;                                                                   /* Sets the height for the icon or logo. */
    display: none !important;                                                       /* Sets how the element is rendered in the layout. */
    place-items: center;                                                            /* Centers or aligns grid children on both axes. */
    color: #061114;                                                                 /* Sets the text color. */
    background: linear-gradient(145deg, #f2cf66, #a8800f);                          /* Sets the element background. */
    border-radius: 999px;                                                           /* Rounds the element corners. */
    font-size: 0.58rem;                                                             /* Sets the text size. */
    line-height: 1;                                                                 /* Sets the height of each text line. */
}

.gun-stats-page .gun-account-name {
    color: inherit;                                                                 /* Sets the text color. */
    font-family: var(--gun-nav-font) !important;                                    /* Sets the font family stack. */
    font-size: inherit !important;                                                  /* Sets the text size. */
    font-weight: inherit !important;                                                /* Sets the text thickness. */
    letter-spacing: inherit !important;                                             /* Sets spacing between letters. */
    line-height: 1;                                                                 /* Sets the height of each text line. */
    white-space: nowrap;                                                            /* Controls text wrapping behavior. */
    text-transform: inherit !important;                                             /* Changes text casing. */
}

.gun-stats-page .gun-account-caret {
    color: currentColor !important;                                                 /* Sets the text color. */
    font-size: 0.92rem;                                                             /* Sets the text size. */
    line-height: 1;                                                                 /* Sets the height of each text line. */
    transform: translateY(-1px);                                                    /* Applies a visual transform to the element. */
    opacity: 0.65;                                                                  /* Sets the element transparency. */
}

.gun-stats-page .gun-account-menu[open] .gun-account-caret {
    transform: translateY(-1px) rotate(180deg);                                     /* Applies a visual transform to the element. */
}

.gun-stats-page .gun-account-dropdown {
    position: absolute;                                                             /* Sets the element positioning method. */
    top: calc(100% + 8px);                                                          /* Sets the top offset for positioned elements. */
    right: 0;                                                                       /* Sets the right offset for positioned elements. */
    width: min(250px, calc(100vw - 32px));                                          /* Sets the element width. */
    padding: 10px;                                                                  /* Sets the inside spacing of the element. */
    background: rgba(7, 10, 15, 0.98);                                              /* Sets the element background. */
    border: 1px solid rgba(232, 185, 35, 0.25);                                     /* Sets the element border. */
    border-radius: 6px;                                                             /* Rounds the element corners. */
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.035); /* Adds the element shadow effect. */
    z-index: 100;                                                                   /* Controls the stacking order above or below other elements. */
}

.gun-stats-page .gun-account-dropdown::before {
    content: "";                                                                    /* Defines generated pseudo-element content. */
    position: absolute;                                                             /* Sets the element positioning method. */
    top: -7px;                                                                      /* Sets the top offset for positioned elements. */
    right: 22px;                                                                    /* Sets the right offset for positioned elements. */
    width: 12px;                                                                    /* Sets the element width. */
    height: 12px;                                                                   /* Sets the element height. */
    background: rgba(7, 10, 15, 0.98);                                              /* Sets the element background. */
    border-left: 1px solid rgba(232, 185, 35, 0.22);                                /* Sets the left border. */
    border-top: 1px solid rgba(232, 185, 35, 0.22);                                 /* Sets the top border. */
    transform: rotate(45deg);                                                       /* Applies a visual transform to the element. */
}

.gun-stats-page .gun-account-dropdown .gun-public-top-logout-form {
    width: 100%;                                                                    /* Sets the width for the icon or logo. */
}

.gun-stats-page .gun-account-dropdown-item::before {
    content: "↪";                                                                   /* Defines generated pseudo-element content. */
    color: #ff4e63;                                                                 /* Sets the text color. */
    font-weight: 950;                                                               /* Sets the text thickness. */
}

.gun-stats-page .gun-account-dropdown-item:hover,
.gun-stats-page .gun-account-dropdown-item:focus-visible {
    color: #ff8fa0 !important;                                                      /* Sets the active or hover text color. */
    background: rgba(255, 107, 122, 0.08) !important;                               /* Sets the active or hover background. */
}

@media (max-width: 620px) {
    .gun-stats-page .gun-account-menu,
    .gun-stats-page .gun-account-trigger {
        width: 100%;                                                                /* Sets the element width. */
    }

    .gun-stats-page .gun-account-trigger {
        justify-content: center !important;                                         /* Controls horizontal distribution of child items. */
        min-height: 42px !important;                                                /* Sets the minimum allowed height. */
        border: 1px solid rgba(232, 185, 35, 0.18) !important;                      /* Sets the element border. */
        border-radius: 4px !important;                                              /* Rounds the element corners. */
        border-color: rgba(232, 185, 35, 0.16) !important;                          /* Sets the border color. */
    }

    .gun-stats-page .gun-account-dropdown {
        left: 0;                                                                    /* Sets the left offset for positioned elements. */
        right: auto;                                                                /* Sets the right offset for positioned elements. */
        width: 100%;                                                                /* Sets the element width. */
    }
}

/* =========================================================
   GUN Stats v0.3.88 - one more font step and matching account button
   ========================================================= */
.gun-stats-page {
    font-size: 17px !important;                                                     /* Sets the text size. */
}

.gun-stats-page .gun-site-nav-login-status,
.gun-stats-page .gun-account-name,
.gun-stats-page .gun-account-dropdown-item {
    font-size: 0.90rem !important;                                                  /* Sets the button or navigation text size. */
}

/* Make the account trigger visually match the primary navigation buttons. */
.gun-stats-page .gun-site-nav-account {
    align-items: stretch !important;                                                /* Controls vertical alignment of child items. */
}

/* =========================================================
   GUN Stats v0.3.89 - readability font size refinement
   ========================================================= */
.gun-stats-page {
    font-size: 18px !important;                                                     /* Sets the text size. */
    line-height: 1.45 !important;                                                   /* Sets the height of each text line. */
}

.gun-stats-page .gun-site-nav-login-status,
.gun-stats-page .gun-account-name,
.gun-stats-page .gun-account-dropdown-item,
.gun-stats-page .gun-meta,
.gun-stats-page .muted,
.gun-stats-page .profile-subline,
.gun-stats-page .profile-meta {
    font-size: 0.96rem !important;                                                  /* Sets the button or navigation text size. */
    line-height: 1.45 !important;                                                   /* Sets the height of each text line. */
}

/* Restore clear K/D colors for the gold layout. */
.gun-stats-page .kd-good {
    color: #22c55e !important;                                                      /* Sets the text color. */
    background: transparent !important;                                             /* Sets the element background. */
    font-weight: 700 !important;                                                    /* Sets the text thickness. */
}

/* Player profile uses a game icon in the existing avatar position. */
.gun-stats-page .gun-player-game-icon {
    font-size: 1.05rem !important;                                                  /* Sets the text size. */
    line-height: 1 !important;                                                      /* Sets the height of each text line. */
    color: #e8b923 !important;                                                      /* Sets the text color. */
    background: radial-gradient(circle at 35% 25%, rgba(232, 185, 35, 0.12), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.035) !important;                                      /* Sets the element background. */
    border-color: rgba(232, 185, 35, 0.30) !important;                              /* Sets the border color. */
}

/* =========================================================
   GUN Stats v0.3.91 - readable gold stat values
   ========================================================= */
.gun-stats-page,
.gun-stats-page.accent-gold,
.gun-stats-page.accent-military,
.gun-stats-page.accent-blue {
    --accent: #e8b923;                                                              /* Stores the primary accent color. */
    --accent-2: #f2cf66;                                                            /* Stores the brighter secondary accent color. */
    --accent-soft: rgba(232, 185, 35, 0.12);                                       /* Stores the transparent soft accent background. */
    --line-strong: rgba(232, 185, 35, 0.46);                                        /* Stores the stronger accent divider color. */
    --stat-gold: #e8b923;                                                      /* Stores the muted gold stat color. */
    --stat-gold-strong: #f2cf66;                                               /* Stores the stronger gold stat color. */
    --stat-zero: #5d5d5d;                                                           /* Stores the muted color for zero values. */
}

/* =========================================================
   GUN Stats v0.3.92 - muted gold, no purple table headers
   ---------------------------------------------------------
   This pass intentionally tones down the cyber/neon gold.
   It also reverts the table header color away from the purple
   blue-gray look introduced in v0.3.91.
   ========================================================= */
.gun-stats-page,
.gun-stats-page.accent-gold,
.gun-stats-page.accent-military,
.gun-stats-page.accent-blue {
    --accent: #e8b923;                                                              /* Stores the primary accent color. */
    --accent-2: #f2cf66;                                                            /* Stores the brighter secondary accent color. */
    --accent-soft: rgba(232, 185, 35, 0.08);                                       /* Stores the transparent soft accent background. */
    --line-strong: rgba(232, 185, 35, 0.46);                                        /* Stores the stronger accent divider color. */
    --stat-gold: #e8b923;                                                      /* Stores the muted gold stat color. */
    --stat-gold-strong: #f2cf66;                                               /* Stores the stronger gold stat color. */
    --stat-zero: #5d5d5d;                                                           /* Stores the muted color for zero values. */
    --stat-heading: #e8b923;                                                        /* Stores the stat section heading color. */
    --stat-table-head: #d8b54e;                                                     /* Stores the stat table header color. */
    --stat-border: rgba(232, 185, 35, 0.22);                                        /* Stores the main stat border color. */
    --stat-border-soft: rgba(232, 185, 35, 0.14);                                   /* Stores the softer stat border color. */
}

/* Player profile game icon and avatar borders: keep the icon, remove neon feel. */
.gun-stats-page .gun-player-game-icon,
.gun-stats-page .avatar {
    color: var(--stat-gold) !important;                                        /* Sets the text color. */
    border-color: rgba(232, 185, 35, 0.22) !important;                              /* Sets the border color. */
    box-shadow: none !important;                                                    /* Adds the element shadow effect. */
    text-shadow: none !important;                                                   /* Adds a shadow or glow to text. */
}

.gun-stats-page .gun-player-game-icon {
    background: radial-gradient(circle at 35% 25%, rgba(232, 185, 35, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.032) !important;                                      /* Sets the element background. */
}
