:root {
    --game-life-bg: #0a1119;
    --game-life-surface: #111b25;
    --game-life-surface-strong: #162331;
    --game-life-line: #2a3a48;
    --game-life-ink: #f1f5f8;
    --game-life-muted: #9aa9b6;
    --game-life-blue: #4b8df8;
    --game-life-blue-soft: #17345c;
    --game-life-green: #62cf8f;
    --game-life-amber: #f0b75d;
}

body.game-life-page {
    margin: 0;
    overflow-x: hidden;
    color: var(--game-life-ink);
    background: var(--game-life-bg);
    font-family: system-ui, sans-serif;
}

.game-life-main,
.game-life-dashboard,
.game-life-primary-column,
.game-life-side-column,
.game-life-panel,
.game-life-profile,
.game-life-tabs {
    min-width: 0;
}

.game-life-page .site-page-header {
    color: var(--game-life-ink);
    border-color: var(--game-life-line);
    background: #0f1822;
}

.game-life-page .site-page-header-summary,
.game-life-page .site-page-header-aside span,
.game-life-page .site-page-header-aside small {
    color: var(--game-life-muted);
}

.game-life-page .site-page-header-aside {
    border-color: var(--game-life-line);
    background: #131f2a;
}

.game-life-page .site-page-header.has-actions .site-page-header-rail,
.game-life-page .site-page-header.has-actions .site-page-header-aside {
    border-color: var(--game-life-line);
}

.game-life-page .site-page-header.has-actions .site-page-header-aside {
    background: transparent;
}

.game-life-page a:not(.pm-button) {
    color: inherit;
}

.game-life-sync-header-action {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: flex-end;
    width: 100%;
}

.game-life-sync-header-action__status {
    flex: 1 1 132px;
    min-width: 0;
    display: grid;
    gap: 2px;
    margin: 0;
}

.game-life-sync-header-action__status span {
    color: var(--game-life-muted);
    font-size: .7rem;
    font-weight: 750;
}

.game-life-sync-header-action__status strong {
    overflow-wrap: anywhere;
    color: var(--game-life-ink);
    font-size: .82rem;
    line-height: 1.35;
}

.game-life-sync-header-action form {
    flex: 0 1 auto;
    max-width: 100%;
    margin: 0;
}

.game-life-sync-header-action__button {
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (min-width: 901px) {
    .game-life-page .site-page-header.has-actions .site-page-header-rail {
        padding-left: 8px;
    }
}

@media (max-width: 640px) {
    .game-life-sync-header-action {
        align-items: center;
    }

    .game-life-sync-header-action__status {
        flex-basis: 150px;
    }
}

.game-life-preview-banner {
    margin: 0 0 clamp(
        22px,
        2vw,
        var(--site-page-header-bottom-gap)
    );
}

.game-life-preview-banner p {
    margin: 0 0 8px;
}

.game-life-preview-banner > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
}

.game-life-preview-banner a {
    display: inline-flex;
    align-items: center;
    min-height: var(--site-nav-item-height);
}

.game-life-tabs {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    margin: 0 0 16px;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    border: 1px solid var(--game-life-line);
    border-radius: 6px;
    background: #0f1822;
}

.game-life-tabs a,
.game-life-tabs span {
    box-sizing: border-box;
    position: relative;
    display: inline-flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    min-height: 46px;
    padding: 0 16px;
    color: #c3ced7;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.game-life-tabs a:hover,
.game-life-tabs a:focus-visible {
    color: #ffffff;
    background: #162533;
}

.game-life-tabs .is-active {
    color: #7eb0ff;
    background: #13253c;
}

.game-life-tabs .is-active::after {
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 3px;
    content: "";
    background: var(--game-life-blue);
}

.game-life-tabs span[aria-disabled="true"] {
    color: #697987;
    cursor: default;
}

.game-life-profile {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 24px;
    align-items: center;
    margin-bottom: 16px;
    padding: 20px 24px;
    border: 1px solid var(--game-life-line);
    border-radius: 7px;
    background: #111c27;
    box-shadow: 0 16px 35px rgb(0 0 0 / 16%);
}

.game-life-profile-identity {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    min-width: 0;
}

.game-life-profile-avatar {
    position: relative;
    display: block;
    width: 112px;
    height: 112px;
    overflow: hidden;
    border: 2px solid #d7e2ea;
    border-radius: 50%;
    background: #253747;
    box-shadow: 0 8px 20px rgb(0 0 0 / 30%);
}

.game-life-profile-avatar img,
.game-life-profile-avatar-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.game-life-profile-avatar img {
    display: block;
    object-fit: cover;
}

.game-life-profile-avatar-fallback {
    display: grid;
    place-items: center;
    color: #a7b7c4;
}

.game-life-profile-avatar-fallback svg {
    width: 54px;
    height: 54px;
}

.game-life-profile-copy {
    min-width: 0;
}

.game-life-profile-name-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: baseline;
}

