:root,
html[data-theme="light"] {
    --qli-bg: #f4f1ea;
    --qli-paper: #f8f6f1;
    --qli-paper-2: #fdfbf7;
    --qli-ink: #111111;
    --qli-muted: #6b645d;
    --qli-line: rgba(17, 17, 17, 0.12);
    --qli-line-strong: rgba(17, 17, 17, 0.2);
    --qli-accent: #E3D59D;
    --qli-accent-soft: #f6efcf;
    --qli-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --qli-radius: 26px;
    --qli-container: 1240px;
    --qli-trans: 240ms ease;
    --qli-cell: 11px;
    --qli-gap: 4px;
    --qli-toggle-track: #d9d1c5;
    --qli-toggle-thumb: #ffffff;
    --qli-toggle-border: rgba(17, 17, 17, 0.12);
    --qli-startup-bg-1: #0c1420;
    --qli-startup-bg-2: #101b2d;
    --qli-startup-bg-3: #132338;
    --qli-startup-ink: #e8eff7;
    --qli-startup-muted: #99abc0;
    --qli-startup-accent: #7ea6d8;

    --qli-glitch-main: #111111;
    --qli-glitch-shadow-a: #b79f47;
    --qli-glitch-shadow-b: #8a7440;
    --qli-glitch-shadow-c: #efe3b8;
    --qli-glitch-layer-a: #cbb25a;
    --qli-glitch-layer-b: #8f7a44;
    --qli-glitch-panel: #f8f6f1;
}

html[data-theme="dark"] {
    --qli-bg: #0c1420;
    --qli-paper: #131d2b;
    --qli-paper-2: #172233;
    --qli-ink: #e9f0f7;
    --qli-muted: #9baabd;
    --qli-line: rgba(255, 255, 255, 0.08);
    --qli-line-strong: rgba(255, 255, 255, 0.14);
    --qli-accent: #7ea6d8;
    --qli-accent-soft: #223249;
    --qli-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    --qli-toggle-track: #2a3a4d;
    --qli-toggle-thumb: #dfe7ef;
    --qli-toggle-border: rgba(255, 255, 255, 0.1);
    --qli-startup-bg-1: #0c1420;
    --qli-startup-bg-2: #101b2d;
    --qli-startup-bg-3: #132338;
    --qli-startup-ink: #e8eff7;
    --qli-startup-muted: #99abc0;
    --qli-startup-accent: #7ea6d8;

    --qli-glitch-main: #eef4ff;
    --qli-glitch-shadow-a: #8db5e2;
    --qli-glitch-shadow-b: #4f7cb4;
    --qli-glitch-shadow-c: #d8e8fb;
    --qli-glitch-layer-a: #7ea6d8;
    --qli-glitch-layer-b: #1bc7fb;
    --qli-glitch-panel: #131d2b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--qli-ink);
    background: var(--qli-bg);
    transition: background .25s ease, color .25s ease;
    overflow-x: hidden;
}

body.disable-hover,
body.disable-hover * {
    pointer-events: none !important;
    cursor: wait !important;
}

.qli-page-shell {
    transition: opacity .8s ease, transform .8s ease, filter .8s ease;
}

.qli-page-preload {
    opacity: 0;
    transform: translateY(18px) scale(.99);
    filter: blur(8px);
}

.qli-page-ready {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.qli-startup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, var(--qli-startup-bg-1) 0%, var(--qli-startup-bg-2) 55%, var(--qli-startup-bg-3) 100%);
    color: var(--qli-startup-ink);
    overflow: hidden;
    transition: opacity .75s ease, visibility .75s ease, transform .75s ease;
}

.qli-startup.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    pointer-events: none;
}

.qli-startup-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(126, 166, 216, 0.18), transparent 24%),
        radial-gradient(circle at 80% 20%, rgba(126, 166, 216, 0.12), transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.06), transparent 24%);
    animation: qliStartupFloat 8s ease-in-out infinite alternate;
}

.qli-startup-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: .45;
}

.qli-startup-center {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
}

.qli-startup-kicker {
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--qli-startup-muted);
    font-weight: 800;
    opacity: 0;
    animation: qliStartupFadeUp .9s ease forwards .15s;
}

.qli-startup-title-wrap {
    position: relative;
    margin-top: 18px;
    padding: 14px 0;
}

.qli-startup-title-line {
    font-size: clamp(42px, 8vw, 94px);
    line-height: .95;
    letter-spacing: -.06em;
    font-weight: 900;
    opacity: 0;
    transform: translateY(18px);
    animation: qliStartupTitleIn 1.05s cubic-bezier(.2,.8,.2,1) forwards .3s;
}

