.fg-album-sticker {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 27.5rem;
    min-width: 0;
    width: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(var(--fg-text-rgb), .16);
    border-radius: .75rem;
    color: var(--fg-text);
    background:
        radial-gradient(circle at 14% 10%, rgba(var(--fg-warning-rgb), .24), transparent 30%),
        radial-gradient(circle at 86% 3%, rgba(var(--fg-primary-rgb), .16), transparent 34%),
        linear-gradient(180deg, rgba(var(--fg-text-rgb), .08), rgba(var(--fg-text-rgb), .035)),
        var(--fg-bg);
    box-shadow: 0 1rem 2rem rgba(var(--fg-shadow-rgb), .28), inset 0 1px 0 rgba(var(--fg-text-rgb), .08);
    isolation: isolate;
}

.fg-album-sticker::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(var(--fg-text-rgb), .08) 44%, transparent 50% 100%),
        repeating-linear-gradient(135deg, rgba(var(--fg-text-rgb), .035) 0 1px, transparent 1px 18px);
}

.fg-album-sticker.is-empty {
    border-color: rgba(var(--fg-warning-rgb), .28);
}

.fg-album-sticker.is-empty::after {
    position: absolute;
    inset: .5rem;
    z-index: -1;
    pointer-events: none;
    border: 1px dashed rgba(var(--fg-warning-rgb), .22);
    border-radius: .55rem;
    content: "";
}

.fg-album-sticker-topline {
    height: .28rem;
    background: linear-gradient(90deg, var(--fg-warning), var(--fg-primary-hover), var(--fg-danger));
}

.fg-album-sticker-header {
    display: flex;
    flex: 0 0 2.55rem;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .62rem .72rem .42rem;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .04rem;
    text-transform: uppercase;
}

.fg-album-sticker-number,
.fg-album-sticker-type {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    border: 1px solid rgba(var(--fg-warning-rgb), .28);
    border-radius: 999px;
    padding: .2rem .48rem;
    background: rgba(var(--fg-surface-rgb), .38);
    color: var(--fg-warning);
    line-height: 1;
}

.fg-album-sticker-type {
    color: var(--fg-text);
}

.fg-album-sticker-title-zone {
    display: grid;
    flex: 0 0 4.55rem;
    align-content: start;
    justify-items: center;
    gap: .38rem;
    padding: .12rem .7rem .7rem;
    text-align: center;
}

.fg-album-sticker-title {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: var(--fg-text);
    font-size: 1.04rem;
    font-weight: 950;
    line-height: 1.05;
    text-overflow: ellipsis;
    text-shadow: 0 .25rem .9rem rgba(var(--fg-shadow-rgb), .22);
    text-transform: uppercase;
    white-space: nowrap;
}

.fg-album-sticker-team {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: .38rem;
    overflow: hidden;
    border: 1px solid rgba(var(--fg-text-rgb), .15);
    border-radius: 999px;
    padding: .18rem .55rem;
    background: rgba(var(--fg-surface-rgb), .42);
    color: var(--fg-text);
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.1;
}

.fg-album-sticker-team-flag {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    font-size: 1rem;
    line-height: 1;
}

.fg-album-sticker-team-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fg-album-sticker-photo-zone {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    margin: 0 .86rem;
}

.fg-album-sticker-photo {
    display: grid;
    width: 100%;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(var(--fg-warning-rgb), .38);
    border-radius: .6rem;
    background:
        radial-gradient(circle at 50% 8%, rgba(var(--fg-warning-rgb), .16), transparent 30%),
        linear-gradient(135deg, rgba(var(--fg-bg-rgb), .96), rgba(var(--fg-surface-rgb), .9) 58%, rgba(var(--fg-primary-rgb), .2));
    box-shadow: inset 0 0 0 1px rgba(var(--fg-text-rgb), .08), 0 .75rem 1.6rem rgba(var(--fg-shadow-rgb), .22);
    color: rgba(var(--fg-text-rgb), .82);
}

button.fg-album-sticker-photo {
    cursor: zoom-in;
    padding: 0;
}