.game-life-profile-copy h2 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.15;
    letter-spacing: 0;
}

.game-life-public-number {
    color: #8fa2b5;
    font-size: 0.8rem;
    font-weight: 700;
}

.game-life-profile-title {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 9px;
    padding: 4px 9px;
    border: 1px solid #37649e;
    border-radius: 4px;
    color: #8fbbff;
    background: #132b4b;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
}

.game-life-profile-title.is-common {
    color: #d3dbe2;
    border-color: #758391;
    background: #1a242d;
}

.game-life-profile-title.is-uncommon {
    color: #74dda0;
    border-color: #3b9362;
    background: #112b20;
}

.game-life-profile-title.is-rare {
    color: #83b9ff;
    border-color: #37649e;
    background: #132b4b;
}

.game-life-profile-title.is-epic {
    color: #d5a9ff;
    border-color: #8151ad;
    background: #281a39;
}

.game-life-profile-title.is-legendary {
    color: #f7cf72;
    border-color: #a47b2b;
    background: #332710;
}

.game-life-profile-copy > p {
    margin: 12px 0 10px;
    color: #c8d1d9;
    line-height: 1.55;
}

.game-life-profile-bio {
    white-space: normal;
    overflow-wrap: anywhere;
}

.game-life-profile-bio.is-empty {
    color: #9aabba;
}

.game-life-profile-bio a {
    color: #8fbbff;
}

.game-life-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 0 0 10px;
}

.game-life-profile-links a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.game-life-profile-link {
    gap: 0.35rem;
    min-width: 44px;
    min-height: 44px;
    border-color: rgb(255 255 255 / 22%);
    color: #fff;
    box-shadow: 0 5px 14px rgb(0 0 0 / 18%);
}

.game-life-profile-link:not(.is-custom) {
    width: 44px;
    padding: 0;
}

.game-life-profile-link.is-custom {
    padding-inline: 12px;
    background: #42647a;
}

.game-life-profile-link.is-youtube {
    background: #f00;
}

.game-life-profile-link.is-twitch {
    background: #9146ff;
}

.game-life-profile-link.is-discord {
    background: #5865f2;
}

.game-life-profile-discord {
    position: relative;
    display: inline-grid;
}

.game-life-profile-discord > button {
    appearance: none;
}

.game-life-discord-popover {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    width: min(260px, calc(100vw - 32px));
    gap: 0.55rem;
    padding: 0.8rem;
    border: 1px solid #435873;
    border-radius: 8px;
    background: #101d2d;
    box-shadow: 0 14px 32px rgb(0 0 0 / 42%);
    color: #edf4fb;
}

.game-life-discord-popover[hidden] {
    display: none;
}

.game-life-discord-popover strong,
.game-life-discord-username {
    min-width: 0;
    overflow-wrap: anywhere;
}

.game-life-discord-username {
    color: #cbd7e6;
    font-size: 0.9rem;
}

.game-life-discord-popover .pm-button {
    width: 100%;
    min-width: 0;
    justify-content: center;
}

.game-life-discord-popover small {
    min-height: 1.2em;
    color: #a9bbce;
    text-align: center;
}

@media (max-width: 520px) {
    .game-life-discord-popover {
        position: fixed;
        top: auto;
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        width: auto;
    }
}

.game-life-profile-link.is-x {
    background: #000;
}