.qli-startup-title-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 360px;
    height: 120px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(126,166,216,.2), transparent 70%);
    filter: blur(20px);
    opacity: 0;
    animation: qliStartupGlow 1.6s ease forwards .55s;
}

.qli-startup-subtitle {
    margin-top: 10px;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--qli-startup-muted);
    opacity: 0;
    animation: qliStartupFadeUp .9s ease forwards .55s;
}

.qli-startup-progress {
    margin-top: 30px;
    width: min(520px, 100%);
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    opacity: 0;
    animation: qliStartupFadeUp .9s ease forwards .75s;
}

.qli-startup-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #5e87bb 0%, #7ea6d8 55%, #b5cbe6 100%);
    box-shadow: 0 0 24px rgba(126,166,216,.35);
}

.qli-startup-status {
    margin-top: 14px;
    min-height: 20px;
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--qli-startup-muted);
    opacity: 0;
    animation: qliStartupFadeUp .9s ease forwards .9s;
}

#page {
    min-width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.container {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    inset: 0;
}

.loader {
    position: absolute;
    inset: 0;
    z-index: 50;
    background-color: #252525;
    transform: translateX(-100%);
    transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
    will-change: transform;
    pointer-events: none;
}

.loader.is-active {
    transform: translateX(0%);
}

.a,
.b,
.c {
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition-property: opacity, visibility;
    transition-duration: 0.5s;
    transition-delay: -0.1s;
    transition-timing-function: ease-in-out;
    height: 100%;
    width: 100%;
}

[data-route="a"] .a,
[data-route="b"] .b,
[data-route="c"] .c {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.5s ease-in 0.9s;
}

.qli-shell {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.qli-container {
    width: min(var(--qli-container), calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.qli-bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(127,127,127,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127,127,127,0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    opacity: 0.24;
}

.qli-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
    background: color-mix(in srgb, var(--qli-bg) 86%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--qli-line);
    transition: background .25s ease, border-color .25s ease;
}

.qli-brand {
    display: block;
}

.qli-brand-button {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.qli-brand-button:hover .qli-brand-name {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.qli-brand-kicker {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--qli-muted);
    font-weight: 800;
}

.qli-brand-name {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.qli-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.qli-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.qli-nav a {
    color: var(--qli-ink);
    text-decoration: none;
    font-size: 13px;
    position: relative;
}

.qli-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}

.qli-nav a:hover::after {
    transform: scaleX(1);
}

.qli-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--qli-ink);
    border: 0;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.qli-theme-toggle-track {
    width: 48px;
    height: 28px;
    background: var(--qli-toggle-track);
    border: 1px solid var(--qli-toggle-border);
    border-radius: 999px;
    position: relative;
    transition: background .25s ease, border-color .25s ease;
}

.qli-theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--qli-toggle-thumb);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: transform .25s ease, background .25s ease;
}

html[data-theme="dark"] .qli-theme-toggle-thumb {
    transform: translateX(20px);
}

.qli-theme-toggle-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--qli-muted);
}

.qli-divider {
    border-bottom: 1px solid var(--qli-line);
    transition: border-color .25s ease;
}

.qli-hero {
    padding: 48px 0 34px;
}

.qli-hero-kicker {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--qli-muted);
    margin-bottom: 14px;
}

.qli-hero-title {
    margin: 0;
    font-size: clamp(54px, 8vw, 112px);
    line-height: 0.94;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.qli-hero-copy {
    margin-top: 18px;
    max-width: 760px;
    font-size: clamp(16px, 1.9vw, 20px);
    line-height: 1.75;
    color: var(--qli-muted);
}

.qli-profile-band {
    padding: 30px 0;
}

.qli-profile-grid {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 30px;
    align-items: start;
}

.qli-profile-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.qli-avatar-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    overflow: hidden;
    background: color-mix(in srgb, var(--qli-paper) 92%, transparent);
    border: 1px solid var(--qli-line);
    transition: background .25s ease, border-color .25s ease;
}

.qli-avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 8px solid color-mix(in srgb, var(--qli-accent) 35%, transparent);
    pointer-events: none;
    z-index: 2;
}

