#promptContainer #gif-drop{
    width: 400px;
    height: 200px;

    padding: 8px;

    border-radius: 8px;
    border: 1px solid hsl(from var(--main) h s calc(l * 8) / 20%)
}

#promptContainer #gif-preview{
    max-width: 400px;
    max-height: 250px;
    object-fit: cover;

    margin-top: 10px;

    border-radius: 8px;
    border: 1px solid hsl(from var(--main) h s calc(l * 8) / 20%)
}

#promptContainer #tag-input{
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    outline: none;
    margin-bottom: 8px;
}
#promptContainer .tag-bubble,
#promptContainer .gif-view-container .tags .tag{
    margin: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    background-color: hsl(from var(--main) h s calc(l * 8) / 20%)
}
#promptContainer #tag-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 8px auto;

    width: 400px;
    border: 1px solid hsl(from var(--main) h s calc(l * 8) / 20%)
}
#promptContainer #error{
    display: flex;
    flex-direction: row;
    justify-content: center;

    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;

    background-color: hsl(from indianred h s l / 40%);
    border: 2px solid indianred;
}
#promptContainer #tag-length-info{
    font-size: 12px;
}

.layout .content .trending-gifs-container{
    column-count: 4;
    column-gap: 12px;
    height: auto;
    width: 100%;
}
.layout .content .trending-gifs-container .gif-entry-wrapper{
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 400px;
    margin-bottom: 8px;
    break-inside: avoid;

    border-radius: 8px;
    border: 1px solid hsl(from var(--accent) h s l / 40%);
}
.layout .content .trending-gifs-container .gif-entry-wrapper .notice {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;

    font-size: 18px;
    font-weight: bold;
}

.layout .content .trending-gifs-container .gif-entry-wrapper .notice.nsfw,
.layout .content .trending-gifs-container .gif-entry-wrapper .notice.sensitive {
    text-transform: uppercase;
    font-weight: bold;
    color: white;
}
.layout .content .trending-gifs-container .gif-entry-wrapper .notice::before {
    z-index: -1;
}
.layout .content .trending-gifs-container .gif-entry-wrapper .notice.sensitive::before {
    content: "";
    position: absolute;
    inset: -40px;
    pointer-events: none;
    background: radial-gradient(
            circle,
            rgba(0,0,0,0.6) 0%,
            rgba(0,0,0,0.5) 35%,
            rgba(0,0,0,0.4) 55%,
            rgba(0,0,0,0.3) 74%
    );
}
.layout .content .trending-gifs-container .gif-entry-wrapper .notice.nsfw::before {
    content: "";
    position: absolute;
    inset: -40px;
    pointer-events: none;
    background: radial-gradient(
            circle,
            rgba(255,0,0,0.4) 0%,
            rgba(255,0,0,0.3) 35%,
            rgba(255,0,0,0.2) 55%,
            rgba(255,0,0,0.1) 75%
    );
}

.layout .content .trending-gifs-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.gif-entry.sensitive,
.gif-entry.nsfw {
    filter: blur(1.5rem);
}
