.game-popup {
    overflow: hidden;
    text-decoration: none;
    color: inherit
}

.game-popup:hover {
    border-color: #66c0f4;
    text-decoration: none
}

.popup-capsule-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 460 / 215;
    background: #0e1c2a;
    overflow: hidden
}

.popup-capsule {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.popup-no-capsule {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    color: #556a7e;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.popup-info {
    padding: 10px 0
}

.popup-title {
    color: #fff;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 6px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 1.3em;
    font-family: 'Rajdhani', sans-serif
}

.popup-title-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

.popup-title.is-marquee .popup-title-inner {
    animation: marquee 6s linear infinite;
    position: absolute
}

@keyframes marquee {
    0% { transform: translateX(0) }
    8% { transform: translateX(0) }
    80% { transform: translateX(var(--marquee-dist)) }
    100% { transform: translateX(var(--marquee-dist)) }
}

.lowest-badge {
    font-size: 0.625rem;
    padding: 1px 5px;
    border-radius: 3px;
    background: #a4d007;
    color: #1b2838;
    font-weight: bold;
    text-transform: uppercase;
    flex-shrink: 0
}

.popup-meta {
    display: flex;
    gap: 8px;
    font-size: 0.6875rem;
    color: #8f98a0;
    margin-bottom: 8px;
    flex-wrap: wrap
}

.popup-genres {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    min-height: 22px
}

.popup-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    background: #0e1c2a;
    border-radius: 4px
}

.pp-disc {
    background: #4c6b22;
    color: #a4d007;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    font-size: 1.125rem;
    padding: 2px 6px;
    border-radius: 3px
}

.pp-price {
    color: #a4d007;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    font-size: 1.125rem
}

.pp-was {
    color: #556a7e;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    font-size: 1.125rem;
    text-decoration: line-through
}

.popup-score {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    border-top: 1px solid #2a475e;
    padding-top: 10px;
    min-height: 87px
}

.tt-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    white-space: nowrap
}

.tt-label {
    width: 65px;
    color: #8f98a0;
    flex-shrink: 0
}

.tt-bar {
    flex: 1;
    height: 6px;
    background: #2a475e;
    border-radius: 3px;
    overflow: hidden
}

.tt-fill {
    display: block;
    height: 100%;
    background: #66c0f4;
    border-radius: 3px
}

.tt-val {
    width: 32px;
    text-align: right;
    color: #c7d5e0;
    flex-shrink: 0
}

.genre-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    padding: 2px 6px;
    border-radius: 3px;
    background: #2a475e;
    color: #8f98a0;
    white-space: nowrap
}
