﻿
.marketplace-box {
    box-sizing: border-box;
    padding: 12px;
    margin-top: 12px;
}

.marketplace-banner, .marketplace-banner-big {
    height: 100px;
    background-size: cover;
    background-position: 50%;
    position: relative;
    border: 0;
    box-sizing: border-box;
    background-color: var(--light2);
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.marketplace-banner {
    height: 100px;
}
.marketplace-banner-big {
    height: 150px;
}
.marketplace-pfp, .marketplace-pfp-big {
    position: relative;
    width: 150px;
    align-items: center;
    padding: 0 10px 0 10px;
}
.marketplace-pfp {
    width: 90px;
    height: 35px;
    top: -40px;
}
.marketplace-pfp-big {
    width: 120px;
    height: 35px;
    top: -70px;
    left: 15px
}

.marketplace-pfp > div, .marketplace-pfp-big > div {
    background: var(--background-light);
    padding: 3px;
    border-radius: 50%;
}
.marketplace-pfp img, .marketplace-pfp-big img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.marketplace-pfp svg, .marketplace-pfp-big svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.marketplace-title {
    padding: 0 10px 0 10px;
}
.marketplace-content {
    padding: 0 10px 0 10px;
    min-height: 100px;
}
.marketplace-buttons {
    display: flex;
    padding: 0 5px 5px 5px;
}
.marketplace-buttons-topright {
    position: absolute;
    right: 15px;
    top: 15px;
}
.marketplace-author {
    color: var(--bs-gray);
}
.marketplace-details {

}
.marketplace-stat {
    box-sizing: border-box;
    line-height: 20px;
    font-size: 18px;
    margin-bottom: 14px;
    margin-top: 8px;
}
.marketplace-stat > p {
    margin-bottom: 2px;
}
.mp-label {
    color: var(--bs-gray) !important;
    font-weight: 500;
}
/* [class^="marketplace-"] input { */
.marketplace-dark-inputs input {
    background: black;
    color: white;
    border: none;
}
[class^="marketplace-"] textarea {
    background: black;
    color: white;
    border: none;
    width: 100%;
}
[class^="marketplace-"] input:focus-visible {
    border: none;
}
.mp-label-edit {
    color: white;
    background-color: black;
    padding:2px;
    cursor: not-allowed;
}
.mp-price-tag {
    background-color: #dc3545!important;
    color: white!important;
    font-weight: 600;
    padding: 8px;
    font-size: 18px;
}
.mp-price-label {
    color: #dc3545 !important;
    background: black;
    font-weight: 600;
    padding: 8px;
    font-size: 18px;
}
.mp-label-2 {
    background: var(--background-dark);
    min-width: 80px;
    display: inline-block;
    position: relative;
    opacity: 0.8;
    font-size: 12px;
    line-height: 18px;
    padding-left: 2px;
    padding-right: 2px;
    margin-right: 8px;
    text-align: right;
}
.mp-ul {
    marker: none;
    list-style-type: none;
    padding-left: 0;
}
.money-tag-min {
    font-weight: 800;
    color: indianred;
    font-size: 16px;
    font-family: sans-serif;
    line-height: 22px;
}
.btn-addfile {
    font-family: consolas;
    font-size: 18px;
    background: black;
    line-height: 18px;
    padding-left: 5px;
    margin-left: 7px;
    color: lawngreen;
}
.btn-addfile:hover {
    color: darkgreen;
}
.btn-rmfile {
    font-family: consolas;
    font-size: 12px;
    background: black;
    line-height: 12px;
    padding-left: 5px;
    margin-left: 7px;
    color: indianred;
}
.btn-rmfile:hover {
    color: darkred;
}
.lua-add-box {
    background: black;
    line-height: 18px;
    display: flex;
}
.lua-add-box code {
    width: 100%;
    line-height: 22px;
    padding-left: 4px;
}
#lua-editor {
    border: 2px solid black;
}
.lua-files pre {
    box-sizing: content-box;
    border: 2px solid black;
    background: #272822;
    color: wheat;
}
.ribbon {
    width: 15.38em;
    height: 1.54em;
    line-height: 1.54em;
    position: absolute;
    overflow: hidden;
    top: 20px;
    left: -53px;
    z-index: 42;
    background: limegreen;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transform: rotate(335deg);
    color: var(--color-background-dark);
    box-shadow: 2px 2px 20px 2px black;
    color: black;
}
.card {
    border: 1px solid var(--light);
    box-shadow: 0px 0px 3px black;
}

/* magic! */

.star {
    width: 30px;
    height: 30px;
    position: absolute;
}

.star:before, .star:after {
    content: "";
    display: block;
    width: 20%;
    height: 100%;
    border-radius: 20px;
    background: var(--light2);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.star.alt:before, .star.alt:after {
    background: var(--light2);
}

.star.alt2:before, .star.alt2:after {
    background: var(--light2);
}

.star:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.sparkle {
    width: 15px;
    height: 15px;
    position: absolute;
    border-radius: 50%;
    background: var(--light2);
}

.sparkle.alt {
    background: var(--light2);
}

.sparkle.alt2 {
    background: var(--light2);
}

.medium {
    transform: scale(0.6);
}

.small {
    transform: scale(0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    90% {
        transform: scale(0.1);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 1s linear infinite;
}

.pulse-1 {
    animation: pulse 1.1s 300ms linear infinite;
}

.pulse-2 {
    animation: pulse 0.8s 600ms linear infinite;
}

.pulse-3 {
    animation: pulse 1.3s 900ms linear infinite;
}

.frank-reply {
    max-width: 90%;
    border: 1px solid var(--light);
    border-radius: 3px;
    padding: 5px;
    background: var(--background-dark);
    align-self: flex-start;
}
.frank-question {
    max-width: 85%;
    border: 1px solid var(--light);
    border-radius: 3px;
    padding: 5px;
    background: var(--background-dark);
    align-self: flex-end;
}
#frank-ai-prompt {
    white-space: pre-wrap;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-height: 450px;
    overflow-y: auto;
}