.dev-mode {
    .indev {
        display: block;
    }

    .dev-panel {
        display: block;
    }
}

.indev {
    user-select: text;
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    font-size: 15px;
    color: #fff;
    z-index: 999999999;
    text-align: right;
    padding: 10px;
    font-family: monospace;
    white-space: pre-line;
    transition: ease 0.2s;
}

.indev:hover {
    background-color: #0D0D0D90;
    backdrop-filter: blur(var(--main-blur));
    transition: ease 0.2s;
}

.dev-panel {
    display: none;
    position: absolute;
    top: 20vh;
    right: 10px;
    background: var(--topbar-background-color);
    backdrop-filter: blur(var(--main-blur));
    border-radius: 5px;
    padding: 10px;
    z-index: 999;
    font-family: sans-serif;
    width: 140px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.dev_block:nth-child(2) {
    margin-top: 10px;
}

.dev-panel .title {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--font-color);
}

.dev-panel button {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--font-color);
    font-size: 14px;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.dev-panel button:hover {
    background: var(--topbar-background-color);
}

#dev-bg-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
    display: none;
}