.fg-album-sticker-photo img,
.fg-album-sticker-photo.sticker-protected-frame img {
    display: block;
    height: calc(100% - 1rem) !important;
    max-height: calc(100% - 1rem) !important;
    max-width: calc(100% - 1rem) !important;
    width: calc(100% - 1rem) !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    user-select: none;
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-photo-zone {
    flex: 1 1 auto;
    min-height: 13.75rem;
    margin: .3rem .86rem 0;
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-photo:not(.is-placeholder) {
    height: 100%;
    min-height: 13.75rem;
    aspect-ratio: auto;
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-photo.is-placeholder {
    height: 100%;
    min-height: 13.75rem;
    aspect-ratio: auto;
    align-content: center;
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-photo:not(.is-placeholder) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-photo img,
.fg-album-sticker.is-player-sticker .fg-album-sticker-photo.sticker-protected-frame img {
    width: auto !important;
    height: auto !important;
    max-height: calc(100% - .75rem) !important;
    max-width: calc(100% - .75rem) !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: auto;
}

.fg-album-sticker-photo.is-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    justify-items: center;
    gap: .55rem;
    padding: .9rem 1rem 1.2rem;
    color: #fff !important;
    background: #050505 !important;
    text-align: center;
}

.fg-album-sticker-photo.is-unrevealed img {
    filter: grayscale(1) blur(10px);
    opacity: .72;
    transform: scale(1.04);
}

.fg-album-sticker-photo.is-placeholder i {
    color: var(--fg-warning);
    font-size: 2rem;
}

.fg-album-sticker-photo.is-placeholder strong {
    display: block;
    max-width: 100%;
    overflow: visible;
    color: #fff !important;
    font-size: .82rem;
    font-weight: 950;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .62);
    text-transform: uppercase;
    white-space: normal;
}

.fg-album-sticker-photo.is-placeholder span {
    display: -webkit-box;
    max-width: min(92%, 15rem);
    overflow: hidden;
    color: rgba(255, 255, 255, .86) !important;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 7px rgba(0, 0, 0, .6);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.fg-album-sticker-status {
    position: absolute;
    right: .7rem;
    bottom: .7rem;
    left: .7rem;
    z-index: 3;
    border: 1px solid rgba(var(--fg-warning-rgb), .46);
    border-radius: 999px;
    padding: .38rem .6rem;
    background: rgba(var(--fg-bg-rgb), .84);
    box-shadow: 0 .5rem 1rem rgba(var(--fg-shadow-rgb), .26);
    color: var(--fg-text);
    font-size: .7rem;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.fg-album-sticker-status.is-unrevealed {
    border-color: rgba(var(--fg-primary-rgb), .5);
    background: linear-gradient(135deg, rgba(var(--fg-primary-rgb), .28), rgba(var(--fg-bg-rgb), .9));
}

.fg-album-sticker-status.is-waiting {
    border-color: rgba(var(--fg-warning-rgb), .68);
    color: var(--fg-warning);
}

.fg-album-sticker-fullscreen-btn,
.fg-album-sticker-close-btn {
    position: absolute;
    z-index: 4;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(var(--fg-text-rgb), .22);
    border-radius: 999px;
    background: rgba(var(--fg-bg-rgb), .82);
    color: var(--fg-text);
    box-shadow: 0 .35rem .9rem rgba(var(--fg-shadow-rgb), .28);
}

.fg-album-sticker-fullscreen-btn {
    top: -.45rem;
    right: -.45rem;
    width: 2.15rem;
    height: 2.15rem;
}

.fg-album-sticker-close-btn {
    top: 1rem;
    right: 1rem;
    display: none;
    width: 2.5rem;
    height: 2.5rem;
}

.fg-album-sticker-position {
    display: inline-flex;
    flex: 0 0 2.05rem;
    max-width: calc(100% - 1.72rem);
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin: .72rem auto;
    overflow: hidden;
    border: 1px solid rgba(var(--fg-warning-rgb), .42);
    border-radius: 999px;
    padding: .42rem .68rem;
    background: linear-gradient(135deg, rgba(var(--fg-surface-rgb), .82), rgba(var(--fg-primary-rgb), .24));
    color: var(--fg-warning);
    font-size: .74rem;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fg-album-sticker-position span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-position {
    flex: 0 0 auto;
    margin: .52rem auto;
    padding: .34rem .62rem;
    font-size: .7rem;
}

.fg-album-sticker-info-grid {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    min-height: 6.65rem;
    margin: 0 .86rem .9rem;
    border: 1px solid rgba(var(--fg-warning-rgb), .22);
    border-radius: .65rem;
    text-align: left;
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-info-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    margin: 0 .86rem .7rem;
}

.fg-album-sticker-info-cell {
    min-width: 0;
    padding: .58rem .62rem;
    background: linear-gradient(180deg, rgba(var(--fg-text-rgb), .075), rgba(var(--fg-text-rgb), .035));
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-info-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    min-height: 2.05rem;
    padding: .38rem .58rem;
}

.fg-album-sticker-info-cell:nth-child(2n) {
    border-left: 1px solid rgba(var(--fg-warning-rgb), .18);
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-info-cell:nth-child(2n) {
    border-left: 0;
}

.fg-album-sticker-info-cell:nth-child(n+3) {
    border-top: 1px solid rgba(var(--fg-warning-rgb), .18);
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-info-cell:nth-child(n+2) {
    border-top: 1px solid rgba(var(--fg-warning-rgb), .18);
}

.fg-album-sticker-info-cell.is-wide {
    grid-column: 1 / -1;
}

.fg-album-sticker-info-cell span {
    display: flex;
    gap: .32rem;
    color: rgba(var(--fg-text-rgb), .82);
    font-size: .66rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-info-cell span {
    flex: 0 0 auto;
    font-size: .61rem;
    line-height: 1;
}

.fg-album-sticker-info-cell strong {
    display: flex;
    align-items: center;
    gap: .42rem;
    margin-top: .25rem;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: var(--fg-text);
    font-size: .82rem;
    font-weight: 950;
    line-height: 1.15;
    text-shadow: 0 .18rem .65rem rgba(var(--fg-shadow-rgb), .28);
}

.fg-album-sticker.is-player-sticker .fg-album-sticker-info-cell strong {
    justify-content: flex-end;
    margin-top: 0;
    font-size: .72rem;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.fg-album-sticker-info-cell strong:not(.fg-album-sticker-repeated) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fg-album-sticker-info-cell strong i,
.fg-album-sticker-repeated {
    color: var(--fg-warning);
}

.fg-album-sticker-repeated {
    font-size: 1.05rem !important;
}

.fg-album-sticker:fullscreen,
.fg-album-sticker.is-fallback-fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    gap: .35rem;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    padding: .8rem 1rem;
    background:
        radial-gradient(circle at 12% 12%, rgba(var(--fg-warning-rgb), .18), transparent 34%),
        radial-gradient(circle at 88% 78%, rgba(var(--fg-primary-rgb), .22), transparent 36%),
        rgba(var(--fg-bg-rgb), .98);
}

.fg-album-sticker.is-fallback-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 3000;
}

.fg-album-sticker:fullscreen .fg-album-sticker-close-btn,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-close-btn {
    display: inline-grid;
}

.fg-album-sticker:fullscreen .fg-album-sticker-fullscreen-btn,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-fullscreen-btn {
    display: none;
}

.fg-album-sticker:fullscreen .fg-album-sticker-title,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-title {
    font-size: clamp(1.05rem, 2.2vw, 1.85rem);
}

.fg-album-sticker:fullscreen .fg-album-sticker-header,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-header {
    flex: 0 0 1.8rem;
    padding: .2rem .72rem;
}

.fg-album-sticker:fullscreen .fg-album-sticker-title-zone,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-title-zone {
    display: none;
}

.fg-album-sticker:fullscreen .fg-album-sticker-photo-zone,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-photo-zone {
    flex: 1 1 auto;
    min-height: 0;
    height: calc(100vh - 3.25rem);
    max-height: calc(100vh - 3.25rem);
    margin-inline: auto;
    width: min(98vw, calc((100vh - 3.25rem) * .78));
}

.fg-album-sticker:fullscreen .fg-album-sticker-photo,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: 100%;
    width: 100%;
    aspect-ratio: auto;
}

.fg-album-sticker:fullscreen .fg-album-sticker-photo img,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-photo img,
.fg-album-sticker:fullscreen .fg-album-sticker-photo.sticker-protected-frame img,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-photo.sticker-protected-frame img {
    height: auto !important;
    max-height: calc(100% - .75rem) !important;
    max-width: calc(100% - .75rem) !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

.fg-album-sticker:fullscreen .fg-album-sticker-position,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-position {
    display: none;
}

.fg-album-sticker:fullscreen .fg-album-sticker-info-grid,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-info-grid {
    display: none;
}

.fg-album-sticker:fullscreen .fg-album-sticker-info-cell,
.fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-info-cell {
    min-height: 1.75rem;
    padding: .3rem .55rem;
}

body.fg-album-fullscreen-open {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .fg-album-sticker {
        min-height: 30.5rem;
    }

    .fg-album-sticker-title {
        font-size: .96rem;
    }

    .fg-album-sticker-photo-zone,
    .fg-album-sticker-info-grid {
        margin-inline: .65rem;
    }

    .fg-album-sticker:fullscreen .fg-album-sticker-photo-zone,
    .fg-album-sticker.is-fallback-fullscreen .fg-album-sticker-photo-zone {
        width: min(94vw, 70vh);
    }
}