.qli-avatar-image {
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.qli-link-row {
    display: flex;
    gap: 10px;
}

.qli-link-row-under-avatar {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.qli-link-square {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--qli-line);
    background: var(--qli-paper-2);
    color: var(--qli-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--qli-trans), border-color var(--qli-trans), background var(--qli-trans), color var(--qli-trans);
}

.qli-link-square:hover {
    transform: translateY(-2px);
    border-color: var(--qli-accent);
    color: var(--qli-accent);
    background: color-mix(in srgb, var(--qli-accent-soft) 45%, var(--qli-paper-2));
}

.qli-link-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.qli-profile-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.qli-name-dots {
    display: flex;
    gap: 10px;
}

.qli-dot-switch {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid var(--qli-line-strong);
    background: rgba(127,127,127,0.08);
    cursor: pointer;
    transition: background var(--qli-trans), transform var(--qli-trans), border-color var(--qli-trans);
}

.qli-dot-switch:hover,
.qli-dot-switch.active {
    background: var(--qli-accent);
    border-color: var(--qli-accent);
    transform: translateY(-1px);
}

.qli-name-display {
    background: var(--qli-paper);
    border: 1px solid var(--qli-line);
    border-radius: var(--qli-radius);
    min-height: 120px;
    overflow: hidden;
    transition: background .25s ease, border-color .25s ease;
}

.qli-name-stage {
    min-height: 120px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qli-name-stage.is-sliding-out {
    animation: qliSingleSlideOut 220ms cubic-bezier(.2,.8,.2,1) forwards;
}

.qli-name-stage.is-sliding-in {
    animation: qliSingleSlideIn 260ms cubic-bezier(.2,.8,.2,1) forwards;
}

.qli-name-value {
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
    display: inline-flex;
    align-items: baseline;
    gap: 0.24em;
    width: fit-content;
}

#qliNameValue {
    position: relative;
    display: inline-block;
}

#qliNameValue.is-glitching {
    position: relative;
    color: var(--qli-glitch-main);
    z-index: 2;
}

#qliNameValue.is-glitching .qli-glitch-text {
    position: relative;
    display: inline-block;
    animation: qliGlitchPaths 2.1s step-end infinite;
}

#qliNameValue.is-glitching::before,
#qliNameValue.is-glitching::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    width: 110%;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}

#qliNameValue.is-glitching::before {
    top: 10px;
    left: 15px;
    color: var(--qli-glitch-layer-a);
    animation:
        qliGlitchPaths 2.1s step-end infinite,
        qliGlitchOpacity 2.1s step-end infinite,
        qliGlitchFontOne 3.2s step-end infinite,
        qliGlitchMovementOne 3.8s step-end infinite;
}

#qliNameValue.is-glitching::after {
    top: 5px;
    left: -10px;
    color: var(--qli-glitch-layer-b);
    animation:
        qliGlitchPaths 2.1s step-end infinite,
        qliGlitchOpacity 2.1s step-end infinite,
        qliGlitchFontTwo 2.8s step-end infinite,
        qliGlitchMovementTwo 3.1s step-end infinite;
}

html[data-theme="light"] #qliNameValue.is-glitching {
    text-shadow:
        1px 0 0 var(--qli-glitch-shadow-c),
        -1px 0 0 var(--qli-glitch-shadow-a);
}

html[data-theme="dark"] #qliNameValue.is-glitching {
    text-shadow:
        1px 0 0 var(--qli-glitch-shadow-c),
        -1px 0 0 var(--qli-glitch-shadow-a);
}

.qli-terminal-caret {
    display: none;
    width: 0.32em;
    height: 0.92em;
    background: #111111;
    border-radius: 0;
    transform: translateY(0.04em);
    animation: qliTerminalBlink 1s steps(1, end) infinite;
    flex: 0 0 auto;
}

.qli-terminal-caret.is-visible {
    display: inline-block;
}

html[data-theme="light"] .qli-terminal-caret {
    background: #111111;
}

html[data-theme="dark"] .qli-terminal-caret {
    background: #ffffff;
}

.qli-name-label {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--qli-muted);
    font-weight: 700;
}

.qli-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.qli-stat-box {
    background: var(--qli-paper);
    border: 1px solid var(--qli-line);
    border-radius: 20px;
    padding: 16px 18px;
    transition: background .25s ease, border-color .25s ease;
}

.qli-stat-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--qli-muted);
    font-weight: 700;
}

.qli-stat-value {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.qli-about {
    padding: 34px 0;
}

.qli-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.qli-about-block {
    padding-right: 12px;
}

.qli-section-kicker {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--qli-accent);
    font-weight: 800;
}

.qli-section-title {
    margin: 12px 0 0;
    font-size: clamp(26px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.qli-section-copy {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--qli-muted);
}

.qli-data-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    padding: 34px 0 44px;
}

.qli-stack-card,
.qli-contrib-card {
    background: var(--qli-paper);
    border: 1px solid var(--qli-line);
    border-radius: var(--qli-radius);
    padding: 18px;
    transition: background .25s ease, border-color .25s ease;
}