.game-life-profile-link.is-instagram {
    background: linear-gradient(135deg, #833ab4, #c13584 45%, #fd1d1d 70%, #fcb045);
}

.game-life-profile-link:hover {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.game-life-profile-link:focus-visible {
    outline: 3px solid #f3c969;
    outline-offset: 2px;
}

.game-life-profile-link > span:first-child {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
}

.game-life-profile-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.game-life-profile-link .profile-link-icon-fill {
    fill: currentColor;
    stroke: none;
}

.game-life-profile-link .profile-link-icon-cutout {
    fill: #f00;
    stroke: none;
}

.game-life-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
    color: var(--game-life-muted);
    font-size: 0.78rem;
}

.game-life-status-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--game-life-green);
    box-shadow: 0 0 0 3px rgb(98 207 143 / 12%);
}

.game-life-profile-side {
    display: grid;
    gap: 14px;
}

.game-life-social-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

.game-life-social-stats > div {
    min-width: 0;
    padding: 9px 7px;
    text-align: center;
    border-left: 1px solid var(--game-life-line);
}

.game-life-social-stats > div:first-child {
    border-left: 0;
}

.game-life-social-stats dt {
    overflow: hidden;
    color: var(--game-life-muted);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-life-social-stats dd {
    margin: 5px 0 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.game-life-button:not(.pm-button) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #4b8df8;
    border-radius: 5px;
    color: #ffffff;
    background: #2767c9;
    font-weight: 750;
    text-decoration: none;
}

.game-life-button:not(.pm-button):hover,
.game-life-button:not(.pm-button):focus-visible {
    background: #3477dc;
}

.game-life-button svg,
.game-life-profile-edit svg {
    width: 17px;
    height: 17px;
}

.game-life-profile-edit {
    justify-self: stretch;
}

.game-life-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.game-life-profile-actions form {
    margin: 0;
}

.game-life-mutual-follow {
    color: var(--game-life-muted);
    font-size: 0.78rem;
}

.game-life-panel {
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--game-life-line);
    border-radius: 7px;
    background: var(--game-life-surface);
}

/*
 * LibrarySidebar visual contract.
 *
 * LibrarySidebar.php is the sole markup source and this stylesheet is the
 * sole visual source. Page-specific stylesheets must not target
 * .library-side-column or its descendants.
 */
.library-side-column {
    gap: var(--site-two-column-gap, 16px);
    color: var(--game-life-ink);
    font-family: system-ui, sans-serif;
}

.library-side-column > .game-life-panel {
    width: 100%;
    padding: 0;
    border: 1px solid var(--game-life-line);
    border-radius: 7px;
    background: var(--game-life-surface);
}

.game-life-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    padding: 0 14px;
    border-bottom: 1px solid var(--game-life-line);
}

.game-life-panel-heading.compact {
    min-height: 50px;
}

.game-life-panel-heading p {
    margin: 0 0 2px;
    color: #68a2fa;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.game-life-panel-heading h2 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.library-side-column .game-life-panel-heading h2 {
    color: var(--game-life-ink);
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
}

