
/* Gift Sounds grid — owner 2 UI preview */
#giftReactions.gs-grid-mode .mc-body {
    padding-top: 18px;
}
.gs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 14px 0;
}
#giftReactions .gs-filters[hidden] {
    display: none !important;
}
#giftReactions .gs-filters button {
    min-height: 34px;
    min-width: 0;
    padding: 6px 11px;
    font-size: 12px;
    border-radius: 999px;
}
.gs-filters button.is-active {
    border-color: var(--ovs-accent);
    background: var(--ovs-surface-2);
    font-weight: 700;
}
#giftReactions.gs-grid-mode #gsList {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.gs-gift-item { min-width: 0; }
#giftReactions .gs-gift-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--ovs-border);
    border-radius: 14px;
    background: var(--ovs-surface-2);
    text-align: center;
}
.gs-gift-card.is-assigned {
    border-color: var(--ovs-accent) !important;
}
.gs-gift-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 11px;
    background: radial-gradient(circle at 50% 35%,
        #413568 0%, #25203b 55%, #171527 100%);
}
.gs-gift-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gs-gift-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}
.gs-gift-placeholder[hidden] {
    display: none !important;
}
/* Decorative gift box, no external image dependency */
.gs-present {
    position: relative;
    width: 46%;
    height: 39%;
    margin-top: 14%;
    border-radius: 5px;
    background: linear-gradient(135deg,#b49aff,#7054c4);
    box-shadow: 0 9px 24px #0b092c70;
}
.gs-present::before {
    content: '';
    position: absolute;
    left: -9%;
    top: -28%;
    width: 118%;
    height: 27%;
    border-radius: 4px;
    background: linear-gradient(90deg,#cab9ff,#9473e6);
}
.gs-present::after {
    content: '';
    position: absolute;
    left: 42%;
    top: -28%;
    width: 16%;
    height: 128%;
    background: #eee3ff;
    box-shadow: 0 0 12px #ffffff55;
}
.gs-gift-assigned {
    position: absolute;
    z-index: 2;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: white;
    background: #278653;
    font-weight: 800;
}
.gs-gift-name {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.gs-gift-original {
    color: var(--ovs-text-muted);
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.gs-gift-original:empty { display: none; }
.gs-gift-price {
    margin-top: auto;
    color: var(--ovs-text-secondary);
    font-size: 12px;
}
.gs-grid-empty { grid-column: 1 / -1; padding: 20px; }
@media (max-width: 760px) {
    #giftReactions.gs-grid-mode #gsList {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 8px;
    }
}
@media (max-width: 450px) {
    #giftReactions.gs-grid-mode #gsList {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    #giftReactions .gs-gift-card { padding: 6px; }
}

.gs-count {
    margin-top: 10px;
    color: var(--ovs-text-muted);
    font-size: 12px;
}
#giftReactions .gs-more {
    display: flex;
    width: 100%;
    margin: 12px 0 20px;
}
#giftReactions .gs-more[hidden],
#giftReactions .gs-count[hidden] {
    display: none !important;
}
