.spoiler-box {
    margin: 1em 0;
    border-radius: 6px;
    overflow: hidden;
    /* background-color: rgba(255, 255, 255, 0.1); */ /* semi-transparent for any background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px); /* optional "glass" effect */
    color: inherit;
}

.spoiler-header {
    padding: 12px 16px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: inherit;
    position: relative;
}

.spoiler-header::after {
    content: '▼';
    position: absolute;
    right: 16px;
    transition: transform 0.2s ease;
}

.spoiler-box.open .spoiler-header::after {
    transform: rotate(180deg);
}

.spoiler-content {
    display: none;
    padding: 16px;
    background-color: rgba(255, 255, 255, .03);
    color: inherit;
}

.spoiler-box.open .spoiler-content {
    display: block;
}

.sf-toolbar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99999;
}

.modal {
    --bs-modal-zindex: 10000;
    z-index: 10000 !important;
}

.modal-backdrop {
    --bs-backdrop-zindex: 9999;
    z-index: 9999 !important;
}

.grid-box-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    display: grid;
}

.grid-box-3 .grid-item {
    background-color: rgb(69 26 3 / 0.4);
    border: solid 1px rgb(113 63 18 / 1);
    border-radius: 1rem;
    overflow: hidden;
}

.grid-box-3 .grid-item img {
    aspect-ratio: 16 / 9;
}