.game-life-panel-heading > a:not(.pm-button) {
    color: #aebdca;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

.game-life-panel-heading > a:not(.pm-button):hover,
.game-life-panel-heading > a:not(.pm-button):focus-visible {
    color: #ffffff;
}

.library-side-column .game-life-panel-heading > a:not(.pm-button) {
    color: #aebdca;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.library-side-column .game-life-panel-heading > a:not(.pm-button):hover,
.library-side-column .game-life-panel-heading > a:not(.pm-button):focus-visible {
    color: #ffffff;
}

.library-side-column .game-life-playtime-report-panel .game-life-panel-heading p {
    margin: 0 0 2px;
    color: #68a2fa;
    font-family: inherit;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.game-life-play-diff .game-life-panel-heading time {
    flex: 0 0 auto;
    color: var(--game-life-muted);
    font-size: 0.72rem;
}

.game-life-play-diff-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
}

.game-life-play-diff-summary article {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--game-life-line);
    border-radius: 6px;
    background: #0d1720;
}

.game-life-play-diff-summary small,
.game-life-play-diff-games small {
    color: var(--game-life-muted);
}

.game-life-play-diff-summary strong {
    color: var(--game-life-green);
    font-size: 1.12rem;
}

.game-life-play-diff-games {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
}

.game-life-play-diff-games article,
.game-life-play-diff-games a,
.game-life-play-diff-games span {
    min-width: 0;
}

.game-life-play-diff-games a {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 58px;
    color: inherit;
    text-decoration: none;
}

.game-life-play-diff-games img,
.game-life-play-diff-games a > span:first-child {
    display: block;
    width: 92px;
    aspect-ratio: 184 / 86;
    object-fit: cover;
    border-radius: 4px;
    background: #091119;
}

.game-life-play-diff-games a > span {
    display: grid;
    gap: 4px;
}

.game-life-play-diff-games strong {
    overflow-wrap: anywhere;
    font-size: 0.78rem;
    line-height: 1.4;
}

.game-life-play-diff-games a:hover strong,
.game-life-play-diff-games a:focus-visible strong {
    color: #8fbbff;
}

.game-life-play-diff-empty {
    padding: 18px 14px;
}

.game-life-play-diff-empty strong {
    display: block;
    font-size: 0.94rem;
}

.game-life-play-diff-empty p {
    margin: 7px 0 0;
    color: var(--game-life-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.game-life-play-diff-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #83b2f8;
    font-size: 0.8rem;
    font-weight: 700;
}

.game-life-favorite-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px;
    padding: 12px;
}

.game-life-favorite-status,
.game-life-favorite-label {
    border: 1px solid #2e6099;
    border-radius: 999px;
    color: #83b8ff;
    background: #102744;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.game-life-favorite-status {
    padding: 6px 9px;
}

.game-life-favorite-note {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 0;
    padding: 10px 12px 0;
    color: #91a5b5;
    font-size: 0.74rem;
}

.game-life-favorite-note strong {
    color: #d7e2eb;
}

.game-life-favorite-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--game-life-line);
    border-radius: 5px;
    background: #0d161f;
}

.game-life-favorite-image {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 460 / 215;
    overflow: hidden;
    color: #718594;
    background: #1c2b37;
}

.game-life-favorite-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-life-favorite-image svg {
    width: 28px;
    height: 28px;
}

.game-life-favorite-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    padding: 9px 10px 10px;
}

.game-life-favorite-label {
    padding: 4px 7px;
}

.game-life-favorite-copy h3 {
    display: -webkit-box;
    width: 100%;
    min-height: 2.5em;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #f4f8fb;
    font-size: 0.84rem;
    line-height: 1.25;
}

.game-life-favorite-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.game-life-favorite-copy h3 a:hover,
.game-life-favorite-copy h3 a:focus-visible {
    color: #83b8ff;
}

.game-life-favorite-copy p {
    margin: auto 0 0;
    color: #9fb2c1;
    font-size: 0.74rem;
    font-weight: 700;
}

.game-life-favorite-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 12px 12px;
}

.game-life-favorite-actions button,
.game-life-favorite-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #344857;
    border-radius: 4px;
    color: #758895;
    background: #111d27;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.game-life-favorite-empty {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    min-height: 148px;
    height: 100%;
    gap: 4px;
    border: 1px dashed #405361;
    border-radius: 5px;
    color: #8193a0;
    background: #0c151e;
    text-decoration: none;
}

.game-life-favorite-empty:hover,
.game-life-favorite-empty:focus-visible {
    border-color: #4d91ec;
    color: #a9ccff;
}

.game-life-favorite-empty svg {
    width: 24px;
    height: 24px;
}

.game-life-favorite-empty strong {
    font-size: 0.76rem;
}

.game-life-recent-scroll {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.game-life-public-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.game-life-wishlist-preview .game-list-add-trigger {
    min-height: 30px;
    margin-top: 7px;
    padding: 4px 9px;
    font-size: 12px;
}

@media (max-width: 700px) {
    .game-life-public-list-grid,
    .game-life-wishlist-preview {
        grid-template-columns: minmax(0, 1fr);
    }

    .game-life-public-list-grid .game-list-card:nth-child(n + 3),
    .game-life-wishlist-preview .game-life-recent-card:nth-child(n + 3) {
        display: none;
    }
}

.game-life-recent-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--game-life-line);
    border-radius: 5px;
    background: #0d161f;
}

.game-life-recent-visual {
    position: relative;
}

.game-life-recent-image {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 460 / 215;
    overflow: hidden;
    color: #718594;
    background: #1c2b37;
}

.game-life-recent-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-life-recent-image svg {
    width: 32px;
    height: 32px;
}