.qli-stack-title,
.qli-contrib-title,
.qli-repos-title {
    margin-top: 8px;
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.qli-stack-subtitle,
.qli-contrib-subtitle,
.qli-repos-copy {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--qli-muted);
}

.qli-stack-chart-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 18px 0 16px;
}

.qli-stack-chart {
    width: 108px;
    height: 108px;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, var(--qli-paper) 0 34%, transparent 35%),
        conic-gradient(
            #79c7ec 0 120deg,
            #8c7df2 120deg 240deg,
            #55dfc6 240deg 360deg
        );
    border: 1px solid var(--qli-line);
    transition: background .25s ease, border-color .25s ease;
}

.qli-stack-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qli-stack-item {
    display: grid;
    grid-template-columns: 8px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--qli-line);
    border-radius: 14px;
    background: var(--qli-paper-2);
    transition: background .25s ease, border-color .25s ease;
}

.qli-stack-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.qli-stack-name {
    font-size: 11px;
    font-weight: 700;
}

.qli-stack-pct {
    font-size: 10px;
    font-weight: 700;
    color: var(--qli-muted);
}

.qli-stack-empty,
.qli-repo-empty {
    font-size: 12px;
    color: var(--qli-muted);
}

.qli-contrib-total {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 800;
}

.qli-contrib-surface {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--qli-line);
    border-radius: 20px;
    background: var(--qli-paper-2);
    transition: background .25s ease, border-color .25s ease;
}

.qli-heatmap-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.qli-months-row {
    display: grid;
    align-items: end;
    gap: var(--qli-gap);
    margin-left: 28px;
    margin-bottom: 8px;
    min-height: 16px;
}

.qli-month-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--qli-muted);
    white-space: nowrap;
}

.qli-heatmap-main {
    display: grid;
    grid-template-columns: 20px auto;
    gap: 8px;
    align-items: start;
}

.qli-heatmap-days {
    display: grid;
    grid-template-rows: repeat(7, var(--qli-cell));
    gap: var(--qli-gap);
    align-items: center;
}

.qli-day-label {
    font-size: 8px;
    color: var(--qli-muted);
    height: var(--qli-cell);
    display: flex;
    align-items: center;
}

.qli-heatmap-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--qli-cell);
    grid-template-rows: repeat(7, var(--qli-cell));
    gap: var(--qli-gap);
    min-height: calc((var(--qli-cell) * 7) + (var(--qli-gap) * 6));
}

.qli-heatmap-cell {
    width: var(--qli-cell);
    height: var(--qli-cell);
    border-radius: 2px;
    border: 1px solid rgba(127,127,127,0.08);
    transition: transform var(--qli-trans), background .25s ease, border-color .25s ease;
}

.qli-heatmap-cell:hover {
    transform: scale(1.1);
}

.qli-heatmap-grid-empty {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%;
}

.qli-heatmap-empty {
    font-size: 14px;
    color: var(--qli-muted);
    text-align: center;
    line-height: 1.7;
    padding: 20px;
}

