.gift-dialog {
    width: min(720px, calc(100% - 32px));
    max-height: 88vh;
    border: 1px solid #cad5e4;
    border-radius: 16px;
    padding: 24px;
    color: #172b4d;
    background: #fff;
    overflow: auto;
    box-shadow: 0 18px 60px #172b4d33;
}
.gift-dialog::backdrop {
    background: #172b4d80;
}
.gift-dialog-close,
.gift-dialog-close:hover,
.gift-dialog-close:focus {
    position: sticky;
    float: right;
    top: 0;
    z-index: 2;
    border: 0;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    color: #172b4d !important;
    background: #eef2f6 !important;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.gift-dialog .gift-detail {
    border: 0;
    padding: 0;
    box-shadow: none;
    margin: 0;
    clear: both;
}
.gift-dialog h2 {
    font-size: 1.4rem;
}
.gift-dialog .gift-gallery {
    display: flex;
    gap: 12px;
    overflow: auto;
}
.gift-dialog .gift-gallery img {
    max-width: 240px;
    max-height: 220px;
    object-fit: contain;
}
.gift-dialog .gift-logo {
    max-width: 56px;
    max-height: 56px;
    object-fit: contain;
}
.gift-dialog-open {
    overflow: hidden;
}
.trial-past-panel a {
    text-decoration: none;
}
.trial-past-panel a:hover {
    text-decoration: none;
}
.free-row-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