.game-life-recent-copy {
    padding: 9px 10px 10px;
}

.game-life-recent-copy h3 {
    display: -webkit-box;
    min-height: 2.5em;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.25;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.game-life-recent-copy h3 a {
    color: var(--game-life-ink);
    text-decoration: none;
}

.game-life-recent-copy p,
.game-life-recent-copy strong {
    display: block;
    margin: 0;
    color: var(--game-life-muted);
    font-size: 0.69rem;
    line-height: 1.45;
}

.game-life-recent-copy strong {
    margin-top: 3px;
    color: #83b2f8;
}

.game-life-activity-list {
    margin: 0;
    padding: 4px 14px 10px;
    list-style: none;
}

.game-life-activity-list li {
    position: relative;
    display: grid;
    grid-template-columns: 38px 132px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 6px 0;
    border-bottom: 1px solid #22313e;
}

.game-life-activity-list li:last-child {
    border-bottom: 0;
}

.game-life-activity-marker {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border: 1px solid #344758;
    border-radius: 4px;
    color: #73a9f8;
    background: #172633;
}

.game-life-activity-marker svg {
    width: 18px;
    height: 18px;
}

.game-life-activity-marker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-life-activity-list time {
    color: var(--game-life-muted);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.game-life-activity-list a,
.game-life-activity-list strong {
    color: #dbe4ea;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.game-life-activity-list p {
    margin: 2px 0 0;
    color: #8293a0;
    font-size: 0.7rem;
}

.game-life-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    padding: 12px;
}

.game-life-stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    align-items: center;
    justify-items: center;
    min-width: 0;
    padding: 10px 6px;
    border: 1px solid var(--game-life-line);
    border-radius: 5px;
    background: #121e29;
}

.game-life-stat > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #70a9fa;
}

