body {
    background: url(https://i.pinimg.com/736x/c7/31/b4/c731b4f288867e6610b42eae6e513a9a.jpg);
}

@font-face {
    font-family: 'Angelic Peace';
    src: url('https://files.catbox.moe/ogg5n1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

.maincont {
    width: 925px;
    min-height: 600px;
    border-width:7px;
    display: flex;
    border-style:solid;
    border-image: url(https://moekkis.neocities.org/pics/blacklace.png) 7 fill round;
    margin-left: auto; margin-right: auto; margin-top: 20px;
}

#topborder {
    top: 0; 
    position: fixed;
    left: 0;
    width: 100%;
    height: 200px;
    mix-blend-mode: multiply;
    background-repeat: repeat-x;
    z-index: -1;
    background-size: 200px;
    background-image: url(https://i.postimg.cc/k5fyKmWN/z66qxu.png);
}

.maincont > * {
    box-sizing: border-box;
    padding: 10px;
}

.side {
    width: 275px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.side input {
    width: 100%;
    margin-bottom: 10px;
}

.side #title {
    font-family: angelic peace;
    font-size: 42px;
    margin-bottom: 10px;
    justify-self: center; align-self: center;
}

.side .buttonlist {
    display: flex;
    align-items: center; justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.side #subh {
    font-smooth: never;
    -webkit-font-smoothing:none;
}

.main {
    width: 650px !important; /* force exactly 4 columns: 4x150 + 3x10 */
    margin: 0 auto;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    position: relative;
    min-height: 300px;
    height: 100%;
    max-width: 100%;
}

.figurewrap {
    width: 150px;
    margin-bottom: 10px;
    display: block;
    position: relative;
    height: auto;
    transition: all .2s ease;
}

.figureimg {
    filter: saturate(50%);
    height: 150px; width: 150px;
    border-radius: 5px;
    border: 2px solid black;
    transition: .2s ease;
}

.figurewrap:hover .figuretooltip {
    opacity: 1;
    scale: 0.85;
}

.figurewrap:hover .figureimg {
    filter: saturate(100%);
}

.figuretooltip {
    pointer-events: none;
    z-index: 999;
    scale: 0.7;
    transition: .5s ease;
    border: 1px solid black;
    position: absolute;
    right: -170px;
    min-height: 200px;
    width: 200px;
    box-sizing: border-box;
    opacity: 0;
    background-color: white;
    border-radius: 5px;
    top: 5px;
    color: black;
    padding: 5px;
    -webkit-font-smoothing:none;
    font-smooth:never;
    text-align: center;
}

.figuretooltip em {
    color: black;
    font-style: normal;
    font-weight: bold;
}

.figuretooltip img {
    width: 175px;
    border-radius:5px;
    margin-top: 5px; margin-bottom: 5px;
}

.figuretooltip #sh {
    text-align: right;
    margin-right: 10px;
    color: rgb(90, 90, 90);
}

.figurewrap[data-tags*="wishlist"] {
    display: none;
}
  