html[data-theme="light"] .qli-heatmap-cell.level-0 { background: #dde6f0; }
html[data-theme="light"] .qli-heatmap-cell.level-1 { background: #b8cbe0; }
html[data-theme="light"] .qli-heatmap-cell.level-2 { background: #8eafd0; }
html[data-theme="light"] .qli-heatmap-cell.level-3 { background: #638fbe; }
html[data-theme="light"] .qli-heatmap-cell.level-4 { background: #3f6fa4; }

html[data-theme="dark"] .qli-heatmap-cell.level-0 { background: #273341; }
html[data-theme="dark"] .qli-heatmap-cell.level-1 { background: #37506a; }
html[data-theme="dark"] .qli-heatmap-cell.level-2 { background: #4f6f92; }
html[data-theme="dark"] .qli-heatmap-cell.level-3 { background: #6c93bf; }
html[data-theme="dark"] .qli-heatmap-cell.level-4 { background: #8eb5df; }

.qli-heatmap-legend-bar {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--qli-muted);
    font-size: 9px;
    font-weight: 700;
}

.qli-legend-swatch {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    border: 1px solid rgba(127,127,127,0.08);
}

html[data-theme="light"] .qli-legend-swatch.level-0 { background: #dde6f0; }
html[data-theme="light"] .qli-legend-swatch.level-1 { background: #b8cbe0; }
html[data-theme="light"] .qli-legend-swatch.level-2 { background: #8eafd0; }
html[data-theme="light"] .qli-legend-swatch.level-3 { background: #638fbe; }
html[data-theme="light"] .qli-legend-swatch.level-4 { background: #3f6fa4; }

html[data-theme="dark"] .qli-legend-swatch.level-0 { background: #273341; }
html[data-theme="dark"] .qli-legend-swatch.level-1 { background: #37506a; }
html[data-theme="dark"] .qli-legend-swatch.level-2 { background: #4f6f92; }
html[data-theme="dark"] .qli-legend-swatch.level-3 { background: #6c93bf; }
html[data-theme="dark"] .qli-legend-swatch.level-4 { background: #8eb5df; }

.qli-contrib-years-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--qli-line);
}

.qli-contrib-years-title {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--qli-muted);
    font-weight: 800;
    margin-bottom: 12px;
}

.qli-contrib-years {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.qli-year-pill {
    min-width: 118px;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--qli-line);
    background: var(--qli-paper-2);
    color: var(--qli-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--qli-trans), color var(--qli-trans), border-color var(--qli-trans), transform var(--qli-trans);
}

.qli-year-pill:hover {
    transform: translateY(-2px);
    border-color: var(--qli-accent);
}

.qli-year-pill.active {
    background: var(--qli-accent);
    border-color: var(--qli-accent);
}

html[data-theme="light"] .qli-year-pill.active {
    color: #2e2a1a;
}

html[data-theme="dark"] .qli-year-pill.active {
    color: #eef5fb;
}

.qli-repos-section {
    padding: 34px 0 50px;
}

.qli-repo-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.qli-repo-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--qli-paper);
    border: 1px solid var(--qli-line);
    border-radius: 20px;
    padding: 18px;
    text-decoration: none;
    color: var(--qli-ink);
    transition: transform var(--qli-trans), border-color var(--qli-trans), background var(--qli-trans);
}

.qli-repo-card:hover {
    transform: translateY(-4px);
    border-color: var(--qli-accent);
    background: color-mix(in srgb, var(--qli-accent-soft) 18%, var(--qli-paper));
}

.qli-repo-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.qli-repo-name {
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
    word-break: break-word;
}

.qli-repo-arrow {
    font-size: 18px;
    line-height: 1;
    color: var(--qli-accent);
    flex: 0 0 auto;
}

.qli-repo-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--qli-muted);
    min-height: 66px;
}

.qli-repo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--qli-line);
    font-size: 11px;
    color: var(--qli-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.qli-repo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qli-repo-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--qli-accent);
}

/* Route B */

.qli-manga-shell {
    width: 100%;
    min-height: 100vh;
    background: #06090f;
    color: #d7f6ff;
    font-family: Arial, sans-serif;
    padding: 0;
}

.qli-manga-topbar {
    height: 28px;
    background: #1b1b1b;
    color: #ffffff;
    border-bottom: 1px solid #4f4f4f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-size: 11px;
    gap: 10px;
}

.qli-manga-back {
    background: #0b0b0b;
    border: 1px solid #606060;
    color: #d7f6ff;
    font-size: 10px;
    padding: 2px 8px;
    cursor: pointer;
}

.qli-manga-title {
    flex: 1;
    font-weight: 700;
}

.qli-manga-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.qli-manga-actions a {
    color: #6bb4ff;
    text-decoration: none;
    font-size: 10px;
}

.qli-manga-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: calc(100vh - 28px);
}

.qli-manga-sidebar {
    background: #0d0d0d;
    border-right: 1px solid #202020;
    padding: 10px 8px;
}

.qli-manga-avatar-panel,
.qli-manga-panel {
    background: #111318;
    border: 1px solid #252831;
    margin-bottom: 12px;
    padding: 8px;
}

.qli-manga-avatar {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #1a1f29 center / cover no-repeat;
    border: 1px solid #414552;
    margin-bottom: 8px;
}

.qli-manga-mini-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.qli-manga-mini-actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
    background: #1a1d25;
    border: 1px solid #33394a;
    color: #d7f6ff;
    text-decoration: none;
    font-size: 10px;
}

.qli-manga-panel-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 8px;
    border-bottom: 1px solid #273043;
    padding-bottom: 6px;
}

.qli-manga-kv,
.qli-manga-statline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 0;
    font-size: 10px;
    color: #b8d4de;
    border-bottom: 1px dotted rgba(255,255,255,0.08);
}

.qli-manga-kv strong,
.qli-manga-statline strong {
    color: #ffffff;
    text-align: right;
}

.qli-manga-navlink {
    display: block;
    padding: 6px 8px;
    margin-bottom: 6px;
    background: #151923;
    border: 1px solid #2d3546;
    color: #74cfff;
    text-decoration: none;
    font-size: 10px;
}

.qli-manga-navlink.active {
    background: #1c2433;
    color: #ffffff;
}

.qli-manga-main {
    padding: 14px;
    background:
        radial-gradient(circle at right, rgba(255, 0, 170, 0.18), transparent 18%),
        radial-gradient(circle at right 60%, rgba(0, 255, 255, 0.18), transparent 16%),
        #05080d;
}

.qli-manga-hero {
    position: relative;
    min-height: 340px;
    border: 1px solid #293041;
    background: #0f1520;
    overflow: hidden;
    margin-bottom: 16px;
}

.qli-manga-hero-cover {
    position: absolute;
    inset: 0;
    background: #111 center / cover no-repeat;
    filter: saturate(1.05) contrast(1.02);
}

.qli-manga-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

.qli-manga-hero-badge {
    display: inline-block;
    color: #00f0ff;
    background: rgba(0,0,0,0.85);
    border: 1px solid #00a6bf;
    padding: 8px 12px;
    font-size: 18px;
    font-weight: 700;
    text-transform: lowercase;
}

.qli-manga-block {
    background: #070b11;
    border: 1px solid #273043;
    padding: 14px;
    margin-bottom: 16px;
}

.qli-manga-block-title {
    color: #00f0ff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.qli-manga-summary {
    color: #d2edf7;
    background: #041a22;
    border: 1px solid #0a5160;
    padding: 14px;
    font-size: 12px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.qli-manga-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.qli-manga-covers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 10px;
}

.qli-manga-cover-card {
    text-decoration: none;
    color: #d7f6ff;
}

.qli-manga-cover-thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #111 center / cover no-repeat;
    border: 1px solid #46506b;
}

.qli-manga-cover-name {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.4;
    color: #bdefff;
}

.qli-manga-empty {
    color: #9bb7c3;
    font-size: 11px;
}

.qli-api-grid {
    background: #0b0f16;
    border: 1px solid #212a3b;
    padding: 12px;
}

.qli-api-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.qli-api-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
}

.qli-api-value {
    color: #f6b3b3;
    font-size: 12px;
    word-break: break-all;
}

.qli-api-note {
    color: #ff8e8e;
    font-size: 12px;
    margin-top: 10px;
}

.qli-manga-scrape-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.qli-manga-scrape-item {
    background: #081821;
    border: 1px solid #0d5060;
    padding: 12px;
    color: #a8eefe;
    font-size: 11px;
}

.qli-manga-scrape-item span {
    display: block;
    margin-bottom: 6px;
    color: #82dbf7;
}

.qli-manga-scrape-item strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    word-break: break-word;
}

@keyframes qliSingleSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-12%); opacity: 0; }
}

