.yg-ribbon-stage,
.yg-ribbon-stage * { box-sizing: border-box; }

.yg-ribbon-stage {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    overflow: hidden;
    background: var(--e-global-color-1274a76a, #f7f7f6);
    color: var(--e-global-color-012ff055, #111111);
    font-family: "Instrument Sans", system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html.yg-intro-active,
html.yg-intro-active body { overflow: hidden; }
html.yg-intro-active .yg-ribbon-stage { display: block; }

.yg-ribbon-tiles { position: absolute; inset: 0; perspective: 2000px; }
.yg-ribbon-tile {
    position: absolute;
    overflow: hidden;
    border-radius: 6px;
    background: #eaeae8;
    visibility: hidden;
    will-change: transform, opacity;
}
.yg-ribbon-tile img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}
.yg-ribbon-count {
    position: absolute;
    text-align: right;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .25em;
    line-height: 1.6;
    color: #666;
    font-variant-numeric: tabular-nums;
    margin-right: -.25em;
    pointer-events: none;
}
.yg-ribbon-line {
    position: absolute;
    height: 1px;
    overflow: hidden;
    background: #d9d9d7;
    pointer-events: none;
}
.yg-ribbon-line span {
    display: block;
    height: 100%;
    background: var(--e-global-color-012ff055, #111111);
    transform: scaleX(0);
    transform-origin: 0 50%;
}
@media (prefers-reduced-motion: reduce) {
    .yg-ribbon-stage { display: none !important; }
    html.yg-intro-active,
    html.yg-intro-active body { overflow: visible; }
}

.yg-ribbon-stage:focus {outline:none;}
