[apiship],
[apiship] *,
[apiship] *::after,
[apiship] *::before {
    box-sizing: border-box;
}
[apiship] .hide {
    display: none;
}

[apiship] * {
    scrollbar-width: thin;
    scrollbar-color: var(--btd-scrollbar-thumb-color) var(--btd-scrollbar-track-color);
}
[apiship] *::-webkit-scrollbar {
    height: var(--btd-scrollbar-height);
    width: var(--btd-scrollbar-width);
}
[apiship] textarea::-webkit-scrollbar {
    height: var(--btd-scrollbar-textarea-height);
    width: var(--btd-scrollbar-textarea-width);
}
[apiship] *::-webkit-scrollbar-track {
    background: var(--btd-scrollbar-track-color);
}
[apiship] *::-webkit-scrollbar-thumb {
    background-color: var(--btd-scrollbar-thumb-color);
    border: none;
}

@media ( max-width: 768px ) {
    [apiship] *::-webkit-scrollbar {
        height: var(--btd-scrollbar-height-small);
        width: var(--btd-scrollbar-width-small);
    }
}

[apiship] .close {
    margin: 0.5em;
}
[apiship] .close span {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

[apiship] .close span::before,
[apiship] .close span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: black;
    transform-origin: center;
}

[apiship] .close span::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

[apiship] .close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}