@keyframes qliSingleSlideIn {
    from { transform: translateX(12%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes qliStartupFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes qliStartupTitleIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(.98);
        letter-spacing: -.09em;
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: -.06em;
    }
}

@keyframes qliStartupGlow {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes qliStartupFloat {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.04) translate3d(10px, -8px, 0);
    }
}

@keyframes qliTerminalBlink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes qliGlitchPaths {
    0% {
        clip-path: polygon(
            0% 43%,
            83% 43%,
            83% 22%,
            23% 22%,
            23% 24%,
            91% 24%,
            91% 26%,
            18% 26%,
            18% 83%,
            29% 83%,
            29% 17%,
            41% 17%,
            41% 39%,
            18% 39%,
            18% 82%,
            54% 82%,
            54% 88%,
            19% 88%,
            19% 4%,
            39% 4%,
            39% 14%,
            76% 14%,
            76% 52%,
            23% 52%,
            23% 35%,
            19% 35%,
            19% 8%,
            36% 8%,
            36% 31%,
            73% 31%,
            73% 16%,
            1% 16%,
            1% 56%,
            50% 56%,
            50% 8%
        );
    }

    5% {
        clip-path: polygon(
            0% 29%,
            44% 29%,
            44% 83%,
            94% 83%,
            94% 56%,
            11% 56%,
            11% 64%,
            94% 64%,
            94% 70%,
            88% 70%,
            88% 32%,
            18% 32%,
            18% 96%,
            10% 96%,
            10% 62%,
            9% 62%,
            9% 84%,
            68% 84%,
            68% 50%,
            52% 50%,
            52% 55%,
            35% 55%,
            35% 87%,
            25% 87%,
            25% 39%,
            15% 39%,
            15% 88%,
            52% 88%
        );
    }

    30% {
        clip-path: polygon(
            0% 53%,
            93% 53%,
            93% 62%,
            68% 62%,
            68% 37%,
            97% 37%,
            97% 89%,
            13% 89%,
            13% 45%,
            51% 45%,
            51% 88%,
            17% 88%,
            17% 54%,
            81% 54%,
            81% 75%,
            79% 75%,
            79% 76%,
            38% 76%,
            38% 28%,
            61% 28%,
            61% 12%,
            55% 12%,
            55% 62%,
            68% 62%,
            68% 51%,
            0% 51%,
            0% 92%,
            63% 92%,
            63% 4%,
            65% 4%
        );
    }

    45% {
        clip-path: polygon(
            0% 33%,
            2% 33%,
            2% 69%,
            58% 69%,
            58% 94%,
            55% 94%,
            55% 25%,
            33% 25%,
            33% 85%,
            16% 85%,
            16% 19%,
            5% 19%,
            5% 20%,
            79% 20%,
            79% 96%,
            93% 96%,
            93% 50%,
            5% 50%,
            5% 74%,
            55% 74%,
            55% 57%,
            96% 57%,
            96% 59%,
            87% 59%,
            87% 65%,
            82% 65%,
            82% 39%,
            63% 39%,
            63% 92%,
            4% 92%,
            4% 36%,
            24% 36%,
            24% 70%,
            1% 70%,
            1% 43%,
            15% 43%,
            15% 28%,
            23% 28%,
            23% 71%,
            90% 71%,
            90% 86%,
            97% 86%,
            97% 1%,
            60% 1%,
            60% 67%,
            71% 67%,
            71% 91%,
            17% 91%,
            17% 14%,
            39% 14%,
            39% 30%,
            58% 30%,
            58% 11%,
            52% 11%,
            52% 83%,
            68% 83%
        );
    }

    76% {
        clip-path: polygon(
            0% 26%,
            15% 26%,
            15% 73%,
            72% 73%,
            72% 70%,
            77% 70%,
            77% 75%,
            8% 75%,
            8% 42%,
            4% 42%,
            4% 61%,
            17% 61%,
            17% 12%,
            26% 12%,
            26% 63%,
            73% 63%,
            73% 43%,
            90% 43%,
            90% 67%,
            50% 67%,
            50% 41%,
            42% 41%,
            42% 46%,
            50% 46%,
            50% 84%,
            96% 84%,
            96% 78%,
            49% 78%,
            49% 25%,
            63% 25%,
            63% 14%
        );
    }

    90% {
        clip-path: polygon(
            0% 41%,
            13% 41%,
            13% 6%,
            87% 6%,
            87% 93%,
            10% 93%,
            10% 13%,
            89% 13%,
            89% 6%,
            3% 6%,
            3% 8%,
            16% 8%,
            16% 79%,
            0% 79%,
            0% 99%,
            92% 99%,
            92% 90%,
            5% 90%,
            5% 60%,
            0% 60%,
            0% 48%,
            89% 48%,
            89% 13%,
            80% 13%,
            80% 43%,
            95% 43%,
            95% 19%,
            80% 19%,
            80% 85%,
            38% 85%,
            38% 62%
        );
    }

    1%,
    7%,
    33%,
    47%,
    78%,
    93% {
        clip-path: none;
    }
}

