.gist-cta-hover {
    transition: background-color 0.2s ease;
}

.gist-cta-hover:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.gist-paper {
    border-radius: 2px;
}

.gist-sq-8  { width: 2rem;   height: 2rem;   flex-shrink: 0; }
.gist-sq-10 { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.gist-sq-12 { width: 3rem;   height: 3rem;   flex-shrink: 0; }
.gist-sq-16 { width: 4rem;   height: 4rem;   flex-shrink: 0; }
.gist-sq-20 { width: 5rem;   height: 5rem;   flex-shrink: 0; }

.gist-corner {
    width: 1.75rem;
    height: 1.75rem;
    border-color: var(--bs-primary) !important;
}

.gist-corner--top-start {
    border-top: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--top-end {
    border-top: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-corner--bottom-start {
    border-bottom: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--bottom-end {
    border-bottom: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-paper-lines {
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 11px,
        rgba(255, 255, 255, 0.4) 11px,
        rgba(255, 255, 255, 0.4) 12px
    );
}

.gist-meta-header {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
}

.gist-field-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    min-width: 7.5rem;
}

.gist-note-radius {
    border-radius: 0 6px 6px 0;
}

.gist-note-rule {
    border-bottom: 4px solid var(--bs-primary);
}

.gist-divider-rule {
    height: 0.5rem;
    background-color: rgba(var(--bs-primary-rgb), 0.06);
    border-top: 2px solid rgba(var(--bs-primary-rgb), 0.35);
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.35);
}

.gist-seal-text {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
}

.gist-footer-meta {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.gist-dot {
    width: 0.25rem;
    height: 0.25rem;
}

/* Сетка карточек + gap (fallback для bs; совпадает с tw gap-lg ≈ 1.5rem) */
.orbit-showcase-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .orbit-showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.philosophy-icons__circle {
    width: 6rem;
    min-width: 6rem;
    max-width: 6rem;
    height: 6rem;
    min-height: 6rem;
    max-height: 6rem;
    padding: 0.75rem;
    aspect-ratio: 1;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.roster-lift-hover__portrait {
    width: 7rem;
    height: 7rem;
}

.pixel-retro-timeline__pixel-bg {
    background-image: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        );
}

.pixel-retro-timeline__pixel-card {
    box-shadow:
        4px 0 0 0 currentColor,
        -4px 0 0 0 currentColor,
        0 4px 0 0 currentColor,
        0 -4px 0 0 currentColor;
    outline: 2px solid;
    outline-offset: 4px;
}

.pixel-retro-timeline__pixel-badge {
    clip-path: polygon(
        0 4px, 4px 4px, 4px 0,
        calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
        100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
        4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
    );
}

@keyframes pixel-retro-timeline__scan {
    from { width: 0; }
    to { width: 100%; }
}

.pixel-retro-timeline__progress-bar {
    animation: pixel-retro-timeline__scan 1s steps(20) forwards;
}

.pixel-retro-timeline__mono-font {
    font-family: monospace, 'Courier New';
}

.pixel-retro-timeline__grid-width {
    max-width: 48rem;
}

.pixel-retro-timeline__badge-size {
    width: 4rem;
    height: 4rem;
}

.pixel-retro-timeline__progress-height {
    height: 0.5rem;
}

.pixel-retro-timeline__progress-fill {
    width: var(--pixel-retro-timeline__progress, 0%);
}

.pixel-retro-timeline__spacer {
    width: 0.5rem;
    height: 1rem;
}

