/* 【新】功能模块面板样式（占据原 filesystem 的布局槽位，尺寸对齐 filesystem.css） */

section#tool_panel {
    position: relative;
    top: -0.925vh;
    width: 43vw;
    height: 30vh;
    margin-right: 0.5vw;

    opacity: 0;
    transition: opacity .5s cubic-bezier(0.4, 0, 1, 1);
}

section#tool_panel > h3.title {
    width: 43vw;
    padding-right: 0;
}

div#tool_grid {
    position: relative;
    left: 0.35vw;
    top: 1.5vh;
    height: 25.5vh;
    width: 43vw;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11vh, 1fr));
    grid-auto-rows: 11.5vh;
    grid-gap: 1.2vh;
    box-sizing: border-box;
    padding-right: 0.5vw;
}

div.tool_entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    --aug-border: 0.1vh;
    --aug-border-bg: rgba(var(--color_r), var(--color_g), var(--color_b), 0.35);
    transition: background .2s;
}

div.tool_entry:hover {
    --aug-border-bg: rgb(var(--color_r), var(--color_g), var(--color_b));
    background: rgba(var(--color_r), var(--color_g), var(--color_b), 0.1);
    text-shadow: 0 0 1vh rgba(var(--color_r), var(--color_g), var(--color_b), 0.8);
}

span.tool_icon {
    font-size: 3.4vh;
    line-height: 1;
}

div.tool_entry > h4 {
    margin: 1vh 0 0;
    font-size: 1.15vh;
    font-weight: normal;
    letter-spacing: 0.1em;
}