@keyframes qliGlitchOpacity {
    0% {
        opacity: 0.1;
    }

    5% {
        opacity: 0.7;
    }

    30% {
        opacity: 0.4;
    }

    45% {
        opacity: 0.6;
    }

    76% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.8;
    }

    1%,
    7%,
    33%,
    47%,
    78%,
    93% {
        opacity: 0;
    }
}

@keyframes qliGlitchMovementOne {
    0% {
        transform: translate(-20px, 0);
    }

    15% {
        transform: translate(10px, 10px);
    }

    60% {
        transform: translate(-10px, 5px);
    }

    75% {
        transform: translate(20px, -5px);
    }

    100% {
        transform: translate(5px, 10px);
    }
}

@keyframes qliGlitchMovementTwo {
    0% {
        transform: translate(-18px, 0);
    }

    15% {
        transform: translate(8px, 8px);
    }

    60% {
        transform: translate(-8px, 4px);
    }

    75% {
        transform: translate(18px, -4px);
    }

    100% {
        transform: translate(4px, 8px);
    }
}

@keyframes qliGlitchFontOne {
    0% {
        font-weight: 100;
        color: var(--qli-glitch-layer-a);
        filter: blur(3px);
    }

    20% {
        font-weight: 500;
        color: var(--qli-glitch-main);
        filter: blur(0);
    }

    50% {
        font-weight: 300;
        color: var(--qli-glitch-shadow-c);
        filter: blur(2px);
    }

    60% {
        font-weight: 700;
        color: var(--qli-glitch-main);
        filter: blur(0);
    }

    90% {
        font-weight: 500;
        color: var(--qli-glitch-layer-a);
        filter: blur(6px);
    }
}

