/* ==========================================================
   WE WHO REMAIN
   PLAYER STATISTICS — DASHBOARD
   ========================================================== */


/* ==========================================================
   CHART COLOURS
   Chart.js reads variables from document.body.
   These override the plugin's old defaults on this page.
   ========================================================== */

body:has(.wwr-ps) {
    --chart-primary: var(--wwr-stat-chart-1, #91c3b6);
    --chart-text: var(--wwr-stat-chart-text, #b5b5b5);
}


/* ==========================================================
   GENERAL PAGE STRUCTURE
   ========================================================== */

.wwr-ps,
.wwr-ps * {
    box-sizing: border-box;
}

.wwr-ps {
    width: 100%;
    max-width: 1400px;
    min-width: 0;
    margin: 35px auto 70px;

    color: var(--wwr-post, #ddd);
}

.wwr-ps a {
    text-decoration: none;
}

.wwr-ps a:hover {
    text-decoration: none;
}

.wwr-ps-section {
    width: 100%;
    min-width: 0;
    margin-bottom: 28px;
}

/* Shared section headings */

.wwr-ps-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
    padding: 13px 18px;

    border: 1px solid var(--wwr-border);
    border-bottom: 0;

    background: rgba(255,255,255,.025);
}

.wwr-ps-section-title {
    font-family: var(--wwr-title);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}


/* ==========================================================
   PLAYER HEADER
   ========================================================== */

.wwr-ps-header {
    margin-bottom: 32px;
    padding: 10px 0 24px;

    border-bottom: 1px solid var(--wwr-border);
}

.wwr-ps-header-label {
    margin-bottom: 13px;

    color: var(--wwr-mid, #999);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.wwr-ps-header-title {
    margin-bottom: 25px;

    font-family: var(--wwr-title);
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}

/* Registration / Last online / Online time */

.wwr-ps-player-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.wwr-ps-player-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;

    min-width: 0;
}

.wwr-ps-player-meta-item > span {
    color: var(--wwr-mid, #999);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .6px;
    line-height: 1.4;
    text-transform: uppercase;
}

.wwr-ps-player-meta-item > div {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* ==========================================================
   MAIN STATISTICS
   ========================================================== */

.wwr-ps-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border: 1px solid var(--wwr-border);
}

.wwr-ps-metric {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 11px;
    min-width: 0;
    min-height: 135px;

    padding: 23px 25px;
}

.wwr-ps-metric + .wwr-ps-metric {
    border-left: 1px solid var(--wwr-border);
}

/* Large numerical figures */

.wwr-ps-metric-value {
    font-family: inherit;
    font-size: clamp(29px, 3vw, 43px);
    font-weight: 500;
    line-height: 1;

    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.wwr-ps-metric-label {
    color: var(--wwr-mid, #999);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .8px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Writing averages beneath the main figures */

.wwr-ps-averages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    border: 1px solid var(--wwr-border);
    border-top: 0;
}

.wwr-ps-average {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
    min-width: 0;
    padding: 15px 25px;
}

.wwr-ps-average + .wwr-ps-average {
    border-left: 1px solid var(--wwr-border);
}

.wwr-ps-average > span {
    color: var(--wwr-mid, #999);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .4px;
    line-height: 1.5;
    text-transform: uppercase;
}

.wwr-ps-average > div {
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}


/* ==========================================================
   MONTHLY POST ACTIVITY — CHART PANEL
   ========================================================== */

.wwr-ps-activity {
    border: 1px solid var(--wwr-border);
    padding: 0;
}

/* Chart heading generated by the plugin */

.wwr-ps .playerdirectory_postactivity_months_headline {
    width: 100%;
    margin: 0;
    padding: 15px 20px;

    border-bottom: 1px solid var(--wwr-border);
    background: rgba(255,255,255,.025);

    color: var(--wwr-post, #ddd);

    font-family: var(--wwr-title);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
}

/* Chart area */

.wwr-ps .playerdirectory_postactivity_months_chart {
    position: relative;

    width: 100%;
    height: 290px;
    min-width: 0;
    margin: 0;

    padding: 24px 20px 17px;
}

/* Chart.js canvas */

.wwr-ps .playerdirectory_postactivity_months_chart canvas {
    display: block;
    max-width: 100%;
}

/* Fallback if monthly activity is displayed as text */

.wwr-ps .playerdirectory_postactivity_months {
    width: 100%;
    margin: 0;
    padding: 20px;
    text-align: left;
}

.wwr-ps .playerdirectory_postactivity_months_poststat {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;

    background: var(--wwr-border);
    border: 1px solid var(--wwr-border);
}

.wwr-ps .playerdirectory_postactivity_months_month {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 8px;
    min-width: 0;
    min-height: 75px;
    padding: 12px 7px;

    background: #101010;
    font-size: 13px;
    font-weight: 500;
}

.wwr-ps .playerdirectory_postactivity_months_monthname {
    color: var(--wwr-mid, #999);

    font-size: 9px;
    font-weight: 500;
    letter-spacing: .3px;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
}


/* ==========================================================
   SCENE HIGHLIGHTS
   ========================================================== */

.wwr-ps-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border: 1px solid var(--wwr-border);
}

.wwr-ps-highlight {
    display: flex;
    flex-direction: column;
    gap: 13px;

    min-width: 0;
    min-height: 105px;
    padding: 20px;
}

.wwr-ps-highlight + .wwr-ps-highlight {
    border-left: 1px solid var(--wwr-border);
}

.wwr-ps-highlight-label {
    color: var(--wwr-mid, #999);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .6px;
    line-height: 1.5;
    text-transform: uppercase;
}

.wwr-ps-highlight-value {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;

    overflow-wrap: anywhere;
}

.wwr-ps-highlight-value a:hover {
    color: var(--wwr-acc);
}


/* ==========================================================
   CHARACTER STATISTICS
   ========================================================== */

.wwr-ps-character-summary {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr);

    border: 1px solid var(--wwr-border);
}

/* Total characters */

.wwr-ps-character-total {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 12px;
    min-width: 0;
    padding: 24px;

    border-right: 1px solid var(--wwr-border);
}

.wwr-ps-character-total-value {
    font-family: inherit;
    font-size: 47px;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.wwr-ps-character-total-label {
    color: var(--wwr-mid, #999);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
}

/* Character facts */

.wwr-ps-character-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wwr-ps-character-fact {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 9px;
    min-width: 0;
    padding: 21px 24px;
}

.wwr-ps-character-fact:nth-child(2n) {
    border-left: 1px solid var(--wwr-border);
}

.wwr-ps-character-fact:nth-child(n+3) {
    border-top: 1px solid var(--wwr-border);
}

.wwr-ps-character-fact > span {
    color: var(--wwr-mid, #999);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .5px;
    line-height: 1.5;
    text-transform: uppercase;
}

.wwr-ps-character-fact > div {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

/* Ages */

.wwr-ps-ages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border: 1px solid var(--wwr-border);
    border-top: 0;
}

.wwr-ps-age {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
    min-width: 0;
    padding: 16px 24px;
}

.wwr-ps-age + .wwr-ps-age {
    border-left: 1px solid var(--wwr-border);
}

.wwr-ps-age > span {
    color: var(--wwr-mid, #999);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .3px;
    line-height: 1.5;
    text-transform: uppercase;
}

.wwr-ps-age > div {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
}


/* ==========================================================
   WWR PLAYER STATISTICS
   CHARACTER COMPARISON BARS
   ========================================================== */

.wwr-ps-comparisons {
    width: 100%;
    min-width: 0;
}

.wwr-ps-comparisons:empty {
    display: none;
}

/* TWO COMPARISON PANELS */

.wwr-ps .playerdirectory_postactivity_perChara {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;

    width: 100%;
    margin: 0;

    text-align: left;
}

/* INDIVIDUAL PANEL */

.wwr-ps .playerdirectory_postactivity_perChara_stat {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;

    border: 1px solid var(--wwr-border);
    background: transparent;
}

/* PANEL HEADING */

.wwr-ps .playerdirectory_postactivity_perChara_headline {
    width: 100%;
    margin: 0;
    padding: 15px 20px;

    border-bottom: 1px solid var(--wwr-border);
    background: rgba(255,255,255,.025);

    color: var(--wwr-post, #ddd);

    font-family: var(--wwr-title);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
}

/* BAR LIST */

.wwr-ps .playerdirectory_postactivity_perChara_bit {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;

    gap: 0;

    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 8px 20px 12px;

    border: 0;
    background: transparent;
}

/* INDIVIDUAL BAR ENTRY */

.wwr-ps .wwr-ps-bar-row {
    display: flex;
    flex-direction: column;
    gap: 9px;

    width: 100%;
    min-width: 0;
    padding: 15px 0;

    border-bottom: 1px solid var(--wwr-border);
}

.wwr-ps .wwr-ps-bar-row:last-child {
    border-bottom: 0;
}

/* NAME & VALUE */

.wwr-ps .wwr-ps-bar-info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;

    min-width: 0;
}

.wwr-ps .wwr-ps-bar-name {
    min-width: 0;

    color: var(--wwr-post, #ddd);

    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

.wwr-ps .wwr-ps-bar-count {
    flex-shrink: 0;

    color: var(--wwr-post, #ddd);

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* BAR TRACK */

.wwr-ps .wwr-ps-bar-track {
    position: relative;

    width: 100%;
    height: 9px;

    overflow: hidden;
}

/* COLOURED FILL */

.wwr-ps .wwr-ps-bar-fill {
    display: block;

    width: 0;
    height: 100%;

    background: var(--wwr-stat-chart-1, #2b2c54);

    box-shadow: inset 0 0 0 1px rgba(255,255,255,.13);

    transition: width .35s ease;
}

/* POSTS = INDIGO */

.wwr-ps .playerdirectory_postactivity_perChara_stat:first-child
.wwr-ps-bar-fill {
    background: var(--wwr-stat-chart-1, #2b2c54);
}

/* SCENES = FOREST */

.wwr-ps .playerdirectory_postactivity_perChara_stat:nth-child(2)
.wwr-ps-bar-fill {
    background: var(--wwr-stat-chart-2, #38542b);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 850px) {

    .wwr-ps .playerdirectory_postactivity_perChara {
        grid-template-columns: minmax(0, 1fr);
    }

}

@media (max-width: 600px) {

    .wwr-ps .playerdirectory_postactivity_perChara_headline {
        padding: 12px 15px;
        font-size: 20px;
    }

    .wwr-ps .playerdirectory_postactivity_perChara_bit {
        padding: 5px 15px 10px;
    }

    .wwr-ps .wwr-ps-bar-row {
        padding: 13px 0;
    }

}

@media (prefers-reduced-motion: reduce) {

    .wwr-ps .wwr-ps-bar-fill {
        transition: none;
    }

}


/* ==========================================================
   OPTIONAL INPLAY QUOTE
   ========================================================== */

.wwr-ps > .playerdirectory_inplayquote {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 22px;

    width: 100%;
    min-width: 0;
    margin: 0 0 28px;
    padding: 20px;

    border: 1px solid var(--wwr-border);
}

.wwr-ps .playerdirectory_inplayquote_avatar {
    width: 90px;
    min-width: 0;
}

.wwr-ps .playerdirectory_inplayquote_avatar img {
    display: block;
    width: 90px;
    height: 90px;

    border: 1px solid var(--wwr-border);
    border-radius: 50%;

    object-fit: cover;
}

.wwr-ps .playerdirectory_inplayquote_container {
    width: 100%;
    min-width: 0;
}

.wwr-ps .playerdirectory_quote {
    width: 100%;
    margin: 0 0 13px;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
}

.wwr-ps .playerdirectory_quote_user {
    font-size: 11px;
    line-height: 1.5;
    text-align: left;
}

.wwr-ps .playerdirectory_quote_user b {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.wwr-ps .playerdirectory_quote_user span {
    color: var(--wwr-mid, #999);
    font-size: 11px;
    font-style: normal;
}


/* ==========================================================
   WWR PLAYER STATISTICS — CHARACTER ROSTER
   ========================================================== */

/* GRID */

.wwr-ps .wwr-ps-roster-list {
    display: grid;
    grid-template-columns: repeat(
        auto-fill,
        minmax(min(100%, 190px), 1fr)
    );
    align-items: stretch;
    gap: 16px;

    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;
}


/* INDIVIDUAL CARD */

.wwr-ps .wwr-ps-roster-list .wwr-ps-character-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;

    border: 1px solid var(--wwr-border);
    background: rgba(255,255,255,.015);

    overflow: hidden;
    transition: border-color .2s ease;
}

.wwr-ps .wwr-ps-roster-list .wwr-ps-character-card:hover {
    border-color: var(--wwr-mid);
}

.wwr-ps .wwr-ps-roster-list .wwr-ps-character-card
+ .wwr-ps-character-card {
    border-top: 1px solid var(--wwr-border);
}


/* ==========================================================
   PORTRAIT
   ========================================================== */

.wwr-ps .wwr-ps-card-image {
    display: block;
    position: relative;

    width: 100%;
    aspect-ratio: 3 / 4;

    min-width: 0;
    overflow: hidden;

    border-bottom: 1px solid var(--wwr-border);
    background: #111;
}

.wwr-ps .wwr-ps-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition: transform .35s ease;
}

.wwr-ps .wwr-ps-character-card:hover .wwr-ps-card-image img {
    transform: scale(1.035);
}


/* ==========================================================
   CARD CONTENT
   ========================================================== */

.wwr-ps .wwr-ps-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    width: 100%;
    min-width: 0;
    padding: 16px;
}


/* NAME AND AGE */

.wwr-ps .wwr-ps-card-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;

    margin-bottom: 5px;
}

.wwr-ps .wwr-ps-card-name {
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}

.wwr-ps .wwr-ps-card-name a {
    font-weight: 500;
    text-decoration: none;
}

.wwr-ps .wwr-ps-card-name a:hover {
    color: var(--wwr-acc);
}

.wwr-ps .wwr-ps-card-age {
    color: var(--wwr-mid);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}


/* CHARACTER GROUP / USERTITLE */

.wwr-ps .wwr-ps-card-group {
    margin: 8px 0 15px;

    color: var(--wwr-mid);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .6px;
    line-height: 1.5;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}


/* ==========================================================
   REGISTRATION & LAST ACTIVITY
   ========================================================== */

.wwr-ps .wwr-ps-card-details {
    display: flex;
    flex-direction: column;
    gap: 11px;

    padding: 14px 0;

    border-top: 1px solid var(--wwr-border);
}

.wwr-ps .wwr-ps-card-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;

    min-width: 0;
}

.wwr-ps .wwr-ps-card-detail > span {
    color: var(--wwr-mid);

    font-size: 9px;
    font-weight: 500;
    letter-spacing: .5px;
    line-height: 1.4;
    text-transform: uppercase;
}

.wwr-ps .wwr-ps-card-detail > div {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* ==========================================================
   INPLAY INFORMATION
   ========================================================== */

.wwr-ps .wwr-ps-card-inplay {
    margin-top: auto;
    padding: 13px 0;

    border-top: 1px solid var(--wwr-border);

    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}

.wwr-ps .wwr-ps-card-inplay b,
.wwr-ps .wwr-ps-card-inplay strong {
    font-weight: 500;
}


/* ==========================================================
   STATISTICS LINK
   ========================================================== */

.wwr-ps .wwr-ps-card-footer {
    min-height: 34px;
    padding-top: 12px;

    border-top: 1px solid var(--wwr-border);

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .35px;
    line-height: 1.5;
    text-transform: uppercase;
}

.wwr-ps .wwr-ps-card-footer:empty {
    display: none;
}

.wwr-ps .wwr-ps-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--wwr-post, #ddd);
    text-decoration: none;
}

.wwr-ps .wwr-ps-card-footer a:hover {
    color: var(--wwr-acc);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 700px) {

    .wwr-ps .wwr-ps-roster-list {
        grid-template-columns: repeat(
            2,
            minmax(0, 1fr)
        );
        gap: 12px;
    }

    .wwr-ps .wwr-ps-card-content {
        padding: 12px;
    }

    .wwr-ps .wwr-ps-card-name {
        font-size: 12px;
    }

}

@media (max-width: 350px) {

    .wwr-ps .wwr-ps-roster-list {
        grid-template-columns: minmax(0, 1fr);
    }

}

@media (prefers-reduced-motion: reduce) {

    .wwr-ps .wwr-ps-card-image img,
    .wwr-ps .wwr-ps-character-card {
        transition: none;
    }

}


/* ==========================================================
   RESPONSIVE — MEDIUM DESKTOP
   ========================================================== */

@media (max-width: 1100px) {

    .wwr-ps-metric {
        padding: 21px 18px;
    }

    .wwr-ps-character-fact {
        padding: 19px;
    }

    .wwr-ps-age {
        padding: 15px 18px;
    }

}


/* ==========================================================
   RESPONSIVE — TABLET
   ========================================================== */

@media (max-width: 850px) {

    .wwr-ps-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wwr-ps-metric:nth-child(3) {
        border-left: 0;
    }

    .wwr-ps-metric:nth-child(n+3) {
        border-top: 1px solid var(--wwr-border);
    }

    .wwr-ps-highlights {
        grid-template-columns: minmax(0, 1fr);
    }

    .wwr-ps-highlight + .wwr-ps-highlight {
        border-left: 0;
        border-top: 1px solid var(--wwr-border);
    }

    .wwr-ps-highlight {
        min-height: 0;
    }

    .wwr-ps .playerdirectory_postactivity_perChara {
        grid-template-columns: minmax(0, 1fr);
    }

}


/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .wwr-ps {
        margin: 25px auto 50px;
    }

    .wwr-ps-section {
        margin-bottom: 20px;
    }

    .wwr-ps-section-head {
        padding: 12px 15px;
    }

    .wwr-ps-section-title {
        font-size: 21px;
    }

    /* Header */

    .wwr-ps-header {
        padding-bottom: 20px;
    }

    .wwr-ps-header-title {
        margin-bottom: 20px;
    }

    .wwr-ps-player-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    /* Main figures */

    .wwr-ps-metric {
        min-height: 110px;
        padding: 18px 15px;
    }

    .wwr-ps-metric-value {
        font-size: 31px;
    }

    .wwr-ps-averages {
        grid-template-columns: minmax(0, 1fr);
    }

    .wwr-ps-average + .wwr-ps-average {
        border-left: 0;
        border-top: 1px solid var(--wwr-border);
    }

    .wwr-ps-average {
        padding: 12px 15px;
    }

    /* Chart */

    .wwr-ps .playerdirectory_postactivity_months_headline {
        padding: 12px 15px;
        font-size: 21px;
    }

    .wwr-ps .playerdirectory_postactivity_months_chart {
        height: 245px;
        padding: 18px 8px 12px;
    }

    .wwr-ps .playerdirectory_postactivity_months_poststat {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Character statistics */

    .wwr-ps-character-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .wwr-ps-character-total {
        padding: 18px;
        border-right: 0;
        border-bottom: 1px solid var(--wwr-border);
    }

    .wwr-ps-character-fact {
        padding: 15px;
    }

    .wwr-ps-ages {
        grid-template-columns: minmax(0, 1fr);
    }

    .wwr-ps-age + .wwr-ps-age {
        border-left: 0;
        border-top: 1px solid var(--wwr-border);
    }

    /* Comparison charts */

    .wwr-ps .playerdirectory_postactivity_perChara_headline {
        padding: 12px 15px;
        font-size: 20px;
    }

    .wwr-ps .playerdirectory_postactivity_perChara_chart {
        height: 240px;
        padding: 15px 10px;
    }

    /* Quote */

    .wwr-ps > .playerdirectory_inplayquote {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 15px;
        padding: 15px;
    }

    .wwr-ps .playerdirectory_inplayquote_avatar {
        width: 60px;
    }

    .wwr-ps .playerdirectory_inplayquote_avatar img {
        width: 60px;
        height: 60px;
    }

}


/* ==========================================================
   RESPONSIVE — NARROW MOBILE
   ========================================================== */

@media (max-width: 400px) {

    .wwr-ps-player-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .wwr-ps-character-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .wwr-ps-character-fact {
        border-left: 0 !important;
        border-top: 0;
    }

    .wwr-ps-character-fact + .wwr-ps-character-fact {
        border-top: 1px solid var(--wwr-border);
    }

    .wwr-ps .playerdirectory_playerstat_characters {
        grid-template-columns: 75px minmax(0, 1fr);
    }

    .wwr-ps .playerdirectory_playerstat_avatar {
        width: 75px;
        padding: 8px;
    }

    .wwr-ps .playerdirectory_playerstat_infos {
        padding: 12px;
    }

}

/* ==========================================================
   WE WHO REMAIN
   CHARACTER STATISTICS — HEADER
   ========================================================== */

.wwr-cs .wwr-cs-hero {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: stretch;

    width: 100%;
    min-width: 0;
    margin-bottom: 32px;

    border: 1px solid var(--wwr-border);
}

/* CHARACTER PORTRAIT */

.wwr-cs .wwr-cs-portrait {
    display: block;
    position: relative;

    width: 100%;
    min-width: 0;
    aspect-ratio: 3 / 4;

    overflow: hidden;
    border-right: 1px solid var(--wwr-border);
    background: #111;
}

.wwr-cs .wwr-cs-portrait img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition: transform .35s ease;
}

.wwr-cs .wwr-cs-portrait:hover img {
    transform: scale(1.035);
}

/* CHARACTER IDENTITY */

.wwr-cs .wwr-cs-identity {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 0;
    min-width: 0;
    padding: 30px 35px;
}

.wwr-cs .wwr-cs-name {
    margin: 0 0 10px;

    font-family: var(--wwr-title);
    font-size: clamp(30px, 3.5vw, 49px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}

.wwr-cs .wwr-cs-name a {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.wwr-cs .wwr-cs-subtitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px 18px;
    margin-bottom: 30px;

    color: var(--wwr-mid);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
}

.wwr-cs .wwr-cs-subtitle span + span {
    padding-left: 18px;
    border-left: 1px solid var(--wwr-border);
}

/* DIVIDER ABOVE ACCOUNT INFORMATION */

.wwr-cs .wwr-ps-player-meta {
    padding-top: 20px;
    border-top: 1px solid var(--wwr-border);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 800px) {

    .wwr-cs .wwr-cs-hero {
        grid-template-columns: 165px minmax(0, 1fr);
    }

    .wwr-cs .wwr-cs-identity {
        padding: 22px;
    }

    .wwr-cs .wwr-cs-name {
        font-size: clamp(27px, 4vw, 38px);
    }

    .wwr-cs .wwr-cs-subtitle {
        margin-bottom: 20px;
    }

}

@media (max-width: 600px) {

    .wwr-cs .wwr-cs-hero {
        grid-template-columns: 115px minmax(0, 1fr);
        margin-bottom: 22px;
    }

    .wwr-cs .wwr-cs-portrait {
        aspect-ratio: auto;
    }

    .wwr-cs .wwr-cs-identity {
        padding: 15px;
    }

    .wwr-cs .wwr-cs-name {
        font-size: 27px;
    }

    .wwr-cs .wwr-cs-subtitle {
        margin-bottom: 15px;
        gap: 5px 12px;
    }

    .wwr-cs .wwr-cs-subtitle span + span {
        padding-left: 12px;
    }

    .wwr-cs .wwr-ps-player-meta {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding-top: 14px;
    }

}

@media (max-width: 400px) {

    .wwr-cs .wwr-cs-hero {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .wwr-cs .wwr-cs-name {
        font-size: 23px;
    }

    .wwr-cs .wwr-cs-identity {
        padding: 12px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .wwr-cs .wwr-cs-portrait img {
        transition: none;
    }

}