ui/perkchoice.razor.scss
PerkChoice {
    position: relative;
    //width: 240px;
    pointer-events: all;
    flex-direction: column;
    //box-shadow: -1px 2px 20px rgba( black, 0.7 );
    //backdrop-filter: blur(20px);
    text-align: center;
    //transition: all 0.1s ease;
    cursor: pointer;
    //opacity: .5;
    justify-content: space-between;
    margin: 0px;
    //min-width: 10px;
    flex-shrink: 0;
    z-index: 1200;
    font-family: Inter-Black;
    font-weight: 700;

    .frame {
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url("/textures/ui/panel/panel_02.png");
        background-position: center;
        background-size: 100% 100%; // or "cover" or "100% 100%" depending on look
        //z-index: 1;
    }

    .bg_color {
        position: absolute;
        width: 95%;
        height: 40%;
        z-index: -1;
        left: 4px;
        top: 8px;
    }

    .top_row {
        position: relative;
        flex-direction: row;
        align-items: center;
        background-color: rgba(0, 0, 0, 0);
        width: 100%;
        //opacity: 2;
        height: 64px;
        //transform: rotate(-7deg) translateY(-19px);
    }

    .top_text {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0 0 4px;
        height: 100%;
        gap: 0px;
        left: 1px;
        top: 1px;
        line-height: 14px;
    }

    .title_label {
        position: relative;
        pointer-events: none;
        //font-family: Inter;
        font-size: 15px;
        color: rgba(232, 255, 244, 1);
        text-align: left;
        //padding: 1px;
        //transform: rotate(7deg) translateY(15px); /* small tilt */
    }

    .rarity_label {
        position: relative;
        font-size: 12px;
        opacity: 0.35;
        pointer-events: none;
        margin-top: -5px;
        //transform: rotate(7deg) translateY(10px); /* small tilt */
    }

    .middle {
        position: absolute;
        top: 56px;
        left: 14px;
        width: 221px;
        height: 56px;
        pointer-events: none;
        //height:60px;
        //opacity: 2;
        //padding: 4px;
        flex-grow: 1;
        //border: 1px solid blue;
        align-content: center;
        justify-content: center;
        overflow: visible;
    }

    .description {
        //border: 1px solid white;
        //margin: 14px;
        pointer-events: none;
        color: rgba(232, 255, 244, 0.7);
        text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
        font-size: 13px;
        //margin-bottom:20px;
        //padding: 8px;
        text-align: left;
        padding: 0 0 0 0;
        white-space: pre;
        align-items: center;
        align-content: center;
        justify-content: center;
        //justify-items: center;
        text-align: center;
        overflow: visible;

        .richtext-append-icon {
            i {
                position: relative;
                top: 3px;
            }
        }
    }
    /*.buffs {
                    pointer-events: none;
                    padding-top: 20px;
					padding-bottom: 20px;
					color: rgba(255,255,255,.75);
					font-size: 16px;
					flex-direction: column;
				}*/
    //.bottom {
    //	position: relative;
    //	pointer-events: none;
    //	background-color: rgba(0,0,0,.35);
    //top:15px;
    //	opacity: 2;
    //	height: 37px;
    //}

    .banish_x {
        position: absolute;
        pointer-events: none;
        //background-color: rgba(1,0,0,1);
        width: 100%;
        height: 100%;
        color: #ff0000dd;
        top: 0px;
        align-items: center;
        justify-content: center;
        //font-family: Inter;
        font-family: "Bloody";
        font-weight: 800;
    }

    .banish_overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #ff0000;
        pointer-events: none;
        border-radius: 8px;
    }
    .level_indicator {
        position: absolute;
        right: 0px;
        top: 3px;
        pointer-events: none;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 800;
        text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
        background-color: #00000088;
        //border: 2px solid #00000055;
        border-radius: 2px;
        padding: 2px 2px 2px 2px;
        opacity: 0.75;
    }

    .inputbutton {
        position: absolute;
        right: -20px;
        top: -1px;
        pointer-events: none;
        font-size: 15px;
        width: 50px;
        padding: 0px;
        opacity: 1;

        &.icon-only {
            right: -28px;
            top: -16px;
        }

        img {
            background-image-tint: rgba(255, 255, 255, 1);
        }
    }

    &:not(.spectator-readonly):hover,
    &.remote-hovered {
        cursor: pointer;
        //box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.6);
        //border: 1px solid #88B19E;
        bottom: 2px;
        //transition: all 0.1s ease-out;
        //transform: translateY(-4px);
        //transform: scale(0.5);
        //animation-name: pulse;
        //animation-duration: 0.4s;
        //animation-timing-function: ease;
        //animation-direction: alternate;
        //transform-origin: 50% 50%;
    }

    &:active {
        //background-color: rgba( cyan, 0.4 );
        bottom: 0px;
        transition: all 0.1s ease-out;
        //animation-name: pulse;
        //animation-duration: 0.1s;
        //animation-timing-function: ease;
        //animation-direction: alternate;
    }

    &.spectator-readonly {
        pointer-events: all;
        cursor: default;
    }

    .drop {
        font-family: Material Icons;
        color: rgba( white, 0.7 );
        font-size: 48px;
        position: absolute;
        z-index: 1001;
        left: 8px;
        text-shadow: 0px 0px 2px rgba( black, 0.6 );
        font-weight: bold;
    }

    .hp_cost_label_container {
        position: absolute;
        top: -23px;
        width: 100%;
        align-content: center;
        justify-content: center;
        pointer-events: none;
    }

    .hp_cost_label {
        position: relative;
        font-size: 13px;
        font-weight: 800;
        color: rgba(255, 60, 60, 0.9);
        text-align: center;
        text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
        border-radius: 4px;
        border: 2px solid #00000088;
        background-color: #55000099;
        padding-left: 2px;
        padding-right: 2px;
        padding-top: 2px;
    }

    .info_rows_container {
        position: absolute;
        top: 130px;
        width: 100%;
        flex-direction: column;
        pointer-events: none;
        gap: 2px;
        padding-top: 4px;
    }

    .info_row {
        width: 100%;
        align-items: center;
        justify-content: center;
        background-color: #000000ff;
        border-radius: 3px;
        border: 2px solid #ffffff99;
        padding: 3px 6px;

        label {
            font-size: 11px;
            color: rgba(232, 255, 244, 0.65);
            text-align: center;
            font-style: italic;
        }
    }
}