@keyframes qliGlitchFontTwo {
    0% {
        font-weight: 100;
        color: var(--qli-glitch-layer-b);
        filter: blur(3px);
    }

    20% {
        font-weight: 500;
        color: var(--qli-glitch-main);
        filter: blur(0);
    }

    50% {
        font-weight: 300;
        color: var(--qli-glitch-shadow-b);
        filter: blur(2px);
    }

    60% {
        font-weight: 700;
        color: var(--qli-glitch-main);
        filter: blur(0);
    }

    90% {
        font-weight: 500;
        color: var(--qli-glitch-layer-b);
        filter: blur(6px);
    }
}

@media (max-width: 1100px) {
    .qli-about-grid,
    .qli-data-grid,
    .qli-repo-grid,
    .qli-manga-grid-two {
        grid-template-columns: 1fr;
    }

    .qli-manga-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .qli-profile-grid {
        grid-template-columns: 1fr;
    }

    .qli-profile-left {
        align-items: flex-start;
    }

    .qli-link-row-under-avatar {
        justify-content: flex-start;
    }

    .qli-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .qli-container {
        width: min(var(--qli-container), calc(100% - 24px));
    }

    .qli-nav {
        display: none;
    }

    .qli-theme-toggle-label {
        display: none;
    }

    .qli-hero-title {
        font-size: 48px;
    }

    .qli-name-value {
        font-size: 26px;
    }

    .qli-startup-title-line {
        font-size: 46px;
    }

    .qli-year-pill {
        width: 100%;
    }

    .qli-api-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.qli-brand-link-clean,
.qli-brand-link-clean:hover,
.qli-brand-link-clean:focus,
.qli-brand-link-clean:active,
.qli-brand-name-clean,
.qli-brand-name-clean:hover,
.qli-brand-name-clean:focus,
.qli-brand-name-clean:active {
    text-decoration: none !important;
}

.qli-brand-link-clean {
    color: inherit;
}

.qli-brand-link-clean:hover .qli-brand-name-clean,
.qli-brand-link-clean:focus .qli-brand-name-clean {
    text-decoration: none !important;
}

.qli-tight-title {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

.qli-tight-copy {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

.qli-contrib-title,
.qli-repos-title {
    line-height: 1.04;
}

.qli-contrib-subtitle,
.qli-repos-copy {
    line-height: 1.5;
}

.qli-manga-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 980px) {
    .qli-manga-grid-two {
        grid-template-columns: 1fr;
    }
}

.qli-brand-link-clean,
.qli-brand-link-clean:hover,
.qli-brand-link-clean:focus,
.qli-brand-link-clean:active,
.qli-brand-name-clean,
.qli-brand-name-clean:hover,
.qli-brand-name-clean:focus,
.qli-brand-name-clean:active {
    text-decoration: none !important;
}

.qli-brand-link-clean {
    color: inherit;
}

.qli-brand-link-clean:hover .qli-brand-name-clean,
.qli-brand-link-clean:focus .qli-brand-name-clean {
    text-decoration: none !important;
}

.qli-tight-title {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

.qli-tight-copy {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

.qli-data-grid {
    align-items: start;
}

.qli-contrib-card-editorial {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
}

.qli-contrib-total-editorial {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.qli-contrib-surface-editorial {
    margin-top: 14px;
    padding: 18px 18px 16px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%),
        var(--qli-paper-2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.qli-contrib-footer-editorial {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.qli-contrib-years-block {
    padding: 16px 16px 14px;
    border: 1px solid var(--qli-line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
}

.qli-contrib-years-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--qli-muted);
    font-weight: 800;
    margin-bottom: 12px;
}

.qli-year-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qli-year-pill {
    min-width: 92px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.qli-contrib-notes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.qli-contrib-note-card {
    min-height: 100%;
    padding: 16px 15px 15px;
    border: 1px solid var(--qli-line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%),
        var(--qli-paper);
}

.qli-contrib-note-kicker {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--qli-accent);
    font-weight: 800;
}

.qli-contrib-note-title {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.qli-contrib-note-copy {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.65;
    color: var(--qli-muted);
}

.qli-contrib-title,
.qli-repos-title {
    line-height: 1.02;
}

.qli-contrib-subtitle,
.qli-repos-copy {
    line-height: 1.45;
}

.qli-repos-section {
    padding-top: 36px !important;
}

.qli-repo-grid {
    margin-top: 14px;
}

@media (max-width: 1100px) {
    .qli-contrib-footer-editorial {
        grid-template-columns: 1fr;
    }

    .qli-contrib-notes-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .qli-contrib-notes-grid {
        grid-template-columns: 1fr;
    }

    .qli-year-pill {
        min-width: 84px;
        flex: 1 1 auto;
    }
}

