#assets-json-url-field {
    width: 85%;
}

#assets-connect-button {
    width: 15%;
    margin-left: 5px;
}

.assets-url-block {
    display: flex;
    flex-direction: column;
}

.assets-install-hint-link {
    cursor: help;
}

.assets-connect-div {
    display: flex;
    flex-direction: row;
}

.assets-list-git {
    font-size: calc(var(--mainFontSize) * 0.8);
    opacity: 0.8;
    margin-bottom: 0.25em;
}

.assets-list-div h2 {
    margin: 0;
    font-size: 1.1em;
}

.assets-list-div h3 {
    text-transform: capitalize;
}

.assets-list-div .asset-block a {
    color: inherit;
}

.assets-list-div .asset-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    padding: 10px 5px;
    font-style: normal;
    gap: 5px;
    border-bottom: 1px solid var(--SmartThemeBorderColor);
}

.assets-list-div .asset-block span:first-of-type {
    font-weight: bold;
}

.asset-download-button {
    position: relative;
    border: none;
    outline: none;
    border-radius: 2px;
    cursor: pointer;
    filter: none !important;
}

.asset-download-button:active {
    background: #007a63;
}

.asset-download-button-text {
    font: bold 20px "Quicksand", san-serif;
    color: #ffffff;
    transition: all var(--animation-duration-2x);
}

.asset-download-button-loading .asset-download-button-text {
    visibility: hidden;
    opacity: 0;
}

.asset-download-button-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: asset-download-button-loading-spinner 1s ease infinite;
}

.asset-name .avatar {
    --imgSize: 30px !important;
    flex: unset;
    width: var(--imgSize);
    height: var(--imgSize);
}

.asset-name .avatar img {
    width: var(--imgSize);
    height: var(--imgSize);
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
}

@keyframes asset-download-button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.characterAssetList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.characterAsset {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 10px;
    border: 1px solid var(--SmartThemeBorderColor);
    background-color: var(--black30a);
    border-radius: 10px;
    width: 17%;
    min-width: 150px;
    margin: 5px;
    overflow: hidden;
}

.characterAssetName {
    font-size: 1.2em;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.characterAssetImage {
    max-height: 140px;
    object-fit: scale-down;
    border-radius: 5px;
}

.characterAssetDescription {
    font-size: 0.75em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    flex: 1;
}

.characterAssetButtons {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.asset-name .tag {
    gap: 5px;
    align-items: baseline;
    font-size: calc(var(--mainFontSize)* 0.8);
    cursor: pointer;
    opacity: 0.9;
    margin-left: 2px;
}

.asset-name .asset-author-info {
    display: flex;
    align-items: baseline;
    gap: 2px;
    opacity: 0.7;
    font-size: 0.85em;
    overflow: hidden;
}

.asset-name .asset-author-info>span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asset-name .asset-author-info:hover {
    opacity: 1;
    transition: opacity var(--animation-duration) ease-in-out;
}

.asset-name>b {
    font-weight: 600;
}

div:is(.assets-list-extensions-official, .assets-list-extensions-community):has(.assets-list-extensions:empty) {
    display: none;
}

div:is(.assets-list-extensions-official, .assets-list-extensions-community) {
    margin-top: 10px;
}
