/* 主题按钮线条内移：不改变按钮尺寸，只让四角线条更靠近文字。 */
.auth-panel button[type="submit"]:not(.theme-edge-button) {
    --theme-edge-button-line-inset-x: 7px;
    --theme-edge-button-line-inset-y: 5px;
}

.auth-panel button[type="submit"]:not(.theme-edge-button)::before {
    inset: var(--theme-edge-button-line-inset-y) var(--theme-edge-button-line-inset-x);
}

.theme-edge-button {
    --theme-edge-button-line-offset-x: 8px;
    --theme-edge-button-line-offset-y: 5px;
}

.theme-edge-button--compact {
    --theme-edge-button-line-offset-x: 5px;
    --theme-edge-button-line-offset-y: 4px;
}

.theme-edge-button__corner--tl {
    top: var(--theme-edge-button-line-offset-y);
    left: var(--theme-edge-button-line-offset-x);
}

.theme-edge-button__corner--tr {
    top: var(--theme-edge-button-line-offset-y);
    right: var(--theme-edge-button-line-offset-x);
}

.theme-edge-button__corner--bl {
    bottom: var(--theme-edge-button-line-offset-y);
    left: var(--theme-edge-button-line-offset-x);
}

.theme-edge-button__corner--br {
    right: var(--theme-edge-button-line-offset-x);
    bottom: var(--theme-edge-button-line-offset-y);
}