.game-life-stat__link {
    display: block;
    min-width: 0;
    color: inherit;
    text-align: center;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.game-life-stat__link:hover,
.game-life-stat__link:focus-visible {
    color: #ffffff;
}

.game-life-stat:nth-child(2) > span {
    color: var(--game-life-green);
}

.game-life-stat:nth-child(3) > span {
    color: var(--game-life-amber);
}

.game-life-stat:nth-child(4) > span {
    color: #a788ff;
}

.game-life-stat svg {
    width: 22px;
    height: 22px;
}

.game-life-stat small,
.game-life-stat strong {
    display: block;
}

.game-life-stat small {
    overflow: hidden;
    color: var(--game-life-muted);
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 400;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-life-stat strong {
    margin-top: 3px;
    color: var(--game-life-ink);
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.game-life-stat.is-active {
    border-color: #386da9;
    background: #122b48;
}

.game-life-panel-link.pm-button {
    display: flex;
    margin: 0 12px 12px;
}

.game-life-title-empty {
    display: grid;
    place-items: center;
    min-height: 118px;
    padding: 18px;
    color: var(--game-life-muted);
    text-align: center;
}

.game-life-title-empty svg {
    width: 30px;
    height: 30px;
    color: var(--game-life-amber);
}

.game-life-title-empty p {
    margin: 9px 0 0;
    font-size: 0.78rem;
}

.game-life-title-list {
    display: grid;
    padding: 4px 12px;
}

.game-life-title-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 9px 0;
    border-bottom: 1px solid #22313e;
}

.game-life-title-item:last-child {
    border-bottom: 0;
}

.game-life-title-item > span:first-child {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.game-life-title-item svg {
    width: 17px;
    height: 17px;
}

.game-life-title-item strong,
.game-life-title-item small {
    display: block;
}

.game-life-title-item strong {
    color: inherit;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
}

.game-life-title-item small {
    margin-top: 3px;
    color: var(--game-life-muted);
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 400;
    line-height: 1.35;
}

.game-life-title-item .is-common {
    color: #aeb9c5;
}

.game-life-title-item .is-uncommon {
    color: #65c98c;
}

.game-life-title-item .is-rare {
    color: #62a8ff;
}

.game-life-title-item .is-epic {
    color: #bc85ff;
}

.game-life-title-item .is-legendary {
    color: #f1bd56;
}

.game-life-diagnosis-list {
    display: grid;
    gap: 0;
    padding: 4px 12px;
}

.game-life-diagnosis-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #22313e;
}

.game-life-diagnosis-card:last-child {
    border-bottom: 0;
}

.game-life-diagnosis-card.has-visual {
    grid-template-columns: 64px minmax(0, 1fr);
}

.game-life-diagnosis-card__visual {
    grid-row: 1 / span 2;
    width: 64px;
    height: 64px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #2a3a48;
    border-radius: 5px;
    background: #0c151e;
}

.game-life-diagnosis-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-life-diagnosis-card h3,
.game-life-diagnosis-card p,
.game-life-diagnosis-card time {
    margin: 0;
}

.game-life-diagnosis-card h3 {
    color: var(--game-life-ink);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.game-life-diagnosis-card__copy > strong {
    display: block;
    margin-top: 3px;
    color: #f1f5f8;
    font-size: 0.78rem;
    line-height: 1.35;
}

.game-life-diagnosis-card p {
    margin-top: 3px;
    color: #c5d0d8;
    font-size: 0.72rem;
    line-height: 1.35;
}

.game-life-diagnosis-card .game-life-diagnosis-card__value {
    color: #74dda0;
    font-weight: 800;
}

.game-life-diagnosis-card__link {
    grid-column: 1;
    width: fit-content;
    color: #aebdca;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.game-life-diagnosis-card.has-visual .game-life-diagnosis-card__link {
    grid-column: 2;
}

.game-life-diagnosis-card__link:hover,
.game-life-diagnosis-card__link:focus-visible {
    color: #ffffff;
}

.game-life-diagnosis-card time {
    display: block;
    margin-top: 4px;
    color: #8293a0;
    font-family: inherit;
    font-size: 0.65rem;
    font-weight: 400;
    line-height: 1.4;
}

.game-life-playtime-report-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 10px 12px 12px;
    padding: 14px;
    border: 1px solid rgb(71 104 131 / 72%);
    border-radius: 7px;
    background: linear-gradient(145deg, #132536, #101d29);
}

.game-life-playtime-report-card small,
.game-life-playtime-report-card h3,
.game-life-playtime-report-card strong {
    display: block;
    margin: 0;
}

.game-life-playtime-report-card small {
    color: var(--game-life-muted);
    font-size: .7rem;
    font-weight: 700;
}

.game-life-playtime-report-card h3 {
    margin-top: 2px;
    font-size: .82rem;
}

.game-life-playtime-report-card strong {
    margin-top: 5px;
    overflow-wrap: anywhere;
    color: var(--game-life-text);
    font-size: clamp(1.35rem, 4vw, 1.9rem);
    line-height: 1.08;
}

.game-life-empty,
.game-life-alert,
.game-life-login {
    box-sizing: border-box;
    margin: 12px;
    padding: 20px;
    color: var(--game-life-muted);
    text-align: center;
    border: 1px dashed #3c4e5c;
    border-radius: 5px;
    background: #0d161f;
}

.game-life-empty strong,
.game-life-empty p {
    display: block;
    margin: 0;
}

.game-life-empty p {
    margin-top: 7px;
    line-height: 1.55;
}

.game-life-empty a {
    display: inline-block;
    margin-top: 10px;
    color: #83b2f8;
    font-weight: 700;
}

.game-life-diagnosis-empty {
    margin-bottom: 12px;
}

.game-life-alert {
    width: 100%;
    margin: 0 0 16px;
    color: #ffd6a0;
    border-color: #6c5430;
    background: #261f15;
}

.game-life-login {
    display: grid;
    justify-items: center;
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 40px 28px;
}

.game-life-login h2 {
    margin: 14px 0 0;
    color: var(--game-life-ink);
    font-size: 1.35rem;
}

.game-life-login p {
    max-width: 520px;
    margin: 12px 0 20px;
    line-height: 1.7;
}

.game-life-login-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #8cb9fc;
    border-radius: 50%;
    background: #17345c;
}

.game-life-login-icon svg {
    width: 30px;
    height: 30px;
}

.game-life-page svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1320px) {
    .game-life-recent-scroll {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(150px, 32%);
    }
}

@media (max-width: 1180px) {
    .game-life-profile {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 900px) {
    .game-life-profile {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 720px) {
    .game-life-tabs {
        padding: 0 5px;
    }

    .game-life-tabs a,
    .game-life-tabs span {
        flex: 0 0 auto;
        padding: 0 14px;
    }

    .game-life-profile {
        gap: 18px;
        padding: 18px;
    }

    .game-life-profile-identity {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 14px;
    }

    .game-life-profile-avatar {
        width: 82px;
        height: 82px;
    }

    .game-life-favorite-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-life-play-diff-games {
        grid-template-columns: 1fr;
    }

    .game-life-play-diff-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        padding: 8px;
    }

    .game-life-play-diff-summary article {
        gap: 3px;
        padding: 8px 5px;
        text-align: center;
    }

    .game-life-play-diff-summary small {
        overflow-wrap: anywhere;
        font-size: 0.64rem;
        line-height: 1.35;
    }

    .game-life-play-diff-summary strong {
        font-size: 0.94rem;
    }

    .game-life-recent-scroll {
        grid-auto-columns: minmax(155px, 72vw);
    }

    .game-life-wishlist-preview {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-flow: row;
        grid-auto-columns: auto;
        overflow-x: visible;
    }

    .game-life-activity-list li {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px;
    }

    .game-life-activity-list time {
        grid-column: 2;
        grid-row: 2;
    }

    .game-life-activity-list li > div {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 430px) {
    .game-life-profile-identity {
        grid-template-columns: 70px minmax(0, 1fr);
        align-items: start;
    }

    .game-life-profile-avatar {
        width: 70px;
        height: 70px;
    }

    .game-life-profile-copy h2 {
        font-size: 1.3rem;
    }

    .game-life-profile-copy > p {
        grid-column: 1 / -1;
    }

    .game-life-profile-meta {
        gap: 5px 10px;
    }

    .game-life-panel-heading {
        padding: 0 12px;
    }

    .game-life-play-diff .game-life-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .game-life-stats-grid {
        gap: 7px;
        padding: 10px;
    }

    .game-life-stat {
        grid-template-columns: minmax(0, 1fr);
        padding: 9px 7px;
    }

    .game-life-stat > span {
        width: 26px;
    }

    .game-life-stat strong {
        font-size: 1.08rem;
    }

    .game-life-playtime-report-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .game-life-playtime-report-card .pm-button {
        width: 100%;
    }
}
/* Owner-only rating overview. */
.game-life-rating-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.game-life-rating-panel__body {
    padding: 12px;
}

.game-life-rating-panel__body .game-life-empty {
    min-height: 0;
    padding: 12px 6px;
}

.game-life-rating-overview p {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(79, 147, 216, .25);
    border-radius: 6px;
    background: rgba(14, 38, 63, .56);
}

.game-life-rating-overview span {
    color: #9fb3c8;
    font-size: .74rem;
    font-weight: 700;
}

.game-life-rating-overview strong {
    color: #f5f8fc;
    font-size: 1.08rem;
}

.game-life-rating-overview strong small {
    color: #a9bbcc;
    font-size: .7em;
}

.game-life-rating-distribution {
    display: grid;
    gap: 7px;
}

.game-life-rating-distribution__row {
    display: grid;
    grid-template-columns: 30px minmax(64px, 1fr) 36px 44px;
    gap: 7px;
    align-items: center;
    color: #aebdcb;
    font-size: .72rem;
}

.game-life-rating-distribution__row > span,
.game-life-rating-distribution__row > strong,
.game-life-rating-distribution__row > small {
    white-space: nowrap;
}

.game-life-rating-distribution__row > strong,
.game-life-rating-distribution__row > small {
    text-align: right;
}

.game-life-rating-distribution__track {
    width: 100%;
    height: 7px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: #162433;
    color: #3f9cff;
}

.game-life-rating-distribution__track::-webkit-progress-bar {
    border-radius: 999px;
    background: #162433;
}

.game-life-rating-distribution__track::-webkit-progress-value {
    border-radius: 999px;
    background: #3f9cff;
}

.game-life-rating-distribution__track::-moz-progress-bar {
    border-radius: 999px;
    background: #3f9cff;
}

.game-life-rating-empty a {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
}

@media (max-width: 480px) {
    .game-life-rating-distribution__row {
        grid-template-columns: 28px minmax(48px, 1fr) 34px 40px;
        gap: 5px;
    }
}
