.gnuk-debug * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.gnuk-debug {
    position: relative;
    z-index: 1000;
    font-size: 13px;
    font-family: monospace;
    color: #111;
    /* opacity: 0.5; */
    background: gold;
    transition: background 0.5s, opacity 0.5s;
}

.gnuk-debug pre {
    padding-inline: 1em;
}

.gnuk-debug:hover,
.gnuk-debug:focus {
    opacity: 1;
    background: #eee;
}

.gnuk-debug header {
    margin-top: 3em;
}

.gnuk-debug header,
.gnuk-debug footer {
    color: rgb(203, 16, 53);
    background: #ccc8;
    padding: 0.5ex;
}

.gnuk-debug.gnuk-absolute {
    position: fixed;
    /* WP adminmenuwrap value z-index:9990 */
    z-index: 100000;
    height: 50vh;
    overflow: auto;
    border-color: crimson;
    border-style: solid;
}

.gnuk-debug .tools {
    position: fixed;
    top: inherit;
    right: 0;
    padding: 4px;
    display: flex;
    gap: 1ch;
    justify-content: end;
    list-style-type: none;
    /* background-color: hotpink; */
}

.gnuk-debug button {
    position: relative;
    appearance: none;
    color: crimson;
    background-color: #fff;
    border: 1px solid #222;
    min-width: 3ch;
    min-height: 3ch;
    text-align: center;
    border-radius: 1px;
}

.gnuk-debug button::after {
    content: attr(data-action);
    position: absolute;
    top: calc(100% + 1ch);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    background: gold;
    padding: 0.5ch;
    visibility: hidden;
    opacity: 0;
    z-index: 10;
    transition: opacity 250ms;
}

.gnuk-debug button:hover::after {
    visibility: visible;
    opacity: 1;
}

.gnuk-debug button:hover {
    color: #222;
    background-color: crimson;
}

.gnuk-debug .hidden {
    display: none;
}